/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 1936 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 …]
|
H A D | cmdevt.c | 552 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() 642 cmd_ptr); in mwifiex_send_cmd() 647 cmd_ptr); in mwifiex_send_cmd() 651 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
|
H A D | scan.c | 2528 struct host_cmd_ds_command *cmd_ptr; in mwifiex_ret_802_11_scan_ext() local 2568 cmd_ptr = (void *)cmd_node->cmd_skb->data; in mwifiex_ret_802_11_scan_ext() 2569 if (le16_to_cpu(cmd_ptr->command) == in mwifiex_ret_802_11_scan_ext()
|
/linux/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_if_common.c | 483 static long isst_if_proc_phyid_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_proc_phyid_req() argument 487 cpu_map = (struct isst_if_cpu_map *)cmd_ptr; in isst_if_proc_phyid_req() 510 static long isst_if_msr_cmd_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_msr_cmd_req() argument 515 msr_cmd = (struct isst_if_msr_cmd *)cmd_ptr; in isst_if_msr_cmd_req() 554 u8 *cmd_ptr; in isst_if_exec_multi_cmd() local 565 cmd_ptr = kmalloc(cb->cmd_size, GFP_KERNEL); in isst_if_exec_multi_cmd() 566 if (!cmd_ptr) in isst_if_exec_multi_cmd() 580 if (copy_from_user(cmd_ptr, ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd() 585 ret = cb->cmd_callback(cmd_ptr, &wr_only, 0); in isst_if_exec_multi_cmd() 589 if (!wr_only && copy_to_user(ptr, cmd_ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd() [all …]
|
H A D | isst_if_mbox_msr.c | 104 static long isst_if_mbox_proc_cmd(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mbox_proc_cmd() argument 109 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
|
H A D | isst_if_mbox_pci.c | 117 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()
|
H A D | isst_if_mmio.c | 42 static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mmio_rd_wr() argument 48 io_reg = (struct isst_if_io_reg *)cmd_ptr; in isst_if_mmio_rd_wr()
|
/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 799 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()
|
/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_init.c | 318 char *cmd_ptr, *filename_ptr; in asd_store_update_bios() local 325 cmd_ptr = kcalloc(count, 2, GFP_KERNEL); in asd_store_update_bios() 327 if (!cmd_ptr) { in asd_store_update_bios() 332 filename_ptr = cmd_ptr + count; in asd_store_update_bios() 333 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in asd_store_update_bios() 341 cmd_ptr, strlen(cmd_ptr))) { in asd_store_update_bios() 418 kfree(cmd_ptr); in asd_store_update_bios()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 186 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/drivers/scsi/arm/ |
H A D | fas216.c | 366 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/drivers/target/iscsi/ |
H A D | iscsi_target_util.c | 450 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()
|