/openbmc/linux/drivers/net/ethernet/rdc/ |
H A D | r6040.c | 203 u16 cmd; in r6040_phy_read() local 208 cmd = ioread16(ioaddr + MMDIO); in r6040_phy_read() 209 if (!(cmd & MDIO_READ)) in r6040_phy_read() 225 u16 cmd; in r6040_phy_write() local 232 cmd = ioread16(ioaddr + MMDIO); in r6040_phy_write() 233 if (!(cmd & MDIO_WRITE)) in r6040_phy_write() 360 u16 cmd, md_csc; in r6040_reset_mac() local 365 cmd = ioread16(ioaddr + MCR1); in r6040_reset_mac() 366 if (cmd & MAC_RST) in r6040_reset_mac()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 264 struct mmc_command cmd; in ath6kl_sdio_scat_rw() local 284 memset(&cmd, 0, sizeof(struct mmc_command)); in ath6kl_sdio_scat_rw() 304 ath6kl_sdio_set_cmd53_arg(&cmd.arg, rw, ar_sdio->func->num, in ath6kl_sdio_scat_rw() 308 cmd.opcode = SD_IO_RW_EXTENDED; in ath6kl_sdio_scat_rw() 309 cmd.flags = MMC_RSP_SPI_R5 | MMC_RSP_R5 | MMC_CMD_ADTC; in ath6kl_sdio_scat_rw() 311 mmc_req.cmd = &cmd; in ath6kl_sdio_scat_rw() 329 status = cmd.error ? cmd.error : data.error; in ath6kl_sdio_scat_rw()
|
/openbmc/linux/net/devlink/ |
H A D | health.c | 261 enum devlink_command cmd, u32 portid, in devlink_nl_health_reporter_fill() argument 268 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_health_reporter_fill() 489 enum devlink_command cmd) in devlink_recover_notify() argument 495 WARN_ON(cmd != DEVLINK_CMD_HEALTH_REPORTER_RECOVER); in devlink_recover_notify() 502 err = devlink_nl_health_reporter_fill(msg, reporter, cmd, 0, 0, 0); in devlink_recover_notify() 1140 enum devlink_command cmd, int flags) in devlink_fmsg_snd() argument 1157 &devlink_nl_family, flags | NLM_F_MULTI, cmd); in devlink_fmsg_snd() 1194 enum devlink_command cmd) in devlink_fmsg_dumpit() argument 1203 &devlink_nl_family, NLM_F_ACK | NLM_F_MULTI, cmd); in devlink_fmsg_dumpit()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 90 char cmd[128]; in netns_setup_namespaces() local 93 snprintf(cmd, sizeof(cmd), "ip netns %s %s", verb, *ns); in netns_setup_namespaces() 94 if (!ASSERT_OK(system(cmd), cmd)) in netns_setup_namespaces() 104 char cmd[128]; in netns_setup_namespaces_nofail() local 107 snprintf(cmd, sizeof(cmd), "ip netns %s %s > /dev/null 2>&1", verb, *ns); in netns_setup_namespaces_nofail() 108 system(cmd); in netns_setup_namespaces_nofail()
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-uhci.c | 306 s->cmd = 0; in uhci_state_reset() 361 VMSTATE_UINT16(cmd, UHCIState), 384 if ((val & UHCI_CMD_RS) && !(s->cmd & UHCI_CMD_RS)) { in uhci_port_write() 410 s->cmd = val; in uhci_port_write() 488 val = s->cmd; in uhci_port_read() 540 if (s->cmd & UHCI_CMD_EGSM) { in uhci_resume() 541 s->cmd |= UHCI_CMD_FGR; in uhci_resume() 790 s->cmd &= ~UHCI_CMD_RS; in uhci_handle_td() 1112 if (!(s->cmd & UHCI_CMD_RS)) { in uhci_frame_timer()
|
/openbmc/linux/net/ipv6/ |
H A D | af_inet6.c | 561 int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet6_ioctl() argument 568 switch (cmd) { in inet6_ioctl() 575 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl() 588 return sk_ioctl(sk, cmd, (void __user *)arg); in inet6_ioctl() 609 static int inet6_compat_routing_ioctl(struct sock *sk, unsigned int cmd, in inet6_compat_routing_ioctl() argument 626 return ipv6_route_ioctl(sock_net(sk), cmd, &rt); in inet6_compat_routing_ioctl() 629 int inet6_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet6_compat_ioctl() argument 634 switch (cmd) { in inet6_compat_ioctl() 637 return inet6_compat_routing_ioctl(sk, cmd, argp); in inet6_compat_ioctl()
|
H A D | tcp_ipv6.c | 601 struct tcp_md5sig cmd; in tcp_v6_parse_md5_keys() local 607 if (optlen < sizeof(cmd)) in tcp_v6_parse_md5_keys() 610 if (copy_from_sockptr(&cmd, optval, sizeof(cmd))) in tcp_v6_parse_md5_keys() 616 flags = cmd.tcpm_flags & TCP_MD5SIG_FLAG_IFINDEX; in tcp_v6_parse_md5_keys() 619 cmd.tcpm_flags & TCP_MD5SIG_FLAG_PREFIX) { in tcp_v6_parse_md5_keys() 620 prefixlen = cmd.tcpm_prefixlen; in tcp_v6_parse_md5_keys() 629 cmd.tcpm_flags & TCP_MD5SIG_FLAG_IFINDEX) { in tcp_v6_parse_md5_keys() 645 if (!cmd.tcpm_keylen) { in tcp_v6_parse_md5_keys() 654 if (cmd.tcpm_keylen > TCP_MD5SIG_MAXKEYLEN) in tcp_v6_parse_md5_keys() 660 cmd.tcpm_key, cmd.tcpm_keylen); in tcp_v6_parse_md5_keys() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 1121 if (data_len > sizeof(cmd.data)) in __bcm4378_send_calibration_chunk() 1124 memset(&cmd, 0, sizeof(cmd)); in __bcm4378_send_calibration_chunk() 1125 cmd.unk = 0x03; in __bcm4378_send_calibration_chunk() 1126 cmd.blocks_left = cpu_to_le16(blocks_left); in __bcm4378_send_calibration_chunk() 1127 memcpy(cmd.data, data, data_len); in __bcm4378_send_calibration_chunk() 1129 skb = __hci_cmd_sync(bcm4377->hdev, 0xfd97, sizeof(cmd), &cmd, in __bcm4378_send_calibration_chunk() 1245 struct bcm4378_hci_send_ptb_cmd cmd; in bcm4378_send_ptb_chunk() local 1251 memset(&cmd, 0, sizeof(cmd)); in bcm4378_send_ptb_chunk() 1252 cmd.blocks_left = cpu_to_le16(blocks_left); in bcm4378_send_ptb_chunk() 1253 memcpy(cmd.data, data, data_len); in bcm4378_send_ptb_chunk() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | Makefile | 2 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck-lock.sh | 28 …dur=`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' 2> /dev/…
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | reboot.h | 10 void (*restart)(char *cmd);
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 474 u16 cmd; in vfio_pci_core_enable() local 510 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in vfio_pci_core_enable() 512 cmd &= ~PCI_COMMAND_INTX_DISABLE; in vfio_pci_core_enable() 513 pci_write_config_word(pdev, PCI_COMMAND, cmd); in vfio_pci_core_enable() 1057 u16 cmd; in vfio_pci_ioctl_get_region_info() local 1077 cmd = vfio_pci_memory_lock_and_enable(vdev); in vfio_pci_ioctl_get_region_info() 1467 switch (cmd) { in vfio_pci_core_ioctl() 1708 u16 cmd; in vfio_pci_memory_lock_and_enable() local 1712 if (!(cmd & PCI_COMMAND_MEMORY)) in vfio_pci_memory_lock_and_enable() 1714 cmd | PCI_COMMAND_MEMORY); in vfio_pci_memory_lock_and_enable() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | scan.c | 1583 int mwifiex_cmd_802_11_scan(struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_scan() argument 1586 struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; in mwifiex_cmd_802_11_scan() 1594 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SCAN); in mwifiex_cmd_802_11_scan() 1597 cmd->size = cpu_to_le16((u16) (sizeof(scan_cmd->bss_mode) in mwifiex_cmd_802_11_scan() 2245 struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_scan_ext() argument 2253 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SCAN_EXT); in mwifiex_cmd_802_11_scan_ext() 2256 cmd->size = cpu_to_le16((u16)(sizeof(ext_scan->reserved) in mwifiex_cmd_802_11_scan_ext() 2266 struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_bg_scan_config() argument 2270 &cmd->params.bg_scan_config; in mwifiex_cmd_802_11_bg_scan_config() 2285 cmd->size = cpu_to_le16(sizeof(*bgscan_config) + S_DS_GEN); in mwifiex_cmd_802_11_bg_scan_config() [all …]
|
/openbmc/linux/drivers/net/wireless/atmel/ |
H A D | at76c50x-usb.c | 694 USB_RECIP_INTERFACE, cmd, 0, stat_buf, in at76_get_cmd_status() 730 cmd_buf->cmd = cmd; in at76_set_card_command() 737 at76_get_cmd_string(cmd), cmd); in at76_set_card_command() 773 status = at76_get_cmd_status(priv->udev, cmd); in at76_wait_completion() 783 wiphy_name(priv->hw->wiphy), cmd, status, in at76_wait_completion() 793 "completion timeout for command %d\n", cmd); in at76_wait_completion() 827 int cmd; in at76_set_radio() local 832 cmd = enable ? CMD_RADIO_ON : CMD_RADIO_OFF; in at76_set_radio() 834 ret = at76_set_card_command(priv->udev, cmd, NULL, 0); in at76_set_radio() 837 "at76_set_card_command(%d) failed: %d\n", cmd, ret); in at76_set_radio() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 530 struct ethtool_link_ksettings *cmd) in qede_get_link_ksettings() argument 532 typeof(cmd->link_modes) *link_modes = &cmd->link_modes; in qede_get_link_ksettings() 533 struct ethtool_link_settings *base = &cmd->base; in qede_get_link_ksettings() 564 const struct ethtool_link_ksettings *cmd) in qede_set_link_ksettings() argument 1231 switch (info->cmd) { in qede_get_rxnfc() 1365 switch (info->cmd) { in qede_set_rxnfc() 2048 edev->dump_info.cmd = val->flag; in qede_set_dump() 2058 switch (edev->dump_info.cmd) { in qede_set_dump() 2085 switch (edev->dump_info.cmd) { in qede_get_dump_flag() 2118 switch (edev->dump_info.cmd) { in qede_get_dump_data() [all …]
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-its.c | 835 #define its_cmd_get_command(cmd) its_cmd_mask_field(cmd, 0, 0, 8) argument 836 #define its_cmd_get_deviceid(cmd) its_cmd_mask_field(cmd, 0, 32, 32) argument 837 #define its_cmd_get_size(cmd) (its_cmd_mask_field(cmd, 1, 0, 5) + 1) argument 838 #define its_cmd_get_id(cmd) its_cmd_mask_field(cmd, 1, 0, 32) argument 839 #define its_cmd_get_physical_id(cmd) its_cmd_mask_field(cmd, 1, 32, 32) argument 840 #define its_cmd_get_collection(cmd) its_cmd_mask_field(cmd, 2, 0, 16) argument 841 #define its_cmd_get_ittaddr(cmd) (its_cmd_mask_field(cmd, 2, 8, 44) << 8) argument 842 #define its_cmd_get_target_addr(cmd) its_cmd_mask_field(cmd, 2, 16, 32) argument 843 #define its_cmd_get_validbit(cmd) its_cmd_mask_field(cmd, 2, 63, 1) argument
|
/openbmc/linux/kernel/debug/kdb/ |
H A D | Makefile | 24 $(call cmd,gen-kdb)
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_timer.h | 36 int snd_seq_oss_timer_ioctl(struct seq_oss_timer *timer, unsigned int cmd, int __user *arg);
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 299 | 62 iotests.log(p.cmd('read 0 512').rstrip(), filters=[iotests.filter_qemu_io])
|
/openbmc/linux/include/sound/ |
H A D | soc-link.h | 25 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_dynamic_config.h | 20 void (*cmd_packing)(void *buf, struct sja1105_dyn_cmd *cmd,
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc3-topology.c | 356 comp->hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_COMP_NEW; in sof_comp_alloc() 840 switch (cdata->cmd) { in sof_get_control_data() 1693 cdata->cmd = SOF_CTRL_CMD_BINARY; in sof_ipc3_control_load_bytes() 1747 cdata->cmd = SOF_CTRL_CMD_SWITCH; in sof_ipc3_control_load_volume() 1751 cdata->cmd = SOF_CTRL_CMD_VOLUME; in sof_ipc3_control_load_volume() 1775 cdata->cmd = SOF_CTRL_CMD_ENUM; in sof_ipc3_control_load_enum() 1877 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | cmd; in sof_ipc3_keyword_detect_trigger() 2020 .cmd = SOF_IPC_GLB_TPLG_MSG, in sof_ipc3_widget_free() 2032 ipc_free.hdr.cmd |= SOF_IPC_TPLG_PIPE_FREE; in sof_ipc3_widget_free() 2036 ipc_free.hdr.cmd |= SOF_IPC_TPLG_BUFFER_FREE; in sof_ipc3_widget_free() [all …]
|
/openbmc/linux/drivers/zorro/ |
H A D | Makefile | 22 $(call cmd,devlist)
|
/openbmc/u-boot/cmd/ |
H A D | console.c | 15 static int do_coninfo(cmd_tbl_t *cmd, int flag, int argc, char * const argv[]) in do_coninfo() argument
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | qemu-os.h | 44 abi_long target_to_host_fcntl_cmd(int cmd);
|