Home
last modified time | relevance | path

Searched refs:cmd (Results 151 – 175 of 6824) sorted by relevance

12345678910>>...273

/openbmc/qemu/tests/rocker/
H A Dbridge-vlan-stp12 simp ssh tut sw1 --cmd "sudo brctl stp br0 on"
38 simp ssh tut h1 --cmd "sudo ifconfig sw1p1 up"
42 simp ssh tut h2 --cmd "sudo ifconfig sw1p1 up"
47 simp ssh tut sw1 --cmd "sudo ifconfig br0 up"
48 simp ssh tut sw1 --cmd "sudo ifconfig sw1p1 up"
49 simp ssh tut sw1 --cmd "sudo ifconfig sw1p2 up"
56 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null"
58 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null"
60 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null"
62 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null"
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c24 struct drm_mode_fb_cmd2 cmd; member
30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
60 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
70 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
120 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
177 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
182 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
188 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
266 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2,
311 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT,
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_lib_dma.c23 int scsi_dma_map(struct scsi_cmnd *cmd) in scsi_dma_map() argument
27 if (scsi_sg_count(cmd)) { in scsi_dma_map()
28 struct device *dev = cmd->device->host->dma_dev; in scsi_dma_map()
30 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_map()
31 cmd->sc_data_direction); in scsi_dma_map()
43 void scsi_dma_unmap(struct scsi_cmnd *cmd) in scsi_dma_unmap() argument
45 if (scsi_sg_count(cmd)) { in scsi_dma_unmap()
46 struct device *dev = cmd->device->host->dma_dev; in scsi_dma_unmap()
48 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
49 cmd->sc_data_direction); in scsi_dma_unmap()
/openbmc/linux/drivers/nvme/host/
H A Dioctl.c358 if (copy_from_user(&cmd, ucmd, sizeof(cmd))) in nvme_user_cmd()
360 if (cmd.flags) in nvme_user_cmd()
385 cmd.addr, cmd.data_len, nvme_to_user_ptr(cmd.metadata), in nvme_user_cmd()
405 if (copy_from_user(&cmd, ucmd, sizeof(cmd))) in nvme_user_cmd64()
407 if (cmd.flags) in nvme_user_cmd64()
432 cmd.addr, cmd.data_len, nvme_to_user_ptr(cmd.metadata), in nvme_user_cmd64()
433 cmd.metadata_len, 0, &cmd.result, timeout, flags); in nvme_user_cmd64()
652 if (cmd == NVME_IOCTL_ADMIN_CMD || cmd == NVME_IOCTL_ADMIN64_CMD) in is_ctrl_ioctl()
662 switch (cmd) { in nvme_ctrl_ioctl()
693 switch (cmd) { in nvme_ns_ioctl()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dqeth_ethtool.c340 switch (cmd->base.port) { in qeth_set_ethtool_link_modes()
345 switch (cmd->base.speed) { in qeth_set_ethtool_link_modes()
391 switch (cmd->base.speed) { in qeth_set_ethtool_link_modes()
428 struct ethtool_link_ksettings *cmd) in qeth_get_link_ksettings() argument
433 cmd->base.speed = card->info.link_info.speed; in qeth_get_link_ksettings()
434 cmd->base.duplex = card->info.link_info.duplex; in qeth_get_link_ksettings()
435 cmd->base.port = card->info.link_info.port; in qeth_get_link_ksettings()
436 cmd->base.autoneg = AUTONEG_ENABLE; in qeth_get_link_ksettings()
437 cmd->base.phy_address = 0; in qeth_get_link_ksettings()
438 cmd->base.mdio_support = 0; in qeth_get_link_ksettings()
[all …]
/openbmc/openbmc/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-cmd/
H A Dmori.sh100 cmd=$(cat ${BMC_CPLD_VER_FILE})
101 echo " BMC_CPLD: " "${cmd}"
102 cmd=$(cat ${MB_CPLD_VER_FILE})
103 echo " MB_CPLD: " "${cmd}"
122 echo " Bios: $cmd"
197 if [[ $cmd -eq 1 ]]; then
202 if [[ $cmd -eq 0 ]]; then
208 if [[ $cmd -eq 1 ]]; then
263 cmd=$(devmem 0xf083"${i}"154)
265 echo "$cmd"
[all …]
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_mr.c79 memset(cmd, 0, sizeof(*cmd)); in pvrdma_get_dma_mr()
80 cmd->hdr.cmd = PVRDMA_CMD_CREATE_MR; in pvrdma_get_dma_mr()
165 memset(cmd, 0, sizeof(*cmd)); in pvrdma_reg_user_mr()
166 cmd->hdr.cmd = PVRDMA_CMD_CREATE_MR; in pvrdma_reg_user_mr()
167 cmd->start = start; in pvrdma_reg_user_mr()
168 cmd->length = length; in pvrdma_reg_user_mr()
171 cmd->nchunks = npages; in pvrdma_reg_user_mr()
238 memset(cmd, 0, sizeof(*cmd)); in pvrdma_alloc_mr()
239 cmd->hdr.cmd = PVRDMA_CMD_CREATE_MR; in pvrdma_alloc_mr()
285 memset(cmd, 0, sizeof(*cmd)); in pvrdma_dereg_mr()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dspi.c92 u8 *cmd; in wl12xx_spi_reset() local
97 if (!cmd) { in wl12xx_spi_reset()
114 kfree(cmd); in wl12xx_spi_reset()
125 if (!cmd) { in wl12xx_spi_init()
141 cmd[3] = 0; in wl12xx_spi_init()
142 cmd[4] = 0; in wl12xx_spi_init()
238 u32 *cmd; in wl12xx_spi_raw_read() local
247 *cmd = 0; in wl12xx_spi_raw_read()
304 u32 *cmd; in __wl12xx_spi_raw_write() local
322 *cmd = 0; in __wl12xx_spi_raw_write()
[all …]
/openbmc/linux/drivers/tee/amdtee/
H A Dcall.c187 cmd.ta_handle = ta_handle; in handle_unload_ta()
212 cmd.ta_handle = ta_handle; in handle_close_session()
213 cmd.session_info = info; in handle_close_session()
231 cmd.buf_id = buf_id; in handle_unmap_shmem()
264 cmd.cmd_id = arg->func; in handle_invoke_cmd()
265 cmd.session_info = sinfo; in handle_invoke_cmd()
296 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in handle_map_shmem()
297 if (!cmd) in handle_map_shmem()
323 cmd->sg_list.size += cmd->sg_list.buf[i].size; in handle_map_shmem()
338 *buf_id = cmd->buf_id; in handle_map_shmem()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mob.c123 } *cmd; in vmw_setup_otable_base() local
153 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_setup_otable_base()
159 memset(cmd, 0, sizeof(*cmd)); in vmw_setup_otable_base()
161 cmd->header.size = sizeof(cmd->body); in vmw_setup_otable_base()
201 } *cmd; in vmw_takedown_otable_base() local
208 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_takedown_otable_base()
212 memset(cmd, 0, sizeof(*cmd)); in vmw_takedown_otable_base()
214 cmd->header.size = sizeof(cmd->body); in vmw_takedown_otable_base()
557 } *cmd; in vmw_mob_unbind() local
572 cmd->header.size = sizeof(cmd->body); in vmw_mob_unbind()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c25 struct ath12k_hal_reo_cmd *cmd) in ath12k_hal_reo_cmd_queue_stats() argument
50 struct ath12k_hal_reo_cmd *cmd) in ath12k_hal_reo_cmd_flush_cache() argument
112 le32_encode_bits(cmd->addr_hi, in ath12k_hal_reo_cmd_update_rx_queue()
160 le32_encode_bits(cmd->rx_queue_num, in ath12k_hal_reo_cmd_update_rx_queue()
191 if (cmd->pn_size == 24) in ath12k_hal_reo_cmd_update_rx_queue()
193 else if (cmd->pn_size == 48) in ath12k_hal_reo_cmd_update_rx_queue()
195 else if (cmd->pn_size == 128) in ath12k_hal_reo_cmd_update_rx_queue()
198 if (cmd->ba_window_size < 1) in ath12k_hal_reo_cmd_update_rx_queue()
199 cmd->ba_window_size = 1; in ath12k_hal_reo_cmd_update_rx_queue()
201 if (cmd->ba_window_size == 1) in ath12k_hal_reo_cmd_update_rx_queue()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv_stat.c54 union dmub_rb_out_cmd cmd = {0}; in dmub_srv_stat_get_notification() local
65 if (!dmub_rb_out_front(&dmub->outbox1_rb, &cmd)) { in dmub_srv_stat_get_notification()
71 switch (cmd.cmd_common.header.type) { in dmub_srv_stat_get_notification()
74 notify->link_index = cmd.dp_aux_reply.control.instance; in dmub_srv_stat_get_notification()
75 notify->result = cmd.dp_aux_reply.control.result; in dmub_srv_stat_get_notification()
80 if (cmd.dp_hpd_notify.hpd_data.hpd_type == DP_HPD) { in dmub_srv_stat_get_notification()
82 notify->hpd_status = cmd.dp_hpd_notify.hpd_data.hpd_status; in dmub_srv_stat_get_notification()
87 notify->link_index = cmd.dp_hpd_notify.hpd_data.instance; in dmub_srv_stat_get_notification()
97 notify->link_index = cmd.dpia_notification.payload.header.instance; in dmub_srv_stat_get_notification()
102 cmd.dpia_notification.payload.data.dpia_bw_alloc.estimated_bw; in dmub_srv_stat_get_notification()
[all …]
/openbmc/linux/drivers/w1/
H A Dw1_netlink.c152 space = sizeof(*cmd) + cmd->len; in w1_netlink_queue_cmd()
153 if (block->cmd != cmd) in w1_netlink_queue_cmd()
154 memcpy(block->cmd, cmd, space); in w1_netlink_queue_cmd()
176 memcpy(cmd, req_cmd, sizeof(*cmd)); in w1_netlink_queue_status()
295 switch (cmd->cmd) { in w1_process_command_io()
301 w1_read_block(dev, cmd->data, cmd->len); in w1_process_command_io()
328 switch (cmd->cmd) { in w1_process_command_addremove()
394 sl->reg_num.crc, cmd->cmd, cmd->len); in w1_process_command_slave()
475 len = sizeof(*cmd) + cmd->len; in w1_process_cb()
511 switch (cmd->cmd) { in w1_list_count_cmds()
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_efi_selftest.py17 u_boot_console.run_command(cmd='setenv efi_selftest')
31 u_boot_console.run_command(cmd='setenv efi_selftest list')
35 u_boot_console.run_command(cmd='setenv -f serial# Testing DT')
44 u_boot_console.run_command(cmd='setenv efi_selftest list')
63 output = u_boot_console.run_command(cmd='bootefi selftest',
71 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False,
79 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False,
87 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False,
133 output = u_boot_console.run_command(cmd='bootefi selftest',
141 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False,
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c1735 cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); in qlcnic_83xx_nic_set_promisc()
1736 if (!cmd) in qlcnic_83xx_nic_set_promisc()
1758 kfree(cmd); in qlcnic_83xx_nic_set_promisc()
2104 cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); in qlcnic_83xx_sre_macaddr_change()
2105 if (!cmd) in qlcnic_83xx_sre_macaddr_change()
2136 kfree(cmd); in qlcnic_83xx_sre_macaddr_change()
2726 u32 cmd; in qlcnic_83xx_enable_flash_write() local
3549 memset(cmd.rsp.arg, 0, sizeof(u32) * cmd.rsp.num); in qlcnic_83xx_get_stats()
3559 memset(cmd.rsp.arg, 0, sizeof(u32) * cmd.rsp.num); in qlcnic_83xx_get_stats()
4073 __func__, cmd->cmd_op, cmd->type, ahw->pci_func, in qlcnic_83xx_decode_mbx_rsp()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dni_tiocmd.c79 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_input_inttrig() local
83 if (trig_num != cmd->start_arg) in ni_tio_input_inttrig()
108 struct comedi_cmd *cmd = &async->cmd; in ni_tio_input_cmd() local
132 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
162 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_cmd_setup() local
208 struct comedi_cmd *cmd = &async->cmd; in ni_tio_cmd() local
222 if (cmd->flags & CMDF_WRITE) in ni_tio_cmd()
235 struct comedi_cmd *cmd) in ni_tio_cmdtest() argument
269 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
277 switch (cmd->start_src) { in ni_tio_cmdtest()
[all …]
H A Dcb_pcidas.c709 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
775 if (cmd->chanlist && cmd->chanlist_len > 0) in cb_pcidas_ai_cmdtest()
790 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ai_cmd() local
813 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
831 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { in cb_pcidas_ai_cmd()
862 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) in cb_pcidas_ai_cmd()
952 if (cmd->chanlist && cmd->chanlist_len > 0) in cb_pcidas_ao_cmdtest()
1002 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_inttrig() local
1034 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_cmd() local
1110 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_interrupt() local
[all …]
/openbmc/linux/tools/perf/trace/beauty/
H A Dfcntl.c73 int cmd = syscall_arg__val(arg, 1); in syscall_arg__scnprintf_fcntl_arg() local
75 if (cmd == F_DUPFD) in syscall_arg__scnprintf_fcntl_arg()
78 if (cmd == F_SETFD) in syscall_arg__scnprintf_fcntl_arg()
81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
84 if (cmd == F_SETOWN) in syscall_arg__scnprintf_fcntl_arg()
87 if (cmd == F_SETLEASE) in syscall_arg__scnprintf_fcntl_arg()
93 if (cmd == F_SETLK || cmd == F_SETLKW || cmd == F_GETLK || in syscall_arg__scnprintf_fcntl_arg()
94 cmd == F_OFD_SETLK || cmd == F_OFD_SETLKW || cmd == F_OFD_GETLK || in syscall_arg__scnprintf_fcntl_arg()
95 cmd == F_GETOWN_EX || cmd == F_SETOWN_EX || in syscall_arg__scnprintf_fcntl_arg()
96 cmd == F_GET_RW_HINT || cmd == F_SET_RW_HINT || in syscall_arg__scnprintf_fcntl_arg()
[all …]
/openbmc/qemu/monitor/
H A Dhmp.c235 monitor_printf(mon, "%s %s -- %s\n", cmd->name, cmd->params, cmd->help); in help_cmd_dump_one()
247 for (cmd = cmds; cmd->name != NULL; cmd++) { in help_cmd_dump()
254 for (cmd = cmds; cmd->name != NULL; cmd++) { in help_cmd_dump()
624 for (cmd = disp_table; cmd->name != NULL; cmd++) { in search_dispatch_table()
660 if (!cmd) { in monitor_parse_command()
683 return cmd; in monitor_parse_command()
1106 cmd->cmd(mon, qdict); in handle_hmp_command_exec()
1138 if (!cmd->cmd && !cmd->cmd_info_hrt) { in handle_hmp_command()
1163 .cmd = cmd, in handle_hmp_command()
1283 for (cmd = cmd_table; cmd->name != NULL; cmd++) { in monitor_find_completion_by_table()
[all …]
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-cmd/
H A Dkudo.sh91 cmd=$(cat ${BMC_CPLD_VER_FILE})
92 echo " BMC_CPLD: " "${cmd}"
93 cmd=$(cat ${MB_CPLD_VER_FILE})
94 echo " MB_CPLD: " "${cmd}"
118 echo " BMC PowerSequencer : ${cmd}"
123 echo " Bios: $cmd"
127 echo " SCP Firmware: ${cmd}"
213 if [[ $cmd -eq 0 ]]; then
220 if [[ $cmd -eq 1 ]]; then
287 cmd=$(devmem 0xf083"${i}"154)
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ethtool.c303 cmd->base.autoneg = AUTONEG_ENABLE; in octep_get_link_ksettings()
305 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
308 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
318 cmd->base.port = PORT_FIBRE; in octep_get_link_ksettings()
323 cmd->base.speed = link_info->speed; in octep_get_link_ksettings()
324 cmd->base.duplex = DUPLEX_FULL; in octep_get_link_ksettings()
326 cmd->base.speed = SPEED_UNKNOWN; in octep_get_link_ksettings()
327 cmd->base.duplex = DUPLEX_UNKNOWN; in octep_get_link_ksettings()
348 if (cmd->base.duplex != DUPLEX_FULL && in octep_set_link_ksettings()
359 cmd->link_modes.supported, in octep_set_link_ksettings()
[all …]
/openbmc/linux/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c55 char cmd[DATA_SIZE]; member
68 const char *cmd = rain->cmd + 3; in rain_process_msg() local
71 for (; *cmd; cmd++) { in rain_process_msg()
74 if (isxdigit(cmd[0]) && isxdigit(cmd[1])) { in rain_process_msg()
80 cmd++; in rain_process_msg()
83 if (!cmd[1]) in rain_process_msg()
266 u8 cmd[16]; in rain_cec_adap_log_addr() local
270 snprintf(cmd, sizeof(cmd), "A %x", log_addr); in rain_cec_adap_log_addr()
283 snprintf(cmd, sizeof(cmd), "x%x", cec_msg_destination(msg)); in rain_cec_adap_transmit()
287 snprintf(cmd, sizeof(cmd), "x%x %02x ", in rain_cec_adap_transmit()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dgp8psk-fe.c134 u8 cmd[10]; in gp8psk_fe_set_frontend() local
181 cmd[9] = 0; break; in gp8psk_fe_set_frontend()
183 cmd[9] = 1; break; in gp8psk_fe_set_frontend()
185 cmd[9] = 2; break; in gp8psk_fe_set_frontend()
187 cmd[9] = 3; break; in gp8psk_fe_set_frontend()
189 cmd[9] = 4; break; in gp8psk_fe_set_frontend()
191 cmd[9] = 5; break; in gp8psk_fe_set_frontend()
193 cmd[9] = 5; break; in gp8psk_fe_set_frontend()
219 cmd[9] = 0; in gp8psk_fe_set_frontend()
256 u8 cmd; in gp8psk_fe_send_diseqc_burst() local
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dmvebu_mmc.c75 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd()
113 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd()
122 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd()
169 DRIVER_NAME, cmd->cmdidx, in mvebu_mmc_send_cmd()
188 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd()
217 cmd->response[2] = 0; in mvebu_mmc_send_cmd()
218 cmd->response[3] = 0; in mvebu_mmc_send_cmd()
220 cmd->response[0] = 0; in mvebu_mmc_send_cmd()
221 cmd->response[1] = 0; in mvebu_mmc_send_cmd()
222 cmd->response[2] = 0; in mvebu_mmc_send_cmd()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DnsPlugin.py82 self._exec_cmd('pre', cmd)
83 cmd = '$IP link set $DEV0 up'
84 self._exec_cmd('pre', cmd)
87 self._exec_cmd('pre', cmd)
90 cmd = '$IP link del $DEV0'
91 self._exec_cmd('post', cmd)
101 self._exec_cmd('pre', cmd)
103 self._exec_cmd('pre', cmd)
105 self._exec_cmd('pre', cmd)
148 def _replace_keywords(self, cmd): argument
[all …]

12345678910>>...273