Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-a/drivers/nxp/i2c/
A Di2c.c95 int addr, int alen) in i2c_write_addr() argument
100 if (alen != 1) { in i2c_write_addr()
101 WARN("I2C: Unsupported address len [%d]\n", alen); in i2c_write_addr()
133 while (alen--) { in i2c_write_addr()
134 ret = tx_byte(ccsr_i2c, (addr >> (alen << 3)) & 0xff); in i2c_write_addr()
200 int i2c_read(unsigned char chip, int addr, int alen, in i2c_read() argument
207 ret = i2c_write_addr(ccsr_i2c, chip, addr, alen); in i2c_read()
226 int i2c_write(unsigned char chip, int addr, int alen, in i2c_write() argument
232 ret = i2c_write_addr(ccsr_i2c, chip, addr, alen); in i2c_write()
/trusted-firmware-a/include/drivers/marvell/
A Di2c.h15 unsigned int addr, int alen, uint8_t *buffer, int len);
18 unsigned int addr, int alen, uint8_t *buffer, int len);
/trusted-firmware-a/include/drivers/mentor/
A Dmi2cv.h35 unsigned int addr, int alen, uint8_t *buffer, int len);
38 unsigned int addr, int alen, uint8_t *buffer, int len);
/trusted-firmware-a/drivers/mentor/i2c/
A Dmi2cv.c390 static int mentor_i2c_target_offset_set(uint8_t chip, uint32_t addr, int alen) in mentor_i2c_target_offset_set() argument
395 if (alen == 2) { /* 2-byte addresses support */ in mentor_i2c_target_offset_set()
487 int i2c_read(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len) in i2c_read() argument
516 if (alen != 0) { in i2c_read()
521 ret = mentor_i2c_target_offset_set(chip, addr, alen); in i2c_read()
566 int i2c_write(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len) in i2c_write() argument
593 if (alen != 0) { in i2c_write()
594 ret = mentor_i2c_target_offset_set(chip, addr, alen); in i2c_write()
/trusted-firmware-a/include/drivers/nxp/i2c/
A Di2c.h46 int i2c_read(unsigned char chip, int addr, int alen,
48 int i2c_write(unsigned char chip, int addr, int alen,
/trusted-firmware-a/include/drivers/brcm/i2c/
A Di2c.h131 int alen,
156 int alen,
/trusted-firmware-a/drivers/brcm/i2c/
A Di2c.c723 int alen, in i2c_read() argument
729 if (alen > 1) { in i2c_read()
730 WARN("I2C read: addr len %d not supported\n", alen); in i2c_read()
795 int alen, in i2c_write() argument
801 if (alen > 1) { in i2c_write()
802 WARN("I2C write: addr len %d not supported\n", alen); in i2c_write()

Completed in 10 milliseconds