Searched refs:I2C_M_RD (Results 1 – 25 of 46) sorted by relevance
12
31 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()
161 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()
130 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()
30 if (!nmsgs || !msg->len || (msg->flags & I2C_M_RD)) { in cros_ec_ldo_xfer()
160 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()
154 #define I2C_M_RD 0x0001 /* read data */ macro434 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()
50 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()
97 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()
39 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()
199 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()
287 if (msg->flags & I2C_M_RD) in ca_i2c_xfer()296 msg->flags & I2C_M_RD ? "read" : "write"); in ca_i2c_xfer()
261 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()
276 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()
214 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()
149 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()
423 if (msg[count].flags & I2C_M_RD) { in cdns_i2c_xfer()439 if (msg->flags & I2C_M_RD) { in cdns_i2c_xfer()
485 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()
288 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()
226 if (dmsg->flags & I2C_M_RD) in intel_i2c_xfer()
186 if (msg->flags & I2C_M_RD) in rcar_iic_xfer()
89 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()
66 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()
94 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_eeprom_xfer()96 if (msg->flags & I2C_M_RD) { in sandbox_i2c_eeprom_xfer()
184 msg->flags & I2C_M_RD ? "read" : "write", in sandbox_i2c_rtc_xfer()186 if (msg->flags & I2C_M_RD) { in sandbox_i2c_rtc_xfer()
39 msg.flags |= I2C_M_RD; in pcf2127_rtc_read()
Completed in 28 milliseconds