/linux-6.1.9/drivers/media/i2c/ |
D | bt866.c | 49 static int bt866_write(struct bt866 *encoder, u8 subaddr, u8 data) in bt866_write() argument 55 buffer[0] = subaddr; in bt866_write() 58 encoder->reg[subaddr] = data; in bt866_write() 60 v4l_dbg(1, debug, client, "write 0x%02x = 0x%02x\n", subaddr, data); in bt866_write() 67 err, subaddr); in bt866_write()
|
D | tvaudio.c | 154 static int chip_write(struct CHIPSTATE *chip, int subaddr, int val) in chip_write() argument 161 if (subaddr < 0) { in chip_write() 173 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) { in chip_write() 176 subaddr); in chip_write() 181 subaddr, val); in chip_write() 182 chip->shadow.bytes[subaddr+1] = val; in chip_write() 183 buffer[0] = subaddr; in chip_write() 188 subaddr, val); in chip_write() 198 int subaddr, int val, int mask) in chip_write_masked() argument 203 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 | 281 unsigned char subaddr, key, keygroup; in get_key_avermedia_cardbus() local 283 .buf = &subaddr, .len = 1}, in get_key_avermedia_cardbus() 286 subaddr = 0x0d; in get_key_avermedia_cardbus() 295 subaddr = 0x0b; in get_key_avermedia_cardbus()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-opal.c | 98 req.subaddr = (req.subaddr << 8) | msgs[0].buf[i]; in i2c_opal_master_xfer() 99 req.subaddr = cpu_to_be32(req.subaddr); in i2c_opal_master_xfer() 136 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer() 148 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer() 156 req.subaddr = cpu_to_be32(command); in i2c_opal_smbus_xfer()
|
D | i2c-powermac.c | 41 u32 subaddr; in i2c_powermac_smbus_xfer() local 48 subaddr = 0; in i2c_powermac_smbus_xfer() 52 subaddr = command; in i2c_powermac_smbus_xfer() 106 rc = pmac_i2c_xfer(bus, addrdir, subsize, subaddr, buf, len); in i2c_powermac_smbus_xfer()
|
/linux-6.1.9/drivers/media/rc/ |
D | ir-xmp-decoder.c | 76 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local 116 subaddr = n[0] << 4 | n[2]; in ir_xmp_decode() 123 if (subaddr != subaddr2) { in ir_xmp_decode() 125 subaddr, subaddr2); in ir_xmp_decode() 133 scancode = addr << 24 | subaddr << 16 | in ir_xmp_decode()
|
/linux-6.1.9/arch/powerpc/platforms/powermac/ |
D | low_i2c.c | 95 u32 subaddr, u8 *data, int len); 397 u32 subaddr, u8 *data, int len) in kw_i2c_xfer() argument 437 kw_write_reg(reg_subaddr, subaddr); in kw_i2c_xfer() 674 u32 subaddr, u8 *data, int len) in pmu_i2c_xfer() argument 707 hdr->sub_addr = subaddr; in pmu_i2c_xfer() 841 u32 subaddr, u8 *data, int len) in smu_i2c_xfer() argument 869 memcpy(&cmd->info.subaddr, ((char *)&subaddr) + (4 - subsize), in smu_i2c_xfer() 1138 u32 subaddr, u8 *data, int len) in pmac_i2c_xfer() argument 1146 subaddr, len, bus->busnode); in pmac_i2c_xfer() 1148 rc = bus->xfer(bus, addrdir, subsize, subaddr, data, len); in pmac_i2c_xfer() [all …]
|
D | pfunc_core.c | 353 u8 subaddr = (u8)pmf_next32(cmd); in pmf_parser_read_i2c_sub() local 357 subaddr, bytes); in pmf_parser_read_i2c_sub() 359 PMF_PARSE_CALL(read_i2c_sub, cmd, h, subaddr, bytes); in pmf_parser_read_i2c_sub() 364 u8 subaddr = (u8)pmf_next32(cmd); in pmf_parser_write_i2c_sub() local 369 subaddr, bytes); in pmf_parser_write_i2c_sub() 372 PMF_PARSE_CALL(write_i2c_sub, cmd, h, subaddr, bytes, blob); in pmf_parser_write_i2c_sub() 387 u8 subaddr = (u8)pmf_next32(cmd); in pmf_parser_rmw_i2c_sub() local 396 subaddr, maskbytes, valuesbytes, totalbytes); in pmf_parser_rmw_i2c_sub() 400 PMF_PARSE_CALL(rmw_i2c_sub, cmd, h, subaddr, maskbytes, valuesbytes, in pmf_parser_rmw_i2c_sub()
|
/linux-6.1.9/drivers/media/usb/pvrusb2/ |
D | pvrusb2-i2c-core.c | 285 unsigned int subaddr; in i2c_hack_cx25840() local 310 case 1: subaddr = 0x0100; break; in i2c_hack_cx25840() 311 case 2: subaddr = 0x0101; break; in i2c_hack_cx25840() 315 subaddr = (wdata[0] << 8) | wdata[1]; in i2c_hack_cx25840() 316 switch (subaddr) { in i2c_hack_cx25840() 330 wbuf[0] = subaddr >> 8; in i2c_hack_cx25840() 331 wbuf[1] = subaddr; in i2c_hack_cx25840()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | pmac_pfunc.h | 90 int (*read_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len); 91 int (*write_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data); 93 int (*rmw_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen,
|
D | pmac_low_i2c.h | 91 u32 subaddr, u8 *data, int len);
|
D | smu.h | 488 u8 subaddr[3]; /* subaddress */ member
|
D | opal-api.h | 1019 __be32 subaddr; /* Sub-address if any */ member
|
/linux-6.1.9/drivers/media/pci/saa7134/ |
D | saa7134-i2c.c | 352 u8 subaddr = 0x7, dmdregval; in saa7134_i2c_eeprom_md7134_gate() local 356 .buf = &subaddr, .len = 1}, in saa7134_i2c_eeprom_md7134_gate() 369 data[0] = subaddr; in saa7134_i2c_eeprom_md7134_gate()
|
D | saa7134-cards.c | 7787 u8 subaddr; in saa7134_board_init2() local 7790 struct i2c_msg msg[] = {{.addr = 0x50, .flags = 0, .buf = &subaddr, .len = 1}, in saa7134_board_init2() 7794 subaddr= 0x14; in saa7134_board_init2() 7805 subaddr = data[0] + 2; in saa7134_board_init2() 7822 subaddr = data[1] + 1; in saa7134_board_init2() 7825 subaddr = data[0] + 1; in saa7134_board_init2()
|
/linux-6.1.9/drivers/media/usb/go7007/ |
D | s2250-board.c | 222 unsigned int subaddr, val_read; in write_reg_fp() local 224 subaddr = (buf[4] << 8) + buf[5]; in write_reg_fp() 232 if (subaddr != addr) { in write_reg_fp() 234 subaddr, addr); in write_reg_fp()
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 156 unsigned char subaddr, keydetect, key; in em28xx_get_key_winfast_usbii_deluxe() local 162 .buf = &subaddr, .len = 1 in em28xx_get_key_winfast_usbii_deluxe() 171 subaddr = 0x10; in em28xx_get_key_winfast_usbii_deluxe() 177 subaddr = 0x00; in em28xx_get_key_winfast_usbii_deluxe()
|
/linux-6.1.9/drivers/macintosh/ |
D | smu.c | 851 memset(cmd->info.subaddr, 0, sizeof(cmd->info.subaddr)); in smu_queue_i2c() 881 cmd->info.subaddr[0], cmd->info.type); in smu_queue_i2c()
|
/linux-6.1.9/drivers/media/pci/ngene/ |
D | ngene-cards.c | 206 u8 subaddr = 0x00; in tuner_tda18212_ping() local 212 if (i2c_read_regs(i2c, adr, subaddr, tda_id, sizeof(tda_id)) < 0) in tuner_tda18212_ping() 214 if (i2c_read_regs(i2c, adr, subaddr, tda_id, sizeof(tda_id)) < 0) in tuner_tda18212_ping()
|
/linux-6.1.9/drivers/ata/ |
D | sata_sx4.c | 214 u32 device, u32 subaddr, u32 *pdata); 1039 u32 subaddr, u32 *pdata) in pdc20621_i2c_read() argument 1050 i2creg |= subaddr << 16; in pdc20621_i2c_read()
|
/linux-6.1.9/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 966 u8 subaddr = 0x00; in tuner_tda18212_ping() local 972 if (i2c_read_regs(adapter, adr, subaddr, tda_id, sizeof(tda_id)) < 0) in tuner_tda18212_ping() 974 if (i2c_read_regs(adapter, adr, subaddr, tda_id, sizeof(tda_id)) < 0) in tuner_tda18212_ping()
|