/openbmc/qemu/hw/block/ |
H A D | m25p80.c | 587 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 D | ipmi_lanp.c | 142 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 D | fealnx.c | 432 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 D | ibmveth.c | 736 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 D | rvu_npc_hash.c | 786 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 D | slicoss.c | 759 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 D | qca8k-8xxx.c | 169 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 D | smc91c92_cs.c | 273 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 D | gtp.c | 1454 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 D | sdram_rk3188.c | 310 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 D | trusted_tpm1.c | 357 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 D | realtek_cr.c | 202 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 D | netlink.c | 273 .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 D | surface_dtx.c | 331 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 D | ehci-hcd.c | 717 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 D | compress_offload.c | 966 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 D | iov.c | 949 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 D | wdt87xx_i2c.c | 357 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 D | libata-sata.c | 1200 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 D | lib.sh | 212 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 D | lib.sh | 212 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 D | net_forwarding_lib.sh | 212 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 D | net_forwarding_lib.sh | 212 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 D | test_event_logging.robot | 324 ${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 D | spi-stm32-qspi.c | 366 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()
|