Home
last modified time | relevance | path

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

/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c1944 struct host_cmd_ds_command *cmd_ptr = cmd_buf; in mwifiex_sta_prepare_cmd() local
1957 ret = mwifiex_cmd_get_hw_spec(priv, cmd_ptr); in mwifiex_sta_prepare_cmd()
1960 ret = mwifiex_cmd_cfg_data(priv, cmd_ptr, data_buf); in mwifiex_sta_prepare_cmd()
1963 ret = mwifiex_cmd_mac_control(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1967 ret = mwifiex_cmd_802_11_mac_address(priv, cmd_ptr, in mwifiex_sta_prepare_cmd()
1971 ret = mwifiex_cmd_mac_multicast_adr(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1975 ret = mwifiex_cmd_tx_rate_cfg(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1979 ret = mwifiex_cmd_tx_power_cfg(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1983 ret = mwifiex_cmd_rf_tx_power(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1987 ret = mwifiex_cmd_rf_antenna(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
[all …]
Dcmdevt.c564 struct host_cmd_ds_command *cmd_ptr; in mwifiex_send_cmd() local
632 cmd_ptr = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data); in mwifiex_send_cmd()
633 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd()
634 cmd_ptr->result = 0; in mwifiex_send_cmd()
647 cmd_ptr); in mwifiex_send_cmd()
652 cmd_ptr); in mwifiex_send_cmd()
656 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
Dscan.c2554 struct host_cmd_ds_command *cmd_ptr; in mwifiex_ret_802_11_scan_ext() local
2595 cmd_ptr = (void *)cmd_node->cmd_skb->data; in mwifiex_ret_802_11_scan_ext()
2596 if (le16_to_cpu(cmd_ptr->command) == in mwifiex_ret_802_11_scan_ext()
/drivers/platform/x86/intel/speed_select_if/
Disst_if_common.c462 static long isst_if_proc_phyid_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_proc_phyid_req() argument
466 cpu_map = (struct isst_if_cpu_map *)cmd_ptr; in isst_if_proc_phyid_req()
489 static long isst_if_msr_cmd_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_msr_cmd_req() argument
494 msr_cmd = (struct isst_if_msr_cmd *)cmd_ptr; in isst_if_msr_cmd_req()
533 u8 *cmd_ptr; in isst_if_exec_multi_cmd() local
544 cmd_ptr = kmalloc(cb->cmd_size, GFP_KERNEL); in isst_if_exec_multi_cmd()
545 if (!cmd_ptr) in isst_if_exec_multi_cmd()
559 if (copy_from_user(cmd_ptr, ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd()
564 ret = cb->cmd_callback(cmd_ptr, &wr_only, 0); in isst_if_exec_multi_cmd()
568 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()
/drivers/scsi/pm8001/
Dpm8001_ctl.c799 char *cmd_ptr, *filename_ptr; in pm8001_store_update_fw() local
813 cmd_ptr = kcalloc(count, 2, GFP_KERNEL); in pm8001_store_update_fw()
814 if (!cmd_ptr) { in pm8001_store_update_fw()
819 filename_ptr = cmd_ptr + count; in pm8001_store_update_fw()
820 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in pm8001_store_update_fw()
829 cmd_ptr, strlen(cmd_ptr))) { in pm8001_store_update_fw()
859 kfree(cmd_ptr); in pm8001_store_update_fw()
/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()
/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()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c181 void *cmd_ptr; in iwl_mvm_send_temp_cmd() local
190 cmd_ptr = &ext_cmd; in iwl_mvm_send_temp_cmd()
193 cmd_ptr = &dts_cmd; in iwl_mvm_send_temp_cmd()
204 cmd.data[0] = cmd_ptr; in iwl_mvm_send_temp_cmd()
/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c711 static inline u32 *cmd_ptr(struct parser_exec_state *s, int index) in cmd_ptr() function
718 return *cmd_ptr(s, index); in cmd_val()
874 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
875 *cmd_ptr(s, 4) = lower_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
959 patch_value(s, cmd_ptr(s, index), VGT_PVINFO_PAGE); in cmd_reg_handler()
993 patch_value(s, cmd_ptr(s, index+1), cmdval_new); in cmd_reg_handler()
1211 patch_value(s, cmd_ptr(s, 2), gma); in cmd_handler_pipe_control()
1213 patch_value(s, cmd_ptr(s, 1), val); in cmd_handler_pipe_control()
1232 patch_value(s, cmd_ptr(s, 0), MI_NOOP); in cmd_handler_mi_user_interrupt()
1504 patch_value(s, cmd_ptr(s, i), MI_NOOP); in cmd_handler_mi_display_flip()
[all …]
/drivers/scsi/arm/
Dfas216.c362 static int cmd_ptr; variable
366 cmd_list[cmd_ptr].command = command; in fas216_cmd()
367 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
369 cmd_ptr = (cmd_ptr + 1) & 7; in fas216_cmd()
392 i = cmd_ptr; in print_debug_list()
397 } while (i != cmd_ptr); in print_debug_list()
/drivers/target/iscsi/
Discsi_target_util.c450 struct iscsi_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()