Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c1941 struct host_cmd_ds_command *cmd_ptr = cmd_buf; in mwifiex_sta_prepare_cmd() local
1954 ret = mwifiex_cmd_get_hw_spec(priv, cmd_ptr); in mwifiex_sta_prepare_cmd()
1957 ret = mwifiex_cmd_cfg_data(priv, cmd_ptr, data_buf); in mwifiex_sta_prepare_cmd()
1960 ret = mwifiex_cmd_mac_control(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1964 ret = mwifiex_cmd_802_11_mac_address(priv, cmd_ptr, in mwifiex_sta_prepare_cmd()
1968 ret = mwifiex_cmd_mac_multicast_adr(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1972 ret = mwifiex_cmd_tx_rate_cfg(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1976 ret = mwifiex_cmd_tx_power_cfg(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1980 ret = mwifiex_cmd_rf_tx_power(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
1984 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.c2555 struct host_cmd_ds_command *cmd_ptr; in mwifiex_ret_802_11_scan_ext() local
2596 cmd_ptr = (void *)cmd_node->cmd_skb->data; in mwifiex_ret_802_11_scan_ext()
2597 if (le16_to_cpu(cmd_ptr->command) == in mwifiex_ret_802_11_scan_ext()
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c375 static long isst_if_proc_phyid_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_proc_phyid_req() argument
379 cpu_map = (struct isst_if_cpu_map *)cmd_ptr; in isst_if_proc_phyid_req()
402 static long isst_if_msr_cmd_req(u8 *cmd_ptr, int *write_only, int resume) in isst_if_msr_cmd_req() argument
407 msr_cmd = (struct isst_if_msr_cmd *)cmd_ptr; in isst_if_msr_cmd_req()
446 u8 *cmd_ptr; in isst_if_exec_multi_cmd() local
457 cmd_ptr = kmalloc(cb->cmd_size, GFP_KERNEL); in isst_if_exec_multi_cmd()
458 if (!cmd_ptr) in isst_if_exec_multi_cmd()
472 if (copy_from_user(cmd_ptr, ptr, cb->cmd_size)) { in isst_if_exec_multi_cmd()
477 ret = cb->cmd_callback(cmd_ptr, &wr_only, 0); in isst_if_exec_multi_cmd()
481 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.c35 static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume) in isst_if_mmio_rd_wr() argument
41 io_reg = (struct isst_if_io_reg *)cmd_ptr; in isst_if_mmio_rd_wr()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-sirf.c71 u32 cmd_ptr; /* Current position in CMD buffer */ member
108 && (siic->cmd_ptr < SIRFSOC_I2C_CMD_BUF_MAX)) { in i2c_sirfsoc_queue_cmd()
114 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
120 while ((siic->cmd_ptr < SIRFSOC_I2C_CMD_BUF_MAX - 1) in i2c_sirfsoc_queue_cmd()
127 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
129 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
132 siic->cmd_ptr = 0; in i2c_sirfsoc_queue_cmd()
189 writel(regval, siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_set_address()
197 writel(addr, siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_set_address()
249 siic->cmd_ptr = 0; in i2c_sirfsoc_xfer()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_ctl.c798 char *cmd_ptr, *filename_ptr; in pm8001_store_update_fw() local
812 cmd_ptr = kcalloc(count, 2, GFP_KERNEL); in pm8001_store_update_fw()
813 if (!cmd_ptr) { in pm8001_store_update_fw()
818 filename_ptr = cmd_ptr + count; in pm8001_store_update_fw()
819 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in pm8001_store_update_fw()
828 cmd_ptr, strlen(cmd_ptr))) { in pm8001_store_update_fw()
858 kfree(cmd_ptr); in pm8001_store_update_fw()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth.c981 register gdth_cmd_str *cmd_ptr; in gdth_copy_command() local
992 cmd_ptr = ha->pccb; in gdth_copy_command()
1007 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1009 memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1014 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1016 memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1021 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1023 memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1087 register gdth_cmd_str *cmd_ptr; in gdth_internal_cmd() local
1092 cmd_ptr = ha->pccb; in gdth_internal_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c245 void *cmd_ptr; in iwl_mvm_send_temp_cmd() local
254 cmd_ptr = &ext_cmd; in iwl_mvm_send_temp_cmd()
257 cmd_ptr = &dts_cmd; in iwl_mvm_send_temp_cmd()
268 cmd.data[0] = cmd_ptr; in iwl_mvm_send_temp_cmd()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c701 static inline u32 *cmd_ptr(struct parser_exec_state *s, int index) in cmd_ptr() function
708 return *cmd_ptr(s, index); in cmd_val()
864 patch_value(s, cmd_ptr(s, index), nopid); in force_nonpriv_reg_handler()
913 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
914 *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()
1180 patch_value(s, cmd_ptr(s, 2), gma); in cmd_handler_pipe_control()
1182 patch_value(s, cmd_ptr(s, 1), val); in cmd_handler_pipe_control()
1201 patch_value(s, cmd_ptr(s, 0), MI_NOOP); in cmd_handler_mi_user_interrupt()
1471 patch_value(s, cmd_ptr(s, i), MI_NOOP); in cmd_handler_mi_display_flip()
[all …]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-cmdq-helper.c172 struct cmdq_instruction *cmd_ptr; in cmdq_pkt_append_command() local
189 cmd_ptr = pkt->va_base + pkt->cmd_buf_size; in cmdq_pkt_append_command()
190 *cmd_ptr = inst; in cmdq_pkt_append_command()
/kernel/linux/linux-5.10/drivers/scsi/arm/
Dfas216.c363 static int cmd_ptr; variable
367 cmd_list[cmd_ptr].command = command; in fas216_cmd()
368 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
370 cmd_ptr = (cmd_ptr + 1) & 7; in fas216_cmd()
393 i = cmd_ptr; in print_debug_list()
398 } while (i != cmd_ptr); in print_debug_list()
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_util.c467 struct iscsi_cmd **cmd_ptr, in iscsit_find_cmd_for_recovery() argument
486 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()
506 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()