/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | submit.c | 351 struct drm_tegra_submit_cmd_gather_uptr *cmd, in submit_job_add_gather() argument 358 if (cmd->reserved[0] || cmd->reserved[1] || cmd->reserved[2]) { in submit_job_add_gather() 364 if (cmd->words > 16383) { in submit_job_add_gather() 380 cmd->words, job_data, class)) { in submit_job_add_gather() 428 struct drm_tegra_submit_cmd *cmd = &cmds[i]; in submit_create_job() local 430 if (cmd->flags) { in submit_create_job() 442 if (cmd->wait_syncpt.reserved[0] || cmd->wait_syncpt.reserved[1]) { in submit_create_job() 448 host1x_job_add_wait(job, cmd->wait_syncpt.id, cmd->wait_syncpt.value, in submit_create_job() 451 if (cmd->wait_syncpt.reserved[0] || cmd->wait_syncpt.reserved[1]) { in submit_create_job() 457 if (cmd->wait_syncpt.id != args->syncpt.id) { in submit_create_job() [all …]
|
/openbmc/skeleton/bmcctl/ |
H A D | control_bmc_obj.c | 61 cmdline *cmd = user_data; in on_bus_acquired() local 94 cmd->user_data = object; in on_bus_acquired() 113 cmdline cmd; in main() local 114 cmd.argc = argc; in main() 115 cmd.argv = argv; in main() 119 cmd.loop = loop; in main() 126 on_bus_acquired, on_name_acquired, on_name_lost, &cmd, NULL); in main()
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
H A D | rawcopy.py | 33 cmd = 'tune2fs -L %s %s' % (label, dst) 35 cmd = 'dosfslabel %s %s' % (dst, label) 37 cmd = 'btrfs filesystem label %s %s' % (dst, label) 39 cmd = 'mkswap -L %s %s' % (label, dst) 47 exec_cmd(cmd) 66 cmd = "%s -dc %s > %s" % (decompressor, src, dst) 67 subprocess.call(cmd, preexec_fn=subprocess_setup, shell=True, cwd=workdir)
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_debugfs.c | 71 u16 cmd; in lsdc_pdev_enable_io_mem() local 73 pci_read_config_word(ldev->dc, PCI_COMMAND, &cmd); in lsdc_pdev_enable_io_mem() 75 seq_printf(m, "PCI_COMMAND: 0x%x\n", cmd); in lsdc_pdev_enable_io_mem() 77 cmd |= PCI_COMMAND_MEMORY | PCI_COMMAND_IO; in lsdc_pdev_enable_io_mem() 79 pci_write_config_word(ldev->dc, PCI_COMMAND, cmd); in lsdc_pdev_enable_io_mem() 81 pci_read_config_word(ldev->dc, PCI_COMMAND, &cmd); in lsdc_pdev_enable_io_mem() 83 seq_printf(m, "PCI_COMMAND: 0x%x\n", cmd); in lsdc_pdev_enable_io_mem()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 348 &cmd, &status); in iwl_mvm_invalidate_sta_queue() 688 ret = iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd), &cmd); in iwl_mvm_reconfig_scd() 751 ret = iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd), &cmd); in iwl_mvm_redirect_queue() 1016 WARN(iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd), &cmd), in iwl_mvm_enable_txq() 1044 cmd.tid = tid; in iwl_mvm_change_queue_tid() 1047 ret = iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd), &cmd); in iwl_mvm_change_queue_tid() 1687 memset(&cmd, 0, sizeof(cmd)); in iwl_mvm_add_int_sta_common() 1709 &cmd, &status); in iwl_mvm_add_int_sta_common() 2826 .data[0] = &cmd, in iwl_mvm_fw_baid_op_cmd() 2841 BUILD_BUG_ON(sizeof(cmd.remove_v1) > sizeof(cmd.remove)); in iwl_mvm_fw_baid_op_cmd() [all …]
|
H A D | scan.c | 131 return &cmd->v8.channel; in iwl_mvm_get_scan_req_umac_channel() 134 return &cmd->v7.channel; in iwl_mvm_get_scan_req_umac_channel() 137 return &cmd->v6.channel; in iwl_mvm_get_scan_req_umac_channel() 139 return &cmd->v1.channel; in iwl_mvm_get_scan_req_umac_channel() 552 cmd.data[0] = blocklist; in iwl_mvm_config_sched_scan_profiles() 968 cmd->schedule[i].delay = in iwl_mvm_scan_lmac() 1222 cmd.data[0] = cfg; in iwl_mvm_legacy_config_scan() 1223 cmd.len[0] = cmd_size; in iwl_mvm_legacy_config_scan() 1359 cmd->v6.scan_priority = in iwl_mvm_scan_umac_dwell() 1368 cmd->v1.max_out_time = in iwl_mvm_scan_umac_dwell() [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 444 struct ethtool_rxnfc cmd; in aq_del_fvlan_by_vlan() local 446 cmd.fs.location = rule->aq_fsp.location; in aq_del_fvlan_by_vlan() 447 return aq_del_rxnfc_rule(aq_nic, &cmd); in aq_del_fvlan_by_vlan() 491 data->cmd |= HW_ATL_RX_ENABLE_FLTR_L3L4; in aq_set_data_fl3l4() 500 data->cmd |= HW_ATL_RX_UDP; in aq_set_data_fl3l4() 505 data->cmd |= HW_ATL_RX_SCTP; in aq_set_data_fl3l4() 528 data->cmd |= HW_ATL_RX_ENABLE_L3_IPV6; in aq_set_data_fl3l4() 631 struct ethtool_rxnfc *cmd) in aq_update_table_filters() argument 683 (struct ethtool_rx_flow_spec *)&cmd->fs; in aq_add_rxnfc_rule() 773 if (unlikely(count == cmd->rule_cnt)) in aq_get_rxnfc_all_rules() [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | sb16.c | 81 int cmd; member 309 switch (cmd >> 4) { in dma_cmd() 419 if (cmd > 0xaf && cmd < 0xd0) { in command() 420 if (cmd & 8) { in command() 437 switch (cmd) { in command() 659 s->cmd = -1; in command() 662 s->cmd = cmd; in command() 693 if (s->cmd > 0xaf && s->cmd < 0xd0) { in complete() 866 s->cmd = -1; in complete() 914 s->cmd = -1; in reset() [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dpmng.c | 13 struct mc_command cmd = { 0 }; in mc_get_version() local 17 cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, in mc_get_version() 22 err = mc_send_command(mc_io, &cmd); in mc_get_version() 27 DPMNG_RSP_GET_VERSION(cmd, mc_ver_info); in mc_get_version()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-tiny-usb.c | 39 static int usb_read(struct i2c_adapter *adapter, int cmd, 42 static int usb_write(struct i2c_adapter *adapter, int cmd, 64 int cmd = CMD_I2C_IO; in usb_xfer() local 67 cmd |= CMD_I2C_IO_BEGIN; in usb_xfer() 70 cmd |= CMD_I2C_IO_END; in usb_xfer() 82 if (usb_read(adapter, cmd, in usb_xfer() 92 if (usb_write(adapter, cmd, in usb_xfer() 173 static int usb_read(struct i2c_adapter *adapter, int cmd, in usb_read() argument 185 cmd, USB_TYPE_VENDOR | USB_RECIP_INTERFACE | in usb_read() 193 static int usb_write(struct i2c_adapter *adapter, int cmd, in usb_write() argument [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 156 memset(&rctx->cmd, 0, sizeof(rctx->cmd)); in ccp_do_cmac_update() 157 INIT_LIST_HEAD(&rctx->cmd.entry); in ccp_do_cmac_update() 158 rctx->cmd.engine = CCP_ENGINE_AES; in ccp_do_cmac_update() 159 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_do_cmac_update() 160 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_do_cmac_update() 164 rctx->cmd.u.aes.iv = &rctx->iv_sg; in ccp_do_cmac_update() 165 rctx->cmd.u.aes.iv_len = AES_BLOCK_SIZE; in ccp_do_cmac_update() 166 rctx->cmd.u.aes.src = sg; in ccp_do_cmac_update() 168 rctx->cmd.u.aes.dst = NULL; in ccp_do_cmac_update() 169 rctx->cmd.u.aes.cmac_key = cmac_key_sg; in ccp_do_cmac_update() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | cb710-mmc.c | 345 struct mmc_command *cmd) in cb710_encode_cmd_flags() argument 347 unsigned int flags = cmd->flags; in cb710_encode_cmd_flags() 372 if (cmd->data && (cmd->data->flags & MMC_DATA_READ)) in cb710_encode_cmd_flags() 396 struct mmc_command *cmd) in cb710_receive_response() argument 401 if (cmd->flags & MMC_RSP_136) { in cb710_receive_response() 413 cmd->resp[3] = (resp[3] << 8); in cb710_receive_response() 419 wanted_opcode = (cmd->flags & MMC_RSP_OPCODE) ? cmd->opcode : 0x3F; in cb710_receive_response() 421 cmd->error = -EILSEQ; in cb710_receive_response() 447 struct mmc_data *data = cmd->data; in cb710_mmc_command() 469 if (cmd->error) in cb710_mmc_command() [all …]
|
H A D | cavium.c | 134 switch (mmc_cmd_type(cmd)) { in cvm_mmc_get_cr_mods() 145 switch (mmc_resp_type(cmd)) { in cvm_mmc_get_cr_mods() 354 req->cmd->resp[1] = 0; in set_cmd_response() 355 req->cmd->resp[2] = 0; in set_cmd_response() 356 req->cmd->resp[3] = 0; in set_cmd_response() 701 mrq->cmd->error = -EINVAL; in cvm_mmc_dma_request() 754 struct mmc_command *cmd = mrq->cmd; in cvm_mmc_request() local 781 if (cmd->data) { in cvm_mmc_request() 787 if (cmd->data->timeout_ns) in cvm_mmc_request() 801 if (cmd->data && mmc_cmd_type(cmd) == MMC_CMD_ADTC) in cvm_mmc_request() [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | ibmphp_hpc.c | 271 data = 0x00000000 | (unsigned long)cmd; in i2c_ctrl_write() 418 switch (cmd) { in hpc_writecmdtoindex() 464 switch (cmd) { in hpc_readcmdtoindex() 514 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot() 520 if (cmd == READ_BUSSTATUS) { in ibmphp_hpc_readslot() 531 index = hpc_readcmdtoindex(cmd, index); in ibmphp_hpc_readslot() 554 switch (cmd) { in ibmphp_hpc_readslot() 658 if ((cmd == HPC_BUS_33CONVMODE) || (cmd == HPC_BUS_66CONVMODE) || in ibmphp_hpc_writeslot() 659 (cmd == HPC_BUS_66PCIXMODE) || (cmd == HPC_BUS_100PCIXMODE) || in ibmphp_hpc_writeslot() 660 (cmd == HPC_BUS_133PCIXMODE)) { in ibmphp_hpc_writeslot() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | addi_apci_1500.c | 284 struct comedi_cmd *cmd = &s->async->cmd; in apci1500_di_inttrig_start() local 292 if (trig_num != cmd->start_arg) in apci1500_di_inttrig_start() 372 struct comedi_cmd *cmd) in apci1500_di_cmdtest() argument 412 cmd->chanlist_len); in apci1500_di_cmdtest() 723 unsigned int cmd; in apci1500_timer_insn_write() local 725 cmd = z8536_read(dev, Z8536_CT_CMDSTAT_REG(chan)); in apci1500_timer_insn_write() 726 cmd &= Z8536_CT_CMDSTAT_GCB; /* preserve gate */ in apci1500_timer_insn_write() 727 cmd |= Z8536_CT_CMD_TCB; /* set trigger */ in apci1500_timer_insn_write() 742 unsigned int cmd; in apci1500_timer_insn_read() local 747 cmd &= Z8536_CT_CMDSTAT_GCB; /* preserve gate */ in apci1500_timer_insn_read() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | hif_usb.c | 87 if (cmd) { in hif_usb_regout_cb() 90 kfree(cmd); in hif_usb_regout_cb() 96 kfree(cmd); in hif_usb_regout_cb() 110 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in hif_usb_send_regout() 128 kfree(cmd); in hif_usb_send_regout() 142 if (!cmd || !cmd->skb || !cmd->hif_dev) in hif_usb_mgmt_cb() 164 kfree(cmd); in hif_usb_mgmt_cb() 178 kfree(cmd); in hif_usb_mgmt_cb() 193 cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); in hif_usb_send_mgmt() 215 kfree(cmd); in hif_usb_send_mgmt() [all …]
|
/openbmc/qemu/ |
H A D | hmp-commands.hx | 12 .params = "[cmd]", 14 .cmd = hmp_help, 19 ``help`` or ``?`` [*cmd*] 28 .cmd = hmp_commit, 47 .cmd = hmp_quit, 184 .cmd = hmp_eject, 292 .cmd = hmp_trace_event, 322 .cmd = hmp_log, 406 .cmd = hmp_stop, 673 .cmd = hmp_sum, [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/utils/ |
H A D | targetbuildproject.py | 26 cmd = 'tar xf %s%s -C %s' % (self.targetdir, 29 status, output = self.target.run(cmd) 39 def _run(self, cmd): argument 40 ret = self.target.run(cmd, 0) 41 msg = "Command %s failed with exit code %s: %s" % (cmd, ret[0], ret[1])
|
/openbmc/linux/include/linux/ |
H A D | io_uring.h | 30 void (*task_work_cb)(struct io_uring_cmd *cmd, unsigned); 41 return sqe->cmd; in io_uring_sqe_cmd() 47 void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, ssize_t res2, 83 int io_uring_cmd_sock(struct io_uring_cmd *cmd, unsigned int issue_flags); 91 static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, in io_uring_cmd_done() argument 116 static inline int io_uring_cmd_sock(struct io_uring_cmd *cmd, in io_uring_cmd_sock() argument
|
H A D | trace_events.h | 524 extern int dynevent_create(struct dynevent_cmd *cmd); 561 #define synth_event_gen_cmd_end(cmd) \ argument 562 dynevent_create(cmd) 606 #define kprobe_event_add_fields(cmd, ...) \ argument 607 __kprobe_event_add_fields(cmd, ## __VA_ARGS__, NULL) 609 #define kprobe_event_add_field(cmd, field) \ argument 610 __kprobe_event_add_fields(cmd, field, NULL) 614 #define kprobe_event_gen_cmd_end(cmd) \ argument 615 dynevent_create(cmd) 617 #define kretprobe_event_gen_cmd_end(cmd) \ argument [all …]
|
/openbmc/linux/drivers/nfc/ |
H A D | port100.c | 79 #define PORT100_CMD_RESPONSE(cmd) (cmd + 1) argument 617 struct port100_cmd *cmd = dev->cmd; in port100_recv_response() local 670 struct port100_cmd *cmd = dev->cmd; in port100_recv_ack() local 813 struct port100_cmd *cmd = dev->cmd; in port100_send_async_complete() local 824 cmd->complete_cb(dev, cmd->complete_cb_context, in port100_send_async_complete() 834 cmd->complete_cb(dev, cmd->complete_cb_context, resp); in port100_send_async_complete() 837 kfree(cmd); in port100_send_async_complete() 862 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in port100_send_cmd_async() 863 if (!cmd) { in port100_send_cmd_async() 877 dev->cmd = cmd; in port100_send_cmd_async() [all …]
|
/openbmc/linux/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 262 struct command *cmd; in command_file_read() local 274 cmd = command_data->command; in command_file_read() 275 if (cmd == NULL) { in command_file_read() 283 command_put(cmd); in command_file_read() 288 command_put(cmd); in command_file_read() 291 command_put(cmd); in command_file_read() 299 struct command *cmd; in command_file_write() local 314 if (!cmd) in command_file_write() 318 command_put(cmd); in command_file_write() 325 command_put(cmd); in command_file_write() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | oe_syslog.py | 121 cmd = 'echo "LOGFILE=/var/log/test" >> /etc/syslog-startup.conf' 122 self.target.run(cmd) 126 cmd = 'logger foobar' 127 status, output = self.target.run(cmd) 131 cmd = 'cat /var/log/test' 132 status, output = self.target.run(cmd) 136 cmd = "sed -i 's#LOGFILE=/var/log/test##' /etc/syslog-startup.conf" 137 self.target.run(cmd)
|
/openbmc/linux/fs/reiserfs/ |
H A D | ioctl.c | 76 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in reiserfs_ioctl() argument 83 switch (cmd) { in reiserfs_ioctl() 125 long reiserfs_compat_ioctl(struct file *file, unsigned int cmd, in reiserfs_compat_ioctl() argument 132 switch (cmd) { in reiserfs_compat_ioctl() 134 cmd = REISERFS_IOC_UNPACK; in reiserfs_compat_ioctl() 137 cmd = REISERFS_IOC_GETVERSION; in reiserfs_compat_ioctl() 140 cmd = REISERFS_IOC_SETVERSION; in reiserfs_compat_ioctl() 146 return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in reiserfs_compat_ioctl()
|
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | hw_pagetable.c | 138 struct iommu_hwpt_alloc *cmd = ucmd->cmd; in iommufd_hwpt_alloc() local 144 if (cmd->flags || cmd->__reserved) in iommufd_hwpt_alloc() 147 idev = iommufd_get_device(ucmd, cmd->dev_id); in iommufd_hwpt_alloc() 151 ioas = iommufd_get_ioas(ucmd->ictx, cmd->pt_id); in iommufd_hwpt_alloc() 164 cmd->out_hwpt_id = hwpt->obj.id; in iommufd_hwpt_alloc() 165 rc = iommufd_ucmd_respond(ucmd, sizeof(*cmd)); in iommufd_hwpt_alloc()
|