/drivers/media/video/ |
D | bt866.c | 63 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()
|
D | tvaudio.c | 157 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 …]
|
D | tda9875.c | 109 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()
|
D | tda7432.c | 231 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()
|
D | stradis.c | 143 unsigned char subaddr, int dosub) in I2CRead() argument 157 ((subaddr & 0xff) << 16) | 0xed, SAA7146_I2C_TRANSFER); in I2CRead()
|
/drivers/staging/go7007/ |
D | s2250-board.c | 212 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/ |
D | pvrusb2-i2c-core.c | 300 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/ |
D | ohci-pnx4008.c | 137 static void i2c_write(u8 buf, u8 subaddr) in i2c_write() argument 141 tmpbuf[0] = subaddr; /*register number */ in i2c_write()
|
/drivers/ata/ |
D | sata_sx4.c | 225 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/ |
D | saa7134-cards.c | 6188 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/ |
D | smu.c | 880 cmd->info.subaddr[0], cmd->info.type); in smu_queue_i2c()
|