Searched refs:i2c_buf (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/media/video/hdpvr/ |
D | hdpvr-i2c.c | 72 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()
|
D | hdpvr.h | 108 char i2c_buf[HDPVR_I2C_MAX_SIZE]; member
|
/linux-3.4.99/drivers/rtc/ |
D | rtc-isl1208.c | 91 u8 i2c_buf[ISL1208_REG_USR2 + 2]; in isl1208_i2c_set_regs() local 93 {client->addr, 0, len + 1, i2c_buf} in isl1208_i2c_set_regs() 100 i2c_buf[0] = reg; in isl1208_i2c_set_regs() 101 memcpy(&i2c_buf[1], &buf[0], len); in isl1208_i2c_set_regs()
|
D | rtc-m41t80.c | 549 unsigned char i2c_data[2], i2c_buf[0x10]; in wdt_disable() local 561 .buf = i2c_buf, in wdt_disable()
|