tvp514x_write_regs(9)
π
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 thev4l2_subdevstruct. 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 π¦
- Kernel file
./drivers/media/i2c/tvp514x.c struct tvp514x_std_info(9)struct tvp514x_decoder(9)tvp514x_read_reg(9)dump_reg(9)tvp514x_write_reg(9)tvp514x_query_current_std(9)tvp514x_configure(9)tvp514x_detect(9)tvp514x_querystd(9)tvp514x_s_std(9)tvp514x_s_routing(9)
π Cute sign-off from ./drivers/media/i2c, October 2026 β tvp514x_write_regs(9) is out, mwah! β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms