Home
last modified time | relevance | path

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

12

/u-boot/drivers/i2c/
A Dtegra186_bpmp_i2c.c31 I2C_M_RD | \
54 if (!(msg[i].flags & I2C_M_RD)) in tegra186_bpmp_i2c_xfer()
65 if (!(msg[i].flags & I2C_M_RD)) { in tegra186_bpmp_i2c_xfer()
82 if (msg[i].flags & I2C_M_RD) { in tegra186_bpmp_i2c_xfer()
A Di2c-versatile.c161 if (msg->flags & I2C_M_RD) { in versatile_i2c_send_slave_addr()
173 if (msg->flags & I2C_M_RD) in versatile_i2c_send_slave_addr()
196 if (msg->flags & I2C_M_RD) { in versatile_i2c_message_xfer()
A Dmeson_i2c.c130 bool write = !(i2c->msg->flags & I2C_M_RD); in meson_i2c_prepare_xfer()
159 token = (msg->flags & I2C_M_RD) ? TOKEN_SLAVE_ADDR_READ : in meson_i2c_do_start()
173 (msg->flags & I2C_M_RD) ? "read" : "write", in meson_i2c_xfer_msg()
206 if ((msg->flags & I2C_M_RD) && i2c->count) { in meson_i2c_xfer_msg()
A Dcros_ec_ldo.c30 if (!nmsgs || !msg->len || (msg->flags & I2C_M_RD)) { in cros_ec_ldo_xfer()
A Di2c-uniphier.c160 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_i2c_xfer()
162 if (msg->flags & I2C_M_RD) in uniphier_i2c_xfer()
A Dkona_i2c.c154 #define I2C_M_RD 0x0001 /* read data */ macro
434 if (msg->flags & I2C_M_RD) { in bcm_kona_i2c_do_addr()
447 if (msg->flags & I2C_M_RD) in bcm_kona_i2c_do_addr()
524 if (pmsg->flags & I2C_M_RD) { in bcm_kona_i2c_xfer()
646 msg[1].flags = I2C_M_RD; in kona_i2c_read()
A Dat91_i2c.c50 bool is_read = msg->flags & I2C_M_RD; in at91_i2c_xfer_msg()
143 is_read = m_start->flags & I2C_M_RD; in at91_i2c_xfer()
A Dxilinx_xiic.c97 return (addr << 1) | (flags & I2C_M_RD ? 1 : 0); in i2c_8bit_addr_from_flags()
285 if (msg->flags & I2C_M_RD) in xilinx_xiic_xfer()
A Di2c-uclass.c39 printf(" %s %x len=%x", m->flags & I2C_M_RD ? "R" : "W", in i2c_dump_msgs()
41 if (!(m->flags & I2C_M_RD)) in i2c_dump_msgs()
95 ptr->flags = msg->flags | I2C_M_RD; in i2c_read_bytewise()
152 ptr->flags |= I2C_M_RD; in dm_i2c_read()
A Dast_i2c.c199 ret = ast_i2c_start_txn(dev, (chip_addr << 1) | I2C_M_RD); in ast_i2c_read_data()
284 if (msg->flags & I2C_M_RD) { in ast_i2c_xfer()
A Di2c-cortina.c287 if (msg->flags & I2C_M_RD) in ca_i2c_xfer()
296 msg->flags & I2C_M_RD ? "read" : "write"); in ca_i2c_xfer()
A Di2c-uniphier-f.c261 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_fi2c_xfer()
263 if (msg->flags & I2C_M_RD) in uniphier_fi2c_xfer()
A Di2c-gpio.c276 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in i2c_gpio_xfer()
278 if (msg->flags & I2C_M_RD) { in i2c_gpio_xfer()
A Drcar_i2c.c214 ret = rcar_i2c_set_addr(dev, msg->addr, !!(msg->flags & I2C_M_RD)); in rcar_i2c_xfer()
218 if (msg->flags & I2C_M_RD) in rcar_i2c_xfer()
A Docores_i2c.c149 return (msg->addr << 1) | (msg->flags & I2C_M_RD ? 1 : 0); in i2c_8bit_addr_from_msg()
171 (msg->flags & I2C_M_RD) ? STATE_READ : STATE_WRITE; in ocores_process()
200 i2c->state = (msg->flags & I2C_M_RD) in ocores_process()
A Di2c-cdns.c423 if (msg[count].flags & I2C_M_RD) { in cdns_i2c_xfer()
439 if (msg->flags & I2C_M_RD) { in cdns_i2c_xfer()
A Dtegra_i2c.c485 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in tegra_i2c_xfer()
488 if (msg->flags & I2C_M_RD) { in tegra_i2c_xfer()
A Dstm32f7_i2c.c288 if (msg->flags & I2C_M_RD) in stm32_i2c_message_start()
422 u32 mask = msg->flags & I2C_M_RD ? STM32_I2C_ISR_RXNE : in stm32_i2c_message_xfer()
466 mask = msg->flags & I2C_M_RD ? STM32_I2C_ISR_RXNE : in stm32_i2c_message_xfer()
A Dintel_i2c.c226 if (dmsg->flags & I2C_M_RD) in intel_i2c_xfer()
A Drcar_iic.c186 if (msg->flags & I2C_M_RD) in rcar_iic_xfer()
/u-boot/drivers/power/pmic/
A Di2c_pmic_emul.c89 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in sandbox_i2c_pmic_xfer()
90 if (msg->flags & I2C_M_RD) { in sandbox_i2c_pmic_xfer()
/u-boot/drivers/misc/
A Dcros_ec_i2c.c66 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_packet()
181 i2c_msg[1].flags = I2C_M_RD; in cros_ec_i2c_command()
A Di2c_eeprom_emul.c94 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_eeprom_xfer()
96 if (msg->flags & I2C_M_RD) { in sandbox_i2c_eeprom_xfer()
/u-boot/drivers/rtc/
A Di2c_rtc_emul.c184 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_rtc_xfer()
186 if (msg->flags & I2C_M_RD) { in sandbox_i2c_rtc_xfer()
A Dpcf2127.c39 msg.flags |= I2C_M_RD; in pcf2127_rtc_read()

Completed in 28 milliseconds

12