Home
last modified time | relevance | path

Searched refs:command_reg (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/cxl/
H A Dcxl-device-utils.c184 uint64_t command_reg = in mailbox_reg_write() local
186 uint8_t cmd_set = FIELD_EX64(command_reg, CXL_DEV_MAILBOX_CMD, in mailbox_reg_write()
188 uint8_t cmd = FIELD_EX64(command_reg, CXL_DEV_MAILBOX_CMD, COMMAND); in mailbox_reg_write()
189 size_t len_in = FIELD_EX64(command_reg, CXL_DEV_MAILBOX_CMD, LENGTH); in mailbox_reg_write()
216 command_reg = FIELD_DP64(0, CXL_DEV_MAILBOX_CMD, COMMAND_SET, cmd_set); in mailbox_reg_write()
217 command_reg = FIELD_DP64(command_reg, CXL_DEV_MAILBOX_CMD, in mailbox_reg_write()
219 command_reg = FIELD_DP64(command_reg, CXL_DEV_MAILBOX_CMD, in mailbox_reg_write()
222 cxl_dstate->mbox_reg_state64[R_CXL_DEV_MAILBOX_CMD] = command_reg; in mailbox_reg_write()
/openbmc/linux/drivers/spi/
H A Dspi-tegra20-slink.c190 u32 command_reg; member
696 command = tspi->command_reg; in tegra_slink_start_transfer_one()
722 tspi->command_reg = command; in tegra_slink_start_transfer_one()
779 tspi->command_reg = tspi->def_command_reg; in tegra_slink_prepare_message()
780 tspi->command_reg |= SLINK_CS_SW | SLINK_CS_VALUE; in tegra_slink_prepare_message()
785 tspi->command_reg &= ~SLINK_MODES; in tegra_slink_prepare_message()
787 tspi->command_reg |= SLINK_CK_SDA; in tegra_slink_prepare_message()
790 tspi->command_reg |= SLINK_IDLE_SCLK_DRIVE_HIGH; in tegra_slink_prepare_message()
792 tspi->command_reg |= SLINK_IDLE_SCLK_DRIVE_LOW; in tegra_slink_prepare_message()
850 "CpuXfer 0x%08x:0x%08x:0x%08x\n", tspi->command_reg, in handle_cpu_based_xfer()
[all …]
H A Dspi-tegra20-sflash.c129 u32 command_reg; member
285 command = tsd->command_reg; in tegra_sflash_start_transfer_one()
301 tsd->command_reg = command; in tegra_sflash_start_transfer_one()
367 "CpuXfer 0x%08x:0x%08x\n", tsd->command_reg, in handle_cpu_based_xfer()
558 tegra_sflash_writel(tsd, tsd->command_reg, SPI_COMMAND); in tegra_sflash_resume()
/openbmc/linux/drivers/iommu/
H A Dapple-dart.c374 u32 command_reg; in apple_dart_t8020_hw_stream_command() local
382 stream_map->dart->regs + DART_T8020_STREAM_COMMAND, command_reg, in apple_dart_t8020_hw_stream_command()
383 !(command_reg & DART_T8020_STREAM_COMMAND_BUSY), 1, in apple_dart_t8020_hw_stream_command()
/openbmc/linux/drivers/tty/serial/
H A Dicom.c1716 unsigned int command_reg; in icom_probe() local
1736 retval = pci_read_config_dword(dev, PCI_COMMAND, &command_reg); in icom_probe()
1743 command_reg | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER in icom_probe()
/openbmc/linux/drivers/message/fusion/
H A Dmptbase.c228 u16 command_reg; in pci_disable_io_access() local
230 pci_read_config_word(pdev, PCI_COMMAND, &command_reg); in pci_disable_io_access()
231 command_reg &= ~1; in pci_disable_io_access()
232 pci_write_config_word(pdev, PCI_COMMAND, command_reg); in pci_disable_io_access()
238 u16 command_reg; in pci_enable_io_access() local
240 pci_read_config_word(pdev, PCI_COMMAND, &command_reg); in pci_enable_io_access()
241 command_reg |= 1; in pci_enable_io_access()
242 pci_write_config_word(pdev, PCI_COMMAND, command_reg); in pci_enable_io_access()