/openbmc/linux/tools/perf/tests/ |
H A D | code-reading.c | 182 char cmd[PATH_MAX * 2]; in read_via_objdump() local 188 ret = snprintf(cmd, sizeof(cmd), fmt, "objdump", addr, addr + len, in read_via_objdump() 190 if (ret <= 0 || (size_t)ret >= sizeof(cmd)) in read_via_objdump() 193 pr_debug("Objdump command is: %s\n", cmd); in read_via_objdump() 196 strcat(cmd, " 2>/dev/null"); in read_via_objdump() 198 f = popen(cmd, "r"); in read_via_objdump()
|
/openbmc/linux/net/bridge/ |
H A D | br_device.c | 268 struct ethtool_link_ksettings *cmd) in br_get_link_ksettings() argument 273 cmd->base.duplex = DUPLEX_UNKNOWN; in br_get_link_ksettings() 274 cmd->base.port = PORT_OTHER; in br_get_link_ksettings() 275 cmd->base.speed = SPEED_UNKNOWN; in br_get_link_ksettings() 290 if (cmd->base.speed == (__u32)SPEED_UNKNOWN || in br_get_link_ksettings() 291 cmd->base.speed < ecmd.base.speed) in br_get_link_ksettings() 292 cmd->base.speed = ecmd.base.speed; in br_get_link_ksettings()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_chassis.c | 56 req.msg.cmd = 0x1; in ipmi_chassis_power_status() 94 req.msg.cmd = 0x2; in ipmi_chassis_power_control() 136 req.msg.cmd = 0x4; in ipmi_chassis_identify() 206 req.msg.cmd = 0xf; in ipmi_chassis_poh() 249 req.msg.cmd = 0x7; in ipmi_chassis_restart_cause() 310 req.msg.cmd = 0x1; in ipmi_chassis_status() 393 req.msg.cmd = 0x4; in ipmi_chassis_selftest() 466 req.msg.cmd = 0x8; in ipmi_chassis_set_bootparam() 512 req.msg.cmd = 0x9; in ipmi_chassis_get_bootparam() 848 req.msg.cmd = 0x9; in ipmi_chassis_get_bootvalid() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ioam6.c | 206 u8 cmd) in __ioam6_genl_dumpns_element() argument 213 hdr = genlmsg_put(skb, portid, seq, &ioam6_genl_family, flags, cmd); in __ioam6_genl_dumpns_element() 401 struct sk_buff *skb, u8 cmd) in __ioam6_genl_dumpsc_element() argument 406 hdr = genlmsg_put(skb, portid, seq, &ioam6_genl_family, flags, cmd); in __ioam6_genl_dumpsc_element() 558 .cmd = IOAM6_CMD_ADD_NAMESPACE, 566 .cmd = IOAM6_CMD_DEL_NAMESPACE, 574 .cmd = IOAM6_CMD_DUMP_NAMESPACES, 582 .cmd = IOAM6_CMD_ADD_SCHEMA, 590 .cmd = IOAM6_CMD_DEL_SCHEMA, 598 .cmd = IOAM6_CMD_DUMP_SCHEMAS, [all …]
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 608 struct ethtool_rxnfc *cmd) in ena_get_rss_hash() argument 614 cmd->data = 0; in ena_get_rss_hash() 616 switch (cmd->flow_type) { in ena_get_rss_hash() 653 cmd->data = ena_flow_hash_to_flow_type(hash_fields); in ena_get_rss_hash() 659 struct ethtool_rxnfc *cmd) in ena_set_rss_hash() argument 664 switch (cmd->flow_type) { in ena_set_rss_hash() 697 hash_fields = ena_flow_data_to_flow_hash(cmd->data); in ena_set_rss_hash() 707 switch (info->cmd) { in ena_set_rxnfc() 715 "Command parameter %d is not supported\n", info->cmd); in ena_set_rxnfc() 728 switch (info->cmd) { in ena_get_rxnfc() [all …]
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | unit-test.py | 228 def check_call_cmd(*cmd, **kwargs): argument 237 printline(os.getcwd(), ">", " ".join(cmd)) 238 check_call(cmd, **kwargs) 276 cmd = ["make", "-n", target] 278 check_call(cmd, stdout=devnull, stderr=devnull) 498 cmd = make_parallel + ["check-valgrind"] 499 check_call_cmd(*cmd) 520 cmd = make_parallel + ["check-code-coverage"] 521 check_call_cmd(*cmd) 730 cmd = make_parallel + ["check"] [all …]
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvbdev.c | 176 unsigned int cmd, unsigned long arg) in dvb_generic_ioctl() argument 186 return dvb_usercopy(file, cmd, arg, dvbdev->kernel_ioctl); in dvb_generic_ioctl() 961 unsigned int cmd, unsigned long arg, in dvb_usercopy() argument 963 unsigned int cmd, void *arg)) in dvb_usercopy() 971 switch (_IOC_DIR(cmd)) { in dvb_usercopy() 982 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) { in dvb_usercopy() 986 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL); in dvb_usercopy() 993 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) in dvb_usercopy() 999 err = func(file, cmd, parg); in dvb_usercopy() 1007 switch (_IOC_DIR(cmd)) { in dvb_usercopy() [all …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptctl.c | 656 } else if (cmd == MPTTARGETINFO) { in __mptctl_ioctl() 658 } else if (cmd == MPTTEST) { in __mptctl_ioctl() 660 } else if (cmd == MPTEVENTQUERY) { in __mptctl_ioctl() 662 } else if (cmd == MPTEVENTENABLE) { in __mptctl_ioctl() 664 } else if (cmd == MPTEVENTREPORT) { in __mptctl_ioctl() 666 } else if (cmd == MPTFWREPLACE) { in __mptctl_ioctl() 676 if (cmd == MPTFWDOWNLOAD) in __mptctl_ioctl() 678 else if (cmd == MPTCOMMAND) in __mptctl_ioctl() 680 else if (cmd == MPTHARDRESET) in __mptctl_ioctl() 684 else if (cmd == HP_GETTARGETINFO) in __mptctl_ioctl() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libahci.c | 793 u32 cmd; in ahci_power_up() local 799 cmd |= PORT_CMD_SPIN_UP; in ahci_power_up() 847 cmd |= PORT_CMD_ALPE; in ahci_set_lpm() 849 cmd |= PORT_CMD_ASP; in ahci_set_lpm() 851 cmd &= ~PORT_CMD_ASP; in ahci_set_lpm() 885 u32 cmd, scontrol; in ahci_power_down() local 897 cmd &= ~PORT_CMD_SPIN_UP; in ahci_power_down() 2400 u32 cmd; in ahci_pmp_attach() local 2403 cmd |= PORT_CMD_PMP; in ahci_pmp_attach() 2426 u32 cmd; in ahci_pmp_detach() local [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | datapath.c | 881 flags, cmd); in ovs_flow_cmd_fill_info() 958 cmd, ufid_flags); in ovs_flow_cmd_build_info() 1511 { .cmd = OVS_FLOW_CMD_NEW, 1516 { .cmd = OVS_FLOW_CMD_DEL, 1521 { .cmd = OVS_FLOW_CMD_GET, 1575 flags, cmd); in ovs_dp_cmd_fill_info() 2060 { .cmd = OVS_DP_CMD_NEW, 2065 { .cmd = OVS_DP_CMD_DEL, 2070 { .cmd = OVS_DP_CMD_GET, 2076 { .cmd = OVS_DP_CMD_SET, [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_ctl.c | 93 static long sclp_ctl_ioctl(struct file *filp, unsigned int cmd, in sclp_ctl_ioctl() argument 102 switch (cmd) { in sclp_ctl_ioctl()
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-milbeaut.txt | 16 - fujitsu,cmd-dat-delay-select: boolean property indicating that this host 29 fujitsu,cmd-dat-delay-select;
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-mapphone-mdm6600.txt | 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 22 motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | fpmodule.c | 48 static int nwfpe_notify(struct notifier_block *self, unsigned long cmd, void *v) in nwfpe_notify() argument 52 if (cmd == THREAD_NOTIFY_FLUSH) in nwfpe_notify()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
H A D | 0001-Do-not-emit-useless-rpath.patch | 11 do_package_qa: QA Issue: trace-cmd: /usr/bin/trace-cmd contains probably-redundant RPATH /usr/lib […
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-trace.c | 90 int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd) in hda_dsp_trace_trigger() argument 94 return hda_dsp_stream_trigger(sdev, hda->dtrace_stream, cmd); in hda_dsp_trace_trigger()
|
/openbmc/linux/include/linux/ |
H A D | pid_namespace.h | 78 extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd); 111 static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) in reboot_pid_ns() argument
|
/openbmc/linux/arch/arm/mach-socfpga/ |
H A D | socfpga.c | 68 static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd) in socfpga_cyclone5_restart() argument 81 static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd) in socfpga_arria10_restart() argument
|
/openbmc/linux/drivers/md/ |
H A D | dm-ioctl.c | 1862 int cmd; in lookup_ioctl() member 1893 cmd = array_index_nospec(cmd, ARRAY_SIZE(_ioctls)); in lookup_ioctl() 1895 return _ioctls[cmd].fn; in lookup_ioctl() 1921 cmd); in check_version() 2024 if (cmd == DM_REMOVE_ALL_CMD || in validate_params() 2026 cmd == DM_LIST_VERSIONS_CMD) in validate_params() 2029 if (cmd == DM_DEV_CREATE_CMD) { in validate_params() 2051 unsigned int cmd; in ctl_ioctl() local 2064 cmd = _IOC_NR(command); in ctl_ioctl() 2077 if (cmd == DM_VERSION_CMD) in ctl_ioctl() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_rx.c | 571 list_del(&cmd->list); in ath12k_dp_rx_reo_cmd_list_cleanup() 574 kfree(cmd->data.vaddr); in ath12k_dp_rx_reo_cmd_list_cleanup() 575 kfree(cmd); in ath12k_dp_rx_reo_cmd_list_cleanup() 673 memset(&cmd, 0, sizeof(cmd)); in ath12k_dp_reo_cache_flush() 805 cmd.upd0 = HAL_REO_CMD_UPD0_VLD; in ath12k_dp_rx_peer_tid_delete() 912 cmd.ba_window_size = ba_win_sz; in ath12k_peer_rx_tid_reo_update() 1142 cmd.pn_size = 48; in ath12k_dp_rx_peer_pn_replay_config() 1167 &cmd, NULL); in ath12k_dp_rx_peer_pn_replay_config() 3907 list_del(&cmd->list); in ath12k_dp_rx_process_reo_status() 3914 cmd->handler(dp, (void *)&cmd->data, in ath12k_dp_rx_process_reo_status() [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | core.c | 127 struct nvme_command *cmd); 318 nr->cmd->common.opcode, in nvme_log_error() 332 nr->cmd->common.opcode, in nvme_log_error() 670 memcpy(nvme_req(req)->cmd, cmd, sizeof(*cmd)); in nvme_init_request() 948 struct nvme_command *cmd = nvme_req(req)->cmd; in nvme_setup_cmd() local 960 nvme_setup_flush(ns, cmd); in nvme_setup_cmd() 1039 nvme_init_request(req, cmd); in __nvme_submit_sync_cmd() 1132 switch (cmd->common.opcode) { in nvme_passthru_end() 2118 struct nvme_command cmd = { }; in nvme_sec_submit() local 2124 cmd.common.nsid = 0; in nvme_sec_submit() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | join.c | 376 struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_associate() argument 394 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_ASSOCIATE); in mwifiex_cmd_802_11_associate() 829 struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_ad_hoc_start() argument 835 &cmd->params.adhoc_start; in mwifiex_cmd_802_11_ad_hoc_start() 1077 cmd->size = in mwifiex_cmd_802_11_ad_hoc_start() 1109 struct host_cmd_ds_command *cmd, in mwifiex_cmd_802_11_ad_hoc_join() argument 1114 &cmd->params.adhoc_join; in mwifiex_cmd_802_11_ad_hoc_join() 1142 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_AD_HOC_JOIN); in mwifiex_cmd_802_11_ad_hoc_join() 1238 cmd->size = cpu_to_le16 in mwifiex_cmd_802_11_ad_hoc_join() 1265 u16 cmd = le16_to_cpu(resp->command); in mwifiex_ret_802_11_ad_hoc() local [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | gp2ap020a00f.c | 495 enum gp2ap020a00f_cmd cmd) in gp2ap020a00f_exec_cmd() argument 499 switch (cmd) { in gp2ap020a00f_exec_cmd() 1167 enum gp2ap020a00f_cmd cmd; in gp2ap020a00f_write_event_config() local 1180 err = gp2ap020a00f_exec_cmd(data, cmd); in gp2ap020a00f_write_event_config() 1184 err = gp2ap020a00f_exec_cmd(data, cmd); in gp2ap020a00f_write_event_config() 1236 enum gp2ap020a00f_cmd cmd; in gp2ap020a00f_read_channel() local 1241 cmd = GP2AP020A00F_CMD_READ_RAW_CLEAR; in gp2ap020a00f_read_channel() 1244 cmd = GP2AP020A00F_CMD_READ_RAW_IR; in gp2ap020a00f_read_channel() 1247 cmd = GP2AP020A00F_CMD_READ_RAW_PROXIMITY; in gp2ap020a00f_read_channel() 1253 err = gp2ap020a00f_exec_cmd(data, cmd); in gp2ap020a00f_read_channel() [all …]
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl-afu-main.c | 427 unsigned int cmd, unsigned long arg) in port_hdr_ioctl() argument 431 switch (cmd) { in port_hdr_ioctl() 439 dev_dbg(&pdev->dev, "%x cmd not handled", cmd); in port_hdr_ioctl() 548 unsigned int cmd, unsigned long arg) in port_uint_ioctl() argument 550 switch (cmd) { in port_uint_ioctl() 556 dev_dbg(&pdev->dev, "%x cmd not handled", cmd); in port_uint_ioctl() 757 static long afu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in afu_ioctl() argument 764 dev_dbg(&pdev->dev, "%s cmd 0x%x\n", __func__, cmd); in afu_ioctl() 768 switch (cmd) { in afu_ioctl() 790 ret = f->ops->ioctl(pdev, f, cmd, arg); in afu_ioctl()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 39 struct iwl_host_cmd cmd = { in iwl_send_scan_abort() local 53 ret = iwl_dvm_send_cmd(priv, &cmd); in iwl_send_scan_abort() 57 status = (void *)cmd.resp_pkt->data; in iwl_send_scan_abort() 70 iwl_free_resp(&cmd); in iwl_send_scan_abort() 611 struct iwl_host_cmd cmd = { in iwlagn_request_scan() local 888 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan() 890 cmd.data[0] = scan; in iwlagn_request_scan() 891 cmd.dataflags[0] = IWL_HCMD_DFL_NOCOPY; in iwlagn_request_scan() 892 scan->len = cpu_to_le16(cmd.len[0]); in iwlagn_request_scan() 903 ret = iwl_dvm_send_cmd(priv, &cmd); in iwlagn_request_scan()
|