Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/uio/
Duio_sercos3.c106 int n, int pci_bar) in sercos3_setup_iomem() argument
108 info->mem[n].addr = pci_resource_start(dev, pci_bar); in sercos3_setup_iomem()
111 info->mem[n].internal_addr = ioremap(pci_resource_start(dev, pci_bar), in sercos3_setup_iomem()
112 pci_resource_len(dev, pci_bar)); in sercos3_setup_iomem()
115 info->mem[n].size = pci_resource_len(dev, pci_bar); in sercos3_setup_iomem()
/linux-6.1.9/drivers/spi/
Dspi-dw-pci.c86 int pci_bar = 0; in dw_spi_pci_probe() local
98 dws->paddr = pci_resource_start(pdev, pci_bar); in dw_spi_pci_probe()
101 ret = pcim_iomap_regions(pdev, 1 << pci_bar, pci_name(pdev)); in dw_spi_pci_probe()
109 dws->regs = pcim_iomap_table(pdev)[pci_bar]; in dw_spi_pci_probe()
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1497 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, in bfa_flash_set_cmd() argument
1508 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
1512 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
1518 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
1522 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
1526 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
1536 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
1541 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
1548 readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
1552 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
[all …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_ioc.c6732 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, in bfa_flash_set_cmd() argument
6743 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
6747 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
6753 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
6757 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
6761 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
6779 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
6784 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6791 readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
6797 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
[all …]
/linux-6.1.9/include/linux/
Dswitchtec.h417 u32 pci_bar[6]; member
/linux-6.1.9/drivers/net/ethernet/3com/
D3c59x.c998 int rc, unit, pci_bar; in vortex_init_one() local
1016 pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; in vortex_init_one()
1018 pci_bar = use_mmio[unit] ? 1 : 0; in vortex_init_one()
1020 pci_bar = global_use_mmio ? 1 : 0; in vortex_init_one()
1022 ioaddr = pci_iomap(pdev, pci_bar, 0); in vortex_init_one()