Home
last modified time | relevance | path

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

/openbmc/u-boot/board/theadorable/
H A Dtheadorable.c235 u8 i2c_buf[8]; in board_late_init() local
247 i2c_buf[0] = STM_I2C_ADDR << 1; in board_late_init()
248 i2c_buf[1] = 0xc5; /* cmd */ in board_late_init()
249 i2c_buf[2] = 0x01; /* enable */ in board_late_init()
251 i2c_buf[3] = REBOOT_DELAY & 0x00ff; in board_late_init()
252 i2c_buf[4] = (REBOOT_DELAY & 0xff00) >> 8; in board_late_init()
254 i2c_buf[5] = 0x00; in board_late_init()
255 i2c_buf[6] = 0x00; in board_late_init()
256 i2c_buf[7] = crc8(0x72, &i2c_buf[0], 7); in board_late_init()
258 ret = i2c_write(STM_I2C_ADDR, 0, 0, &i2c_buf[1], 7); in board_late_init()
/openbmc/linux/drivers/media/usb/hdpvr/
H A 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()
H A Dhdpvr.h115 char i2c_buf[HDPVR_I2C_MAX_SIZE]; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dta_secureDisplay_if.h127 uint8_t i2c_buf[TA_SECUREDISPLAY_I2C_BUFFER_SIZE]; /* I2C buffer */ member
H A Damdgpu_securedisplay.c151 securedisplay_cmd->securedisplay_out_message.send_roi_crc.i2c_buf); in amdgpu_securedisplay_debugfs_write()
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-i2c.c160 i2c->bsize = regmap->i2c_buf->size; in ddb_i2c_add()
162 (regmap->i2c_buf->base + i2c->bsize * i); in ddb_i2c_add()
H A Dddbridge-hw.c70 .i2c_buf = &octopus_i2c_buf,
H A Dddbridge.h73 const struct ddb_regset *i2c_buf; member
/openbmc/linux/drivers/media/pci/pt3/
H A Dpt3.h155 struct pt3_i2cbuf *i2c_buf; member
H A Dpt3.c734 pt3->i2c_buf = devm_kmalloc(&pdev->dev, sizeof(*pt3->i2c_buf), GFP_KERNEL); in pt3_probe()
735 if (!pt3->i2c_buf) in pt3_probe()
H A Dpt3_i2c.c200 cbuf = pt3->i2c_buf; in pt3_i2c_master_xfer()
/openbmc/linux/drivers/rtc/
H A Drtc-m41t80.c655 unsigned char i2c_data[2], i2c_buf[0x10]; in wdt_disable() local
667 .buf = i2c_buf, in wdt_disable()