Home
last modified time | relevance | path

Searched refs:cmd_index (Results 1 – 9 of 9) 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()
103 int meson_sm_call(unsigned int cmd_index, u32 *ret, u32 arg0, in meson_sm_call() argument
111 cmd = meson_sm_get_cmd(fw.chip, cmd_index); in meson_sm_call()
140 int meson_sm_call_read(void *buffer, unsigned int bsize, unsigned int cmd_index, in meson_sm_call_read() argument
155 if (meson_sm_call(cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read()
187 int meson_sm_call_write(void *buffer, unsigned int size, unsigned int cmd_index, in meson_sm_call_write() argument
203 if (meson_sm_call(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/scsi/
Dgdth.c1583 int cmd_index; in gdth_next() local
1592 cmd_index = 0; in gdth_next()
1669 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t))) in gdth_next()
1673 if (!(cmd_index=gdth_fill_raw_cmd(ha, nscp, BUS_L2P(ha, b)))) in gdth_next()
1687 if (!(cmd_index=gdth_special_cmd(ha, nscp))) in gdth_next()
1692 !(cmd_index=gdth_fill_raw_cmd(ha, nscp, BUS_L2P(ha, b)))) in gdth_next()
1750 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t))) in gdth_next()
1759 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t))) in gdth_next()
1782 } else if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t))) in gdth_next()
1819 if (!gdth_wait(ha, cmd_index, POLL_TIMEOUT)) in gdth_next()
[all …]
Dipr.h1436 u8 cmd_index; member
1621 u16 cmd_index; member
Dipr.c602 trace_entry->cmd_index = ipr_cmd->cmd_index & 0xff; in ipr_trc_hook()
5718 u16 cmd_index; in ipr_process_hrrq() local
5730 cmd_index = (be32_to_cpu(*hrr_queue->hrrq_curr) & in ipr_process_hrrq()
5734 if (unlikely(cmd_index > hrr_queue->max_cmd_id || in ipr_process_hrrq()
5735 cmd_index < hrr_queue->min_cmd_id)) { in ipr_process_hrrq()
5738 cmd_index); in ipr_process_hrrq()
5742 ipr_cmd = ioa_cfg->ipr_cmnd_list[cmd_index]; in ipr_process_hrrq()
9717 ipr_cmd->cmd_index = i; in ipr_alloc_cmd_blks()
Dpmcraid.c4414 int cmd_index = resp >> 2; in pmcraid_tasklet_function() local
4424 if (cmd_index >= PMCRAID_MAX_CMD) { in pmcraid_tasklet_function()
4426 pmcraid_err("Invalid response handle %d\n", cmd_index); in pmcraid_tasklet_function()
4431 cmd = pinstance->cmd_list[cmd_index]; in pmcraid_tasklet_function()
/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c1258 int index, cmd_index, len; in iwl_pcie_rx_handle_rb() local
1319 cmd_index = iwl_pcie_get_cmd_index(txq, index); in iwl_pcie_rx_handle_rb()
1329 kzfree(txq->entries[cmd_index].free_buf); in iwl_pcie_rx_handle_rb()
1330 txq->entries[cmd_index].free_buf = NULL; in iwl_pcie_rx_handle_rb()
Dtx.c1809 int cmd_index; in iwl_pcie_hcmd_complete() local
1828 cmd_index = iwl_pcie_get_cmd_index(txq, index); in iwl_pcie_hcmd_complete()
1829 cmd = txq->entries[cmd_index].cmd; in iwl_pcie_hcmd_complete()
1830 meta = &txq->entries[cmd_index].meta; in iwl_pcie_hcmd_complete()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c1119 int cmd_index __maybe_unused = SEQ_TO_INDEX(sequence); in iwlagn_rx_reply_tx()
1216 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx()