Home
last modified time | relevance | path

Searched refs:cmd (Results 2501 – 2525 of 6838) sorted by relevance

1...<<101102103104105106107108109110>>...274

/openbmc/linux/drivers/usb/host/
H A Dehci-timer.c322 u32 cmd, status; in ehci_iaa_watchdog() local
339 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog()
349 if ((status & STS_IAA) || !(cmd & CMD_IAAD)) { in ehci_iaa_watchdog()
354 ehci_dbg(ehci, "IAA watchdog: status %x cmd %x\n", status, cmd); in ehci_iaa_watchdog()
/openbmc/linux/arch/sh/kernel/
H A Dkgdb.c315 static int __kgdb_notify(struct die_args *args, unsigned long cmd) in __kgdb_notify() argument
319 switch (cmd) { in __kgdb_notify()
340 kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) in kgdb_notify() argument
346 ret = __kgdb_notify(ptr, cmd); in kgdb_notify()
/openbmc/linux/net/x25/
H A Dx25_link.c353 int x25_subscr_ioctl(unsigned int cmd, void __user *arg) in x25_subscr_ioctl() argument
360 if (cmd != SIOCX25GSUBSCRIP && cmd != SIOCX25SSUBSCRIP) in x25_subscr_ioctl()
376 if (cmd == SIOCX25GSUBSCRIP) { in x25_subscr_ioctl()
/openbmc/qemu/tests/tcg/i386/
H A Dtest-mmx.c205 #define TEST(n, cmd, type) \ argument
208 asm volatile(cmd); \
215 #define TEST(n, cmd, type) {n, test_##n, cmd, &init##type}, argument
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c254 struct host_cmd_ds_command *cmd, u16 cmd_action, in mwifiex_cmd_11ac_cfg() argument
257 struct host_cmd_11ac_vht_cfg *vhtcfg = &cmd->params.vht_cfg; in mwifiex_cmd_11ac_cfg()
259 cmd->command = cpu_to_le16(HostCmd_CMD_11AC_CFG); in mwifiex_cmd_11ac_cfg()
260 cmd->size = cpu_to_le16(sizeof(struct host_cmd_11ac_vht_cfg) + in mwifiex_cmd_11ac_cfg()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp-ipc.c114 if (hdr->cmd == (SOF_IPC_GLB_PM_MSG | SOF_IPC_PM_CTX_SAVE) || in acp_dsp_ipc_get_reply()
115 hdr->cmd == (SOF_IPC_GLB_PM_MSG | SOF_IPC_PM_GATE)) { in acp_dsp_ipc_get_reply()
122 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in acp_dsp_ipc_get_reply()
142 !(reply.hdr.cmd & SOF_IPC_GLB_PROBE)) { in acp_dsp_ipc_get_reply()
/openbmc/linux/drivers/ata/
H A Dlibata.h121 struct scsi_cmnd *cmd, u8 sk, u8 asc, u8 ascq);
123 struct scsi_cmnd *cmd,
136 extern unsigned int ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd);
137 extern void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd);
/openbmc/linux/drivers/iommu/iommufd/
H A Diommufd_private.h96 void *cmd; member
99 int iommufd_vfio_ioctl(struct iommufd_ctx *ictx, unsigned int cmd,
106 if (copy_to_user(ucmd->ubuffer, ucmd->cmd, in iommufd_ucmd_respond()
221 int iommufd_option_rlimit_mode(struct iommu_option *cmd,
/openbmc/qemu/hw/ipmi/
H A Dsmbus_ipmi.c211 uint8_t cmd; in ipmi_write_data() local
215 cmd = *buf++; in ipmi_write_data()
219 switch (cmd) { in ipmi_write_data()
252 switch (cmd) { in ipmi_write_data()
/openbmc/u-boot/drivers/i2c/
H A Dkona_i2c.c169 enum bcm_kona_cmd_t cmd) in bcm_kona_i2c_send_cmd_to_ctrl() argument
171 debug("%s, %d\n", __func__, cmd); in bcm_kona_i2c_send_cmd_to_ctrl()
173 switch (cmd) { in bcm_kona_i2c_send_cmd_to_ctrl()
201 printf("Unknown command %d\n", cmd); in bcm_kona_i2c_send_cmd_to_ctrl()
251 enum bcm_kona_cmd_t cmd) in bcm_kona_send_i2c_cmd() argument
257 bcm_kona_i2c_send_cmd_to_ctrl(dev, cmd); in bcm_kona_send_i2c_cmd()
/openbmc/linux/drivers/spi/
H A Dspi-fsi.c131 u32 cmd = offset + ctx->base; in fsi_spi_read_reg() local
136 if (cmd & FSI2SPI_CMD_WRITE) in fsi_spi_read_reg()
143 cmd_be = cpu_to_be32(cmd); in fsi_spi_read_reg()
178 u32 cmd = offset + ctx->base; in fsi_spi_write_reg() local
181 if (cmd & FSI2SPI_CMD_WRITE) in fsi_spi_write_reg()
202 cmd_be = cpu_to_be32(cmd | FSI2SPI_CMD_WRITE); in fsi_spi_write_reg()
/openbmc/linux/net/devlink/
H A Dlinecard.c75 enum devlink_command cmd, u32 portid, in devlink_nl_linecard_fill() argument
84 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_linecard_fill()
127 enum devlink_command cmd) in devlink_linecard_notify() argument
133 WARN_ON(cmd != DEVLINK_CMD_LINECARD_NEW && in devlink_linecard_notify()
134 cmd != DEVLINK_CMD_LINECARD_DEL); in devlink_linecard_notify()
143 err = devlink_nl_linecard_fill(msg, devlink, linecard, cmd, 0, 0, 0, in devlink_linecard_notify()
/openbmc/linux/drivers/iio/proximity/
H A Dvcnl3020.c162 unsigned int cmd; in vcnl3020_is_in_periodic_mode() local
164 rc = regmap_read(data->regmap, VCNL_COMMAND, &cmd); in vcnl3020_is_in_periodic_mode()
171 return !!(cmd & VCNL_PS_SELFTIMED_EN); in vcnl3020_is_in_periodic_mode()
373 int cmd; in vcnl3020_enable_periodic() local
378 cmd = VCNL_PS_EN | VCNL_PS_SELFTIMED_EN; in vcnl3020_enable_periodic()
380 rc = regmap_write(data->regmap, VCNL_COMMAND, cmd); in vcnl3020_enable_periodic()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_hw.c582 struct i2c_command *cmd, in dce_i2c_submit_command_hw() argument
588 set_speed(dce_i2c_hw, cmd->speed); in dce_i2c_submit_command_hw()
592 while (index_of_payload < cmd->number_of_payloads) { in dce_i2c_submit_command_hw()
593 bool mot = (index_of_payload != cmd->number_of_payloads - 1); in dce_i2c_submit_command_hw()
595 struct i2c_payload *payload = cmd->payloads + index_of_payload; in dce_i2c_submit_command_hw()
598 dce_i2c_hw, payload, mot, cmd->speed)) { in dce_i2c_submit_command_hw()
/openbmc/linux/arch/s390/kernel/
H A Duv.c44 .header.cmd = UVC_CMD_INIT_UV, in uv_init()
94 .header.cmd = UVC_CMD_PIN_PAGE_SHARED, in uv_pin_shared()
115 .header.cmd = UVC_CMD_DESTR_SEC_STOR, in uv_destroy_page()
157 .header.cmd = UVC_CMD_CONV_FROM_SEC_STOR, in uv_convert_from_secure()
263 if (uvcb->cmd == UVC_CMD_UNPIN_PAGE_SHARED) in should_export_before_import()
375 .header.cmd = UVC_CMD_CONV_TO_SEC_STOR, in gmap_convert_to_secure()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_uac1_legacy.c17 static int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value);
18 static int generic_get_cmd(struct usb_audio_control *con, u8 cmd);
394 u8 cmd = (ctrl->bRequest & 0x0F); in audio_set_intf_req() local
413 audio->set_cmd = cmd; in audio_set_intf_req()
431 u8 cmd = (ctrl->bRequest & 0x0F); in audio_get_intf_req() local
442 value = con->get(con, cmd); in audio_get_intf_req()
771 static int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value) in generic_set_cmd() argument
773 con->data[cmd] = value; in generic_set_cmd()
778 static int generic_get_cmd(struct usb_audio_control *con, u8 cmd) in generic_get_cmd() argument
780 return con->data[cmd]; in generic_get_cmd()
/openbmc/qemu/hw/ide/
H A Dtrace-events15 ide_bus_exec_cmd(void *bus, void *state, uint32_t cmd) "IDE exec cmd: bus %p; state %p; cmd 0x%02x"
22 …oid *s, int64_t sector_num, int n, const char *dma) "IDEState %p; sector_num=%"PRId64" n=%d cmd=%s"
60 ide_atapi_cmd(void *s, uint8_t cmd) "IDEState: %p; cmd: 0x%02x"
95 execute_ncq_command_unsup(void *s, int port, uint8_t tag, uint8_t cmd) "ahci(%p)[%d][tag:%d]: error…
102 process_ncq_command(void *s, int port, uint8_t tag, uint8_t cmd, uint64_t lba, uint64_t end) "ahci(…
108 handle_cmd_badfis(void *s, int port) "ahci(%p)[%d]: guest provided an invalid cmd FIS"
116 ahci_cmd_done(void *s, int port) "ahci(%p)[%d]: cmd done"
/openbmc/linux/fs/dlm/
H A Duser.c56 __u8 cmd; member
95 kb->cmd = kb32->cmd; in compat_input()
97 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
98 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
102 } else if (kb->cmd == DLM_USER_PURGE) { in compat_input()
583 if ((kbuf->cmd == DLM_USER_LOCK || kbuf->cmd == DLM_USER_UNLOCK) && in device_write()
591 switch (kbuf->cmd) in device_write()
643 kbuf->cmd); in device_write()
/openbmc/qemu/hw/xen/
H A Dxen_pt.c457 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions() argument
475 *cmd |= PCI_COMMAND_IO; in xen_pt_register_regions()
484 *cmd |= PCI_COMMAND_MEMORY; in xen_pt_register_regions()
775 uint16_t cmd = 0; in xen_pt_realize() local
822 xen_pt_register_regions(s, &cmd); in xen_pt_realize()
846 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize()
856 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize()
878 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize()
892 if (cmd) { in xen_pt_realize()
900 val |= cmd; in xen_pt_realize()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-designware-master.c317 int cmd = 0, status; in amd_i2c_dw_xfer_quirk() local
347 cmd |= BIT(9); in amd_i2c_dw_xfer_quirk()
352 regmap_write(dev->map, DW_IC_DATA_CMD, 0x100 | cmd); in amd_i2c_dw_xfer_quirk()
353 if (cmd) { in amd_i2c_dw_xfer_quirk()
374 regmap_write(dev->map, DW_IC_DATA_CMD, *tx_buf++ | cmd); in amd_i2c_dw_xfer_quirk()
504 u32 cmd = 0; in i2c_dw_xfer_msg() local
521 cmd |= BIT(9); in i2c_dw_xfer_msg()
524 cmd |= BIT(10); in i2c_dw_xfer_msg()
535 cmd | 0x100); in i2c_dw_xfer_msg()
540 cmd | *buf++); in i2c_dw_xfer_msg()
/openbmc/linux/drivers/pci/
H A Dpci.c1982 u16 cmd; in do_pci_enable_device() local
4471 u16 old_cmd, cmd; in __pci_set_master() local
4601 u16 cmd; in pci_set_mwi()
4667 u16 cmd; in pci_clear_mwi() local
4686 u16 cmd; in pci_disable_parity() local
6138 u16 cmd; in pcix_get_mmrbc() local
6164 u16 cmd; in pcix_set_mmrbc() local
6190 cmd |= v << 2; in pcix_set_mmrbc()
6531 u16 cmd; in pci_set_vga_state() local
6558 &cmd); in pci_set_vga_state()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.c34 uint16_t cmd; member
49 if (cmd == e->cmd) in sc_to_str()
2972 struct scsi_cmnd *cmd; in qla28xx_start_scsi_edif() local
2992 cmd = GET_CMD_SP(sp); in qla28xx_start_scsi_edif()
3024 if (scsi_sg_count(cmd)) { in qla28xx_start_scsi_edif()
3026 scsi_sg_count(cmd), cmd->sc_data_direction); in qla28xx_start_scsi_edif()
3065 if (cmd->cmd_len > 16) { in qla28xx_start_scsi_edif()
3074 cmd->cmd_len, cmd); in qla28xx_start_scsi_edif()
3095 if (!scsi_bufflen(cmd) || cmd->sc_data_direction == DMA_NONE) { in qla28xx_start_scsi_edif()
3173 memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla28xx_start_scsi_edif()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dcommand_table.c560 const struct command_table_helper *cmd = bp->cmd_helper; in transmitter_control_v3() local
579 if (!cmd->clock_source_id_to_atom(cntl->pll_id, &pll_id)) in transmitter_control_v3()
694 const struct command_table_helper *cmd = bp->cmd_helper; in transmitter_control_v4() local
813 const struct command_table_helper *cmd = bp->cmd_helper; in transmitter_control_v1_5() local
817 params.ucPhyId = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_5()
823 cmd->signal_type_to_atom_dig_mode(cntl->signal); in transmitter_control_v1_5()
829 cmd->hpd_sel_to_atom(cntl->hpd_sel); in transmitter_control_v1_5()
831 cmd->dig_encoder_sel_to_atom(cntl->engine_id); in transmitter_control_v1_5()
874 const struct command_table_helper *cmd = bp->cmd_helper; in transmitter_control_v1_6() local
878 params.ucPhyId = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_6()
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dbluecard_cs.c565 unsigned char cmd[] = { HCI_COMMAND_PKT, 0x09, 0xfc, 0x01, 0x03 }; in bluecard_hci_set_baud_rate() local
575 cmd[4] = 0x00; in bluecard_hci_set_baud_rate()
579 cmd[4] = 0x01; in bluecard_hci_set_baud_rate()
583 cmd[4] = 0x02; in bluecard_hci_set_baud_rate()
588 cmd[4] = 0x03; in bluecard_hci_set_baud_rate()
593 skb_put_data(skb, cmd, sizeof(cmd)); in bluecard_hci_set_baud_rate()
/openbmc/linux/drivers/input/mouse/
H A Delan_i2c_i2c.c113 static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd) in elan_i2c_write_cmd() argument
117 cpu_to_le16(cmd), in elan_i2c_write_cmd()
274 u16 cmd; in elan_i2c_get_version() local
278 cmd = ETP_I2C_FW_VERSION_CMD; in elan_i2c_get_version()
280 cmd = ETP_I2C_IAP_VERSION_P0_CMD; in elan_i2c_get_version()
282 cmd = ETP_I2C_IAP_VERSION_CMD; in elan_i2c_get_version()
284 error = elan_i2c_read_cmd(client, cmd, val); in elan_i2c_get_version()

1...<<101102103104105106107108109110>>...274