Home
last modified time | relevance | path

Searched refs:i2c_buf (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/
Dhdpvr-i2c.c56 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()
Dhdpvr.h115 char i2c_buf[HDPVR_I2C_MAX_SIZE]; member
/kernel/linux/linux-5.10/drivers/media/pci/pt3/
Dpt3.c688 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()
Dpt3.h155 struct pt3_i2cbuf *i2c_buf; member
Dpt3_i2c.c200 cbuf = pt3->i2c_buf; in pt3_i2c_master_xfer()
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-i2c.c169 i2c->bsize = regmap->i2c_buf->size; in ddb_i2c_add()
171 (regmap->i2c_buf->base + i2c->bsize * i); in ddb_i2c_add()
Dddbridge-hw.c79 .i2c_buf = &octopus_i2c_buf,
Dddbridge.h82 const struct ddb_regset *i2c_buf; member
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-m41t80.c645 unsigned char i2c_data[2], i2c_buf[0x10]; in wdt_disable() local
657 .buf = i2c_buf, in wdt_disable()