/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vugpu.h | 168 iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, 0, \ 179 struct virtio_gpu_ctrl_command *cmd, 184 struct virtio_gpu_ctrl_command *cmd, 189 struct virtio_gpu_ctrl_command *cmd, 192 void vg_get_display_info(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd); 193 void vg_get_edid(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd);
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sprd-adi.c | 142 unsigned long mode, void *cmd); 380 if (!cmd) in sprd_adi_restart() 382 else if (!strncmp(cmd, "recovery", 8)) in sprd_adi_restart() 384 else if (!strncmp(cmd, "alarm", 5)) in sprd_adi_restart() 386 else if (!strncmp(cmd, "fastsleep", 9)) in sprd_adi_restart() 390 else if (!strncmp(cmd, "panic", 5)) in sprd_adi_restart() 392 else if (!strncmp(cmd, "special", 7)) in sprd_adi_restart() 398 else if (!strncmp(cmd, "iqmode", 6)) in sprd_adi_restart() 400 else if (!strncmp(cmd, "sprdisk", 7)) in sprd_adi_restart() 402 else if (!strncmp(cmd, "tospanic", 8)) in sprd_adi_restart() [all …]
|
/openbmc/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-rc5.c | 14 unsigned int addr, cmd, tgl, start; in img_ir_rc5_scancode() local 22 cmd = raw & 0x3f; in img_ir_rc5_scancode() 27 cmd += ((raw >> 12) & 0x01) ? 0 : 0x40; in img_ir_rc5_scancode() 33 request->scancode = addr << 8 | cmd; in img_ir_rc5_scancode()
|
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_ap.c | 22 static int do_ap_configure(sclp_cmdw_t cmd, u32 apid) in do_ap_configure() argument 35 cmd |= (apid & 0xFF) << 8; in do_ap_configure() 36 rc = sclp_sync_request(cmd, sccb); in do_ap_configure() 44 apid, cmd, sccb->header.response_code); in do_ap_configure()
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | s3.py | 90 cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath) 91 bb.fetch2.check_network_access(d, cmd, ud.url) 94 runfetchcmd(cmd, d, False, log=progresshandler) 114 cmd = '%s ls s3://%s%s' % (ud.basecmd, ud.host, ud.path) 115 bb.fetch2.check_network_access(d, cmd, ud.url) 116 output = runfetchcmd(cmd, d)
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | ga102.c | 34 ga102_flcn_dma_xfer(struct nvkm_falcon *falcon, u32 mem_base, u32 dma_base, u32 cmd) in ga102_flcn_dma_xfer() argument 38 nvkm_falcon_wr32(falcon, 0x118, cmd); in ga102_flcn_dma_xfer() 43 enum nvkm_falcon_mem mem_type, bool sec, u32 *cmd) in ga102_flcn_dma_init() argument 45 *cmd = (ilog2(xfer_len) - 2) << 8; in ga102_flcn_dma_init() 47 *cmd |= 0x00000010; in ga102_flcn_dma_init() 49 *cmd |= 0x00000004; in ga102_flcn_dma_init()
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | __init__.py | 27 def exec_build_env_command(init_path, builddir, cmd, watch=False, **options): argument 41 logger.debug('Executing command "%s"' % cmd) 46 cmd = 'script -e -q -c "%s" /dev/null' % cmd 47 return exec_watch('%s%s' % (init_prefix, cmd), **options) 49 return bb.process.run('%s%s' % (init_prefix, cmd), **options) 51 def exec_watch(cmd, **options): argument 54 if isinstance(cmd, str) and not "shell" in options: 58 cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **options 77 def exec_fakeroot(d, cmd, **kwargs): argument 82 exec_fakeroot_no_d(fakerootcmd, fakerootenv, cmd, kwargs) [all …]
|
/openbmc/qemu/hw/sd/ |
H A D | pl181.c | 38 uint32_t cmd; member 70 VMSTATE_UINT32(cmd, PL181State), 178 request.cmd = s->cmd & PL181_CMD_INDEX; in pl181_do_command() 184 if (s->cmd & PL181_CMD_RESPONSE) { in pl181_do_command() 309 return s->cmd; in pl181_read() 392 s->cmd = value; in pl181_write() 393 if (s->cmd & PL181_CMD_ENABLE) { in pl181_write() 394 if (s->cmd & PL181_CMD_INTERRUPT) { in pl181_write() 397 } if (s->cmd & PL181_CMD_PENDING) { in pl181_write() 405 s->cmd &= ~PL181_CMD_ENABLE; in pl181_write() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | ahci-test.c | 86 AHCICommandHeader cmd; in verify_state() local 913 uint8_t cmd; in ahci_test_max() local 919 cmd = CMD_READ_MAX; in ahci_test_max() 1024 AHCICommand *cmd; in test_dma_fragmented() local 1048 ahci_command_free(cmd); in test_dma_fragmented() 1055 ahci_command_free(cmd); in test_dma_fragmented() 1104 AHCICommand *cmd; in test_flush_retry() local 1216 AHCICommand *cmd; in ahci_halted_io_test() local 1281 AHCICommand *cmd; in ahci_migrate_halted_io() local 1349 AHCICommand *cmd; in test_flush_migrate() local [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 139 | 61 self.vm.cmd('blockdev-add', conv_keys = False, **opts) 75 self.vm.cmd('blockdev-add', conv_keys = False, **opts) 90 self.vm.cmd('device_add', id = device, 95 self.vm.cmd('device_del', id = device) 97 self.vm.cmd('system_reset') 124 self.vm.cmd('blockdev-insert-medium', 144 self.vm.cmd('blockdev-snapshot', 158 self.vm.cmd('drive-mirror', conv_keys=False, **opts) 163 self.vm.cmd('block-job-complete', device=id) 179 self.vm.cmd('blockdev-add', conv_keys = False, **opts) [all …]
|
/openbmc/linux/drivers/media/pci/intel/ivsc/ |
H A D | mei_ace.c | 200 union ace_cmd_param *param = &cmd->param; in construct_command() 201 struct ace_cmd_hdr *hdr = &cmd->hdr; in construct_command() 223 return hdr->param_size + sizeof(cmd->hdr); in construct_command() 232 struct ace_cmd_hdr *cmd_hdr = &cmd->hdr; in mei_ace_send() 239 ret = mei_cldev_send(ace->cldev, (u8 *)cmd, len); in mei_ace_send() 291 struct ace_cmd cmd; in ace_set_camera_owner() local 300 cmd_size = construct_command(ace, &cmd, cmd_id); in ace_set_camera_owner() 302 ret = mei_ace_send(ace, &cmd, cmd_size, false); in ace_set_camera_owner() 312 struct ace_cmd cmd; in ace_get_firmware_id() local 316 cmd_size = construct_command(ace, &cmd, ACE_GET_FW_ID); in ace_get_firmware_id() [all …]
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ioctl.c | 140 struct drm_qxl_command *cmd, in qxl_process_single_command() argument 151 switch (cmd->type) { in qxl_process_single_command() 162 if (cmd->command_size > PAGE_SIZE - sizeof(union qxl_release_info)) in qxl_process_single_command() 165 if (!access_ok(u64_to_user_ptr(cmd->command), in qxl_process_single_command() 166 cmd->command_size)) in qxl_process_single_command() 169 reloc_info = kmalloc_array(cmd->relocs_num, in qxl_process_single_command() 176 cmd->command_size, in qxl_process_single_command() 187 u64_to_user_ptr(cmd->command), cmd->command_size); in qxl_process_single_command() 204 for (i = 0; i < cmd->relocs_num; ++i) { in qxl_process_single_command() 206 struct drm_qxl_reloc __user *u = u64_to_user_ptr(cmd->relocs); in qxl_process_single_command() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gnu-config/gnu-config/ |
H A D | gnu-configize.in | 151 my $cmd; 201 $cmd = $cp; 205 $cmd = $ln_s; 208 xsystem ("$cmd $configdir/config.guess $dest/"); 210 xsystem ("$cmd $configdir/config.sub $dest/");
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_mmc.c | 347 if (strcmp(cmd, CONFIG_FASTBOOT_GPT_NAME) == 0) { in fastboot_mmc_flash_write() 369 if (strcmp(cmd, CONFIG_FASTBOOT_MBR_NAME) == 0) { in fastboot_mmc_flash_write() 390 if (strncasecmp(cmd, "zimage", 6) == 0) { in fastboot_mmc_flash_write() 397 if (part_get_info_by_name_or_alias(dev_desc, cmd, &info) < 0) { in fastboot_mmc_flash_write() 398 pr_err("cannot find partition: '%s'\n", cmd); in fastboot_mmc_flash_write() 421 err = write_sparse_image(&sparse, cmd, download_buffer, in fastboot_mmc_flash_write() 426 write_raw_image(dev_desc, &info, cmd, download_buffer, in fastboot_mmc_flash_write() 437 void fastboot_mmc_erase(const char *cmd, char *response) in fastboot_mmc_erase() argument 458 ret = part_get_info_by_name_or_alias(dev_desc, cmd, &info); in fastboot_mmc_erase() 460 pr_err("cannot find partition: '%s'\n", cmd); in fastboot_mmc_erase() [all …]
|
/openbmc/u-boot/tools/ |
H A D | aisimage.c | 166 *ptr++ = cmd_table[cmd].AIS_cmd; in ais_insert_cmd_header() 167 if (IS_FNC_EXEC(cmd)) in ais_insert_cmd_header() 168 *ptr++ = ((nargs & 0xFFFF) << 16) + ais_func_table[cmd].index; in ais_insert_cmd_header() 263 int32_t cmd; in aisimage_generate() local 303 cmd = CMD_INVALID; in aisimage_generate() 316 cmd = get_table_entry_id(aisimage_cmds, in aisimage_generate() 318 if (cmd < 0) { in aisimage_generate() 329 if (nargs > cmd_table[cmd].nargs) { in aisimage_generate() 334 aisimage_cmds[cmd].sname); in aisimage_generate() 342 if (cmd != CMD_INVALID) { in aisimage_generate() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ds1286.c | 57 static int ds1286_ioctl(struct device *dev, unsigned int cmd, unsigned long arg) in ds1286_ioctl() argument 63 switch (cmd) { in ds1286_ioctl() 95 unsigned char month, cmd, amode; in ds1286_proc() local 127 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_proc() 136 (cmd & RTC_TDF) ? "yes" : "no", in ds1286_proc() 137 (cmd & RTC_WAF) ? "yes" : "no", in ds1286_proc() 138 (cmd & RTC_TDM) ? "disabled" : "enabled", in ds1286_proc() 139 (cmd & RTC_WAM) ? "disabled" : "enabled", in ds1286_proc() 140 (cmd & RTC_PU_LVL) ? "pulse" : "level", in ds1286_proc() 141 (cmd & RTC_IBH_LO) ? "low" : "high", in ds1286_proc() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | libertas_tf.h | 26 #define CMD_RET(cmd) (0x8000 | cmd) argument 482 void lbtf_complete_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmd, 501 #define lbtf_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument 502 uint16_t __sz = le16_to_cpu((cmd)->hdr.size); \ 503 (cmd)->hdr.size = cpu_to_le16(sizeof(*(cmd))); \ 504 __lbtf_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \ 507 #define lbtf_cmd_with_response(priv, cmdnr, cmd) \ argument 508 lbtf_cmd(priv, cmdnr, cmd, lbtf_cmd_copyback, (unsigned long) (cmd))
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | setup.c | 308 static void __noreturn pnv_restart(char *cmd) in pnv_restart() argument 315 if (!cmd || !strlen(cmd)) in pnv_restart() 317 else if (strcmp(cmd, "full") == 0) in pnv_restart() 319 else if (strcmp(cmd, "mpipl") == 0) in pnv_restart() 321 else if (strcmp(cmd, "error") == 0) in pnv_restart() 323 else if (strcmp(cmd, "fast") == 0) in pnv_restart() 333 } else if (cmd && rc) { in pnv_restart() 336 pr_err("Unsupported '%s' reboot.\n", cmd); in pnv_restart() 339 cmd, rc); in pnv_restart() 341 cmd = NULL; in pnv_restart()
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_int.c | 31 u32 cmd; in spl2sw_rx_poll() local 42 cmd = desc->cmd1; in spl2sw_rx_poll() 44 if (cmd & RXD_OWN) in spl2sw_rx_poll() 47 port = FIELD_GET(RXD_PKT_SP, cmd); in spl2sw_rx_poll() 53 pkg_len = FIELD_GET(RXD_PKT_LEN, cmd); in spl2sw_rx_poll() 54 if (unlikely((cmd & RXD_ERR_CODE) || pkg_len < ETH_ZLEN + 4)) { in spl2sw_rx_poll() 147 u32 cmd; in spl2sw_tx_poll() local 154 cmd = comm->tx_desc[tx_done_pos].cmd1; in spl2sw_tx_poll() 155 if (cmd & TXD_OWN) in spl2sw_tx_poll() 162 i = ffs(FIELD_GET(TXD_VLAN, cmd)) - 1; in spl2sw_tx_poll() [all …]
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 261 u8 num_pds, cmd = scmd->cmnd[0]; in mpt3sas_setup_direct_io() local 264 if (cmd != READ_10 && cmd != WRITE_10 && in mpt3sas_setup_direct_io() 265 cmd != READ_16 && cmd != WRITE_16) in mpt3sas_setup_direct_io() 268 if (cmd == READ_10 || cmd == WRITE_10) in mpt3sas_setup_direct_io() 292 if (cmd == READ_10 || cmd == WRITE_10) in mpt3sas_setup_direct_io()
|
/openbmc/linux/tools/hv/ |
H A D | hv_vss_daemon.c | 34 static int vss_do_freeze(char *dir, unsigned int cmd) in vss_do_freeze() argument 41 ret = ioctl(fd, cmd, 0); in vss_do_freeze() 53 if ((cmd == FIFREEZE && errno == EBUSY) || in vss_do_freeze() 54 (cmd == FITHAW && errno == EINVAL)) { in vss_do_freeze() 121 unsigned int cmd; in vss_operate() local 126 cmd = FIFREEZE; in vss_operate() 129 cmd = FITHAW; in vss_operate() 159 error |= vss_do_freeze(ent->mnt_dir, cmd); in vss_operate() 170 error |= vss_do_freeze("/", cmd); in vss_operate()
|
/openbmc/qemu/hw/misc/ |
H A D | auxbus.c | 103 AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, in aux_request() argument 111 cmd, len); in aux_request() 113 switch (cmd) { in aux_request() 122 cmd == WRITE_AUX)) { in aux_request() 186 (bus->last_transaction != cmd)) { in aux_request() 196 bus->last_transaction = cmd; in aux_request() 217 (bus->last_transaction != cmd)) { in aux_request() 227 bus->last_transaction = cmd; in aux_request() 235 qemu_log_mask(LOG_UNIMP, "AUX cmd=%u not implemented\n", cmd); in aux_request()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_dev.c | 554 enum hinic_mgmt_msg_cmd cmd) in hinic_hwdev_cb_unregister() argument 601 if (cmd < HINIC_MGMT_MSG_CMD_BASE || in nic_mgmt_msg_handler() 602 cmd >= HINIC_MGMT_MSG_CMD_MAX) { in nic_mgmt_msg_handler() 625 u8 cmd, in hinic_comm_recv_mgmt_self_cmd_reg() argument 637 pfhwdev->proc.info[cmd_idx].cmd = cmd; in hinic_comm_recv_mgmt_self_cmd_reg() 643 u8 cmd) in hinic_comm_recv_mgmt_self_cmd_unreg() argument 650 cmd); in hinic_comm_recv_mgmt_self_cmd_unreg() 655 if (cmd == pfhwdev->proc.info[cmd_idx].cmd) { in hinic_comm_recv_mgmt_self_cmd_unreg() 670 if (cmd == pfhwdev->proc.info[cmd_idx].cmd) { in comm_mgmt_msg_handler() 674 cmd); in comm_mgmt_msg_handler() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | ksample.py | 17 def cmd_and_check(self, cmd='', match_string=''): argument 18 status, output = self.target.run(cmd) 21 msg = '%s failed, %s' % (cmd, output) 28 self.assertEqual(status, 0, cmd) 37 cmd = "zcat /proc/config.gz | grep %s" % config_opt 38 status, output = self.target.run(cmd) 45 cmd = "ls " + "/lib/modules/" + output + "/kernel/samples/" + path + module_name 46 status, output = self.target.run(cmd)
|
/openbmc/linux/net/dsa/ |
H A D | tag_dsa.c | 135 enum dsa_cmd cmd; in dsa_xmit_ll() local 142 cmd = DSA_CMD_FORWARD; in dsa_xmit_ll() 151 cmd = DSA_CMD_FROM_CPU; in dsa_xmit_ll() 173 dsa_header[0] = (cmd << 6) | 0x20 | tag_dev; in dsa_xmit_ll() 192 dsa_header[0] = (cmd << 6) | tag_dev; in dsa_xmit_ll() 207 enum dsa_cmd cmd; in dsa_rcv_ll() local 213 cmd = dsa_header[0] >> 6; in dsa_rcv_ll() 214 switch (cmd) { in dsa_rcv_ll()
|