/Zephyr-Core-3.6.0/drivers/sensor/adltc2990/ |
D | adltc2990_emul.c | 84 if (FIELD_GET(I2C_MSG_READ, msgs->flags)) { in adltc2990_emul_transfer_i2c() 94 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in adltc2990_emul_transfer_i2c() 100 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in adltc2990_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/eeprom/ |
D | eeprom_at2x_emul.c | 87 if (msgs->flags & I2C_MSG_READ) { in at24_emul_transfer() 96 if (msgs->flags & I2C_MSG_READ) { in at24_emul_transfer() 104 if (!(msgs->flags & I2C_MSG_READ)) { in at24_emul_transfer()
|
/Zephyr-Core-3.6.0/drivers/bbram/ |
D | bbram_microchip_mcp7940n_emul.c | 49 if (FIELD_GET(I2C_MSG_READ, msgs->flags)) { in mcp7940n_emul_transfer_i2c() 59 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c() 65 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/fuel_gauge/max17048/ |
D | emul_max17048.c | 81 if (msgs->flags & I2C_MSG_READ) { in max17048_emul_transfer_i2c() 93 if (msgs->flags & I2C_MSG_READ) { in max17048_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/charger/ |
D | emul_sbs_charger.c | 83 if (msgs->flags & I2C_MSG_READ) { in sbs_charger_emul_transfer_i2c() 95 if (msgs->flags & I2C_MSG_READ) { in sbs_charger_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/w1/ |
D | w1_ds2485.c | 41 .flags = I2C_MSG_READ, in ds2485_w1_script_cmd() 46 .flags = (I2C_MSG_READ | I2C_MSG_STOP), in ds2485_w1_script_cmd()
|
/Zephyr-Core-3.6.0/drivers/sensor/akm09918c/ |
D | akm09918c_emul.c | 85 if (FIELD_GET(I2C_MSG_READ, msgs->flags)) { in akm09918c_emul_transfer_i2c() 95 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in akm09918c_emul_transfer_i2c() 101 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in akm09918c_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/fuel_gauge/bq27z746/ |
D | emul_bq27z746.c | 285 if (msgs->flags & I2C_MSG_READ) { in bq27z746_emul_transfer_i2c() 292 if (msgs->flags & I2C_MSG_READ) { in bq27z746_emul_transfer_i2c() 304 if (msgs->flags & I2C_MSG_READ) { in bq27z746_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/tests/drivers/sensor/ina230/src/ |
D | ina230_emul.c | 88 if (msgs[0].flags & I2C_MSG_READ) { in ina230_emul_transfer_i2c() 114 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina230_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/i2c/ |
D | i2c_nrfx_twim.c | 84 && ((msgs[i].flags & I2C_MSG_READ) in i2c_nrfx_twim_transfer() 85 == (msgs[i + 1].flags & I2C_MSG_READ)); in i2c_nrfx_twim_transfer() 106 if (!(msgs[i].flags & I2C_MSG_READ)) { in i2c_nrfx_twim_transfer() 125 cur_xfer.type = (msgs[i].flags & I2C_MSG_READ) ? in i2c_nrfx_twim_transfer() 184 if ((msgs[i].flags & I2C_MSG_READ) in i2c_nrfx_twim_transfer()
|
D | i2c_gd32.c | 167 if (data->current->flags & I2C_MSG_READ) { in i2c_gd32_handle_btc() 205 if ((data->current->flags & I2C_MSG_READ) && (data->xfer_len <= 2U)) { in i2c_gd32_handle_addsend() 216 data->current->flags |= I2C_MSG_READ; in i2c_gd32_handle_addsend() 223 if ((data->current->flags & I2C_MSG_READ) && (data->xfer_len == 1U)) { in i2c_gd32_handle_addsend() 238 if (data->current->flags & I2C_MSG_READ) { in i2c_gd32_event_isr() 323 if (data->current->flags & I2C_MSG_READ) { in i2c_gd32_xfer_begin() 473 if (data->current->flags & I2C_MSG_READ) { in i2c_gd32_transfer()
|
D | i2c_rtio.c | 33 if (msgs[i].flags & I2C_MSG_READ) { in i2c_rtio_copy()
|
D | i2c_smartbond.c | 210 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in i2c_smartbond_tx() 300 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_transfer() 337 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_enable_msg_interrupts() 390 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in isr_tx() 457 if ((data->msgs->flags & I2C_MSG_RW_MASK) != I2C_MSG_READ) { in i2c_smartbond_isr()
|
D | i2c_bitbang.c | 225 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_bitbang_transfer() 235 if ((flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_bitbang_transfer()
|
D | i2c_common.c | 64 const bool is_read = msg->flags & I2C_MSG_READ; in i2c_dump_msgs_rw()
|
D | i2c_numaker.c | 103 __ASSERT_NO_MSG((data->master_xfer.msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in m_numaker_i2c_master_xfer_msg_read_last_byte() 116 bool is_read_next = (msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in m_numaker_i2c_master_xfer_msg_read_last_byte() 197 bool is_read_prev = (data->master_xfer.msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in m_numaker_i2c_master_xfer_msg_end() 207 bool is_read_next = (msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in m_numaker_i2c_master_xfer_msg_end() 372 is_read = (data->master_xfer.msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_numaker_transfer() 545 bool is_read = (msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_numaker_isr()
|
D | i2c_handlers.c | 45 copy[i].flags & I2C_MSG_READ)); in copy_msgs_and_transfer()
|
D | i2c_mchp_mss.c | 172 data->dir = I2C_MSG_READ; in mss_i2c_read() 223 if ((current->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in mss_i2c_transfer() 290 data->dir = I2C_MSG_READ; in mss_i2c_irq_handler()
|
D | i2c_nrfx_twi.c | 65 .type = (msgs[i].flags & I2C_MSG_READ) ? in i2c_nrfx_twi_transfer() 91 } else if (msgs[i].flags & I2C_MSG_READ) { in i2c_nrfx_twi_transfer()
|
/Zephyr-Core-3.6.0/drivers/sensor/amd_sb_tsi/ |
D | sb_tsi_emul.c | 59 if (msgs->flags & I2C_MSG_READ) { in sb_tsi_emul_transfer_i2c() 71 if (msgs->flags & I2C_MSG_READ) { in sb_tsi_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/tests/drivers/sensor/ina237/src/ |
D | ina237_emul.c | 82 if (msgs[0].flags & I2C_MSG_READ) { in ina237_emul_transfer_i2c() 108 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina237_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/drivers/sensor/f75303/ |
D | f75303_emul.c | 63 if (msgs->flags & I2C_MSG_READ) { in f75303_emul_transfer_i2c() 75 if (msgs->flags & I2C_MSG_READ) { in f75303_emul_transfer_i2c()
|
/Zephyr-Core-3.6.0/tests/boards/frdm_k64f/i2c/src/ |
D | i2c.c | 94 .flags = I2C_MSG_READ | I2C_MSG_RESTART | I2C_MSG_STOP } }; 194 .flags = I2C_MSG_READ | I2C_MSG_RESTART | I2C_MSG_STOP } }; in test_i2c_fxos8700_transfer_signal()
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/ |
D | i2c.h | 145 #define I2C_MSG_READ BIT(0) macro 480 return (msg->flags & I2C_MSG_READ) == I2C_MSG_READ; in i2c_is_read_op() 581 if (msgs[i].flags & I2C_MSG_READ) { in i2c_xfer_stats() 895 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read_cb() 1255 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in i2c_read() 1309 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read()
|
/Zephyr-Core-3.6.0/drivers/sensor/ams_iAQcore/ |
D | iAQcore.c | 35 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in iaqcore_sample_fetch()
|