tvp514x_write_regs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tvp514x_write_regs(9) β€” Kernel API Manual ✨

🌸 NAME 🌸

tvp514x_write_regs β€” initializes a list of TVP5146/47 registers. That’s the whole assignment, bestie: hand it a reglist and it gets that list initialized. πŸ’–

✨ SYNOPSIS ✨

int tvp514x_write_regs (struct v4l2_subdev *sd , const struct tvp514x_reg reglist[] );

πŸŽ€ ARGUMENTS πŸŽ€

  • sd β€” a pointer to the v4l2_subdev struct. That’s the subdev situation right there. 🫢
  • reglist β€” the list of TVP5146/47 registers and values. The main-character list, fr fr. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Okay so this function initializes a list of TVP5146/47 registers, and the list is token-driven. Each token does its own little thing:

  • If the token is TOK_TERM, then the entire write operation terminates. Bye-bye, write operation. πŸ’€
  • If the token is TOK_DELAY, then a delay of 'val' msec is introduced. A lil pause, no cap. ⏳
  • If the token is TOK_SKIP, then the register write is skipped. Not today, register write. πŸ™ˆ
  • If the token is TOK_WRITE, then the register write is performed. Slay, actual write. πŸ”₯

Returns zero if successful, or non-zero otherwise. That’s the vibe check on the return value. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’œ Cute sign-off from ./drivers/media/i2c, October 2026 β€” tvp514x_write_regs(9) is out, mwah! ✨

πŸ“¦ where this page comes from