Searched refs:I2C_M_RD (Results 1 – 25 of 44) sorted by relevance
12
/external/u-boot/drivers/i2c/ |
D | tegra186_bpmp_i2c.c | 28 I2C_M_RD | \ 51 if (!(msg[i].flags & I2C_M_RD)) in tegra186_bpmp_i2c_xfer() 62 if (!(msg[i].flags & I2C_M_RD)) { in tegra186_bpmp_i2c_xfer() 79 if (msg[i].flags & I2C_M_RD) { in tegra186_bpmp_i2c_xfer()
|
D | meson_i2c.c | 121 bool write = !(i2c->msg->flags & I2C_M_RD); in meson_i2c_prepare_xfer() 150 token = (msg->flags & I2C_M_RD) ? TOKEN_SLAVE_ADDR_READ : in meson_i2c_do_start() 164 (msg->flags & I2C_M_RD) ? "read" : "write", in meson_i2c_xfer_msg() 197 if ((msg->flags & I2C_M_RD) && i2c->count) { in meson_i2c_xfer_msg()
|
D | kona_i2c.c | 158 #define I2C_M_RD 0x0001 /* read data */ macro 438 if (msg->flags & I2C_M_RD) { in bcm_kona_i2c_do_addr() 451 if (msg->flags & I2C_M_RD) in bcm_kona_i2c_do_addr() 528 if (pmsg->flags & I2C_M_RD) { in bcm_kona_i2c_xfer() 650 msg[1].flags = I2C_M_RD; in kona_i2c_read()
|
D | i2c-uniphier.c | 159 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_i2c_xfer() 161 if (msg->flags & I2C_M_RD) in uniphier_i2c_xfer()
|
D | i2c-uclass.c | 34 printf(" %s %x len=%x", m->flags & I2C_M_RD ? "R" : "W", in i2c_dump_msgs() 36 if (!(m->flags & I2C_M_RD)) in i2c_dump_msgs() 87 ptr->flags = msg->flags | I2C_M_RD; in i2c_read_bytewise() 144 ptr->flags |= I2C_M_RD; in dm_i2c_read()
|
D | cros_ec_ldo.c | 29 if (!nmsgs || !msg->len || (msg->flags & I2C_M_RD)) { in cros_ec_ldo_xfer()
|
D | at91_i2c.c | 48 bool is_read = msg->flags & I2C_M_RD; in at91_i2c_xfer_msg() 137 is_read = m_start->flags & I2C_M_RD; in at91_i2c_xfer()
|
D | ast_i2c.c | 196 ret = ast_i2c_start_txn(dev, (chip_addr << 1) | I2C_M_RD); in ast_i2c_read_data() 281 if (msg->flags & I2C_M_RD) { in ast_i2c_xfer()
|
D | i2c-gpio.c | 260 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in i2c_gpio_xfer() 262 if (msg->flags & I2C_M_RD) { in i2c_gpio_xfer()
|
D | i2c-uniphier-f.c | 260 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_fi2c_xfer() 262 if (msg->flags & I2C_M_RD) in uniphier_fi2c_xfer()
|
D | i2c-cdns.c | 382 if (msg[count].flags & I2C_M_RD) { in cdns_i2c_xfer() 397 if (msg->flags & I2C_M_RD) { in cdns_i2c_xfer()
|
D | tegra_i2c.c | 481 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in tegra_i2c_xfer() 484 if (msg->flags & I2C_M_RD) { in tegra_i2c_xfer()
|
D | stm32f7_i2c.c | 265 if (msg->flags & I2C_M_RD) in stm32_i2c_message_start() 399 u32 mask = msg->flags & I2C_M_RD ? STM32_I2C_ISR_RXNE : in stm32_i2c_message_xfer() 443 mask = msg->flags & I2C_M_RD ? STM32_I2C_ISR_RXNE : in stm32_i2c_message_xfer()
|
D | intel_i2c.c | 225 if (dmsg->flags & I2C_M_RD) in intel_i2c_xfer()
|
/external/u-boot/drivers/power/pmic/ |
D | i2c_pmic_emul.c | 87 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in sandbox_i2c_pmic_xfer() 88 if (msg->flags & I2C_M_RD) { in sandbox_i2c_pmic_xfer()
|
/external/u-boot/drivers/misc/ |
D | i2c_eeprom_emul.c | 70 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_eeprom_xfer() 72 if (msg->flags & I2C_M_RD) { in sandbox_i2c_eeprom_xfer()
|
D | cros_ec_i2c.c | 65 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_packet() 180 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_command()
|
/external/syzkaller/sys/linux/ |
D | i2c_arm64.const | 8 I2C_M_RD = 1
|
D | i2c_arm.const | 8 I2C_M_RD = 1
|
D | i2c_386.const | 8 I2C_M_RD = 1
|
D | i2c_ppc64le.const | 8 I2C_M_RD = 1
|
D | i2c_amd64.const | 8 I2C_M_RD = 1
|
D | i2c.txt | 49 i2c_msg_flags = I2C_M_RD, I2C_M_TEN, I2C_M_DMA_SAFE, I2C_M_RECV_LEN, I2C_M_NO_RD_ACK, I2C_M_IGNORE_…
|
/external/u-boot/drivers/rtc/ |
D | i2c_rtc_emul.c | 179 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_rtc_xfer() 181 if (msg->flags & I2C_M_RD) { in sandbox_i2c_rtc_xfer()
|
/external/kernel-headers/original/uapi/linux/ |
D | i2c.h | 72 #define I2C_M_RD 0x0001 /* read data, from slave to master */ macro
|
12