Home
last modified time | relevance | path

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

/openbmc/qemu/bsd-user/freebsd/
H A Dos-proc.c261 t2h_procctl_cmd(int target_cmd, int *host_cmd) in t2h_procctl_cmd() argument
265 *host_cmd = PROC_SPROTECT; in t2h_procctl_cmd()
269 *host_cmd = PROC_REAP_ACQUIRE; in t2h_procctl_cmd()
273 *host_cmd = PROC_REAP_RELEASE; in t2h_procctl_cmd()
277 *host_cmd = PROC_REAP_STATUS; in t2h_procctl_cmd()
281 *host_cmd = PROC_REAP_KILL; in t2h_procctl_cmd()
369 int host_cmd, flags; in do_freebsd_procctl() local
398 error = t2h_procctl_cmd(target_cmd, &host_cmd); in do_freebsd_procctl()
402 switch (host_cmd) { in do_freebsd_procctl()
446 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.c132 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
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()
692 if (!host_cmd) { in mwifiex_insert_cmd_to_pending_q()
697 command = le16_to_cpu(host_cmd->command); in mwifiex_insert_cmd_to_pending_q()
702 &host_cmd->params.psmode_enh; in mwifiex_insert_cmd_to_pending_q()
713 &host_cmd->params.opt_hs_cfg; in mwifiex_insert_cmd_to_pending_q()
748 struct host_cmd_ds_command *host_cmd; in mwifiex_exec_next_cmd() local
[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.c4672 ret = get_errno(safe_ioctl(fd, ie->host_cmd, fm)); in do_ioctl_fs_ioc_fiemap()
5026 switch (ie->host_cmd) { in do_ioctl_dm()
5084 switch (ie->host_cmd) { in do_ioctl_dm()
5468 switch (ie->host_cmd) { in do_ioctl_drm()
5513 switch (ie->host_cmd) { in do_ioctl_drm_i915()
5597 } else if (!ie->host_cmd) { in do_ioctl()
5606 ret = get_errno(safe_ioctl(fd, ie->host_cmd)); in do_ioctl()
6997 int host_cmd = target_to_host_fcntl_cmd(cmd); in do_fcntl() local
6999 if (host_cmd == -TARGET_EINVAL) in do_fcntl()
7000 return host_cmd; in do_fcntl()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Druntime.h22 int (*send_hcmd)(void *ctx, struct iwl_host_cmd *host_cmd);
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c1407 struct iwl_host_cmd host_cmd = { in iwl_mvm_send_recovery_cmd() local
1423 host_cmd.data[1] = mvm->error_recovery_buf; in iwl_mvm_send_recovery_cmd()
1424 host_cmd.len[1] = error_log_size; in iwl_mvm_send_recovery_cmd()
1425 host_cmd.dataflags[1] = IWL_HCMD_DFL_NOCOPY; in iwl_mvm_send_recovery_cmd()
1429 ret = iwl_mvm_send_cmd(mvm, &host_cmd); in iwl_mvm_send_recovery_cmd()
1440 resp = le32_to_cpu(*(__le32 *)host_cmd.resp_pkt->data); in iwl_mvm_send_recovery_cmd()
H A Dops.c710 static int iwl_mvm_fwrt_send_hcmd(void *ctx, struct iwl_host_cmd *host_cmd) in iwl_mvm_fwrt_send_hcmd() argument
716 ret = iwl_mvm_send_cmd(mvm, host_cmd); in iwl_mvm_fwrt_send_hcmd()
/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/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch221 - ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
230 - ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
/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()