/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 536 struct scsi_cmnd *cmd; in ahd_linux_unmap_scb() local 538 cmd = scb->io_ctx; in ahd_linux_unmap_scb() 540 scsi_dma_unmap(cmd); in ahd_linux_unmap_scb() 1567 scsi_dma_unmap(cmd); in ahd_linux_run_command() 1571 scb->io_ctx = cmd; in ahd_linux_run_command() 1765 cmd = scb->io_ctx; in ahd_done() 1897 cmd = scb->io_ctx; in ahd_linux_handle_scsi_status() 2103 cmd->device->id, (u8)cmd->device->lun); in ahd_linux_queue_cmd_complete() 2108 scsi_done(cmd); in ahd_linux_queue_cmd_complete() 2223 cmd->device->id, (u8)cmd->device->lun); in ahd_linux_queue_abort_cmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hwseq.c | 702 union dmub_rb_cmd cmd; in dcn30_apply_idle_power_optimizations() local 725 memset(&cmd, 0, sizeof(cmd)); in dcn30_apply_idle_power_optimizations() 728 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 823 memset(&cmd, 0, sizeof(cmd)); in dcn30_apply_idle_power_optimizations() 827 sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 831 cmd.mall.cursor_bpp = 2; in dcn30_apply_idle_power_optimizations() 836 cmd.mall.cursor_bpp = 32; in dcn30_apply_idle_power_optimizations() 860 memset(&cmd, 0, sizeof(cmd)); in dcn30_apply_idle_power_optimizations() 863 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 879 memset(&cmd, 0, sizeof(cmd)); in dcn30_apply_idle_power_optimizations() [all …]
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 627 cmd->base.speed = link_speed; in be_get_link_ksettings() 655 cmd->base.port = PORT_OTHER; in be_get_link_ksettings() 806 struct be_dma_mem cmd; in be_set_wol() local 820 cmd.va = dma_alloc_coherent(dev, cmd.size, &cmd.dma, GFP_KERNEL); in be_set_wol() 821 if (!cmd.va) in be_set_wol() 843 dma_free_coherent(dev, cmd.size, cmd.va, cmd.dma); in be_set_wol() 1121 switch (cmd->cmd) { in be_get_rxnfc() 1123 cmd->data = be_get_rss_hash_opts(adapter, cmd->flow_type); in be_get_rxnfc() 1136 struct ethtool_rxnfc *cmd) in be_set_rss_hash_opts() argument 1145 switch (cmd->flow_type) { in be_set_rss_hash_opts() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mld-key.c | 130 struct iwl_sec_key_cmd cmd = { in iwl_mvm_mld_update_sta_key() local 144 err = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_update_sta_key() 171 struct iwl_sec_key_cmd cmd = { in __iwl_mvm_sec_key_del() local 178 return iwl_mvm_send_cmd_pdu(mvm, cmd_id, flags, sizeof(cmd), &cmd); in __iwl_mvm_sec_key_del() 185 struct iwl_sec_key_cmd cmd = { in iwl_mvm_mld_send_key() local 192 int max_key_len = sizeof(cmd.u.add.key); in iwl_mvm_mld_send_key() 210 memcpy(cmd.u.add.key, keyconf->key, keyconf->keylen); in iwl_mvm_mld_send_key() 213 memcpy(cmd.u.add.tkip_mic_rx_key, in iwl_mvm_mld_send_key() 216 memcpy(cmd.u.add.tkip_mic_tx_key, in iwl_mvm_mld_send_key() 221 ret = iwl_mvm_send_cmd_pdu(mvm, cmd_id, 0, sizeof(cmd), &cmd); in iwl_mvm_mld_send_key() [all …]
|
/openbmc/linux/drivers/i3c/master/ |
H A D | dw-i3c-master.c | 255 if (cmd->ndests > 1) in dw_i3c_master_supports_ccc_cmd() 258 switch (cmd->id) { in dw_i3c_master_supports_ccc_cmd() 396 dw_i3c_master_wr_tx_fifo(master, cmd->tx_buf, cmd->tx_len); in dw_i3c_master_start_xfer_locked() 478 if (cmd->rx_len && !cmd->error) in dw_i3c_master_end_xfer_locked() 480 cmd->rx_len); in dw_i3c_master_end_xfer_locked() 684 struct dw_i3c_cmd *cmd; in dw_i3c_ccc_set() local 697 cmd = xfer->cmds; in dw_i3c_ccc_set() 737 cmd = xfer->cmds; in dw_i3c_ccc_get() 819 cmd = &xfer->cmds[0]; in dw_i3c_master_daa() 820 cmd->cmd_hi = 0x1; in dw_i3c_master_daa() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | omap.c | 352 host->cmd = cmd; in mmc_omap_start_command() 571 cmd->resp[3] = in mmc_omap_cmd_done() 623 cmd = host->cmd; in mmc_omap_abort_command() 757 int cmd; in mmc_omap_irq() local 761 cmd = host->cmd->opcode; in mmc_omap_irq() 763 cmd = -1; in mmc_omap_irq() 765 status, cmd); in mmc_omap_irq() 781 cmd); in mmc_omap_irq() 809 cmd); in mmc_omap_irq() 820 cmd, host->cmd->arg); in mmc_omap_irq() [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | misc.py | 62 cmd = cmdln_or_args[0] 66 cmd = shlex.split(cmdln_or_args)[0] 81 raise WicError('Cannot run command: %s, lost dependency?' % cmd) 118 def find_executable(cmd, paths): argument 119 recipe = cmd 126 return shutil.which(cmd, path=paths) 228 cmd = "bitbake -e" 230 cmd += " %s" % image 234 ret, lines = _exec_cmd(cmd) 238 logger.error("Couldn't get '%s' output.", cmd)
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mgmt.c | 85 u8 cmd, void *buf_in, in hinic_register_mgmt_msg_cb() argument 130 u16 cmd, u16 msg_id) in prepare_header() argument 201 enum hinic_mod_type mod, u8 cmd, in send_msg_to_mgmt() argument 215 direction, cmd, resp_msg_id); in send_msg_to_mgmt() 219 direction, cmd, msg_id); in send_msg_to_mgmt() 246 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_sync() argument 320 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_async() argument 351 enum hinic_mod_type mod, u8 cmd, in hinic_msg_to_mgmt() argument 370 if (cmd == HINIC_PORT_CMD_SET_FUNC_STATE) in hinic_msg_to_mgmt() 420 mgmt_work->mod, mgmt_work->cmd); in recv_mgmt_msg_work_handler() [all …]
|
H A D | hinic_hw_mbox.h | 28 u8 cmd; member 46 u8 cmd; member 65 typedef void (*hinic_vf_mbox_cb)(void *handle, u8 cmd, void *buf_in, 67 typedef int (*hinic_pf_mbox_cb)(void *handle, u16 vf_id, u8 cmd, void *buf_in, 125 u8 cmd; member 136 u16 vf_id, u8 cmd, void *buf_in, 158 u8 cmd, void *buf_in, u16 in_size, void *buf_out, 162 enum hinic_mod_type mod, u16 cmd, u16 dst_func, 167 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
|
/openbmc/qemu/hw/scsi/ |
H A D | trace-events | 60 megasas_unhandled_frame_cmd(int cmd, uint8_t frame_cmd) "scmd %d: MFI cmd 0x%x" 78 megasas_io_complete(int cmd, uint32_t len) "scmd %d: %d bytes" 88 megasas_dcmd_internal_finish(int cmd, int opcode, int lun) "scmd %d: cmd 0x%x lun %d" 91 megasas_dcmd_zero_sge(int cmd) "scmd %d: zero DCMD sge count" 99 megasas_dcmd_ld_get_info(int cmd, int ld_id) "scmd %d: dev %d" 101 megasas_dcmd_pd_get_info(int cmd, int pd_id) "scmd %d: dev %d" 139 pvscsi_process_req_descr(uint8_t cmd, uint64_t ctx) "SCSI cmd 0x%x, ctx: 0x%"PRIx64 145 pvscsi_on_cmd_arrived(const char* cmd) "command %s arrived" 309 virtio_scsi_cmd_req(int lun, uint32_t tag, uint8_t cmd) "virtio_scsi_cmd_req lun=%u tag=0x%x cmd=0x… 360 …i_generic_aio_sgio_command(uint32_t tag, uint8_t cmd, uint32_t timeout) "generic aio sgio: tag=0x%… [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 1193 cmd, sizeof(cmd), in cyapa_pip_bl_enter() 1553 memset(cmd, 0, sizeof(cmd)); in cyapa_gen5_disable_pip_report() 1753 cmd, sizeof(cmd), in cyapa_pip_resume_scanning() 1777 cmd, sizeof(cmd), in cyapa_pip_suspend_scanning() 1801 memset(cmd, 0, sizeof(cmd)); in cyapa_pip_calibrate_pwcs() 1810 cmd, sizeof(cmd), in cyapa_pip_calibrate_pwcs() 2007 memset(cmd, 0, sizeof(cmd)); in cyapa_gen5_read_idac_data() 2024 cmd, sizeof(cmd), in cyapa_gen5_read_idac_data() 2186 memset(cmd, 0, sizeof(cmd)); in cyapa_gen5_execute_panel_scan() 2194 cmd, sizeof(cmd), in cyapa_gen5_execute_panel_scan() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | sh_sdhi.c | 433 if (cmd->resp_type & MMC_RSP_136) { in sh_sdhi_get_response() 457 cmd->response[0] = (resp[6] << 16) | resp[7]; in sh_sdhi_get_response() 533 struct mmc_data *data, struct mmc_cmd *cmd) in sh_sdhi_start_cmd() argument 536 unsigned short shcmd, opc = cmd->cmdidx; in sh_sdhi_start_cmd() 541 opc, cmd->cmdarg, cmd->resp_type); in sh_sdhi_start_cmd() 552 sh_sdhi_get_response(host, cmd); in sh_sdhi_start_cmd() 604 switch (cmd->cmdidx) { in sh_sdhi_start_cmd() 629 sh_sdhi_get_response(host, cmd); in sh_sdhi_start_cmd() 637 ret, cmd->response[0], cmd->response[1], in sh_sdhi_start_cmd() 638 cmd->response[2], cmd->response[3]); in sh_sdhi_start_cmd() [all …]
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_ddcb.c | 187 pddcb->cmd); in print_ddcb_info() 201 return &req->cmd; in ddcb_requ_alloc() 206 struct ddcb_requ *req = container_of(cmd, struct ddcb_requ, cmd); in ddcb_requ_free() 224 return req->cmd.ddata_addr != 0x0; in ddcb_requ_collect_debug_data() 821 pddcb->cmd = req->cmd.cmd; in __genwqe_enqueue_ddcb() 862 &req->cmd.asiv[0], /* source */ in __genwqe_enqueue_ddcb() 917 struct ddcb_requ *req = container_of(cmd, struct ddcb_requ, cmd); in __genwqe_execute_raw_ddcb() 921 __func__, cmd->asiv_length); in __genwqe_execute_raw_ddcb() 926 __func__, cmd->asiv_length); in __genwqe_execute_raw_ddcb() 939 (unsigned long)cmd->ddata_addr, in __genwqe_execute_raw_ddcb() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 138 cmd->link_modes.supported); in hns_nic_get_link_ksettings() 143 cmd->base.autoneg = false; in hns_nic_get_link_ksettings() 144 cmd->base.speed = speed; in hns_nic_get_link_ksettings() 145 cmd->base.duplex = duplex; in hns_nic_get_link_ksettings() 156 if (cmd->base.autoneg) in hns_nic_get_link_ksettings() 170 cmd->base.port = PORT_FIBRE; in hns_nic_get_link_ksettings() 173 cmd->base.port = PORT_TP; in hns_nic_get_link_ksettings() 189 hns_get_mdix_mode(net_dev, cmd); in hns_nic_get_link_ksettings() 215 speed = cmd->base.speed; in hns_nic_set_link_ksettings() 1233 struct ethtool_rxnfc *cmd, in hns_get_rxnfc() argument [all …]
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_mc_cmd.h | 93 #define MC_CMD_READ_OBJ_ID(cmd, obj_id) \ argument 94 MC_RSP_OP(cmd, 0, 0, 32, uint32_t, obj_id) 97 #define CMD_DESTROY_SET_OBJ_ID_PARAM0(cmd, object_id) \ argument 98 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, object_id) 123 struct mc_command *cmd) in mc_write_command() argument 129 writeq(cmd->params[i], &portal->params[i]); in mc_write_command() 132 writeq(cmd->header, &portal->header); in mc_write_command() 171 static inline void mc_cmd_read_api_version(struct mc_command *cmd, in mc_cmd_read_api_version() argument 177 rsp_params = (struct mc_rsp_api_ver *)cmd->params; in mc_cmd_read_api_version()
|
/openbmc/qemu/scripts/oss-fuzz/ |
H A D | output_reproducer.py | 73 cmd = param[0] 74 if cmd == "write": 83 elif cmd.startswith("in") or cmd.startswith("read"): 85 cmd, param[1])) 86 elif cmd.startswith("out") or cmd.startswith("write"): 88 cmd, param[1], param[2])) 89 elif cmd == "clock_step":
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | graph-changes-while-io | 69 self.qsd.cmd('blockdev-add', { 79 self.qsd.cmd('blockdev-del', { 93 self.qsd.cmd('blockdev-add', { 103 self.qsd.cmd('blockdev-snapshot', { 110 self.qsd.cmd('block-commit', { 115 self.qsd.cmd('block-job-cancel', {
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | trace.h | 160 TP_ARGS(cmd, param, status), 162 __field(unsigned int, cmd) 167 __entry->cmd = cmd; 172 dwc3_gadget_generic_cmd_string(__entry->cmd), 173 __entry->cmd, __entry->param, 180 TP_ARGS(cmd, param, status) 186 TP_ARGS(dep, cmd, params, cmd_status), 189 __field(unsigned int, cmd) 197 __entry->cmd = cmd; 205 __entry->cmd, __entry->param0, [all …]
|
/openbmc/linux/drivers/dma/ptdma/ |
H A D | ptdma-dev.c | 127 struct pt_cmd *cmd = tdata->cmd; in pt_do_cmd_complete() local 128 struct pt_cmd_queue *cmd_q = &cmd->pt->cmd_q; in pt_do_cmd_complete() 141 cmd->pt_cmd_callback(cmd->data, cmd->ret); in pt_do_cmd_complete() 281 struct pt_cmd *cmd; in pt_core_destroy() local 303 while (!list_empty(&pt->cmd)) { in pt_core_destroy() 305 cmd = list_first_entry(&pt->cmd, struct pt_cmd, entry); in pt_core_destroy() 306 list_del(&cmd->entry); in pt_core_destroy() 307 cmd->pt_cmd_callback(cmd->data, -ENODEV); in pt_core_destroy()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-pci.c | 30 u32 cmd; in ehci_pci_init() local 49 dm_pci_read_config32(dev, PCI_COMMAND, &cmd); in ehci_pci_init() 50 cmd |= PCI_COMMAND_MASTER; in ehci_pci_init() 51 dm_pci_write_config32(dev, PCI_COMMAND, cmd); in ehci_pci_init() 73 u32 cmd; in ehci_pci_legacy_init() local 88 pci_read_config_dword(pdev, PCI_COMMAND, &cmd); in ehci_pci_legacy_init() 89 cmd |= PCI_COMMAND_MASTER; in ehci_pci_legacy_init() 90 pci_write_config_dword(pdev, PCI_COMMAND, cmd); in ehci_pci_legacy_init()
|
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/ |
H A D | mailbox_s10.h | 43 #define MBOX_CMD_HEADER(client, id, len, indirect, cmd) \ argument 44 ((((cmd) << MBOX_HDR_CMD_LSB) & MBOX_HDR_CMD_MSK) | \ 133 int mbox_send_cmd(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg, u8 urgent, 135 int mbox_send_cmd_psci(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg, 137 int mbox_send_cmd_only(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg); 138 int mbox_send_cmd_only_psci(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg); 149 int mbox_get_fpga_config_status(u32 cmd); 150 int mbox_get_fpga_config_status_psci(u32 cmd);
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-sha204a.c | 50 max = min(sizeof(work_data->cmd.data), max); in atmel_sha204a_rng_read_nonblocking() 51 memcpy(data, &work_data->cmd.data, max); in atmel_sha204a_rng_read_nonblocking() 64 atmel_i2c_init_random_cmd(&work_data->cmd); in atmel_sha204a_rng_read_nonblocking() 74 struct atmel_i2c_cmd cmd; in atmel_sha204a_rng_read() local 82 atmel_i2c_init_random_cmd(&cmd); in atmel_sha204a_rng_read() 84 ret = atmel_i2c_send_receive(i2c_priv->client, &cmd); in atmel_sha204a_rng_read() 88 max = min(sizeof(cmd.data), max); in atmel_sha204a_rng_read() 89 memcpy(data, cmd.data, max); in atmel_sha204a_rng_read()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-ops.h | 478 ar->wmi.cmd->mgmt_tx_send_cmdid); in ath10k_wmi_mgmt_tx_send() 500 ar->wmi.cmd->mgmt_tx_cmdid); in ath10k_wmi_mgmt_tx() 1008 ar->wmi.cmd->scan_prob_req_oui_cmdid); in ath10k_wmi_scan_prob_req_oui() 1045 ar->wmi.cmd->pdev_send_bcn_cmdid); in ath10k_wmi_beacon_send_ref_nowait() 1235 ar->wmi.cmd->addba_send_cmdid); in ath10k_wmi_addba_send() 1252 ar->wmi.cmd->addba_set_resp_cmdid); in ath10k_wmi_addba_set_resp() 1270 ar->wmi.cmd->delba_send_cmdid); in ath10k_wmi_delba_send() 1336 cmd_id = ar->wmi.cmd->sta_keepalive_cmd; in ath10k_wmi_sta_keepalive() 1353 cmd_id = ar->wmi.cmd->wow_enable_cmdid; in ath10k_wmi_wow_enable() 1641 ar->wmi.cmd->radar_found_cmdid); in ath10k_wmi_report_radar_found() [all …]
|
/openbmc/linux/net/ncsi/ |
H A D | ncsi-rsp.c | 297 cmd = (struct ncsi_cmd_ae_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ae() 320 cmd = (struct ncsi_cmd_sl_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_sl() 376 cmd = (struct ncsi_cmd_svf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_svf() 378 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf() 389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf() 417 cmd = (struct ncsi_cmd_ev_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ev() 471 cmd = (struct ncsi_cmd_sma_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_sma() 476 if (cmd->index == 0 || in ncsi_rsp_handler_sma() 514 cmd = (struct ncsi_cmd_ebf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ebf() 567 cmd = (struct ncsi_cmd_egmf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_egmf() [all …]
|
/openbmc/ipmbbridge/ |
H A D | ipmbbridged.cpp | 60 rqLun(rqLun), cmd(cmd), timer(io) in IpmbRequest() 80 cmd = ipmbBuffer->Header.Req.cmd; in i2cToIpmbConstruct() 115 ipmbBuffer->Header.Req.cmd = cmd; in ipmbToi2cConstruct() 162 rsLun(rsLun), cmd(cmd), completionCode(completionCode) in IpmbResponse() 180 cmd = ipmbBuffer->Header.Resp.cmd; in i2cToIpmbConstruct() 216 ipmbBuffer->Header.Resp.cmd = cmd; in ipmbToi2cConstruct() 338 ((request->cmd) == (response->cmd))) in responseMatch() 407 uint8_t cmd = ipmbFrame->Header.Req.cmd; in processI2cEvent() local 711 commandFilter->addFilter(respNetFn, cmd); in addFilter() 880 cmd, dataReceived); in __anon377db2e00702() [all …]
|