Searched refs:addr_bytes (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/i2c/ |
D | mv_i2c.c | 495 u8 addr_bytes[4]; in i2c_read() local 497 addr_bytes[0] = (addr >> 0) & 0xFF; in i2c_read() 498 addr_bytes[1] = (addr >> 8) & 0xFF; in i2c_read() 499 addr_bytes[2] = (addr >> 16) & 0xFF; in i2c_read() 500 addr_bytes[3] = (addr >> 24) & 0xFF; in i2c_read() 502 return __i2c_read(base_glob, chip, addr_bytes, alen, buffer, len); in i2c_read() 520 u8 addr_bytes[4]; in i2c_write() local 522 addr_bytes[0] = (addr >> 0) & 0xFF; in i2c_write() 523 addr_bytes[1] = (addr >> 8) & 0xFF; in i2c_write() 524 addr_bytes[2] = (addr >> 16) & 0xFF; in i2c_write() [all …]
|
D | mvtwsi.c | 698 u8 addr_bytes[4]; in twsi_i2c_read() local 700 addr_bytes[0] = (addr >> 0) & 0xFF; in twsi_i2c_read() 701 addr_bytes[1] = (addr >> 8) & 0xFF; in twsi_i2c_read() 702 addr_bytes[2] = (addr >> 16) & 0xFF; in twsi_i2c_read() 703 addr_bytes[3] = (addr >> 24) & 0xFF; in twsi_i2c_read() 705 return __twsi_i2c_read(twsi, chip, addr_bytes, alen, data, length, in twsi_i2c_read() 713 u8 addr_bytes[4]; in twsi_i2c_write() local 715 addr_bytes[0] = (addr >> 0) & 0xFF; in twsi_i2c_write() 716 addr_bytes[1] = (addr >> 8) & 0xFF; in twsi_i2c_write() 717 addr_bytes[2] = (addr >> 16) & 0xFF; in twsi_i2c_write() [all …]
|
D | ihs_i2c.c | 379 u8 addr_bytes[4]; in ihs_i2c_read() local 381 put_unaligned_le32(addr, addr_bytes); in ihs_i2c_read() 383 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_read() 390 u8 addr_bytes[4]; in ihs_i2c_write() local 392 put_unaligned_le32(addr, addr_bytes); in ihs_i2c_write() 394 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_write()
|
/external/u-boot/drivers/spi/ |
D | cadence_qspi_apb.c | 539 unsigned int addr_bytes; in cadence_qspi_apb_indirect_read_setup() local 550 addr_bytes = cmdlen - 2; in cadence_qspi_apb_indirect_read_setup() 553 addr_bytes = cmdlen - 1; in cadence_qspi_apb_indirect_read_setup() 567 addr_value = cadence_qspi_apb_cmd2addr(&cmdbuf[1], addr_bytes); in cadence_qspi_apb_indirect_read_setup() 571 dummy_bytes = cmdlen - addr_bytes - 1; in cadence_qspi_apb_indirect_read_setup() 598 reg |= (addr_bytes - 1); in cadence_qspi_apb_indirect_read_setup() 692 unsigned int addr_bytes = cmdlen > 4 ? 4 : 3; in cadence_qspi_apb_indirect_write_setup() local 708 reg = cadence_qspi_apb_cmd2addr(&cmdbuf[1], addr_bytes); in cadence_qspi_apb_indirect_write_setup() 713 reg |= (addr_bytes - 1); in cadence_qspi_apb_indirect_write_setup()
|
/external/selinux/libsepol/src/ |
D | node_record.c | 45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr() argument 60 memcpy(addr_bytes, &in_addr.s_addr, 4); in node_parse_addr() 73 memcpy(addr_bytes, in_addr.s6_addr, 16); in node_parse_addr() 135 char *addr_bytes, int proto, char *addr_str) in node_expand_addr() argument 144 memcpy(&addr.s_addr, addr_bytes, 4); in node_expand_addr() 161 memcpy(&addr.s6_addr[0], addr_bytes, 16); in node_expand_addr()
|
/external/u-boot/drivers/mtd/spi/ |
D | sandbox.c | 85 uint addr_bytes, pad_addr_bytes; member 221 sbsf->addr_bytes = 0; in sandbox_sf_cs_activate() 372 debug(" addr: bytes:%u rx:%02x ", sbsf->addr_bytes, in sandbox_sf_xfer() 375 if (sbsf->addr_bytes++ < SF_ADDR_LEN) in sandbox_sf_xfer() 384 if (sbsf->addr_bytes < in sandbox_sf_xfer()
|
/external/elfutils/libdwfl/ |
D | frame_unwind.c | 325 const unsigned addr_bytes = elfclass == ELFCLASS32 ? 4 : 8; in expr_eval() local 326 if (op->number > addr_bytes) in expr_eval() 336 val1 >>= (addr_bytes - op->number) * 8; in expr_eval()
|