Home
last modified time | relevance | path

Searched refs:cmd (Results 926 – 950 of 6808) sorted by relevance

1...<<31323334353637383940>>...273

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dethtool_lib.sh6 cmd='/ETHTOOL_LINK_MODE_[^[:space:]]*_BIT[[:space:]]+=[[:space:]]+/ \
14 awk "${cmd}" /usr/include/linux/ethtool.h
19 local cmd="$@"
20 local out=$(ethtool -s $cmd 2>&1 | wc -l)
22 check_err $out "error in configuration. $cmd"
/openbmc/u-boot/drivers/video/
H A Dtegra.c49 val = readl(&dc->cmd.disp_win_header); in update_window()
51 writel(val, &dc->cmd.disp_win_header); in update_window()
97 writel(val, &dc->cmd.state_ctrl); in update_window()
153 writel(0x00000000, &cmd->int_type); in basic_init()
154 writel(0x00000000, &cmd->int_polarity); in basic_init()
155 writel(0x00000000, &cmd->int_mask); in basic_init()
156 writel(0x00000000, &cmd->int_enb); in basic_init()
161 writel(val, &cmd->disp_pow_ctrl); in basic_init()
163 val = readl(&cmd->disp_cmd); in basic_init()
165 writel(val, &cmd->disp_cmd); in basic_init()
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_ethtool.c16 struct ethtool_link_ksettings *cmd) in atl1e_get_link_ksettings() argument
36 cmd->base.port = PORT_TP; in atl1e_get_link_ksettings()
37 cmd->base.phy_address = 0; in atl1e_get_link_ksettings()
40 cmd->base.speed = adapter->link_speed; in atl1e_get_link_ksettings()
42 cmd->base.duplex = DUPLEX_FULL; in atl1e_get_link_ksettings()
44 cmd->base.duplex = DUPLEX_HALF; in atl1e_get_link_ksettings()
46 cmd->base.speed = SPEED_UNKNOWN; in atl1e_get_link_ksettings()
47 cmd->base.duplex = DUPLEX_UNKNOWN; in atl1e_get_link_ksettings()
50 cmd->base.autoneg = AUTONEG_ENABLE; in atl1e_get_link_ksettings()
68 cmd->link_modes.advertising); in atl1e_set_link_ksettings()
[all …]
/openbmc/linux/drivers/iio/light/
H A Dvl6180.c131 __be16 cmdbuf = cpu_to_be16(cmd); in vl6180_read()
140 dev_err(&client->dev, "failed reading register 0x%04x\n", cmd); in vl6180_read()
145 static int vl6180_read_byte(struct i2c_client *client, u16 cmd) in vl6180_read_byte() argument
150 ret = vl6180_read(client, cmd, &data, sizeof(data)); in vl6180_read_byte()
157 static int vl6180_read_word(struct i2c_client *client, u16 cmd) in vl6180_read_word() argument
162 ret = vl6180_read(client, cmd, &data, sizeof(data)); in vl6180_read_word()
176 buf[0] = cmd >> 8; in vl6180_write_byte()
177 buf[1] = cmd & 0xff; in vl6180_write_byte()
182 dev_err(&client->dev, "failed writing register 0x%04x\n", cmd); in vl6180_write_byte()
196 buf[0] = cpu_to_be16(cmd); in vl6180_write_word()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Djz_mmc.c192 struct mmc_cmd *cmd, struct mmc_data *data) in jz_mmc_send_cmd() argument
207 writel(cmd->cmdidx, priv->regs + MSC_CMD); in jz_mmc_send_cmd()
208 writel(cmd->cmdarg, priv->regs + MSC_ARG); in jz_mmc_send_cmd()
224 switch (cmd->resp_type) { in jz_mmc_send_cmd()
241 if (cmd->resp_type & MMC_RSP_BUSY) in jz_mmc_send_cmd()
287 if (cmd->resp_type & MMC_RSP_PRESENT) { in jz_mmc_send_cmd()
289 if (cmd->resp_type & MMC_RSP_136) { in jz_mmc_send_cmd()
296 cmd->response[i] = in jz_mmc_send_cmd()
301 cmd->response[0] = readw(priv->regs + MSC_RES) << 24; in jz_mmc_send_cmd()
372 return jz_mmc_send_cmd(mmc, priv, cmd, data); in jz_mmc_legacy_send_cmd()
[all …]
H A Ddavinci_mmc.c182 cmddata = cmd->cmdidx;
186 if (cmd->cmdidx == MMC_CMD_GO_IDLE_STATE)
189 switch (cmd->resp_type) {
250 set_val(&regs->mmcarghl, cmd->cmdarg);
256 if (cmd->resp_type & MMC_RSP_CRC)
265 if (cmd->resp_type == MMC_RSP_R1b)
271 if (cmd->resp_type & MMC_RSP_136) {
272 cmd->response[0] = get_val(&regs->mmcrsp67);
273 cmd->response[1] = get_val(&regs->mmcrsp45);
274 cmd->response[2] = get_val(&regs->mmcrsp23);
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c52 struct ethtool_link_ksettings *cmd) in igbvf_get_link_ksettings() argument
63 cmd->base.port = -1; in igbvf_get_link_ksettings()
68 cmd->base.speed = SPEED_1000; in igbvf_get_link_ksettings()
70 cmd->base.speed = SPEED_100; in igbvf_get_link_ksettings()
72 cmd->base.speed = SPEED_10; in igbvf_get_link_ksettings()
75 cmd->base.duplex = DUPLEX_FULL; in igbvf_get_link_ksettings()
77 cmd->base.duplex = DUPLEX_HALF; in igbvf_get_link_ksettings()
79 cmd->base.speed = SPEED_UNKNOWN; in igbvf_get_link_ksettings()
80 cmd->base.duplex = DUPLEX_UNKNOWN; in igbvf_get_link_ksettings()
83 cmd->base.autoneg = AUTONEG_DISABLE; in igbvf_get_link_ksettings()
[all …]
/openbmc/linux/drivers/pci/
H A Dsetup-res.c29 u16 cmd; in pci_std_update_resource() local
98 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_std_update_resource()
100 cmd & ~PCI_COMMAND_MEMORY); in pci_std_update_resource()
122 pci_write_config_word(dev, PCI_COMMAND, cmd); in pci_std_update_resource()
431 u16 cmd; in pci_resize_resource() local
443 if (cmd & PCI_COMMAND_MEMORY) in pci_resize_resource()
480 u16 cmd, old_cmd; in pci_enable_resources() local
485 old_cmd = cmd; in pci_enable_resources()
510 cmd |= PCI_COMMAND_IO; in pci_enable_resources()
512 cmd |= PCI_COMMAND_MEMORY; in pci_enable_resources()
[all …]
/openbmc/openpower-occ-control/
H A Docc_status.cpp278 std::vector<std::uint8_t> cmd, rsp; in sendAmbient() local
279 cmd.reserve(11); in sendAmbient()
280 cmd.push_back(uint8_t(CmdType::SEND_AMBIENT)); in sendAmbient()
282 cmd.push_back(0x08); // in sendAmbient()
283 cmd.push_back(0x00); // Version in sendAmbient()
284 cmd.push_back(ambientValid ? 0 : 0xFF); // Ambient Status in sendAmbient()
287 cmd.push_back(altitude & 0xFF); // in sendAmbient()
289 cmd.push_back(0x00); in sendAmbient()
290 cmd.push_back(0x00); in sendAmbient()
293 "INST", instance, "SIZE", cmd.size()); in sendAmbient()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.c540 memset(&cmd, 0, sizeof(cmd)); in il4965_chain_noise_reset()
542 cmd.diff_gain_a = 0; in il4965_chain_noise_reset()
543 cmd.diff_gain_b = 0; in il4965_chain_noise_reset()
544 cmd.diff_gain_c = 0; in il4965_chain_noise_reset()
545 if (il_send_cmd_pdu(il, C_PHY_CALIBRATION, sizeof(cmd), &cmd)) in il4965_chain_noise_reset()
1261 cmd.band = band; in il4965_send_tx_power()
1270 ret = il_send_cmd_pdu(il, C_TX_PWR_TBL, sizeof(cmd), &cmd); in il4965_send_tx_power()
1479 cmd.band = band; in il4965_hw_channel_switch()
1480 cmd.expect_beacon = 0; in il4965_hw_channel_switch()
1507 cmd.switch_time = in il4965_hw_channel_switch()
[all …]
/openbmc/u-boot/scripts/
H A Dget_maintainer.pl1506 my ($cmd) = @_;
1509 my $output = `$cmd`;
1517 my ($cmd) = @_;
1520 my $output = `$cmd`;
1585 my ($cmd) = @_;
1613 my ($cmd) = @_;
1630 my $cmd;
2233 my $cmd;
2251 my $cmd;
2274 my $cmd;
[all …]
/openbmc/linux/fs/fuse/
H A Dioctl.c174 .cmd = cmd, in fuse_do_ioctl()
219 iov->iov_len = _IOC_SIZE(cmd); in fuse_do_ioctl()
221 if (_IOC_DIR(cmd) & _IOC_WRITE) { in fuse_do_ioctl()
226 if (_IOC_DIR(cmd) & _IOC_READ) { in fuse_do_ioctl()
351 long fuse_ioctl_common(struct file *file, unsigned int cmd, in fuse_ioctl_common() argument
363 return fuse_do_ioctl(file, cmd, arg, flags); in fuse_ioctl_common()
368 return fuse_ioctl_common(file, cmd, arg, 0); in fuse_file_ioctl()
378 unsigned int cmd, void *ptr, size_t size) in fuse_priv_ioctl() argument
388 inarg.cmd = cmd; in fuse_priv_ioctl()
396 if (_IOC_DIR(cmd) & _IOC_READ) in fuse_priv_ioctl()
[all …]
/openbmc/linux/drivers/mfd/
H A Drave-sp.c169 struct rave_sp_variant_cmds cmd; member
391 u8 cmd[] = { in rave_sp_receive_event() local
396 rave_sp_write(sp, cmd, sizeof(cmd)); in rave_sp_receive_event()
667 u8 cmd[] = { in rave_sp_rdu1_get_status() local
672 return rave_sp_exec(sp, cmd, sizeof(cmd), status, sizeof(*status)); in rave_sp_rdu1_get_status()
678 u8 cmd[] = { in rave_sp_emulated_get_status() local
684 ret = rave_sp_exec(sp, cmd, sizeof(cmd), &status->firmware_version, in rave_sp_emulated_get_status()
690 return rave_sp_exec(sp, cmd, sizeof(cmd), &status->bootloader_version, in rave_sp_emulated_get_status()
732 .cmd = {
740 .cmd = {
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_ioctl32.c28 #define _NATIVE_IOC(cmd, type) \ argument
29 _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
199 unsigned int cmd, in xfs_compat_ioc_fsbulkstat() argument
280 if (cmd == XFS_IOC_FSINUMBERS_32) { in xfs_compat_ioc_fsbulkstat()
289 } else if (cmd == XFS_IOC_FSBULKSTAT_32) { in xfs_compat_ioc_fsbulkstat()
422 unsigned cmd, in xfs_file_compat_ioctl() argument
432 switch (cmd) { in xfs_file_compat_ioctl()
463 cmd = _NATIVE_IOC(cmd, long); in xfs_file_compat_ioctl()
464 return xfs_file_ioctl(filp, cmd, p); in xfs_file_compat_ioctl()
492 cmd = _NATIVE_IOC(cmd, struct xfs_fsop_handlereq); in xfs_file_compat_ioctl()
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-sha.c133 memset(&rctx->cmd, 0, sizeof(rctx->cmd)); in ccp_do_sha_update()
134 INIT_LIST_HEAD(&rctx->cmd.entry); in ccp_do_sha_update()
135 rctx->cmd.engine = CCP_ENGINE_SHA; in ccp_do_sha_update()
136 rctx->cmd.u.sha.type = rctx->type; in ccp_do_sha_update()
137 rctx->cmd.u.sha.ctx = &rctx->ctx_sg; in ccp_do_sha_update()
160 rctx->cmd.u.sha.src = sg; in ccp_do_sha_update()
161 rctx->cmd.u.sha.src_len = rctx->hash_cnt; in ccp_do_sha_update()
162 rctx->cmd.u.sha.opad = ctx->u.sha.key_len ? in ccp_do_sha_update()
166 rctx->cmd.u.sha.first = rctx->first; in ccp_do_sha_update()
167 rctx->cmd.u.sha.final = rctx->final; in ccp_do_sha_update()
[all …]
/openbmc/linux/drivers/nvme/target/
H A Dpassthru.c227 switch (req->cmd->identify.cns) { in nvmet_passthru_execute_cmd_work()
304 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_passthru_execute_cmd()
324 nvme_init_request(rq, req->cmd); in nvmet_passthru_execute_cmd()
414 if (req->cmd->common.flags & ~NVME_CMD_SGL_ALL) in nvmet_parse_passthru_io_cmd()
417 switch (req->cmd->common.opcode) { in nvmet_parse_passthru_io_cmd()
442 switch (le32_to_cpu(req->cmd->features.fid)) { in nvmet_passthru_get_set_features()
488 if (req->cmd->common.flags & ~NVME_CMD_SGL_ALL) in nvmet_parse_passthru_admin_cmd()
497 switch (req->cmd->common.opcode) { in nvmet_parse_passthru_admin_cmd()
537 switch (req->cmd->identify.cns) { in nvmet_parse_passthru_admin_cmd()
543 switch (req->cmd->identify.csi) { in nvmet_parse_passthru_admin_cmd()
[all …]
/openbmc/qemu/hw/dma/
H A Dpxa2xx_dma.c32 uint32_t cmd; member
170 s->chan[ch].cmd = desc[DCMD]; in pxa2xx_dma_descriptor_fetch()
172 if (s->chan[ch].cmd & DCMD_FLOWSRC) in pxa2xx_dma_descriptor_fetch()
174 if (s->chan[ch].cmd & DCMD_FLOWTRG) in pxa2xx_dma_descriptor_fetch()
180 if (s->chan[ch].cmd & DCMD_STARTIRQEN) in pxa2xx_dma_descriptor_fetch()
206 length = ch->cmd & DCMD_LEN; in pxa2xx_dma_run()
207 size = DCMD_SIZE(ch->cmd); in pxa2xx_dma_run()
208 width = DCMD_WIDTH(ch->cmd); in pxa2xx_dma_run()
240 ch->cmd = (ch->cmd & ~DCMD_LEN) | length; in pxa2xx_dma_run()
318 return s->chan[channel].cmd; in pxa2xx_dma_read()
[all …]
/openbmc/linux/drivers/iio/chemical/
H A Dscd4x.c107 if ((cmd != CMD_STOP_MEAS) && (cmd != CMD_START_MEAS)) { in scd4x_send_command()
117 put_unaligned_be16(cmd, buf); in scd4x_send_command()
122 if ((cmd != CMD_STOP_MEAS) && (cmd != CMD_START_MEAS)) { in scd4x_send_command()
144 if ((cmd != CMD_GET_DATA_READY) && (cmd != CMD_READ_MEAS) && in scd4x_read()
145 (cmd != CMD_GET_AMB_PRESSURE)) { in scd4x_read()
157 put_unaligned_be16(cmd, buf); in scd4x_read()
174 if ((cmd != CMD_GET_DATA_READY) && (cmd != CMD_READ_MEAS) && in scd4x_read()
175 (cmd != CMD_GET_AMB_PRESSURE)) { in scd4x_read()
190 put_unaligned_be16(cmd, buf); in scd4x_write()
197 if (cmd != CMD_SET_AMB_PRESSURE) { in scd4x_write()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_plat.c26 static void plat_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in plat_cmd_ctrl() argument
30 if (cmd == NAND_CMD_NONE) in plat_cmd_ctrl()
34 NAND_PLAT_WRITE_CMD(this, cmd); in plat_cmd_ctrl()
36 NAND_PLAT_WRITE_ADR(this, cmd); in plat_cmd_ctrl()
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c21 struct ethtool_link_ksettings *cmd) in txgbe_get_link_ksettings() argument
25 return phylink_ethtool_ksettings_get(txgbe->phylink, cmd); in txgbe_get_link_ksettings()
29 const struct ethtool_link_ksettings *cmd) in txgbe_set_link_ksettings() argument
33 return phylink_ethtool_ksettings_set(txgbe->phylink, cmd); in txgbe_set_link_ksettings()
/openbmc/ipmitool/lib/
H A Dipmi_main.c147 struct ipmi_cmd * cmd; in ipmi_cmd_print() local
152 for (cmd=cmdlist; cmd->func != NULL; cmd++) { in ipmi_cmd_print()
153 if (cmd->desc == NULL) in ipmi_cmd_print()
159 lprintf(LOG_NOTICE, "\t%-12s %s", cmd->name, cmd->desc); in ipmi_cmd_print()
185 if (cmd->func == NULL || cmd->name == NULL) in ipmi_cmd_run()
188 return cmd->func(intf, 0, NULL); in ipmi_cmd_run()
196 for (cmd=intf->cmdlist; cmd->func != NULL; cmd++) { in ipmi_cmd_run()
197 if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) in ipmi_cmd_run()
200 if (cmd->func == NULL) { in ipmi_cmd_run()
201 cmd = intf->cmdlist; in ipmi_cmd_run()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dvmk80xx.c205 devpriv->usb_tx_buf[0] = cmd; in vmk80xx_write_packet()
289 int cmd; in vmk80xx_ao_insn_write() local
298 cmd = VMK8055_CMD_WRT_AD; in vmk80xx_ao_insn_write()
305 cmd = VMK8061_CMD_SET_AO; in vmk80xx_ao_insn_write()
399 int reg, cmd; in vmk80xx_do_insn_bits() local
404 cmd = VMK8061_CMD_DO; in vmk80xx_do_insn_bits()
407 cmd = VMK8055_CMD_WRT_AD; in vmk80xx_do_insn_bits()
486 int cmd; in vmk80xx_cnt_insn_config() local
525 int cmd; in vmk80xx_cnt_insn_write() local
601 int cmd; in vmk80xx_pwm_insn_write() local
[all …]
/openbmc/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c383 cmd->cid = cpu_to_be16(tag); in fun_submit_admin_cmd()
399 cmd); in fun_submit_admin_cmd()
417 u16 cid = be16_to_cpu(cmd->cid); in fun_abandon_admin_cmd()
490 cmdlen, cmd); in fun_submit_admin_sync_cmd()
504 ctx.rsp_status, cmdlen, cmd); in fun_submit_admin_sync_cmd()
517 } cmd; in fun_get_res_count() local
520 cmd.req.common = FUN_ADMIN_REQ_COMMON_INIT2(res, sizeof(cmd.req)); in fun_get_res_count()
524 rc = fun_submit_admin_sync_cmd(fdev, &cmd.req.common, &cmd.rsp, in fun_get_res_count()
525 sizeof(cmd), 0); in fun_get_res_count()
552 } cmd = { in fun_bind() local
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dpxamci.c66 struct mmc_command *cmd; member
234 WARN_ON(host->cmd != NULL); in pxamci_start_cmd()
235 host->cmd = cmd; in pxamci_start_cmd()
237 if (cmd->flags & MMC_RSP_BUSY) in pxamci_start_cmd()
269 host->cmd = NULL; in pxamci_finish_request()
276 struct mmc_command *cmd = host->cmd; in pxamci_cmd_done() local
280 if (!cmd) in pxamci_cmd_done()
283 host->cmd = NULL; in pxamci_cmd_done()
298 cmd->error = -ETIMEDOUT; in pxamci_cmd_done()
307 (cmd->flags & MMC_RSP_136 && cmd->resp[0] & 0x80000000)) in pxamci_cmd_done()
[all …]
/openbmc/linux/drivers/block/
H A Dublk_drv.c124 struct io_uring_cmd *cmd; member
1290 struct io_uring_cmd *cmd = io->cmd; in ublk_queue_cmd() local
1692 io->cmd = cmd; in ublk_fill_io_cmd()
1704 u32 cmd_op = cmd->cmd_op; in __ublk_ch_uring_cmd()
2247 struct io_uring_cmd *cmd) in ublk_ctrl_get_queue_affinity() argument
2512 struct io_uring_cmd *cmd) in ublk_ctrl_get_dev_info() argument
2543 struct io_uring_cmd *cmd) in ublk_ctrl_get_params() argument
2574 struct io_uring_cmd *cmd) in ublk_ctrl_set_params() argument
2630 io->cmd = NULL; in ublk_queue_reinit()
2843 u32 cmd_op = cmd->cmd_op; in ublk_ctrl_uring_cmd()
[all …]

1...<<31323334353637383940>>...273