Searched refs:hw_cmd (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/driver/ |
D | sdspi_transaction.c | 22 static uint8_t sdspi_msg_crc7(sdspi_hw_cmd_t* hw_cmd) in sdspi_msg_crc7() argument 25 sizeof(hw_cmd->arguments); /* can't take address of bit fields */ in sdspi_msg_crc7() 26 return sdspi_crc7((const uint8_t *)hw_cmd, bytes_to_crc); in sdspi_msg_crc7() 29 void make_hw_cmd(uint32_t opcode, uint32_t arg, int timeout_ms, sdspi_hw_cmd_t *hw_cmd) in make_hw_cmd() argument 31 hw_cmd->start_bit = 0; in make_hw_cmd() 32 hw_cmd->transmission_bit = 1; in make_hw_cmd() 33 hw_cmd->cmd_index = opcode; in make_hw_cmd() 34 hw_cmd->stop_bit = 1; in make_hw_cmd() 35 hw_cmd->r1 = 0xff; in make_hw_cmd() 36 memset(hw_cmd->response, 0xff, sizeof(hw_cmd->response)); in make_hw_cmd() [all …]
|
D | i2c.c | 99 i2c_hw_cmd_t hw_cmd; member 1154 cmd.hw_cmd.op_code = I2C_LL_CMD_RESTART; in i2c_master_start() 1162 cmd.hw_cmd.op_code = I2C_LL_CMD_STOP; in i2c_master_stop() 1178 .hw_cmd = { in i2c_master_write() 1194 .hw_cmd = { in i2c_master_write_byte() 1208 .hw_cmd = { in i2c_master_read_static() 1226 .hw_cmd = { in i2c_master_read_byte() 1315 i2c_hw_cmd_t hw_cmd = cmd->hw_cmd; in i2c_master_cmd_begin_static() local 1318 if (cmd->hw_cmd.op_code == I2C_LL_CMD_WRITE) { in i2c_master_cmd_begin_static() 1337 hw_cmd.byte_num = fifo_fill; in i2c_master_cmd_begin_static() [all …]
|
D | sdspi_private.h | 98 void make_hw_cmd(uint32_t opcode, uint32_t arg, int timeout_ms, sdspi_hw_cmd_t *hw_cmd);
|
D | sdmmc_transaction.c | 118 sdmmc_hw_cmd_t hw_cmd = make_hw_cmd(cmdinfo); in sdmmc_host_do_transaction() local 148 ret = sdmmc_host_start_command(slot, hw_cmd, cmdinfo->arg); in sdmmc_host_do_transaction()
|