Searched refs:I2C_MSG_RW_MASK (Results 1 – 25 of 37) sorted by relevance
12
244 if ((current->flags & I2C_MSG_RW_MASK) != (next->flags & I2C_MSG_RW_MASK)) { in i2c_smartbond_set_msg_flags()282 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in i2c_smartbond_tx()360 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_transfer()401 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_smartbond_enable_msg_interrupts()457 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in isr_tx()521 if ((data->msgs->flags & I2C_MSG_RW_MASK) != I2C_MSG_READ) { in i2c_smartbond_isr()
299 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in ifx_cat1_i2c_transfer()304 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in ifx_cat1_i2c_transfer()310 ((msg[i + 1U].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ)) { in ifx_cat1_i2c_transfer()354 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in ifx_cat1_i2c_transfer()358 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in ifx_cat1_i2c_transfer()
215 data->current->flags &= ~I2C_MSG_RW_MASK; in i2c_gd32_handle_addsend()337 data->current->flags &= ~I2C_MSG_RW_MASK; in i2c_gd32_xfer_begin()425 if ((current->flags & I2C_MSG_RW_MASK) != in i2c_gd32_transfer()426 (next->flags & I2C_MSG_RW_MASK)) { in i2c_gd32_transfer()463 if ((data->current->flags & I2C_MSG_RW_MASK) != in i2c_gd32_transfer()464 (msgs[itr].flags & I2C_MSG_RW_MASK)) { in i2c_gd32_transfer()
222 if ((msgs[0].flags & I2C_MSG_RW_MASK) != in i2c_sam_twi_transfer()223 (msgs[1].flags & I2C_MSG_RW_MASK)) { in i2c_sam_twi_transfer()228 if ((msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_sam_twi_transfer()
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()
238 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_bitbang_transfer()248 if ((flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_bitbang_transfer()
155 ((data->msgs[0].flags & I2C_MSG_RW_MASK) == in i2c_sam0_isr()156 (data->msgs[1].flags & I2C_MSG_RW_MASK)) && in i2c_sam0_isr()429 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_sam0_transfer()451 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_sam0_transfer()487 if ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_sam0_transfer()
109 if ((msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_gecko_transfer()117 if ((msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_gecko_transfer()
184 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_imx_send_addr()236 if ((msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_imx_transfer()
417 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_dw_isr()423 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_dw_isr()683 if ((pflags & I2C_MSG_RW_MASK) != (dw->xfr_flags & I2C_MSG_RW_MASK)) { in i2c_dw_transfer()689 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_dw_transfer()
878 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) && in cq_mode_allowed()883 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()891 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()908 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()918 ((msgs[1].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) && in cq_mode_allowed()
79 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_sedi_api_full_io()
643 if ((current->flags & I2C_MSG_RW_MASK) != (next->flags & I2C_MSG_RW_MASK)) { in i2c_esp32_transfer()684 if ((msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_esp32_transfer()
251 next_msg_is_read = ((next_msg->flags & I2C_MSG_RW_MASK) == in i2c_prepare_xfer_cmd()325 if ((msg->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ && in i2c_start_xfer()
41 #define IS_I2C_MSG_WRITE(flags) ((flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE)
205 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_sam_twihs_transfer()
161 start[1] = addr | (msg->flags & I2C_MSG_RW_MASK); in i2c_sc18im_transfer_msg()
164 if ((msg->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_rcar_transfer_msg()
209 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_cc13xx_cc26xx_transfer()
275 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_kb1200_transfer()
198 cmd_type = ((msg[msg_index].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) ? in ifx_xmc4_i2c_transfer()
223 if ((current->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in mss_i2c_transfer()
140 #define OPERATION(msg) (((struct i2c_msg *) msg)->flags & I2C_MSG_RW_MASK)
147 #define OPERATION(msg) (((struct i2c_msg *) msg)->flags & I2C_MSG_RW_MASK)187 if ((current->flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_virtual_transfer()
25 #define IS_I2C_MSG_WRITE(flags) ((flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE)26 #define IS_I2C_MSG_READ(flags) ((flags & I2C_MSG_RW_MASK) == I2C_MSG_READ)