Searched refs:cmd_idx (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/sensor/mhz19b/ |
D | mhz19b.c | 74 static int mhz19b_send_cmd(const struct device *dev, enum mhz19b_cmd_idx cmd_idx, bool has_rsp) in mhz19b_send_cmd() argument 86 data->cmd_idx = cmd_idx; in mhz19b_send_cmd() 100 static inline int mhz19b_send_config(const struct device *dev, enum mhz19b_cmd_idx cmd_idx) in mhz19b_send_config() argument 105 ret = mhz19b_send_cmd(dev, cmd_idx, true); in mhz19b_send_config() 110 if (data->rd_data[MHZ19B_RX_CMD_IDX] != mhz19b_cmds[data->cmd_idx][MHZ19B_TX_CMD_IDX]) { in mhz19b_send_config() 117 static inline int mhz19b_poll_data(const struct device *dev, enum mhz19b_cmd_idx cmd_idx) in mhz19b_poll_data() argument 123 ret = mhz19b_send_cmd(dev, cmd_idx, true); in mhz19b_poll_data() 135 switch (cmd_idx) { in mhz19b_poll_data() 288 uart_fifo_fill(uart_dev, &mhz19b_cmds[data->cmd_idx][data->xfer_bytes], in mhz19b_uart_isr()
|
D | mhz19b.h | 56 enum mhz19b_cmd_idx cmd_idx; member
|
/Zephyr-latest/subsys/shell/ |
D | shell_wildcard.c | 76 size_t cmd_idx = 0; in commands_expand() local 79 while ((entry = z_shell_cmd_get(cmd, cmd_idx++, &dloc)) != NULL) { in commands_expand()
|
D | shell_utils.c | 275 for (size_t cmd_idx = 0; cmd_idx < cmd_count; ++cmd_idx) { in root_cmd_find() local 276 cmd = shell_root_cmd_get(cmd_idx); in root_cmd_find()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_esp32.c | 69 int cmd_idx; member 380 data->cmd_idx = 0; in i2c_esp32_transmit() 409 i2c_ll_write_cmd_reg(data->hal.dev, cmd, data->cmd_idx++); in i2c_esp32_master_start() 420 i2c_ll_write_cmd_reg(data->hal.dev, cmd, data->cmd_idx++); in i2c_esp32_master_stop() 449 i2c_ll_write_cmd_reg(data->hal.dev, cmd, data->cmd_idx++); in i2c_esp32_write_addr() 450 i2c_ll_write_cmd_reg(data->hal.dev, cmd_end, data->cmd_idx++); in i2c_esp32_write_addr() 489 i2c_ll_write_cmd_reg(data->hal.dev, cmd, data->cmd_idx++); in i2c_esp32_master_read() 490 i2c_ll_write_cmd_reg(data->hal.dev, cmd_end, data->cmd_idx++); in i2c_esp32_master_read() 565 i2c_ll_write_cmd_reg(data->hal.dev, cmd, data->cmd_idx++); in i2c_esp32_master_write() 566 i2c_ll_write_cmd_reg(data->hal.dev, cmd_end, data->cmd_idx++); in i2c_esp32_master_write()
|
/Zephyr-latest/drivers/sdhc/ |
D | intel_emmc_host.c | 697 cmd_reg = config->cmd_idx << EMMC_HOST_CMD_INDEX_LOC | in emmc_host_send_cmd() 712 LOG_ERR("Error on send cmd: %d, status:%d", config->cmd_idx, ret); in emmc_host_send_cmd() 732 cmd.cmd_idx = SD_STOP_TRANSMISSION; in emmc_stop_transfer() 871 static int emmc_send_cmd_no_data(const struct device *dev, uint32_t cmd_idx, in emmc_send_cmd_no_data() argument 877 emmc_cmd.cmd_idx = cmd_idx; in emmc_send_cmd_no_data() 886 static int emmc_send_cmd_data(const struct device *dev, uint32_t cmd_idx, in emmc_send_cmd_data() argument 893 emmc_cmd.cmd_idx = cmd_idx; in emmc_send_cmd_data() 945 emmc_cmd.cmd_idx = read ? SD_READ_MULTIPLE_BLOCK : SD_WRITE_MULTIPLE_BLOCK; in emmc_xfr() 948 emmc_cmd.cmd_idx = read ? SD_READ_SINGLE_BLOCK : SD_WRITE_SINGLE_BLOCK; in emmc_xfr()
|
D | sdhc_cdns_ll.c | 601 cmd_indx = (cmd->cmd_idx) << CDNS_SRS03_COM_IDX; in sdhc_cdns_send_cmd() 604 switch (cmd->cmd_idx) { in sdhc_cdns_send_cmd() 642 switch (cmd->cmd_idx) { in sdhc_cdns_send_cmd() 694 if ((cmd->cmd_idx == SD_WRITE_SINGLE_BLOCK) || (cmd->cmd_idx in sdhc_cdns_send_cmd()
|
D | intel_emmc_host.h | 293 uint32_t cmd_idx; member
|
D | sdhc_cdns.c | 68 cdns_sdmmc_cmd.cmd_idx = cmd->opcode; in sdhc_cdns_request()
|
D | sdhc_cdns_ll.h | 367 unsigned int cmd_idx; member
|