Home
last modified time | relevance | path

Searched refs:cmd_index (Results 1 – 8 of 8) sorted by relevance

/drivers/firmware/meson/
Dmeson_sm.c60 unsigned int cmd_index) in meson_sm_get_cmd() argument
64 while (cmd->smc_id && cmd->index != cmd_index) in meson_sm_get_cmd()
104 int meson_sm_call(struct meson_sm_firmware *fw, unsigned int cmd_index, in meson_sm_call() argument
112 cmd = meson_sm_get_cmd(fw->chip, cmd_index); in meson_sm_call()
143 unsigned int bsize, unsigned int cmd_index, u32 arg0, in meson_sm_call_read() argument
158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read()
192 unsigned int size, unsigned int cmd_index, u32 arg0, in meson_sm_call_write() argument
208 if (meson_sm_call(fw, cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_write()
/drivers/leds/
Dleds-lp3952.c147 u8 cmd_index, u8 r, u8 g, u8 b, in lp3952_set_pattern_gen_cmd() argument
163 if (cmd_index >= LP3952_CMD_REG_COUNT) in lp3952_set_pattern_gen_cmd()
167 LP3952_REG_CMD_0 + cmd_index * 2, in lp3952_set_pattern_gen_cmd()
173 LP3952_REG_CMD_0 + cmd_index * 2 + 1, in lp3952_set_pattern_gen_cmd()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1165 int cmd_index; in iwl_pcie_hcmd_complete() local
1184 cmd_index = iwl_txq_get_cmd_index(txq, index); in iwl_pcie_hcmd_complete()
1185 cmd = txq->entries[cmd_index].cmd; in iwl_pcie_hcmd_complete()
1186 meta = &txq->entries[cmd_index].meta; in iwl_pcie_hcmd_complete()
Drx.c1391 int cmd_index = iwl_txq_get_cmd_index(txq, index); in iwl_pcie_rx_handle_rb() local
1393 kfree_sensitive(txq->entries[cmd_index].free_buf); in iwl_pcie_rx_handle_rb()
1394 txq->entries[cmd_index].free_buf = NULL; in iwl_pcie_rx_handle_rb()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c1114 int cmd_index __maybe_unused = SEQ_TO_INDEX(sequence); in iwlagn_rx_reply_tx()
1211 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx()
/drivers/scsi/
Dipr.h1377 u8 cmd_index; member
1559 u16 cmd_index; member
Dpmcraid.c3912 int cmd_index = resp >> 2; in pmcraid_tasklet_function() local
3922 if (cmd_index >= PMCRAID_MAX_CMD) { in pmcraid_tasklet_function()
3924 pmcraid_err("Invalid response handle %d\n", cmd_index); in pmcraid_tasklet_function()
3929 cmd = pinstance->cmd_list[cmd_index]; in pmcraid_tasklet_function()
Dipr.c597 trace_entry->cmd_index = ipr_cmd->cmd_index & 0xff; in ipr_trc_hook()
5417 u16 cmd_index; in ipr_process_hrrq() local
5429 cmd_index = (be32_to_cpu(*hrr_queue->hrrq_curr) & in ipr_process_hrrq()
5433 if (unlikely(cmd_index > hrr_queue->max_cmd_id || in ipr_process_hrrq()
5434 cmd_index < hrr_queue->min_cmd_id)) { in ipr_process_hrrq()
5437 cmd_index); in ipr_process_hrrq()
5441 ipr_cmd = ioa_cfg->ipr_cmnd_list[cmd_index]; in ipr_process_hrrq()
8962 ipr_cmd->cmd_index = i; in ipr_alloc_cmd_blks()