Home
last modified time | relevance | path

Searched refs:cmd (Results 4826 – 4850 of 6807) sorted by relevance

1...<<191192193194195196197198199200>>...273

/openbmc/qemu/hw/block/
H A Dm25p80.c587 static void flash_erase(Flash *s, int offset, FlashCMD cmd) in flash_erase() argument
592 switch (cmd) { in flash_erase()
1123 static bool is_valid_aai_cmd(uint32_t cmd) in is_valid_aai_cmd() argument
1125 return cmd == AAI_WP || cmd == WRDI || cmd == RDSR; in is_valid_aai_cmd()
/openbmc/ipmitool/lib/
H A Dipmi_lanp.c142 for (i = 0; ipmi_lan_params[i].cmd != (-1); i++) { in get_lan_param_select()
143 if (ipmi_lan_params[i].cmd == param) { in get_lan_param_select()
155 msg_data[1] = p->cmd; in get_lan_param_select()
161 req.msg.cmd = IPMI_LAN_GET_CONFIG; in get_lan_param_select()
310 req.msg.cmd = IPMI_LAN_SET_CONFIG; in __set_lan_param()
2093 req.msg.cmd = IPMI_LAN_GET_STAT; in ipmi_lan_stats_get()
2169 req.msg.cmd = IPMI_LAN_GET_STAT; in ipmi_lan_stats_clear()
/openbmc/linux/drivers/net/ethernet/
H A Dfealnx.c432 static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
1817 struct ethtool_link_ksettings *cmd) in netdev_get_link_ksettings() argument
1822 mii_ethtool_get_link_ksettings(&np->mii, cmd); in netdev_get_link_ksettings()
1829 const struct ethtool_link_ksettings *cmd) in netdev_set_link_ksettings() argument
1835 rc = mii_ethtool_set_link_ksettings(&np->mii, cmd); in netdev_set_link_ksettings()
1873 static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in mii_ioctl() argument
1882 rc = generic_mii_ioctl(&np->mii, if_mii(rq), cmd, NULL); in mii_ioctl()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c736 const struct ethtool_link_ksettings *cmd) in ibmveth_set_link_ksettings() argument
740 return ethtool_virtdev_set_link_ksettings(dev, cmd, in ibmveth_set_link_ksettings()
746 struct ethtool_link_ksettings *cmd) in ibmveth_get_link_ksettings() argument
750 cmd->base.speed = adapter->speed; in ibmveth_get_link_ksettings()
751 cmd->base.duplex = adapter->duplex; in ibmveth_get_link_ksettings()
752 cmd->base.port = PORT_OTHER; in ibmveth_get_link_ksettings()
1065 static int ibmveth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ibmveth_ioctl() argument
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c786 u8 ctype, u32 *seq_id, bool cmd, u32 mcam_idx, u16 pcifunc) in rvu_npc_exact_add_to_list() argument
846 entry->cmd = cmd; in rvu_npc_exact_add_to_list()
1276 if (entry->cmd) in rvu_npc_exact_del_table_entry_by_id()
1317 u16 chan, u8 ctype, u32 *seq_id, bool cmd, in rvu_npc_exact_add_table_entry() argument
1348 mac, chan, ctype, seq_id, cmd, mcam_idx, pcifunc); in rvu_npc_exact_add_table_entry()
1364 if (cmd) in rvu_npc_exact_add_table_entry()
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c759 u16 cmd; in slic_card_reset() local
763 pci_read_config_word(sdev->pdev, PCI_COMMAND, &cmd); in slic_card_reset()
873 desc->cmd = SLIC_CMD_XMT_REQ; in slic_init_tx_queue()
1728 u16 cmd; in slic_configure_pci() local
1732 cmd = old | PCI_COMMAND_PARITY | PCI_COMMAND_SERR; in slic_configure_pci()
1733 if (old != cmd) in slic_configure_pci()
1734 pci_write_config_word(pdev, PCI_COMMAND, cmd); in slic_configure_pci()
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c169 u8 len, cmd; in qca8k_rw_reg_ack_handler() local
176 cmd = FIELD_GET(QCA_HDR_MGMT_CMD, command); in qca8k_rw_reg_ack_handler()
192 if (cmd == MDIO_READ) { in qca8k_rw_reg_ack_handler()
218 static struct sk_buff *qca8k_alloc_mdio_header(enum mdio_cmd cmd, u32 reg, u32 *val, in qca8k_alloc_mdio_header() argument
274 command |= FIELD_PREP(QCA_HDR_MGMT_CMD, cmd); in qca8k_alloc_mdio_header()
280 if (cmd == MDIO_WRITE) in qca8k_alloc_mdio_header()
286 if (cmd == MDIO_WRITE && len > QCA_HDR_MGMT_DATA1_LEN) { in qca8k_alloc_mdio_header()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91c92_cs.c273 static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
991 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; in mdio_read() local
996 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
1011 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; in mdio_write() local
1016 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
1997 static int smc_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) in smc_ioctl() argument
2012 rc = generic_mii_ioctl(&smc->mii_if, mii, cmd, NULL); in smc_ioctl()
/openbmc/linux/drivers/net/
H A Dgtp.c1454 static int gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation);
1629 static int gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation) in gtp_tunnel_notify() argument
1638 ret = gtp_genl_fill_info(msg, 0, 0, 0, cmd, pctx); in gtp_tunnel_notify()
1838 .cmd = GTP_CMD_NEWPDP,
1844 .cmd = GTP_CMD_DELPDP,
1850 .cmd = GTP_CMD_GETPDP,
1857 .cmd = GTP_CMD_ECHOREQ,
/openbmc/u-boot/drivers/ram/rockchip/
H A Dsdram_rk3188.c310 u32 cmd, u32 arg) in send_command() argument
312 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command()
319 u32 rank, u32 cmd, u32 ma, u32 op) in send_command_op() argument
321 send_command(pctl, rank, cmd, (ma & LPDDR2_MA_MASK) << LPDDR2_MA_SHIFT | in send_command_op()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c357 int trusted_tpm_send(unsigned char *cmd, size_t buflen) in trusted_tpm_send() argument
364 dump_tpm_buf(cmd); in trusted_tpm_send()
365 rc = tpm_send(chip, cmd, buflen); in trusted_tpm_send()
366 dump_tpm_buf(cmd); in trusted_tpm_send()
/openbmc/linux/drivers/usb/storage/
H A Drealtek_cr.c202 u8 *cmd, int cmd_len, u8 *buf, int buf_len, in rts51x_bulk_transport() argument
222 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
292 u8 *cmd, int cmd_len, u8 *buf, int buf_len, in rts51x_bulk_transport_special() argument
311 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c273 .gnl.cmd = CTRL_CMD_GETFAMILY, in libbpf_netlink_resolve_genl_family_id()
487 req.gnl.cmd = NETDEV_CMD_DEV_GET; in bpf_xdp_query()
582 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify() argument
595 req.nh.nlmsg_type = cmd; in tc_qdisc_modify()
/openbmc/linux/drivers/platform/surface/
H A Dsurface_dtx.c331 static long __surface_dtx_ioctl(struct sdtx_client *client, unsigned int cmd, unsigned long arg) in __surface_dtx_ioctl() argument
337 switch (cmd) { in __surface_dtx_ioctl()
378 static long surface_dtx_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in surface_dtx_ioctl() argument
391 status = __surface_dtx_ioctl(client, cmd, arg); in surface_dtx_ioctl()
/openbmc/linux/drivers/usb/host/
H A Dehci-hcd.c717 u32 cmd; in ehci_irq() local
753 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_irq()
786 if (cmd & CMD_IAAD) in ehci_irq()
843 dbg_cmd(ehci, "fatal", cmd); in ehci_irq()
/openbmc/linux/sound/core/
H A Dcompress_offload.c966 static long snd_compr_ioctl(struct file *f, unsigned int cmd, unsigned long arg) in snd_compr_ioctl() argument
978 switch (_IOC_NR(cmd)) { in snd_compr_ioctl()
1038 static long snd_compr_ioctl_compat(struct file *file, unsigned int cmd, in snd_compr_ioctl_compat() argument
1041 return snd_compr_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in snd_compr_ioctl_compat()
/openbmc/linux/drivers/pci/
H A Diov.c949 u16 cmd; in pci_iov_update_resource() local
961 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &cmd); in pci_iov_update_resource()
962 if ((cmd & PCI_SRIOV_CTRL_VFE) && (cmd & PCI_SRIOV_CTRL_MSE)) { in pci_iov_update_resource()
/openbmc/linux/drivers/input/touchscreen/
H A Dwdt87xx_i2c.c357 static int wdt87xx_send_command(struct i2c_client *client, int cmd, int value) in wdt87xx_send_command() argument
364 put_unaligned_le16((u16)cmd, &cmd_buf[CMD_INDEX_OFFSET]); in wdt87xx_send_command()
366 switch (cmd) { in wdt87xx_send_command()
390 dev_err(&client->dev, "Invalid command: %d\n", cmd); in wdt87xx_send_command()
/openbmc/linux/drivers/ata/
H A Dlibata-sata.c1200 int ata_sas_queuecmd(struct scsi_cmnd *cmd, struct ata_port *ap) in ata_sas_queuecmd() argument
1205 rc = __ata_scsi_queuecmd(cmd, ap->link.device); in ata_sas_queuecmd()
1207 cmd->result = (DID_BAD_TARGET << 16); in ata_sas_queuecmd()
1208 scsi_done(cmd); in ata_sas_queuecmd()
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh212 local cmd=$1; shift
214 if [[ ! -x "$(command -v "$cmd")" ]]; then
215 echo "SKIP: $cmd not installed"
546 output="$($cmd)"
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh212 local cmd=$1; shift
214 if [[ ! -x "$(command -v "$cmd")" ]]; then
215 echo "SKIP: $cmd not installed"
546 output="$($cmd)"
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh212 local cmd=$1; shift
214 if [[ ! -x "$(command -v "$cmd")" ]]; then
215 echo "SKIP: $cmd not installed"
546 output="$($cmd)"
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh212 local cmd=$1; shift
214 if [[ ! -x "$(command -v "$cmd")" ]]; then
215 echo "SKIP: $cmd not installed"
546 output="$($cmd)"
/openbmc/openbmc-test-automation/redfish/systems/eventlog/
H A Dtest_event_logging.robot324 ${cmd}= Catenate uptime; for i in {1..201}; do /tmp/tarball/bin/logging-test -c
326 BMC Execute Command ${cmd}
345 …${cmd}= Catenate uptime; for i in {1..${max_num_event_logs}}; do /tmp/tarball/bin/logging-test -c
347 BMC Execute Command ${cmd}
/openbmc/linux/drivers/spi/
H A Dspi-stm32-qspi.c366 op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, in stm32_qspi_send()
381 ccr |= FIELD_PREP(CCR_INST_MASK, op->cmd.opcode); in stm32_qspi_send()
383 stm32_qspi_get_mode(op->cmd.buswidth)); in stm32_qspi_send()

1...<<191192193194195196197198199200>>...273