Home
last modified time | relevance | path

Searched refs:cmd_ptr (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c1936 struct host_cmd_ds_command *cmd_ptr = cmd_buf; in mwifiex_sta_prepare_cmd() local
1949 ret = mwifiex_cmd_get_hw_spec(priv, cmd_ptr); in mwifiex_sta_prepare_cmd()
1952 ret = mwifiex_cmd_cfg_data(priv, cmd_ptr, data_buf); in mwifiex_sta_prepare_cmd()
1955 ret = mwifiex_cmd_mac_control(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1959 ret = mwifiex_cmd_802_11_mac_address(priv, cmd_ptr, in mwifiex_sta_prepare_cmd()
1963 ret = mwifiex_cmd_mac_multicast_adr(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1967 ret = mwifiex_cmd_tx_rate_cfg(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1971 ret = mwifiex_cmd_tx_power_cfg(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1975 ret = mwifiex_cmd_rf_tx_power(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1979 ret = mwifiex_cmd_rf_antenna(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
[all …]
Dcmdevt.c552 struct host_cmd_ds_command *cmd_ptr; in mwifiex_send_cmd() local
625 cmd_ptr = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data); in mwifiex_send_cmd()
626 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd()
627 cmd_ptr->result = 0; in mwifiex_send_cmd()
640 cmd_ptr); in mwifiex_send_cmd()
645 cmd_ptr); in mwifiex_send_cmd()
649 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
Dscan.c2542 struct host_cmd_ds_command *cmd_ptr; in mwifiex_ret_802_11_scan_ext() local
2583 cmd_ptr = (void *)cmd_node->cmd_skb->data; in mwifiex_ret_802_11_scan_ext()
2584 if (le16_to_cpu(cmd_ptr->command) == in mwifiex_ret_802_11_scan_ext()
/linux-6.1.9/drivers/platform/x86/intel/speed_select_if/
Disst_if_common.c464 static long isst_if_proc_phyid_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_proc_phyid_req() argument
468 cpu_map = (struct isst_if_cpu_map *)cmd_ptr; in isst_if_proc_phyid_req()
491 static long isst_if_msr_cmd_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_msr_cmd_req() argument
496 msr_cmd = (struct isst_if_msr_cmd *)cmd_ptr; in isst_if_msr_cmd_req()
535 u8 *cmd_ptr; in isst_if_exec_multi_cmd() local
546 cmd_ptr = kmalloc(cb->cmd_size, GFP_KERNEL); in isst_if_exec_multi_cmd()
547 if (!cmd_ptr) in isst_if_exec_multi_cmd()
561 if (copy_from_user(cmd_ptr, ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd()
566 ret = cb->cmd_callback(cmd_ptr, &wr_only, 0); in isst_if_exec_multi_cmd()
570 if (!wr_only && copy_to_user(ptr, cmd_ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd()
[all …]
Disst_if_mbox_msr.c106 static long isst_if_mbox_proc_cmd(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mbox_proc_cmd() argument
111 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
Disst_if_mbox_pci.c117 static long isst_if_mbox_proc_cmd(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mbox_proc_cmd() argument
124 mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
Disst_if_mmio.c41 static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mmio_rd_wr() argument
47 io_reg = (struct isst_if_io_reg *)cmd_ptr; in isst_if_mmio_rd_wr()
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_ctl.c803 char *cmd_ptr, *filename_ptr; in pm8001_store_update_fw() local
817 cmd_ptr = kcalloc(count, 2, GFP_KERNEL); in pm8001_store_update_fw()
818 if (!cmd_ptr) { in pm8001_store_update_fw()
823 filename_ptr = cmd_ptr + count; in pm8001_store_update_fw()
824 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in pm8001_store_update_fw()
833 cmd_ptr, strlen(cmd_ptr))) { in pm8001_store_update_fw()
863 kfree(cmd_ptr); in pm8001_store_update_fw()
/linux-6.1.9/drivers/scsi/aic94xx/
Daic94xx_init.c332 char *cmd_ptr, *filename_ptr; in asd_store_update_bios() local
339 cmd_ptr = kcalloc(count, 2, GFP_KERNEL); in asd_store_update_bios()
341 if (!cmd_ptr) { in asd_store_update_bios()
346 filename_ptr = cmd_ptr + count; in asd_store_update_bios()
347 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in asd_store_update_bios()
355 cmd_ptr, strlen(cmd_ptr))) { in asd_store_update_bios()
432 kfree(cmd_ptr); in asd_store_update_bios()
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-cmdq-helper.c154 struct cmdq_instruction *cmd_ptr; in cmdq_pkt_append_command() local
171 cmd_ptr = pkt->va_base + pkt->cmd_buf_size; in cmdq_pkt_append_command()
172 *cmd_ptr = inst; in cmdq_pkt_append_command()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c186 void *cmd_ptr; in iwl_mvm_send_temp_cmd() local
195 cmd_ptr = &ext_cmd; in iwl_mvm_send_temp_cmd()
198 cmd_ptr = &dts_cmd; in iwl_mvm_send_temp_cmd()
209 cmd.data[0] = cmd_ptr; in iwl_mvm_send_temp_cmd()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c713 static inline u32 *cmd_ptr(struct parser_exec_state *s, int index) in cmd_ptr() function
720 return *cmd_ptr(s, index); in cmd_val()
876 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
877 *cmd_ptr(s, 4) = lower_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
961 patch_value(s, cmd_ptr(s, index), VGT_PVINFO_PAGE); in cmd_reg_handler()
995 patch_value(s, cmd_ptr(s, index+1), cmdval_new); in cmd_reg_handler()
1213 patch_value(s, cmd_ptr(s, 2), gma); in cmd_handler_pipe_control()
1215 patch_value(s, cmd_ptr(s, 1), val); in cmd_handler_pipe_control()
1234 patch_value(s, cmd_ptr(s, 0), MI_NOOP); in cmd_handler_mi_user_interrupt()
1506 patch_value(s, cmd_ptr(s, i), MI_NOOP); in cmd_handler_mi_display_flip()
[all …]
/linux-6.1.9/drivers/scsi/arm/
Dfas216.c366 static int cmd_ptr; variable
370 cmd_list[cmd_ptr].command = command; in fas216_cmd()
371 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
373 cmd_ptr = (cmd_ptr + 1) & 7; in fas216_cmd()
396 i = cmd_ptr; in print_debug_list()
401 } while (i != cmd_ptr); in print_debug_list()
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_util.c450 struct iscsit_cmd **cmd_ptr, in iscsit_find_cmd_for_recovery() argument
469 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()
489 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()