/openbmc/linux/drivers/cdx/controller/ |
H A D | cdx_controller.c | 18 static unsigned int cdx_mcdi_rpc_timeout(struct cdx_mcdi *cdx, unsigned int cmd) in cdx_mcdi_rpc_timeout() argument
|
/openbmc/linux/arch/powerpc/platforms/4xx/ |
H A D | soc.c | 194 void ppc4xx_reset_system(char *cmd) in ppc4xx_reset_system() argument
|
/openbmc/linux/drivers/iio/accel/ |
H A D | cros_ec_accel_legacy.c | 54 st->param.cmd = MOTIONSENSE_CMD_DUMP; in cros_ec_accel_legacy_read_cmd()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | virtio.h | 276 int virtio_run(VDev *vdev, int vqid, VirtioCmd *cmd);
|
/openbmc/linux/tools/lib/thermal/ |
H A D | Makefile | 125 .*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC) \
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt73usb.c | 265 if (crypto->cmd == SET_KEY) { in rt73usb_config_shared_key() 344 if (crypto->cmd == SET_KEY) in rt73usb_config_shared_key() 346 else if (crypto->cmd == DISABLE_KEY) in rt73usb_config_shared_key() 362 if (crypto->cmd == SET_KEY) { in rt73usb_config_pairwise_key() 438 if (crypto->cmd == SET_KEY) in rt73usb_config_pairwise_key() 440 else if (crypto->cmd == DISABLE_KEY) in rt73usb_config_pairwise_key() 447 if (crypto->cmd == SET_KEY) in rt73usb_config_pairwise_key() 449 else if (crypto->cmd == DISABLE_KEY) in rt73usb_config_pairwise_key()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | commsup.c | 1668 struct aac_pause *cmd; in aac_reset_adapter() local 1673 cmd = (struct aac_pause *) fib_data(fibctx); in aac_reset_adapter() 1675 cmd->command = cpu_to_le32(VM_ContainerConfig); in aac_reset_adapter() 1676 cmd->type = cpu_to_le32(CT_PAUSE_IO); in aac_reset_adapter() 1677 cmd->timeout = cpu_to_le32(1); in aac_reset_adapter() 1678 cmd->min = cpu_to_le32(1); in aac_reset_adapter() 1679 cmd->noRescan = cpu_to_le32(1); in aac_reset_adapter() 1680 cmd->count = cpu_to_le32(0); in aac_reset_adapter()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 1723 SwI2cCmd_t *cmd = &req->SwI2cCmds[c]; in smu_v13_0_6_i2c_xfer() local 1727 cmd->CmdConfig |= CMDCONFIG_READWRITE_MASK; in smu_v13_0_6_i2c_xfer() 1728 cmd->ReadWriteData = msg[i].buf[j]; in smu_v13_0_6_i2c_xfer() 1735 cmd->CmdConfig |= CMDCONFIG_RESTART_MASK; in smu_v13_0_6_i2c_xfer() 1747 cmd->CmdConfig &= ~CMDCONFIG_RESTART_MASK; in smu_v13_0_6_i2c_xfer() 1748 cmd->CmdConfig |= CMDCONFIG_STOP_MASK; in smu_v13_0_6_i2c_xfer() 1763 SwI2cCmd_t *cmd = &res->SwI2cCmds[c]; in smu_v13_0_6_i2c_xfer() local 1765 msg[i].buf[j] = cmd->ReadWriteData; in smu_v13_0_6_i2c_xfer()
|
/openbmc/qemu/hw/ssi/ |
H A D | aspeed_smc.c | 385 int cmd = (s->regs[s->r_ctrl0 + fl->cs] >> CTRL_CMD_SHIFT) & CTRL_CMD_MASK; in aspeed_smc_flash_cmd() local 394 cmd = SPI_OP_READ; in aspeed_smc_flash_cmd() 397 if (!cmd) { in aspeed_smc_flash_cmd() 402 return cmd; in aspeed_smc_flash_cmd() 472 uint8_t cmd = aspeed_smc_flash_cmd(fl); in aspeed_smc_flash_setup() local 478 ssi_transfer(s->spi, cmd); in aspeed_smc_flash_setup() 590 uint8_t cmd = data & 0xff; in aspeed_smc_do_snoop() local 591 int ndummies = aspeed_smc_num_dummies(cmd); in aspeed_smc_do_snoop()
|
/openbmc/qemu/target/i386/ |
H A D | sev.c | 245 sev_ioctl(int fd, int cmd, void *data, int *error) in sev_ioctl() argument 252 input.id = cmd; in sev_ioctl() 266 sev_platform_ioctl(int fd, int cmd, void *data, int *error) in sev_platform_ioctl() argument 271 arg.cmd = cmd; in sev_platform_ioctl() 1438 int ret, fw_error, cmd; in sev_common_kvm_init() local 1518 cmd = sev_es_enabled() ? KVM_SEV_ES_INIT : KVM_SEV_INIT; in sev_common_kvm_init() 1520 ret = sev_ioctl(sev_common->sev_fd, cmd, NULL, &fw_error); in sev_common_kvm_init()
|
/openbmc/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 4339 cmd->base.port = PORT_MII; in nv_get_link_ksettings() 4365 cmd->base.duplex = DUPLEX_HALF; in nv_get_link_ksettings() 4367 cmd->base.duplex = DUPLEX_FULL; in nv_get_link_ksettings() 4370 cmd->base.duplex = DUPLEX_UNKNOWN; in nv_get_link_ksettings() 4372 cmd->base.speed = speed; in nv_get_link_ksettings() 4373 cmd->base.autoneg = np->autoneg; in nv_get_link_ksettings() 4400 cmd->base.phy_address = np->phyaddr; in nv_get_link_ksettings() 4416 u32 speed = cmd->base.speed; in nv_set_link_ksettings() 4420 cmd->link_modes.advertising); in nv_set_link_ksettings() 4422 if (cmd->base.port != PORT_MII) in nv_set_link_ksettings() [all …]
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.c | 1621 mbox->cmd = MBOXCMD_PASSTHRU64; in DEF_SCSI_QCMD() 1661 mbox->cmd = (scp->cmnd[0] & 0x02) ? MBOXCMD_LWRITE64: in DEF_SCSI_QCMD() 1824 mbox->cmd = MBOXCMD_EXTPTHRU; in DEF_SCSI_QCMD() 1833 mbox->cmd = MBOXCMD_PASSTHRU64; in DEF_SCSI_QCMD() 2296 if (mbox->cmd == MBOXCMD_PASSTHRU || in megaraid_mbox_dpc() 2297 mbox->cmd == MBOXCMD_PASSTHRU64) { in megaraid_mbox_dpc() 2305 if (mbox->cmd == MBOXCMD_EXTPTHRU) { in megaraid_mbox_dpc() 3270 while (!mbox->numstatus && mbox->cmd == 0xFF) { in megaraid_mbox_fire_sync_cmd() 3320 mbox->cmd, scb->sno)); in megaraid_mbox_display_scb()
|
/openbmc/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.c | 876 unsigned int cmd, unsigned long arg) in matroxfb_ioctl() argument 887 switch (cmd) { in matroxfb_ioctl() 1742 u_int32_t cmd; in initMatrox2() local 1746 pci_read_config_dword(minfo->pcidev, PCI_COMMAND, &cmd); in initMatrox2() 1750 cmd &= ~PCI_COMMAND_VGA_PALETTE; in initMatrox2() 1758 pci_write_config_dword(minfo->pcidev, PCI_COMMAND, cmd); in initMatrox2() 2045 u_int32_t cmd; in matroxfb_probe() local 2068 pci_read_config_dword(pdev, PCI_COMMAND, &cmd); in matroxfb_probe() 2087 if (cmd & PCI_COMMAND_MEMORY) { in matroxfb_probe()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1382 int nfp_net_sched_mbox_amsg_work(struct nfp_net *nn, u32 cmd, const void *data, size_t len, in nfp_net_sched_mbox_amsg_work() argument 1392 entry->cmd = cmd; in nfp_net_sched_mbox_amsg_work() 1420 nn_err(nn, "Config cmd %d to HW failed %d.\n", entry->cmd, err); in nfp_net_mbox_amsg_work() 1441 return nfp_net_mbox_reconfig_and_unlock(nn, entry->cmd); in nfp_net_mc_cfg() 1720 const u32 cmd = NFP_NET_CFG_MBOX_CMD_CTAG_FILTER_ADD; in nfp_net_vlan_rx_add_vid() local 1738 return nfp_net_mbox_reconfig_and_unlock(nn, cmd); in nfp_net_vlan_rx_add_vid() 1744 const u32 cmd = NFP_NET_CFG_MBOX_CMD_CTAG_FILTER_KILL; in nfp_net_vlan_rx_kill_vid() local 1762 return nfp_net_mbox_reconfig_and_unlock(nn, cmd); in nfp_net_vlan_rx_kill_vid()
|
/openbmc/linux/drivers/net/team/ |
H A D | team.c | 2081 struct ethtool_link_ksettings *cmd) in team_ethtool_get_link_ksettings() argument 2087 cmd->base.duplex = DUPLEX_UNKNOWN; in team_ethtool_get_link_ksettings() 2088 cmd->base.port = PORT_OTHER; in team_ethtool_get_link_ksettings() 2095 if (cmd->base.duplex == DUPLEX_UNKNOWN && in team_ethtool_get_link_ksettings() 2097 cmd->base.duplex = port->state.duplex; in team_ethtool_get_link_ksettings() 2102 cmd->base.speed = speed ? : SPEED_UNKNOWN; in team_ethtool_get_link_ksettings() 2827 .cmd = TEAM_CMD_NOOP, 2832 .cmd = TEAM_CMD_OPTIONS_SET, 2838 .cmd = TEAM_CMD_OPTIONS_GET, 2844 .cmd = TEAM_CMD_PORT_LIST_GET,
|
/openbmc/qemu/hw/pci/ |
H A D | pci.c | 1371 uint16_t cmd; in pci_update_vga() local 1377 cmd = pci_get_word(pci_dev->config + PCI_COMMAND); in pci_update_vga() 1380 cmd & PCI_COMMAND_MEMORY); in pci_update_vga() 1382 cmd & PCI_COMMAND_IO); in pci_update_vga() 1384 cmd & PCI_COMMAND_IO); in pci_update_vga() 1474 uint16_t cmd = pci_get_word(d->config + PCI_COMMAND); in pci_bar_address() local 1479 if (!(cmd & PCI_COMMAND_IO)) { in pci_bar_address() 1494 if (!(cmd & PCI_COMMAND_MEMORY)) { in pci_bar_address() 2817 uint16_t cmd = pci_get_word(dev->config + PCI_COMMAND); in pci_dev_get_w64() local 2820 if (!(cmd & PCI_COMMAND_MEMORY)) { in pci_dev_get_w64()
|
/openbmc/linux/fs/smb/server/ |
H A D | smb2pdu.c | 532 if (cmd == SMB2_IOCTL_HE || cmd == SMB2_QUERY_DIRECTORY_HE) in smb2_allocate_rsp_buf() 580 if (cmd == SMB2_ECHO_HE || cmd == SMB2_NEGOTIATE_HE || in smb2_check_user_session() 7111 int cmd = -EINVAL; in smb2_set_flock_flags() local 7117 cmd = F_SETLKW; in smb2_set_flock_flags() 7123 cmd = F_SETLKW; in smb2_set_flock_flags() 7130 cmd = F_SETLK; in smb2_set_flock_flags() 7136 cmd = F_SETLK; in smb2_set_flock_flags() 7142 cmd = F_SETLK; in smb2_set_flock_flags() 7146 return cmd; in smb2_set_flock_flags() 7159 lock->cmd = cmd; in smb2_lock_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c59x.c | 777 static int vortex_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 1488 issue_and_wait(struct net_device *dev, int cmd) in issue_and_wait() argument 1494 iowrite16(cmd, ioaddr + EL3_CMD); in issue_and_wait() 1505 dev->name, cmd, i * 10); in issue_and_wait() 1511 dev->name, cmd, ioread16(ioaddr + EL3_STATUS)); in issue_and_wait() 2889 struct ethtool_link_ksettings *cmd) in vortex_get_link_ksettings() argument 2893 mii_ethtool_get_link_ksettings(&vp->mii, cmd); in vortex_get_link_ksettings() 2899 const struct ethtool_link_ksettings *cmd) in vortex_set_link_ksettings() argument 2903 return mii_ethtool_set_link_ksettings(&vp->mii, cmd); in vortex_set_link_ksettings() 3029 static int vortex_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in vortex_ioctl() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 255 q_params->cmd = BNX2X_Q_CMD_INIT; in bnx2x_vf_queue_create() 262 q_params->cmd = BNX2X_Q_CMD_SETUP; in bnx2x_vf_queue_create() 298 q_params.cmd = cmds[i]; in bnx2x_vf_queue_destroy() 355 ramrod.user_req.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_vf_vlan_mac_clear() 406 ramrod.user_req.cmd = filter->add ? BNX2X_VLAN_MAC_ADD : in bnx2x_vf_mac_vlan_config() 524 qstate.cmd = BNX2X_Q_CMD_TERMINATE; in bnx2x_vf_queue_flr() 2257 qstate.cmd = BNX2X_Q_CMD_UPDATE_TPA; in bnx2x_vf_tpa_update() 2374 q_params.cmd = BNX2X_Q_CMD_UPDATE; in bnx2x_set_pf_tx_switching() 2795 ramrod_param.user_req.cmd = add ? BNX2X_VLAN_MAC_ADD in bnx2x_set_vf_vlan_filter() 2902 q_params.cmd = BNX2X_Q_CMD_UPDATE; in bnx2x_set_vf_vlan() [all …]
|
/openbmc/linux/sound/usb/ |
H A D | mixer_scarlett2.c | 1232 __le32 cmd; member 1242 u32 cmd, u16 req_size) in scarlett2_fill_request_header() argument 1247 req->cmd = cpu_to_le32(cmd); in scarlett2_fill_request_header() 1274 struct usb_mixer_interface *mixer, u32 cmd, in scarlett2_usb() argument 1300 scarlett2_fill_request_header(private, req, cmd, req_size); in scarlett2_usb() 1312 private->series_name, cmd, err); in scarlett2_usb() 1329 private->series_name, cmd, err, resp_buf_size); in scarlett2_usb() 1337 if (resp->cmd != req->cmd || in scarlett2_usb() 1349 le32_to_cpu(req->cmd), le32_to_cpu(resp->cmd), in scarlett2_usb()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.c | 1165 u32 cmd, beacon0_valid, beacon1_valid; in handle_irq_beacon() local 1175 cmd = b43legacy_read32(dev, B43legacy_MMIO_MACCMD); in handle_irq_beacon() 1192 cmd = b43legacy_read32(dev, B43legacy_MMIO_MACCMD); in handle_irq_beacon() 1193 cmd |= B43legacy_MACCMD_BEACON0_VALID; in handle_irq_beacon() 1194 b43legacy_write32(dev, B43legacy_MMIO_MACCMD, cmd); in handle_irq_beacon() 1198 cmd = b43legacy_read32(dev, B43legacy_MMIO_MACCMD); in handle_irq_beacon() 1199 cmd |= B43legacy_MACCMD_BEACON0_VALID; in handle_irq_beacon() 1200 b43legacy_write32(dev, B43legacy_MMIO_MACCMD, cmd); in handle_irq_beacon() 1203 cmd = b43legacy_read32(dev, B43legacy_MMIO_MACCMD); in handle_irq_beacon() 1204 cmd |= B43legacy_MACCMD_BEACON1_VALID; in handle_irq_beacon() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 1347 u32 *cs, cmd; in __store_reg_to_mem() local 1351 cmd++; in __store_reg_to_mem() 1357 *cs++ = cmd; in __store_reg_to_mem() 1947 u32 cmd; in save_restore_register() local 1951 cmd |= MI_SRM_LRM_GLOBAL_GTT; in save_restore_register() 1953 cmd++; in save_restore_register() 1956 *cs++ = cmd; in save_restore_register() 3712 unsigned int cmd, in i915_perf_ioctl_locked() argument 3715 switch (cmd) { in i915_perf_ioctl_locked() 3741 unsigned int cmd, in i915_perf_ioctl() argument [all …]
|
/openbmc/u-boot/board/buffalo/lsxl/ |
H A D | kwbimage-lschl.cfg | 38 # bit4: 0, addr/cmd in same cycle 40 # bit6: 0, use recommended falling edge of clk for addr/cmd
|
H A D | kwbimage-lsxhl.cfg | 38 # bit4: 1, T2 mode, addr/cmd are driven for two cycles 40 # bit6: 0, use recommended falling edge of clk for addr/cmd
|
/openbmc/linux/drivers/net/wan/ |
H A D | pc300too.c | 178 void __user *data, int cmd) in pc300_siocdevprivate() argument 181 if (cmd == SIOCDEVPRIVATE) { in pc300_siocdevprivate()
|