/openbmc/linux/drivers/mfd/ |
H A D | wl1273-core.c | 38 static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) in wl1273_fm_write_cmd() argument 44 r = i2c_smbus_write_i2c_block_data(client, cmd, sizeof(buf), buf); in wl1273_fm_write_cmd() 46 dev_err(&client->dev, "%s: Cmd: %d fails.\n", __func__, cmd); in wl1273_fm_write_cmd()
|
/openbmc/linux/drivers/net/usb/ |
H A D | asix.h | 201 int __must_check asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, 204 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, 207 void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value,
|
/openbmc/linux/drivers/ata/ |
H A D | pata_hpt3x3.c | 165 u16 cmd; in hpt3x3_init_chipset() local 169 pci_read_config_word(dev, PCI_COMMAND, &cmd); in hpt3x3_init_chipset() 170 if (cmd & PCI_COMMAND_MEMORY) in hpt3x3_init_chipset()
|
/openbmc/linux/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 66 static void prepare_args(int cmd, in prepare_args() argument 73 arg->func = cmd; in prepare_args() 78 switch (cmd) { in prepare_args()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | ili9486.c | 42 static int waveshare_command(struct mipi_dbi *mipi, u8 *cmd, u8 *par, in waveshare_command() argument 61 buf[0] = cpu_to_be16(*cmd); in waveshare_command() 81 if (*cmd == MIPI_DCS_WRITE_MEMORY_START && !mipi->swap_bytes) in waveshare_command()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 636 u8 cmd; in qlcnic_prune_lb_filters() local 648 cmd); in qlcnic_prune_lb_filters() 680 u8 cmd; in qlcnic_delete_lb_filters() local 690 cmd); in qlcnic_delete_lb_filters() 936 __be32 ip, int cmd) in qlcnic_82xx_config_ipaddr() argument 949 req.words[0] = cpu_to_le64(cmd); in qlcnic_82xx_config_ipaddr() 1562 struct qlcnic_cmd_args cmd; in qlcnic_82xx_get_beacon_state() local 1567 err = qlcnic_alloc_mbx_args(&cmd, adapter, in qlcnic_82xx_get_beacon_state() 1570 err = qlcnic_issue_cmd(adapter, &cmd); in qlcnic_82xx_get_beacon_state() 1576 beacon_state = cmd.rsp.arg[1]; in qlcnic_82xx_get_beacon_state() [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mux_codec.c | 84 cmdh->command_type = cpu_to_le32(cmd); in ipc_mux_acb_add_cmd() 87 acb->cmd = cmd; in ipc_mux_acb_add_cmd() 102 u32 cmd, struct mux_acb *acb, in ipc_mux_lite_add_cmd() argument 108 cmdh->command_type = cpu_to_le32(cmd); in ipc_mux_lite_add_cmd() 111 acb->cmd = cmd; in ipc_mux_lite_add_cmd() 338 u32 cmd = MUX_LITE_CMD_LINK_STATUS_REPORT_RESP; in ipc_mux_dl_cmd_decode() local 349 cmd = MUX_LITE_CMD_FLOW_CTL_ACK; in ipc_mux_dl_cmd_decode() 354 if (ipc_mux_dl_acb_send_cmds(ipc_mux, cmd, cmdh->if_id, in ipc_mux_dl_cmd_decode() 495 u32 cmd = link_st; in ipc_mux_dl_acbcmd_decode() local 507 cmd = fctl_ack; in ipc_mux_dl_acbcmd_decode() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 1132 if (cmd->siga_mode) in nfp6000_explicit_do() 1133 sigmask |= 1 << cmd->siga; in nfp6000_explicit_do() 1134 if (cmd->sigb_mode) in nfp6000_explicit_do() 1135 sigmask |= 1 << cmd->sigb; in nfp6000_explicit_do() 1137 signal_master = cmd->signal_master; in nfp6000_explicit_do() 1141 signal_ref = cmd->signal_ref; in nfp6000_explicit_do() 1146 data_master = cmd->data_master; in nfp6000_explicit_do() 1150 data_ref = cmd->data_ref; in nfp6000_explicit_do() 1157 NFP_CPP_ID_TOKEN_of(cmd->cpp_id)) | in nfp6000_explicit_do() 1165 NFP_CPP_ID_TARGET_of(cmd->cpp_id)) | in nfp6000_explicit_do() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H A D | hix5hd2_gmac.c | 208 __le32 cmd; member 496 desc->cmd = cpu_to_le32(DESC_VLD_FREE | in hix5hd2_rx_refill() 535 len = (le32_to_cpu(desc->cmd) >> DESC_DATA_LEN_OFF) & in hix5hd2_rx() 685 u32 cmd = 0; in hix5hd2_get_desc_cmd() local 689 cmd |= DESC_SG; in hix5hd2_get_desc_cmd() 692 cmd |= DESC_FL_FULL | in hix5hd2_get_desc_cmd() 697 cmd |= DESC_VLD_BUSY; in hix5hd2_get_desc_cmd() 699 return cmd; in hix5hd2_get_desc_cmd() 741 u32 cmd; in hix5hd2_net_xmit() local 755 cmd = hix5hd2_get_desc_cmd(skb, priv->hw_cap); in hix5hd2_net_xmit() [all …]
|
/openbmc/u-boot/drivers/nvme/ |
H A D | nvme.c | 144 static void nvme_submit_cmd(struct nvme_queue *nvmeq, struct nvme_command *cmd) in nvme_submit_cmd() argument 148 memcpy(&nvmeq->sq_cmds[tail], cmd, sizeof(*cmd)); in nvme_submit_cmd() 150 (ulong)&nvmeq->sq_cmds[tail] + sizeof(*cmd)); in nvme_submit_cmd() 159 struct nvme_command *cmd, in nvme_submit_sync_cmd() argument 168 cmd->common.command_id = nvme_get_cmd_id(); in nvme_submit_sync_cmd() 169 nvme_submit_cmd(nvmeq, cmd); in nvme_submit_sync_cmd() 212 static int nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd, in nvme_submit_admin_cmd() argument 215 return nvme_submit_sync_cmd(dev->queues[NVME_ADMIN_Q], cmd, in nvme_submit_admin_cmd()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_fwum.c | 450 req.msg.cmd = KFWUM_CMD_ID_GET_FIRMWARE_INFO; in KfwumGetInfo() 548 req.msg.cmd = BMC_GET_DEVICE_ID; in KfwumGetDeviceInfo() 609 req.msg.cmd = KFWUM_CMD_ID_GET_FIRMWARE_STATUS; in KfwumGetStatus() 665 req.msg.cmd = KFWUM_CMD_ID_MANUAL_ROLLBACK; in KfwumManualRollback() 701 req.msg.cmd = KFWUM_CMD_ID_START_FIRMWARE_IMAGE; in KfwumStartFirmwareImage() 741 req.msg.cmd = KFWUM_CMD_ID_SAVE_FIRMWARE_IMAGE; in KfwumSaveFirmwareImage() 833 req.msg.cmd = KFWUM_CMD_ID_FINISH_FIRMWARE_IMAGE; in KfwumFinishFirmwareImage() 915 req.msg.cmd = KFWUM_CMD_ID_START_FIRMWARE_UPDATE; in KfwumStartFirmwareUpgrade() 956 req.msg.cmd = KFWUM_CMD_ID_GET_TRACE_LOG; in KfwumGetTraceLog()
|
/openbmc/linux/sound/pci/ |
H A D | bt87x.c | 231 u32 cmd, len; in snd_bt87x_create_risc() local 237 cmd = RISC_WRITE | len; in snd_bt87x_create_risc() 240 cmd |= RISC_SOL; in snd_bt87x_create_risc() 241 cmd |= block << RISC_SET_STATUS_SHIFT; in snd_bt87x_create_risc() 242 cmd |= (~block & 0xf) << RISC_RESET_STATUS_SHIFT; in snd_bt87x_create_risc() 245 cmd |= RISC_EOL | RISC_IRQ; in snd_bt87x_create_risc() 246 *risc++ = cpu_to_le32(cmd); in snd_bt87x_create_risc() 505 static int snd_bt87x_trigger(struct snd_pcm_substream *substream, int cmd) in snd_bt87x_trigger() argument 509 switch (cmd) { in snd_bt87x_trigger()
|
/openbmc/linux/drivers/usb/host/ |
H A D | pci-quirks.c | 673 unsigned int cmd, intr; in uhci_check_and_reset_hc() local 692 cmd = inw(base + UHCI_USBCMD); in uhci_check_and_reset_hc() 693 if ((cmd & UHCI_USBCMD_RUN) || !(cmd & UHCI_USBCMD_CONFIGURE) || in uhci_check_and_reset_hc() 694 !(cmd & UHCI_USBCMD_EGSM)) { in uhci_check_and_reset_hc() 696 __func__, cmd); in uhci_check_and_reset_hc() 717 u16 cmd; in io_type_enabled() local 718 return !pci_read_config_word(pdev, PCI_COMMAND, &cmd) && (cmd & mask); in io_type_enabled()
|
/openbmc/linux/drivers/char/ |
H A D | lp.c | 582 static int lp_do_ioctl(unsigned int minor, unsigned int cmd, in lp_do_ioctl() argument 589 printk(KERN_DEBUG "lp%d ioctl, cmd: 0x%x, arg: 0x%lx\n", minor, cmd, arg); in lp_do_ioctl() 595 switch (cmd) { in lp_do_ioctl() 724 static long lp_ioctl(struct file *file, unsigned int cmd, in lp_ioctl() argument 732 switch (cmd) { in lp_ioctl() 743 ret = lp_do_ioctl(minor, cmd, arg, (void __user *)arg); in lp_ioctl() 752 static long lp_compat_ioctl(struct file *file, unsigned int cmd, in lp_compat_ioctl() argument 760 switch (cmd) { in lp_compat_ioctl() 777 ret = lp_do_ioctl(minor, cmd, arg, compat_ptr(arg)); in lp_compat_ioctl()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource.c | 791 } *cmd; in vmw_query_readback_all() local 801 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), dx_query_ctx->id); in vmw_query_readback_all() 802 if (unlikely(cmd == NULL)) in vmw_query_readback_all() 805 cmd->header.id = SVGA_3D_CMD_DX_READBACK_ALL_QUERY; in vmw_query_readback_all() 806 cmd->header.size = sizeof(cmd->body); in vmw_query_readback_all() 807 cmd->body.cid = dx_query_ctx->id; in vmw_query_readback_all() 809 vmw_cmd_commit(dev_priv, sizeof(*cmd)); in vmw_query_readback_all()
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_ioctl.c | 1822 iwe.cmd = SIOCGIWAP; in __prism2_translate_scan() 1838 iwe.cmd = SIOCGIWMODE; in __prism2_translate_scan() 1855 iwe.cmd = SIOCGIWFREQ; in __prism2_translate_scan() 1873 iwe.cmd = IWEVQUAL; in __prism2_translate_scan() 1951 iwe.cmd = IWEVGENIE; in __prism2_translate_scan() 1959 iwe.cmd = IWEVGENIE; in __prism2_translate_scan() 3026 switch (*cmd) { in ap_mac_cmd_ioctl() 3761 switch (mlme->cmd) { in prism2_ioctl_siwmlme() 3832 switch (param->cmd) { in prism2_ioctl_priv_hostapd() 3978 switch (cmd) { in hostap_ioctl() [all …]
|
/openbmc/linux/net/ieee802154/ |
H A D | ieee802154.h | 13 .cmd = _cmd, \ 21 .cmd = _cmd, \
|
/openbmc/linux/arch/mips/sgi-ip22/ |
H A D | ip22-nvram.c | 56 static inline void eeprom_cmd(unsigned int *ctrl, unsigned cmd, unsigned reg) in eeprom_cmd() argument 61 ser_cmd = cmd | (reg << (16 - BITS_IN_COMMAND)); in eeprom_cmd()
|
/openbmc/linux/include/sound/ |
H A D | snd_wavefront.h | 124 unsigned int cmd, 135 unsigned int cmd,
|
/openbmc/u-boot/examples/standalone/ |
H A D | atmel_df_pow2.c | 17 static int flash_cmd(struct spi_slave *slave, uchar cmd, uchar *buf, int len) in flash_cmd() argument 19 buf[0] = cmd; in flash_cmd()
|
/openbmc/u-boot/cmd/ |
H A D | demo.c | 114 if (demo_cmd->cmd != do_demo_list) in do_demo() 118 ret = demo_cmd->cmd(demo_cmd, flag, argc, argv); in do_demo()
|
/openbmc/u-boot/test/ |
H A D | cmd_ut.c | 74 retval = cmd_ut_sub[i].cmd(cmdtp, flag, 1, &cmd_ut_sub[i].name); in do_ut_all() 96 return cp->cmd(cmdtp, flag, argc, argv); in do_ut()
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_hush_if_test.py | 109 cmd = 'if ' + expr + '; then echo true; else echo false; fi' 110 response = u_boot_console.run_command(cmd)
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.h | 50 void efx_mcdi_phy_get_link_ksettings(struct efx_nic *efx, struct ethtool_link_ksettings *cmd); 51 int efx_mcdi_phy_set_link_ksettings(struct efx_nic *efx, const struct ethtool_link_ksettings *cmd);
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 106 cmd = formatter(device, prio, handle_start + index, skip, src_mac, variable 108 file.write("{}\n".format(cmd))
|