| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | i2c-uclass.c | 48 int offset_len; in i2c_setup_offset() local 52 msg->len = chip->offset_len; in i2c_setup_offset() 54 if (!chip->offset_len) in i2c_setup_offset() 56 assert(chip->offset_len <= I2C_MAX_OFFSET_LEN); in i2c_setup_offset() 57 offset_len = chip->offset_len; in i2c_setup_offset() 58 while (offset_len--) in i2c_setup_offset() 59 *offset_buf++ = offset >> (8 * offset_len); in i2c_setup_offset() 183 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write() 195 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write() 282 static int i2c_bind_driver(struct udevice *bus, uint chip_addr, uint offset_len, in i2c_bind_driver() argument [all …]
|
| H A D | i2c-uclass-compat.c | 24 if (chip->offset_len != alen) { in i2c_compat_get_device() 26 chip_addr, alen, chip->offset_len); in i2c_compat_get_device()
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | i2c_eeprom_emul.c | 27 int offset_len; /* Length of an offset in bytes */ member 43 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len) in sandbox_i2c_eeprom_set_offset_len() argument 47 plat->offset_len = offset_len; in sandbox_i2c_eeprom_set_offset_len() 82 } else if (len >= plat->offset_len) { in sandbox_i2c_eeprom_xfer() 86 for (i = 0; i < plat->offset_len; i++, len--) in sandbox_i2c_eeprom_xfer() 125 plat->offset_len = 1; in sandbox_i2c_eeprom_ofdata_to_platdata()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | i2c.h | 53 uint offset_len; member 268 int i2c_set_chip_offset_len(struct udevice *dev, uint offset_len); 512 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len, 528 int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/8390/ |
| H A D | apne.c | 589 int offset_len; in init_pcmcia() local 614 offset_len = (tuple[2] & 0x3) + 1; in init_pcmcia() 616 while(offset_len--) { in init_pcmcia() 617 offset = (offset << 8) | tuple[4+offset_len]; in init_pcmcia()
|
| /OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/ |
| H A D | test.h | 49 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | i2c.c | 1705 chip->chip_addr, dev->name, chip->offset_len, in show_bus()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_sdio.c | 10282 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; in _dhdsdio_download_btfw() local 10367 offset_len = offset_addr + index; in _dhdsdio_download_btfw() 10368 if (offset_len <= 0x1000) { in _dhdsdio_download_btfw()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_sdio.c | 10604 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; local 10689 offset_len = offset_addr + index; 10690 if (offset_len <= 0x1000) {
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_sdio.c | 10650 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; local 10735 offset_len = offset_addr + index; 10736 if (offset_len <= 0x1000) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_sdio.c | 10600 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; local 10685 offset_len = offset_addr + index; 10686 if (offset_len <= 0x1000) {
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_sdio.c | 11651 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; in _dhdsdio_download_btfw() local 11739 offset_len = offset_addr + index; in _dhdsdio_download_btfw() 11740 if (offset_len <= 0x1000) { in _dhdsdio_download_btfw()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_sdio.c | 11636 uint32 offset_addr = 0, offset_len = 0, bytes_to_write = 0; in _dhdsdio_download_btfw() local 11724 offset_len = offset_addr + index; in _dhdsdio_download_btfw() 11725 if (offset_len <= 0x1000) { in _dhdsdio_download_btfw()
|