Home
last modified time | relevance | path

Searched refs:is_write (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.6.0/tests/drivers/i2c/i2c_target_api/common/
Di2c_virtual.c155 bool is_write = false; in i2c_virtual_transfer() local
189 cfg, is_write); in i2c_virtual_transfer()
190 is_write = true; in i2c_virtual_transfer()
193 is_write = false; in i2c_virtual_transfer()
/Zephyr-Core-3.6.0/drivers/sdhc/
Dsam_hsmci.c418 static int hsmci_do_manual_transfer(Hsmci *hsmci, bool byte_mode, bool is_write, void *data, in hsmci_do_manual_transfer() argument
423 if (is_write) { in hsmci_do_manual_transfer()
490 bool is_write, byte_mode; in sam_hsmci_request_inner() local
512 is_write = true; in sam_hsmci_request_inner()
515 is_write = true; in sam_hsmci_request_inner()
522 is_write = false; in sam_hsmci_request_inner()
527 is_write = false; in sam_hsmci_request_inner()
532 is_write = false; in sam_hsmci_request_inner()
558 if (is_write) { in sam_hsmci_request_inner()
577 if (is_write) { in sam_hsmci_request_inner()
[all …]
/Zephyr-Core-3.6.0/drivers/mdio/
Dmdio_xmc4xxx.c52 uint8_t is_write, uint16_t data_write, uint16_t *data_read) in mdio_xmc4xxx_transfer() argument
68 if (is_write) { in mdio_xmc4xxx_transfer()
84 if (!is_write && data_read != NULL) { in mdio_xmc4xxx_transfer()
/Zephyr-Core-3.6.0/drivers/ipm/
Dipm_sedi.c21 static void set_ipm_dev_busy(const struct device *dev, bool is_write) in set_ipm_dev_busy() argument
26 atomic_set_bit(&ipm->status, is_write ? IPM_WRITE_BUSY_BIT : IPM_READ_BUSY_BIT); in set_ipm_dev_busy()
31 static void clear_ipm_dev_busy(const struct device *dev, bool is_write) in clear_ipm_dev_busy() argument
36 atomic_clear_bit(&ipm->status, is_write ? IPM_WRITE_BUSY_BIT : IPM_READ_BUSY_BIT); in clear_ipm_dev_busy()
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_mcux_flexcomm.c46 bool is_write; member
228 data->is_write = true; in i2c_target_transfer_callback()
233 if (data->is_write && target_cb->write_received) { in i2c_target_transfer_callback()
235 data->is_write = false; in i2c_target_transfer_callback()
Di2c_ll_stm32.h67 unsigned int is_write; member
Di2c_ll_stm32_v1.c165 data->current.is_write = (transfer == I2C_REQUEST_WRITE); in msg_init()
255 if (data->current.is_write) { in handle_sb()
272 if (!data->current.is_write && data->current.is_restart) { in handle_addr()
281 if (data->current.is_write) { in handle_addr()
393 if (data->current.is_write) { in handle_btf()
581 } else if (LL_I2C_IsActiveFlag_TXE(i2c) && data->current.is_write) { in stm32_i2c_event_isr()
583 } else if (LL_I2C_IsActiveFlag_RXNE(i2c) && !data->current.is_write) { in stm32_i2c_event_isr()
Di2c_npcx_controller.c158 int is_write; /* direction of current msg */ member
677 data->is_write = 1; in i2c_ctrl_proc_write_msg()
708 data->is_write = 0; in i2c_ctrl_proc_read_msg()
913 if (data->is_write) { in i2c_ctrl_isr()
Di2c_ll_stm32_v2.c501 data->current.is_write = 1U; in stm32_i2c_msg_write()
559 data->current.is_write = 0U; in stm32_i2c_msg_read()
/Zephyr-Core-3.6.0/drivers/flash/
Dflash_andes_qspi.c140 bool is_write = (access & ANDES_ACCESS_WRITE) != 0U; in flash_andes_qspi_access() local
163 } else if (is_write) { in flash_andes_qspi_access()
Dspi_nor.c330 bool is_write = (access & NOR_ACCESS_WRITE) != 0U; in spi_nor_access() local
376 if (is_write) { in spi_nor_access()