Searched refs:cmd_regs (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/amd/pds_core/ |
D | dev.c | 87 return ioread8(&pdsc->cmd_regs->comp.status); in pdsc_devcmd_status() 92 return ioread32(&pdsc->cmd_regs->done) & PDS_CORE_DEV_CMD_DONE; in pdsc_devcmd_done() 97 iowrite32(0, &pdsc->cmd_regs->done); in pdsc_devcmd_dbell() 98 iowrite32(1, &pdsc->cmd_regs->doorbell); in pdsc_devcmd_dbell() 103 iowrite32(0, &pdsc->cmd_regs->doorbell); in pdsc_devcmd_clean() 104 memset_io(&pdsc->cmd_regs->cmd, 0, sizeof(pdsc->cmd_regs->cmd)); in pdsc_devcmd_clean() 181 if (!pdsc->cmd_regs) in pdsc_devcmd_locked() 184 memcpy_toio(&pdsc->cmd_regs->cmd, cmd, sizeof(*cmd)); in pdsc_devcmd_locked() 191 memcpy_fromio(comp, &pdsc->cmd_regs->comp, sizeof(*comp)); in pdsc_devcmd_locked() 280 sz = min_t(size_t, sizeof(drv), sizeof(pdsc->cmd_regs->data)); in pdsc_identify() [all …]
|
D | fw.c | 110 if (!pdsc->cmd_regs) in pdsc_firmware_update() 117 buf_sz = sizeof(pdsc->cmd_regs->data); in pdsc_firmware_update() 137 memcpy_toio(&pdsc->cmd_regs->data, fw->data + offset, copy_sz); in pdsc_firmware_update()
|
D | core.c | 329 sz = min_t(size_t, sizeof(cidi), sizeof(pdsc->cmd_regs->data)); in pdsc_core_init() 330 memcpy_toio(&pdsc->cmd_regs->data, &cidi, sz); in pdsc_core_init() 334 sz = min_t(size_t, sizeof(cido), sizeof(pdsc->cmd_regs->data)); in pdsc_core_init() 335 memcpy_fromio(&cido, &pdsc->cmd_regs->data, sz); in pdsc_core_init()
|
D | devlink.c | 115 memcpy_fromio(&fw_list, pdsc->cmd_regs->data, sizeof(fw_list)); in pdsc_dl_info_get()
|
D | main.c | 41 pdsc->cmd_regs = NULL; in pdsc_unmap_bars() 105 pdsc->cmd_regs = bar->vaddr + PDS_CORE_BAR0_DEV_CMD_REGS_OFFSET; in pdsc_map_bars()
|
D | core.h | 189 struct pds_core_dev_cmd_regs __iomem *cmd_regs; member
|
/linux-6.6.21/drivers/spi/ |
D | spi-cadence-xspi.c | 244 u32 cmd_regs[6]) in cdns_xspi_trigger_command() 246 writel(cmd_regs[5], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_5); in cdns_xspi_trigger_command() 247 writel(cmd_regs[4], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_4); in cdns_xspi_trigger_command() 248 writel(cmd_regs[3], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_3); in cdns_xspi_trigger_command() 249 writel(cmd_regs[2], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_2); in cdns_xspi_trigger_command() 250 writel(cmd_regs[1], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_1); in cdns_xspi_trigger_command() 251 writel(cmd_regs[0], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_0); in cdns_xspi_trigger_command() 351 u32 cmd_regs[6]; in cdns_xspi_send_stig_command() local 365 memset(cmd_regs, 0, sizeof(cmd_regs)); in cdns_xspi_send_stig_command() 366 cmd_regs[1] = CDNS_XSPI_CMD_FLD_P1_INSTR_CMD_1(op, data_phase); in cdns_xspi_send_stig_command() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | iommu.c | 116 void __iomem *cmd_regs; member 389 iommu->cmd_regs = iommu->xlate_regs + IOC_IOCmd_Offset; in cell_iommu_enable_hardware() 414 reg = in_be64(iommu->cmd_regs + IOC_IOCmd_Cfg) | IOC_IOCmd_Cfg_TE; in cell_iommu_enable_hardware() 415 out_be64(iommu->cmd_regs + IOC_IOCmd_Cfg, reg); in cell_iommu_enable_hardware()
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | phy_ht.c | 539 static const u16 cmd_regs[3] = { B43_PHY_HT_TXPCTL_CMD_C1, in b43_phy_ht_tx_power_ctl() local 560 b43_phy_write(dev, cmd_regs[i], 0x32); in b43_phy_ht_tx_power_ctl() 566 b43_phy_write(dev, cmd_regs[i], in b43_phy_ht_tx_power_ctl()
|
/linux-6.6.21/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 790 u32 portsc, cmd_regs; in cdnsp_handle_port_status() local 823 cmd_regs = readl(&pdev->op_regs->command); in cdnsp_handle_port_status() 824 if (!(cmd_regs & CMD_R_S)) in cdnsp_handle_port_status()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 1332 struct pbf_pN_cmd_regs cmd_regs[] = { in bnx2x_tx_hw_flushed() local 1386 for (i = 0; i < ARRAY_SIZE(cmd_regs); i++) in bnx2x_tx_hw_flushed() 1387 bnx2x_pbf_pN_cmd_flushed(bp, &cmd_regs[i], poll_count); in bnx2x_tx_hw_flushed()
|