Home
last modified time | relevance | path

Searched refs:I2C_M_RD (Results 1 – 25 of 44) sorted by relevance

12

/external/u-boot/drivers/i2c/
Dtegra186_bpmp_i2c.c28 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()
Dmeson_i2c.c121 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()
Dkona_i2c.c158 #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()
Di2c-uniphier.c159 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()
Di2c-uclass.c34 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()
Dcros_ec_ldo.c29 if (!nmsgs || !msg->len || (msg->flags & I2C_M_RD)) { in cros_ec_ldo_xfer()
Dat91_i2c.c48 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()
Dast_i2c.c196 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()
Di2c-gpio.c260 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()
Di2c-uniphier-f.c260 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()
Di2c-cdns.c382 if (msg[count].flags & I2C_M_RD) { in cdns_i2c_xfer()
397 if (msg->flags & I2C_M_RD) { in cdns_i2c_xfer()
Dtegra_i2c.c481 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()
Dstm32f7_i2c.c265 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()
Dintel_i2c.c225 if (dmsg->flags & I2C_M_RD) in intel_i2c_xfer()
/external/u-boot/drivers/power/pmic/
Di2c_pmic_emul.c87 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/
Di2c_eeprom_emul.c70 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_eeprom_xfer()
72 if (msg->flags & I2C_M_RD) { in sandbox_i2c_eeprom_xfer()
Dcros_ec_i2c.c65 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/
Di2c_arm64.const8 I2C_M_RD = 1
Di2c_arm.const8 I2C_M_RD = 1
Di2c_386.const8 I2C_M_RD = 1
Di2c_ppc64le.const8 I2C_M_RD = 1
Di2c_amd64.const8 I2C_M_RD = 1
Di2c.txt49 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/
Di2c_rtc_emul.c179 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/
Di2c.h72 #define I2C_M_RD 0x0001 /* read data, from slave to master */ macro

12