Home
last modified time | relevance | path

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

/drivers/media/usb/hdpvr/
Dhdpvr-i2c.c72 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf))) in hdpvr_i2c_read()
76 memcpy(&dev->i2c_buf, wdata, wlen); in hdpvr_i2c_read()
79 (bus << 8) | addr, 0, &dev->i2c_buf, in hdpvr_i2c_read()
87 (bus << 8) | addr, 0, &dev->i2c_buf, len, 1000); in hdpvr_i2c_read()
90 memcpy(data, &dev->i2c_buf, len); in hdpvr_i2c_read()
103 if (len > sizeof(dev->i2c_buf)) in hdpvr_i2c_write()
106 memcpy(&dev->i2c_buf, data, len); in hdpvr_i2c_write()
109 (bus << 8) | addr, 0, &dev->i2c_buf, len, 1000); in hdpvr_i2c_write()
116 0, 0, &dev->i2c_buf, 2, 1000); in hdpvr_i2c_write()
118 if ((ret == 2) && (dev->i2c_buf[1] == (len - 1))) in hdpvr_i2c_write()
Dhdpvr.h121 char i2c_buf[HDPVR_I2C_MAX_SIZE]; member
/drivers/rtc/
Drtc-isl1208.c99 u8 i2c_buf[ISL1208_REG_USR2 + 2]; in isl1208_i2c_set_regs() local
104 .buf = i2c_buf in isl1208_i2c_set_regs()
112 i2c_buf[0] = reg; in isl1208_i2c_set_regs()
113 memcpy(&i2c_buf[1], &buf[0], len); in isl1208_i2c_set_regs()
Drtc-m41t80.c410 unsigned char i2c_data[2], i2c_buf[0x10]; in wdt_disable() local
422 .buf = i2c_buf, in wdt_disable()
/drivers/media/pci/pt3/
Dpt3.c719 kfree(pt3->i2c_buf); in pt3_remove()
787 pt3->i2c_buf = kmalloc(sizeof(*pt3->i2c_buf), GFP_KERNEL); in pt3_probe()
788 if (pt3->i2c_buf == NULL) { in pt3_probe()
836 kfree(pt3->i2c_buf); in pt3_probe()
Dpt3.h164 struct pt3_i2cbuf *i2c_buf; member
Dpt3_i2c.c210 cbuf = pt3->i2c_buf; in pt3_i2c_master_xfer()