Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Di2c-uclass.c55 int offset_len; in i2c_setup_offset() local
59 msg->len = chip->offset_len; in i2c_setup_offset()
61 if (!chip->offset_len) in i2c_setup_offset()
63 assert(chip->offset_len <= I2C_MAX_OFFSET_LEN); in i2c_setup_offset()
64 offset_len = chip->offset_len; in i2c_setup_offset()
65 while (offset_len--) in i2c_setup_offset()
66 *offset_buf++ = offset >> (8 * offset_len); in i2c_setup_offset()
190 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write()
202 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write()
274 static int i2c_bind_driver(struct udevice *bus, uint chip_addr, uint offset_len, in i2c_bind_driver() argument
[all …]
Di2c-uclass-compat.c23 if (chip->offset_len != alen) { in i2c_compat_get_device()
25 chip_addr, alen, chip->offset_len); in i2c_compat_get_device()
/external/u-boot/drivers/misc/
Di2c_eeprom_emul.c24 int offset_len; /* Length of an offset in bytes */ member
40 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len) in sandbox_i2c_eeprom_set_offset_len() argument
44 plat->offset_len = offset_len; in sandbox_i2c_eeprom_set_offset_len()
79 } else if (len >= plat->offset_len) { in sandbox_i2c_eeprom_xfer()
83 for (i = 0; i < plat->offset_len; i++, len--) in sandbox_i2c_eeprom_xfer()
122 plat->offset_len = 1; in sandbox_i2c_eeprom_ofdata_to_platdata()
/external/u-boot/include/
Di2c.h52 uint offset_len; member
253 int i2c_set_chip_offset_len(struct udevice *dev, uint offset_len);
497 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len,
513 int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
/external/u-boot/arch/sandbox/include/asm/
Dtest.h48 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
/external/elfutils/src/
Dreadelf.c7968 const unsigned char *readendp, unsigned int offset_len, in print_form_data() argument
8088 if ((size_t) (readendp - readp) < offset_len) in print_form_data()
8090 if (offset_len == 8) in print_form_data()
8112 if ((size_t) (readendp - readp) < offset_len) in print_form_data()
8114 if (offset_len == 8) in print_form_data()
8135 if ((size_t) (strreadendp - strreadp) < offset_len) in print_form_data()
8140 if (offset_len == 8) in print_form_data()
9835 unsigned int offset_len = (flag & 0x01) ? 8 : 4; in print_debug_macro_section() local
9836 printf (gettext (" Offset length: %" PRIu8 "\n"), offset_len); in print_debug_macro_section()
9840 if (offset_len == 8) in print_debug_macro_section()
[all …]
DChangeLog557 * readelf.c (print_form_data): Cast comparisons against offset_len to
/external/libhevc/encoder/
Dihevce_encode_header.c3241 UWORD32 max_offset = 0, offset_len = 0, num_bytes_shift = 0; in ihevce_insert_entry_offset_slice_header() local
3263 offset_len++; in ihevce_insert_entry_offset_slice_header()
3265 offset_len = 32 - offset_len; in ihevce_insert_entry_offset_slice_header()
3266 ps_slice_hdr->i1_offset_len = offset_len; in ihevce_insert_entry_offset_slice_header()
/external/u-boot/cmd/
Di2c.c1702 chip->chip_addr, dev->name, chip->offset_len, in show_bus()