/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_common.c | 64 const bool is_read = msg->flags & I2C_MSG_READ; in i2c_dump_msgs_rw() local 65 const bool dump_data = dump_read || !is_read; in i2c_dump_msgs_rw() 68 LOG_DBG(" %c %2s %1s len=01: %02x", is_read ? 'R' : 'W', in i2c_dump_msgs_rw() 72 LOG_DBG(" %c %2s %1s len=%02x: ", is_read ? 'R' : 'W', in i2c_dump_msgs_rw()
|
D | i2c_numaker.c | 369 bool is_read; in i2c_numaker_transfer() local 372 is_read = (data->master_xfer.msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_numaker_transfer() 377 LOG_ERR("DIR: %s", is_read ? "R" : "W"); in i2c_numaker_transfer() 545 bool is_read = (msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_numaker_isr() local 547 int addr_rw = is_read ? ((addr << 1) | 1) : (addr << 1); in i2c_numaker_isr()
|
/Zephyr-Core-3.7.0/drivers/sensor/adi/adltc2990/ |
D | adltc2990_emul.c | 94 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in adltc2990_emul_transfer_i2c() local 97 if (!is_stop && !is_read) { in adltc2990_emul_transfer_i2c() 100 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in adltc2990_emul_transfer_i2c() 104 if (is_read) { in adltc2990_emul_transfer_i2c()
|
/Zephyr-Core-3.7.0/drivers/bbram/ |
D | bbram_microchip_mcp7940n_emul.c | 59 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c() local 62 if (!is_stop && !is_read) { in mcp7940n_emul_transfer_i2c() 65 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c() 69 if (is_read) { in mcp7940n_emul_transfer_i2c()
|
/Zephyr-Core-3.7.0/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_emul.c | 95 bool is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in akm09918c_emul_transfer_i2c() local 98 if (!is_stop && !is_read) { in akm09918c_emul_transfer_i2c() 101 is_read = FIELD_GET(I2C_MSG_READ, msgs->flags) == 1; in akm09918c_emul_transfer_i2c() 104 if (is_read) { in akm09918c_emul_transfer_i2c()
|
/Zephyr-Core-3.7.0/drivers/i3c/ |
D | i3c_npcx.c | 326 enum npcx_i3c_mctrl_type op_type, bool is_read, in npcx_i3c_request_emit_start() argument 345 if (is_read) { in npcx_i3c_request_emit_start() 788 bool is_read, bool emit_start, bool emit_stop, uint8_t hdr_cmd) in npcx_i3c_do_one_xfer_dma() argument 813 if (is_read) { in npcx_i3c_do_one_xfer_dma() 826 ret = npcx_i3c_request_emit_start(inst, addr, op_type, is_read, rd_len); in npcx_i3c_do_one_xfer_dma() 839 if (is_read) { in npcx_i3c_do_one_xfer_dma() 846 LOG_ERR("%s: %s fifo fail", __func__, is_read ? "read" : "write"); in npcx_i3c_do_one_xfer_dma() 884 bool is_read, bool emit_start, bool emit_stop, bool no_ending) in npcx_i3c_do_one_xfer() argument 893 ret = npcx_i3c_request_emit_start(inst, addr, op_type, is_read, buf_sz); in npcx_i3c_do_one_xfer() 906 if (is_read) { in npcx_i3c_do_one_xfer() [all …]
|
D | i3c_mcux.c | 601 bool is_read, size_t read_sz) in mcux_i3c_request_emit_start() argument 609 if (is_read) { in mcux_i3c_request_emit_start() 1023 bool is_read, bool emit_start, bool emit_stop, in mcux_i3c_do_one_xfer() argument 1033 ret = mcux_i3c_request_emit_start(base, addr, is_i2c, is_read, buf_sz); in mcux_i3c_do_one_xfer() 1045 if (is_read) { in mcux_i3c_do_one_xfer() 1055 if (is_read || !no_ending) { in mcux_i3c_do_one_xfer() 1118 bool is_read = (msgs[i].flags & I3C_MSG_RW_MASK) == I3C_MSG_READ; in mcux_i3c_transfer() local 1138 if (!is_read && !emit_stop && ((i + 1) != num_msgs)) { in mcux_i3c_transfer() 1175 is_read, emit_start, emit_stop, no_ending); in mcux_i3c_transfer() 1434 bool is_read = tgt_payload->rnw == 1U; in mcux_i3c_do_ccc() local [all …]
|
/Zephyr-Core-3.7.0/drivers/sdhc/ |
D | rcar_mmc.c | 539 static int rcar_mmc_dma_rx_tx_data(const struct device *dev, struct sdhc_data *data, bool is_read) in rcar_mmc_dma_rx_tx_data() argument 556 if (is_read) { in rcar_mmc_dma_rx_tx_data() 577 (uint32_t)(is_read ? (~RCAR_MMC_DMA_INFO2_ERR_RD) : (~RCAR_MMC_DMA_INFO2_ERR_WR))); in rcar_mmc_dma_rx_tx_data() 602 if (is_read) { in rcar_mmc_dma_rx_tx_data() 690 bool is_read) in rcar_mmc_sd_buf_rx_tx_data() argument 695 uint32_t info2_poll_flag = is_read ? RCAR_MMC_INFO2_BRE : RCAR_MMC_INFO2_BWE; in rcar_mmc_sd_buf_rx_tx_data() 791 if (is_read) { in rcar_mmc_sd_buf_rx_tx_data() 827 static int rcar_mmc_rx_tx_data(const struct device *dev, struct sdhc_data *data, bool is_read) in rcar_mmc_rx_tx_data() argument 834 ret = rcar_mmc_dma_rx_tx_data(dev, data, is_read); in rcar_mmc_rx_tx_data() 838 ret = rcar_mmc_sd_buf_rx_tx_data(dev, data, is_read); in rcar_mmc_rx_tx_data() [all …]
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_emul.c | 70 bool is_read; in icm42688_emul_io_spi() local 80 is_read = FIELD_GET(REG_SPI_READ_BIT, regn); in icm42688_emul_io_spi() 82 if (is_read) { in icm42688_emul_io_spi()
|