Home
last modified time | relevance | path

Searched refs:subaddr (Results 1 – 11 of 11) sorted by relevance

/drivers/media/video/
Dbt866.c63 static int bt866_write(struct i2c_client *client, u8 subaddr, u8 data) in bt866_write() argument
69 buffer[0] = subaddr; in bt866_write()
72 encoder->reg[subaddr] = data; in bt866_write()
74 v4l_dbg(1, debug, client, "write 0x%02x = 0x%02x\n", subaddr, data); in bt866_write()
81 err, subaddr); in bt866_write()
Dtvaudio.c157 static int chip_write(struct CHIPSTATE *chip, int subaddr, int val) in chip_write() argument
163 if (subaddr < 0) { in chip_write()
172 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_write()
175 subaddr); in chip_write()
180 subaddr, val); in chip_write()
181 chip->shadow.bytes[subaddr+1] = val; in chip_write()
182 buffer[0] = subaddr; in chip_write()
186 subaddr, val); in chip_write()
194 int subaddr, int val, int mask) in chip_write_masked() argument
199 if (subaddr < 0) { in chip_write_masked()
[all …]
Dtda9875.c109 static int tda9875_write(struct v4l2_subdev *sd, int subaddr, unsigned char val) in tda9875_write() argument
114 v4l2_dbg(1, debug, sd, "Writing %d 0x%x\n", subaddr, val); in tda9875_write()
115 buffer[0] = subaddr; in tda9875_write()
119 subaddr, val); in tda9875_write()
Dtda7432.c231 static int tda7432_write(struct v4l2_subdev *sd, int subaddr, int val) in tda7432_write() argument
237 v4l2_dbg(1, debug, sd, "Writing %d 0x%x\n", subaddr, val); in tda7432_write()
238 buffer[0] = subaddr; in tda7432_write()
242 subaddr, val); in tda7432_write()
Dstradis.c143 unsigned char subaddr, int dosub) in I2CRead() argument
157 ((subaddr & 0xff) << 16) | 0xed, SAA7146_I2C_TRANSFER); in I2CRead()
/drivers/staging/go7007/
Ds2250-board.c212 unsigned int subaddr, val_read; in write_reg_fp() local
214 subaddr = (buf[4] << 8) + buf[5]; in write_reg_fp()
221 if (subaddr != addr) { in write_reg_fp()
223 subaddr, addr); in write_reg_fp()
/drivers/media/video/pvrusb2/
Dpvrusb2-i2c-core.c300 unsigned int subaddr; in i2c_hack_cx25840() local
325 case 1: subaddr = 0x0100; break; in i2c_hack_cx25840()
326 case 2: subaddr = 0x0101; break; in i2c_hack_cx25840()
330 subaddr = (wdata[0] << 8) | wdata[1]; in i2c_hack_cx25840()
331 switch (subaddr) { in i2c_hack_cx25840()
345 wbuf[0] = subaddr >> 8; in i2c_hack_cx25840()
346 wbuf[1] = subaddr; in i2c_hack_cx25840()
/drivers/usb/host/
Dohci-pnx4008.c137 static void i2c_write(u8 buf, u8 subaddr) in i2c_write() argument
141 tmpbuf[0] = subaddr; /*register number */ in i2c_write()
/drivers/ata/
Dsata_sx4.c225 u32 device, u32 subaddr, u32 *pdata);
1039 u32 subaddr, u32 *pdata) in pdc20621_i2c_read() argument
1050 i2creg |= subaddr << 16; in pdc20621_i2c_read()
/drivers/media/video/saa7134/
Dsaa7134-cards.c6188 u8 subaddr; in saa7134_board_init2() local
6192 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1}, in saa7134_board_init2()
6194 subaddr= 0x14; in saa7134_board_init2()
6201 subaddr = data[0] + 2; in saa7134_board_init2()
6217 subaddr = data[1] + 1; in saa7134_board_init2()
6220 subaddr = data[0] + 1; in saa7134_board_init2()
/drivers/macintosh/
Dsmu.c880 cmd->info.subaddr[0], cmd->info.type); in smu_queue_i2c()