Searched refs:i2c_buf (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/ |
D | hdpvr-i2c.c | 56 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf))) in hdpvr_i2c_read() 60 memcpy(dev->i2c_buf, wdata, wlen); in hdpvr_i2c_read() 63 (bus << 8) | addr, 0, dev->i2c_buf, in hdpvr_i2c_read() 71 (bus << 8) | addr, 0, dev->i2c_buf, len, 1000); in hdpvr_i2c_read() 74 memcpy(data, dev->i2c_buf, len); in hdpvr_i2c_read() 87 if (len > sizeof(dev->i2c_buf)) in hdpvr_i2c_write() 90 memcpy(dev->i2c_buf, data, len); in hdpvr_i2c_write() 93 (bus << 8) | addr, 0, dev->i2c_buf, len, 1000); in hdpvr_i2c_write() 100 0, 0, dev->i2c_buf, 2, 1000); in hdpvr_i2c_write() 102 if ((ret == 2) && (dev->i2c_buf[1] == (len - 1))) in hdpvr_i2c_write()
|
D | hdpvr.h | 115 char i2c_buf[HDPVR_I2C_MAX_SIZE]; member
|
/kernel/linux/linux-5.10/drivers/media/pci/pt3/ |
D | pt3.c | 688 kfree(pt3->i2c_buf); in pt3_remove() 756 pt3->i2c_buf = kmalloc(sizeof(*pt3->i2c_buf), GFP_KERNEL); in pt3_probe() 757 if (pt3->i2c_buf == NULL) { in pt3_probe() 803 kfree(pt3->i2c_buf); in pt3_probe()
|
D | pt3.h | 155 struct pt3_i2cbuf *i2c_buf; member
|
D | pt3_i2c.c | 200 cbuf = pt3->i2c_buf; in pt3_i2c_master_xfer()
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.c | 169 i2c->bsize = regmap->i2c_buf->size; in ddb_i2c_add() 171 (regmap->i2c_buf->base + i2c->bsize * i); in ddb_i2c_add()
|
D | ddbridge-hw.c | 79 .i2c_buf = &octopus_i2c_buf,
|
D | ddbridge.h | 82 const struct ddb_regset *i2c_buf; member
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-m41t80.c | 645 unsigned char i2c_data[2], i2c_buf[0x10]; in wdt_disable() local 657 .buf = i2c_buf, in wdt_disable()
|