Home
last modified time | relevance | path

Searched refs:host_cmd (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/bsd-user/freebsd/
H A Dos-proc.c149 t2h_procctl_cmd(int target_cmd, int *host_cmd) in t2h_procctl_cmd() argument
153 *host_cmd = PROC_SPROTECT; in t2h_procctl_cmd()
157 *host_cmd = PROC_REAP_ACQUIRE; in t2h_procctl_cmd()
161 *host_cmd = PROC_REAP_RELEASE; in t2h_procctl_cmd()
165 *host_cmd = PROC_REAP_STATUS; in t2h_procctl_cmd()
169 *host_cmd = PROC_REAP_KILL; in t2h_procctl_cmd()
257 int host_cmd, flags; in do_freebsd_procctl() local
286 error = t2h_procctl_cmd(target_cmd, &host_cmd); in do_freebsd_procctl()
290 switch (host_cmd) { in do_freebsd_procctl()
334 error = get_errno(procctl(idtype, id, host_cmd, data)); in do_freebsd_procctl()
[all …]
H A Dos-stat.h568 int host_cmd; in do_freebsd_fcntl() local
572 host_cmd = target_to_host_fcntl_cmd(arg2); in do_freebsd_fcntl()
573 if (host_cmd < 0) { in do_freebsd_fcntl()
574 return host_cmd; in do_freebsd_fcntl()
588 ret = get_errno(safe_fcntl(arg1, host_cmd, &fl)); in do_freebsd_fcntl()
615 ret = get_errno(safe_fcntl(arg1, host_cmd, &fl)); in do_freebsd_fcntl()
631 ret = get_errno(safe_fcntl(arg1, host_cmd, arg3)); in do_freebsd_fcntl()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c125 struct host_cmd_ds_command *host_cmd = (void *)cmd_node->cmd_skb->data; in mwifiex_recycle_cmd_node() local
132 le16_to_cpu(host_cmd->command), in mwifiex_recycle_cmd_node()
168 struct host_cmd_ds_command *host_cmd; in mwifiex_dnld_cmd_to_fw() local
175 host_cmd = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data); in mwifiex_dnld_cmd_to_fw()
178 if (host_cmd->size == 0) { in mwifiex_dnld_cmd_to_fw()
188 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw()
190 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw()
205 host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_cmd_to_fw()
232 get_unaligned_le16((u8 *)host_cmd + S_DS_GEN), in mwifiex_dnld_cmd_to_fw()
233 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
[all …]
/openbmc/linux/sound/pci/asihpi/
H A Dhpi6000.h26 u32 host_cmd; member
H A Dhpi6205.h80 u32 host_cmd; member
H A Dhpi6000.c169 u16 dsp_index, u32 host_cmd);
1013 u32 address = HPI_HIF_ADDR(host_cmd); in hpi6000_adapter_boot_load_dsp()
1044 HPI_HIF_ADDR(host_cmd)); in hpi6000_adapter_boot_load_dsp()
1540 u16 dsp_index, u32 host_cmd) in hpi6000_send_host_command() argument
1548 hpi_write_word(pdo, HPI_HIF_ADDR(host_cmd), host_cmd); in hpi6000_send_host_command()
1550 hpi_set_address(pdo, HPI_HIF_ADDR(host_cmd)); in hpi6000_send_host_command()
1688 hpi_set_address(pdo, HPI_HIF_ADDR(host_cmd)); in hpi6000_update_control_cache()
H A Dhpi6205.c2072 interface->host_cmd = cmd; in send_dsp_command()
/openbmc/qemu/linux-user/
H A Duser-internals.h40 unsigned int host_cmd; member
H A Dsyscall.c4696 ret = get_errno(safe_ioctl(fd, ie->host_cmd, fm)); in do_ioctl_fs_ioc_fiemap()
4792 ret = get_errno(safe_ioctl(fd, ie->host_cmd, host_ifconf)); in do_ioctl_ifconf()
4886 ret = get_errno(safe_ioctl(fd, ie->host_cmd, buf_temp)); in do_ioctl_usbdevfs_reapurb()
4942 return get_errno(safe_ioctl(fd, ie->host_cmd, &lurb->host_urb)); in do_ioctl_usbdevfs_discardurb()
4995 ret = get_errno(safe_ioctl(fd, ie->host_cmd, &lurb->host_urb)); in do_ioctl_usbdevfs_submiturb()
5050 switch (ie->host_cmd) { in do_ioctl_dm()
5103 ret = get_errno(safe_ioctl(fd, ie->host_cmd, buf_temp)); in do_ioctl_dm()
5108 switch (ie->host_cmd) { in do_ioctl_dm()
5284 ret = get_errno(safe_ioctl(fd, ie->host_cmd, host_blkpg)); in do_ioctl_blkpg()
5345 ret = get_errno(safe_ioctl(fd, ie->host_cmd, buf_temp)); in do_ioctl_rt()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Druntime.h21 int (*send_hcmd)(void *ctx, struct iwl_host_cmd *host_cmd);
/openbmc/linux/drivers/scsi/
H A Dqla1280.c833 RD_REG_WORD(&ha->iobase->host_cmd), in qla1280_error_action()
1420 WRT_REG_WORD(&reg->host_cmd, HC_CLR_RISC_INT); in qla1280_initialize_adapter()
1421 WRT_REG_WORD(&reg->host_cmd, HC_CLR_HOST_INT); in qla1280_initialize_adapter()
1422 RD_REG_WORD(&reg->host_cmd); in qla1280_initialize_adapter()
1584 WRT_REG_WORD(&reg->host_cmd, HC_RESET_RISC | in qla1280_chip_diag()
2451 WRT_REG_WORD(&reg->host_cmd, HC_SET_HOST_INT); in qla1280_mailbox_command()
2678 WRT_REG_WORD(&reg->host_cmd, in qla1280_reset_adapter()
3377 WRT_REG_WORD(&reg->host_cmd, HC_CLR_RISC_INT); in qla1280_isr()
3481 WRT_REG_WORD(&reg->host_cmd, HC_CLR_RISC_INT); in qla1280_isr()
3765 WRT_REG_WORD(&reg->host_cmd, HC_PAUSE_RISC); in qla1280_abort_isp()
[all …]
H A Dqla1280.h200 uint16_t host_cmd; /* Host command and control */ member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c1414 struct iwl_host_cmd host_cmd = { in iwl_mvm_send_recovery_cmd() local
1429 host_cmd.data[1] = mvm->error_recovery_buf; in iwl_mvm_send_recovery_cmd()
1430 host_cmd.len[1] = error_log_size; in iwl_mvm_send_recovery_cmd()
1431 host_cmd.dataflags[1] = IWL_HCMD_DFL_NOCOPY; in iwl_mvm_send_recovery_cmd()
1435 ret = iwl_mvm_send_cmd_status(mvm, &host_cmd, &status); in iwl_mvm_send_recovery_cmd()
H A Dops.c705 static int iwl_mvm_fwrt_send_hcmd(void *ctx, struct iwl_host_cmd *host_cmd) in iwl_mvm_fwrt_send_hcmd() argument
711 ret = iwl_mvm_send_cmd(mvm, host_cmd); in iwl_mvm_fwrt_send_hcmd()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dtlan.c1144 u32 host_cmd; in tlan_handle_interrupt() local
1150 host_cmd = TLAN_HC_ACK | ack | (type << 18); in tlan_handle_interrupt()
1151 outl(host_cmd, dev->base_addr + TLAN_HOST_CMD); in tlan_handle_interrupt()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h1943 struct host_cmd { struct
H A Dipw2200.c2136 static int __ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd) in __ipw_send_cmd()
2227 struct host_cmd cmd = { in ipw_send_cmd_simple()
2237 struct host_cmd cmd = { in ipw_send_cmd_pdu()