Home
last modified time | relevance | path

Searched refs:cmd_id (Results 1 – 25 of 139) sorted by relevance

123456

/linux-6.6.21/drivers/media/pci/intel/ivsc/
Dmei_ace.c92 u32 cmd_id : 8; member
119 u32 cmd_id : 8; member
146 u32 cmd_id : 8; member
198 enum ace_cmd_id cmd_id) in construct_command() argument
205 hdr->cmd_id = cmd_id; in construct_command()
206 switch (cmd_id) { in construct_command()
252 if (ack_hdr->ack.cmd_id != cmd_hdr->cmd_id) { in mei_ace_send()
278 if (resp_hdr->response.cmd_id != cmd_hdr->cmd_id) in mei_ace_send()
290 enum ace_cmd_id cmd_id; in ace_set_camera_owner() local
296 cmd_id = ACE_SWITCH_CAMERA_TO_IVSC; in ace_set_camera_owner()
[all …]
Dmei_csi.c94 u32 cmd_id; member
103 u32 cmd_id; member
197 if (csi->cmd_response.cmd_id != cmd->cmd_id) in mei_csi_send()
211 cmd.cmd_id = CSI_SET_OWNER; in csi_set_link_owner()
213 cmd_size = sizeof(cmd.cmd_id) + sizeof(cmd.param.param); in csi_set_link_owner()
231 cmd.cmd_id = CSI_SET_CONF; in csi_set_link_cfg()
234 cmd_size = sizeof(cmd.cmd_id) + sizeof(cmd.param.conf); in csi_set_link_cfg()
265 switch (notif.cmd_id) { in mei_csi_rx()
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c66 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V2; in remove_display_from_topology_v2()
71 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in remove_display_from_topology_v2()
102 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V3; in remove_display_from_topology_v3()
107 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in remove_display_from_topology_v3()
141 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V2; in add_display_to_topology_v2()
156 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in add_display_to_topology_v2()
188 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V3; in add_display_to_topology_v3()
210 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in add_display_to_topology_v3()
269 hdcp_cmd->cmd_id = TA_HDCP_COMMAND__HDCP1_CREATE_SESSION; in mod_hdcp_hdcp1_create_session()
271 psp_hdcp_invoke(psp, hdcp_cmd->cmd_id); in mod_hdcp_hdcp1_create_session()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dtestmode.c47 static void ath11k_tm_wmi_event_unsegmented(struct ath11k_base *ab, u32 cmd_id, in ath11k_tm_wmi_event_unsegmented() argument
55 cmd_id, skb->len); in ath11k_tm_wmi_event_unsegmented()
77 nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id) || in ath11k_tm_wmi_event_unsegmented()
96 static int ath11k_tm_process_event(struct ath11k_base *ab, u32 cmd_id, in ath11k_tm_process_event() argument
111 cmd_id, ftm_msg, length); in ath11k_tm_process_event()
177 nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id) || in ath11k_tm_process_event()
193 static void ath11k_tm_wmi_event_segmented(struct ath11k_base *ab, u32 cmd_id, in ath11k_tm_wmi_event_segmented() argument
216 ret = ath11k_tm_process_event(ab, cmd_id, ev, length); in ath11k_tm_wmi_event_segmented()
223 void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb) in ath11k_tm_wmi_event() argument
226 ath11k_tm_wmi_event_segmented(ab, cmd_id, skb); in ath11k_tm_wmi_event()
[all …]
Dtestmode.h11 void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb);
17 static inline void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, in ath11k_tm_wmi_event() argument
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_interface.c15 static int amd_sfh_wait_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id) in amd_sfh_wait_response() argument
22 cmd_resp.response.cmd_id == cmd_id && (sid == 0xff || in amd_sfh_wait_response()
34 cmd_base.cmd.cmd_id = ENABLE_SENSOR; in amd_start_sensor()
47 cmd_base.cmd.cmd_id = DISABLE_SENSOR; in amd_stop_sensor()
61 cmd_base.cmd.cmd_id = DISABLE_SENSOR; in amd_stop_all_sensor()
/linux-6.6.21/drivers/bus/fsl-mc/
Dobj-api.c14 int cmd_id; in fsl_mc_get_open_cmd_id() member
39 return dev_ids[i].cmd_id; in fsl_mc_get_open_cmd_id()
53 int cmd_id = fsl_mc_get_open_cmd_id(obj_type); in fsl_mc_obj_open() local
55 if (cmd_id == -1) in fsl_mc_obj_open()
59 cmd.header = mc_encode_cmd_header(cmd_id, cmd_flags, 0); in fsl_mc_obj_open()
Dmc-sys.c41 u16 cmd_id = le16_to_cpu(hdr->cmd_id); in mc_cmd_hdr_read_cmdid() local
43 return cmd_id; in mc_cmd_hdr_read_cmdid()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dsev_migrate_tests.c25 static int __sev_ioctl(int vm_fd, int cmd_id, void *data, __u32 *fw_error) in __sev_ioctl() argument
28 .id = cmd_id, in __sev_ioctl()
39 static void sev_ioctl(int vm_fd, int cmd_id, void *data) in sev_ioctl() argument
44 ret = __sev_ioctl(vm_fd, cmd_id, data, &fw_error); in sev_ioctl()
47 cmd_id, ret, errno, fw_error); in sev_ioctl()
237 for (int cmd_id = KVM_SEV_INIT; cmd_id < KVM_SEV_NR_MAX; ++cmd_id) { in verify_mirror_allowed_cmds() local
245 switch (cmd_id) { in verify_mirror_allowed_cmds()
259 ret = __sev_ioctl(vm_fd, cmd_id, NULL, &fw_error); in verify_mirror_allowed_cmds()
263 cmd_id, ret, errno); in verify_mirror_allowed_cmds()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dwmi.c147 u16 cmd_id; in ath9k_wmi_event_tasklet() local
159 cmd_id = be16_to_cpu(hdr->command_id); in ath9k_wmi_event_tasklet()
162 switch (cmd_id) { in ath9k_wmi_event_tasklet()
219 u16 cmd_id; in ath9k_wmi_ctrl_rx() local
229 cmd_id = be16_to_cpu(hdr->command_id); in ath9k_wmi_ctrl_rx()
231 if (cmd_id & 0x1000) { in ath9k_wmi_ctrl_rx()
308 int ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id, in ath9k_wmi_cmd() argument
342 ret = ath9k_wmi_cmd_issue(wmi, skb, cmd_id, cmd_len, rsp_buf, rsp_len); in ath9k_wmi_cmd()
349 wmi_cmd_to_name(cmd_id)); in ath9k_wmi_cmd()
362 ath_dbg(common, WMI, "WMI failure for: %s\n", wmi_cmd_to_name(cmd_id)); in ath9k_wmi_cmd()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_admin.c141 request->cmd_id, ae); in adf_put_admin_msg_sync()
178 req.cmd_id = ICP_QAT_FW_INIT_AE; in adf_init_ae()
192 req.cmd_id = ICP_QAT_FW_CONSTANTS_CFG; in adf_set_fw_constants()
207 req.cmd_id = ICP_QAT_FW_TIMER_GET; in adf_get_fw_timestamp()
222 req.cmd_id = ICP_QAT_FW_DC_CHAIN_INIT; in adf_set_chaining()
242 req.cmd_id = ICP_QAT_FW_COMP_CAPABILITY_GET; in adf_get_dc_capabilities()
262 req.cmd_id = ICP_QAT_FW_COUNTERS_GET; in adf_get_ae_fw_counters()
280 req.cmd_id = ICP_QAT_FW_SYNC; in adf_send_admin_tim_sync()
292 req.cmd_id = ICP_QAT_FW_HEARTBEAT_TIMER_SET; in adf_send_admin_hb_timer()
376 req.cmd_id = ICP_QAT_FW_PM_STATE_CONFIG; in adf_init_admin_pm()
/linux-6.6.21/drivers/net/can/usb/
Dmcba_usb.c92 u8 cmd_id; member
103 u8 cmd_id; member
108 u8 cmd_id; member
116 u8 cmd_id; member
133 u8 cmd_id; member
139 u8 cmd_id; member
145 u8 cmd_id; member
315 .cmd_id = MBCA_CMD_TRANSMIT_MESSAGE_EV in mcba_usb_start_xmit()
381 usb_msg->cmd_id); in mcba_usb_xmit_cmd()
389 usb_msg->cmd_id); in mcba_usb_xmit_cmd()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h232 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
790 u32 cmd_id; in ath10k_wmi_vdev_spectral_conf() local
799 cmd_id = ar->wmi.cmd->vdev_spectral_scan_configure_cmdid; in ath10k_wmi_vdev_spectral_conf()
800 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_conf()
808 u32 cmd_id; in ath10k_wmi_vdev_spectral_enable() local
818 cmd_id = ar->wmi.cmd->vdev_spectral_scan_enable_cmdid; in ath10k_wmi_vdev_spectral_enable()
819 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_enable()
829 u32 cmd_id; in ath10k_wmi_vdev_sta_uapsd() local
839 cmd_id = ar->wmi.cmd->sta_uapsd_auto_trig_cmdid; in ath10k_wmi_vdev_sta_uapsd()
840 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_sta_uapsd()
[all …]
Dtestmode.c31 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_wmi() argument
39 cmd_id, skb, skb->len); in ath10k_tm_event_wmi()
74 ret = nla_put_u32(nl_skb, ATH10K_TM_ATTR_WMI_CMDID, cmd_id); in ath10k_tm_event_wmi()
375 u32 cmd_id; in ath10k_tm_cmd_wmi() local
397 cmd_id = nla_get_u32(tb[ATH10K_TM_ATTR_WMI_CMDID]); in ath10k_tm_cmd_wmi()
401 cmd_id, buf, buf_len); in ath10k_tm_cmd_wmi()
413 ret = ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_tm_cmd_wmi()
Dtestmode.h12 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb);
22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_wmi() argument
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.c8 u8 iwl_fw_lookup_cmd_ver(const struct iwl_fw *fw, u32 cmd_id, u8 def) in iwl_fw_lookup_cmd_ver() argument
13 u8 grp = iwl_cmd_groupid(cmd_id) ?: LONG_GROUP; in iwl_fw_lookup_cmd_ver()
14 u8 cmd = iwl_cmd_opcode(cmd_id); in iwl_fw_lookup_cmd_ver()
Ddebugfs.c211 __be32 cmd_id; member
244 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write()
334 u32 cmd_id; in iwl_dbgfs_fw_info_seq_show() local
350 cmd_id = WIDE_ID(ver->group, ver->cmd); in iwl_dbgfs_fw_info_seq_show()
352 seq_printf(seq, " 0x%04x:\n", cmd_id); in iwl_dbgfs_fw_info_seq_show()
354 iwl_get_cmd_string(priv->fwrt->trans, cmd_id)); in iwl_dbgfs_fw_info_seq_show()
/linux-6.6.21/drivers/soc/qcom/
Drpmh-rsc.c201 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr() argument
203 return tcs_reg_addr(drv, reg, tcs_id) + drv->regs[RSC_DRV_CMD_OFFSET] * cmd_id; in tcs_cmd_addr()
207 int cmd_id) in read_tcs_cmd() argument
209 return readl_relaxed(tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in read_tcs_cmd()
218 int cmd_id, u32 data) in write_tcs_cmd() argument
220 writel_relaxed(data, tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in write_tcs_cmd()
494 static void __tcs_buffer_write(struct rsc_drv *drv, int tcs_id, int cmd_id, in __tcs_buffer_write() argument
506 for (i = 0, j = cmd_id; i < msg->num_cmds; i++, j++) { in __tcs_buffer_write()
704 int *tcs_id, int *cmd_id) in find_slots() argument
722 *cmd_id = slot % tcs->ncpt; in find_slots()
[all …]
/linux-6.6.21/drivers/crypto/ccp/
Dtee-dev.c245 static int tee_submit_cmd(struct psp_tee_device *tee, enum tee_cmd_id cmd_id, in tee_submit_cmd() argument
299 cmd->cmd_id = cmd_id; in tee_submit_cmd()
341 resp->cmd_id); in tee_wait_cmd_completion()
348 int psp_tee_process_cmd(enum tee_cmd_id cmd_id, void *buf, size_t len, in psp_tee_process_cmd() argument
369 ret = tee_submit_cmd(tee, cmd_id, buf, len, &resp); in psp_tee_process_cmd()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dmld-key.c123 u32 cmd_id = WIDE_ID(DATA_PATH_GROUP, SEC_KEY_CMD); in iwl_mvm_mld_update_sta_key() local
140 err = iwl_mvm_send_cmd_pdu(mvm, cmd_id, CMD_ASYNC, sizeof(cmd), &cmd); in iwl_mvm_mld_update_sta_key()
166 u32 cmd_id = WIDE_ID(DATA_PATH_GROUP, SEC_KEY_CMD); in __iwl_mvm_sec_key_del() local
174 return iwl_mvm_send_cmd_pdu(mvm, cmd_id, flags, sizeof(cmd), &cmd); in __iwl_mvm_sec_key_del()
180 u32 cmd_id = WIDE_ID(DATA_PATH_GROUP, SEC_KEY_CMD); in iwl_mvm_mld_send_key() local
217 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_send_key()
228 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_send_key()
/linux-6.6.21/include/linux/
Dpsp-tee.h62 int psp_tee_process_cmd(enum tee_cmd_id cmd_id, void *buf, size_t len,
80 static inline int psp_tee_process_cmd(enum tee_cmd_id cmd_id, void *buf, in psp_tee_process_cmd() argument
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa_com.c268 u16 cmd_id = EFA_GET(&comp_ctx->user_cqe->acq_common_descriptor.command, in efa_com_put_comp_ctx() local
270 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_put_comp_ctx()
272 ibdev_dbg(aq->efa_dev, "Put completion command_id %#x\n", cmd_id); in efa_com_put_comp_ctx()
278 u16 cmd_id, bool capture) in efa_com_get_comp_ctx() argument
280 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_get_comp_ctx()
286 cmd_id); in efa_com_get_comp_ctx()
293 "Take completion ctxt for command_id %#x\n", cmd_id); in efa_com_get_comp_ctx()
308 u16 cmd_id; in __efa_com_submit_admin_cmd() local
318 cmd_id = ctx_id & queue_size_mask; in __efa_com_submit_admin_cmd()
319 cmd_id |= aq->sq.pc & ~queue_size_mask; in __efa_com_submit_admin_cmd()
[all …]
/linux-6.6.21/drivers/hid/amd-sfh-hid/
Damd_sfh_pcie.c57 cmd_base.cmd_v2.cmd_id = ENABLE_SENSOR; in amd_start_sensor_v2()
75 cmd_base.cmd_v2.cmd_id = DISABLE_SENSOR; in amd_stop_sensor_v2()
89 cmd_base.cmd_v2.cmd_id = STOP_ALL_SENSORS; in amd_stop_all_sensor_v2()
148 cmd_base.s.cmd_id = ENABLE_SENSOR; in amd_start_sensor()
168 cmd_base.s.cmd_id = DISABLE_SENSOR; in amd_stop_sensor()
182 cmd_base.s.cmd_id = STOP_ALL_SENSORS; in amd_stop_all_sensors()
Damd_sfh_pcie.h35 u32 cmd_id : 8; member
40 u32 cmd_id : 4; member
/linux-6.6.21/drivers/nfc/st95hf/
Dcore.c89 unsigned char cmd_id; member
123 .cmd_id = ECHO_CMD,
129 .cmd_id = WRITE_REGISTER_CMD,
136 .cmd_id = WRITE_REGISTER_CMD,
143 .cmd_id = WRITE_REGISTER_CMD,
150 .cmd_id = PROTOCOL_SELECT_CMD,
157 .cmd_id = PROTOCOL_SELECT_CMD,
164 .cmd_id = SEND_RECEIVE_CMD,
171 .cmd_id = PROTOCOL_SELECT_CMD,
178 .cmd_id = PROTOCOL_SELECT_CMD,
[all …]

123456