/drivers/media/i2c/ |
D | bt866.c | 61 static int bt866_write(struct bt866 *encoder, u8 subaddr, u8 data) in bt866_write() argument 67 buffer[0] = subaddr; in bt866_write() 70 encoder->reg[subaddr] = data; in bt866_write() 72 v4l_dbg(1, debug, client, "write 0x%02x = 0x%02x\n", subaddr, data); in bt866_write() 79 err, subaddr); in bt866_write()
|
D | tvaudio.c | 156 static int chip_write(struct CHIPSTATE *chip, int subaddr, int val) in chip_write() argument 162 if (subaddr < 0) { in chip_write() 171 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_write() 174 subaddr); in chip_write() 179 subaddr, val); in chip_write() 180 chip->shadow.bytes[subaddr+1] = val; in chip_write() 181 buffer[0] = subaddr; in chip_write() 185 subaddr, val); in chip_write() 193 int subaddr, int val, int mask) in chip_write_masked() argument 198 if (subaddr < 0) { in chip_write_masked() [all …]
|
D | tda7432.c | 220 static int tda7432_write(struct v4l2_subdev *sd, int subaddr, int val) in tda7432_write() argument 226 v4l2_dbg(1, debug, sd, "Writing %d 0x%x\n", subaddr, val); in tda7432_write() 227 buffer[0] = subaddr; in tda7432_write() 231 subaddr, val); in tda7432_write()
|
D | ir-kbd-i2c.c | 207 unsigned char subaddr, key, keygroup; in get_key_avermedia_cardbus() local 209 .buf = &subaddr, .len = 1}, in get_key_avermedia_cardbus() 212 subaddr = 0x0d; in get_key_avermedia_cardbus() 221 subaddr = 0x0b; in get_key_avermedia_cardbus()
|
/drivers/i2c/busses/ |
D | i2c-opal.c | 112 req.subaddr = (req.subaddr << 8) | msgs[0].buf[i]; in i2c_opal_master_xfer() 113 req.subaddr = cpu_to_be32(req.subaddr); in i2c_opal_master_xfer() 152 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer() 164 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer() 172 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer()
|
D | i2c-powermac.c | 49 u32 subaddr; in i2c_powermac_smbus_xfer() local 56 subaddr = 0; in i2c_powermac_smbus_xfer() 60 subaddr = command; in i2c_powermac_smbus_xfer() 119 rc = pmac_i2c_xfer(bus, addrdir, subsize, subaddr, buf, len); in i2c_powermac_smbus_xfer()
|
/drivers/media/rc/ |
D | ir-xmp-decoder.c | 86 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local 125 subaddr = n[0] << 4 | n[2]; in ir_xmp_decode() 132 if (subaddr != subaddr2) { in ir_xmp_decode() 134 subaddr, subaddr2); in ir_xmp_decode() 142 scancode = addr << 24 | subaddr << 16 | in ir_xmp_decode()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-i2c-core.c | 304 unsigned int subaddr; in i2c_hack_cx25840() local 329 case 1: subaddr = 0x0100; break; in i2c_hack_cx25840() 330 case 2: subaddr = 0x0101; break; in i2c_hack_cx25840() 334 subaddr = (wdata[0] << 8) | wdata[1]; in i2c_hack_cx25840() 335 switch (subaddr) { in i2c_hack_cx25840() 349 wbuf[0] = subaddr >> 8; in i2c_hack_cx25840() 350 wbuf[1] = subaddr; in i2c_hack_cx25840()
|
/drivers/fmc/ |
D | fmc-sdb.c | 74 uint64_t subaddr = __be64_to_cpu(r->bridge.sdb_child); in __fmc_scan_sdb_tree() local 77 subaddr += reg_base; in __fmc_scan_sdb_tree() 79 sub = __fmc_scan_sdb_tree(fmc, subaddr, newbase, in __fmc_scan_sdb_tree()
|
/drivers/media/pci/saa7134/ |
D | saa7134-i2c.c | 365 u8 subaddr = 0x7, dmdregval; in saa7134_i2c_eeprom_md7134_gate() local 369 .buf = &subaddr, .len = 1}, in saa7134_i2c_eeprom_md7134_gate() 382 data[0] = subaddr; in saa7134_i2c_eeprom_md7134_gate()
|
D | saa7134-cards.c | 7883 u8 subaddr; in saa7134_board_init2() local 7886 struct i2c_msg msg[] = {{.addr = 0x50, .flags = 0, .buf = &subaddr, .len = 1}, in saa7134_board_init2() 7890 subaddr= 0x14; in saa7134_board_init2() 7901 subaddr = data[0] + 2; in saa7134_board_init2() 7918 subaddr = data[1] + 1; in saa7134_board_init2() 7921 subaddr = data[0] + 1; in saa7134_board_init2()
|
/drivers/media/usb/go7007/ |
D | s2250-board.c | 230 unsigned int subaddr, val_read; in write_reg_fp() local 232 subaddr = (buf[4] << 8) + buf[5]; in write_reg_fp() 240 if (subaddr != addr) { in write_reg_fp() 242 subaddr, addr); in write_reg_fp()
|
/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 159 unsigned char subaddr, keydetect, key; in em28xx_get_key_winfast_usbii_deluxe() local 161 struct i2c_msg msg[] = { { .addr = i2c_dev->addr, .flags = 0, .buf = &subaddr, .len = 1}, in em28xx_get_key_winfast_usbii_deluxe() 164 subaddr = 0x10; in em28xx_get_key_winfast_usbii_deluxe() 170 subaddr = 0x00; in em28xx_get_key_winfast_usbii_deluxe()
|
/drivers/ata/ |
D | sata_sx4.c | 227 u32 device, u32 subaddr, u32 *pdata); 1102 u32 subaddr, u32 *pdata) in pdc20621_i2c_read() argument 1113 i2creg |= subaddr << 16; in pdc20621_i2c_read()
|
/drivers/macintosh/ |
D | smu.c | 873 cmd->info.subaddr[0], cmd->info.type); in smu_queue_i2c()
|