Home
last modified time | relevance | path

Searched refs:cmd_idx (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/rts5139/
Dsd_cprm.c85 int ext_sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx, argument
96 RTS51X_DEBUGP("EXT SD/MMC CMD %d\n", cmd_idx);
105 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_CMD0, 0xFF, 0x40 | cmd_idx);
191 if (cmd_idx == WRITE_MULTIPLE_BLOCK)
203 if ((cmd_idx == SELECT_CARD) || (cmd_idx == APP_CMD) ||
204 (cmd_idx == SEND_STATUS) || (cmd_idx == STOP_TRANSMISSION)) {
205 if ((cmd_idx != STOP_TRANSMISSION) && (special_check == 0)) {
219 if (cmd_idx == SELECT_CARD) {
282 u8 cmd_idx, u8 standby, u8 acmd, u8 rsp_code, argument
343 retval = ext_sd_send_cmd_get_rsp(chip, cmd_idx, arg, rsp_type,
[all …]
Dsd_cprm.h35 u8 cmd_idx, u8 standby, u8 acmd, u8 rsp_code,
38 u8 cmd_idx, u8 cmd12, u8 standby, u8 acmd,
42 u8 cmd_idx, u8 cmd12, u8 standby, u8 acmd,
Drts51x_fop.c50 u8 dir, cmd12, standby, acmd, cmd_idx, rsp_code; in rts51x_sd_direct_cmnd() local
58 cmd_idx = cmnd->cmnd[1]; in rts51x_sd_direct_cmnd()
75 cmd_idx, standby, acmd, in rts51x_sd_direct_cmnd()
88 cmd_idx, cmd12, standby, acmd, in rts51x_sd_direct_cmnd()
122 cmd_idx, cmd12, standby, acmd, in rts51x_sd_direct_cmnd()
Drts51x_chip.c496 if (chip->cmd_idx < ((CMD_BUF_LEN - CMD_OFFSET) / 4)) { in rts51x_add_cmd()
497 i = CMD_OFFSET + chip->cmd_idx * 4; in rts51x_add_cmd()
503 chip->cmd_idx++; in rts51x_add_cmd()
511 chip->cmd_buf[CNT_H] = (u8) (chip->cmd_idx >> 8); in rts51x_send_cmd()
512 chip->cmd_buf[CNT_L] = (u8) (chip->cmd_idx); in rts51x_send_cmd()
517 chip->cmd_idx * 4 + CMD_OFFSET, in rts51x_send_cmd()
Dsd.c101 static int sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx, argument
114 RTS51X_DEBUGP("SD/MMC CMD %d, arg = 0x%08x\n", cmd_idx, arg);
123 rts51x_add_cmd(chip, WRITE_REG_CMD, SD_CMD0, 0xFF, 0x40 | cmd_idx);
227 if (cmd_idx == WRITE_MULTIPLE_BLOCK) {
243 if ((cmd_idx != SEND_RELATIVE_ADDR)
244 && (cmd_idx != SEND_IF_COND)) {
245 if (cmd_idx != STOP_TRANSMISSION) {
692 u8 cmd_idx, cmd_type; local
696 cmd_idx = SELECT_CARD;
700 cmd_idx = DESELECT_CARD;
[all …]
Drts51x_chip.h788 unsigned int cmd_idx; member
836 chip->cmd_idx = 0; in rts51x_init_cmd()
/drivers/staging/rts_pstor/
Dsd.c154 static int sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx, in sd_send_cmd_get_rsp() argument
167 RTSX_DEBUGP("SD/MMC CMD %d, arg = 0x%08x\n", cmd_idx, arg); in sd_send_cmd_get_rsp()
176 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CMD0, 0xFF, 0x40 | cmd_idx); in sd_send_cmd_get_rsp()
259 if (cmd_idx == WRITE_MULTIPLE_BLOCK) { in sd_send_cmd_get_rsp()
275 if ((cmd_idx != SEND_RELATIVE_ADDR) && (cmd_idx != SEND_IF_COND)) { in sd_send_cmd_get_rsp()
276 if (cmd_idx != STOP_TRANSMISSION) { in sd_send_cmd_get_rsp()
725 u8 cmd_idx, cmd_type; in sd_select_card() local
729 cmd_idx = SELECT_CARD; in sd_select_card()
733 cmd_idx = DESELECT_CARD; in sd_select_card()
738 retval = sd_send_cmd_get_rsp(chip, cmd_idx, addr, cmd_type, NULL, 0); in sd_select_card()
[all …]
Dsd.h288 int ext_sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx,
/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-tx.c969 int cmd_idx; in iwl_send_cmd_sync() local
991 cmd_idx = iwl_enqueue_hcmd(trans, cmd); in iwl_send_cmd_sync()
992 if (cmd_idx < 0) { in iwl_send_cmd_sync()
993 ret = cmd_idx; in iwl_send_cmd_sync()
1044 trans_pcie->txq[trans_pcie->cmd_queue].meta[cmd_idx].flags &= in iwl_send_cmd_sync()
/drivers/mmc/host/
Dushc.c69 __u8 cmd_idx; member
281 ushc->cbw->cmd_idx = cpu_to_le16(req->cmd->opcode); in ushc_request()
/drivers/hwmon/
Dsmm665.c398 #define SMM665_ATTR(name, type, cmd_idx) \ argument
400 smm665_show_##type, NULL, cmd_idx)
/drivers/net/wireless/iwlegacy/
Dcommon.c311 int cmd_idx; in il_send_cmd_sync() local
328 cmd_idx = il_enqueue_hcmd(il, cmd); in il_send_cmd_sync()
329 if (cmd_idx < 0) { in il_send_cmd_sync()
330 ret = cmd_idx; in il_send_cmd_sync()
383 il->txq[il->cmd_queue].meta[cmd_idx].flags &= ~CMD_WANT_SKB; in il_send_cmd_sync()
3195 il_hcmd_queue_reclaim(struct il_priv *il, int txq_id, int idx, int cmd_idx) in il_hcmd_queue_reclaim() argument
3235 int cmd_idx; in il_tx_cmd_complete() local
3254 cmd_idx = il_get_cmd_idx(&txq->q, idx, huge); in il_tx_cmd_complete()
3255 cmd = txq->cmd[cmd_idx]; in il_tx_cmd_complete()
3256 meta = &txq->meta[cmd_idx]; in il_tx_cmd_complete()
[all …]