Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-dw-pci.c86 int pci_bar = 0; in spi_pci_probe() local
98 dws->paddr = pci_resource_start(pdev, pci_bar); in spi_pci_probe()
101 ret = pcim_iomap_regions(pdev, 1 << pci_bar, pci_name(pdev)); in spi_pci_probe()
109 dws->regs = pcim_iomap_table(pdev)[pci_bar]; in spi_pci_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/misc/
Dpti.c795 int pci_bar = 1; in pti_pci_probe() local
825 drv_data->pti_addr = pci_resource_start(pdev, pci_bar); in pti_pci_probe()
827 retval = pci_request_region(pdev, pci_bar, dev_name(&pdev->dev)); in pti_pci_probe()
857 pci_release_region(pdev, pci_bar); in pti_pci_probe()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc.c6730 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, in bfa_flash_set_cmd() argument
6741 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
6745 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
6751 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
6755 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
6759 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
6777 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
6782 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6789 readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
6795 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dswitchtec.h418 u32 pci_bar[6]; member
/kernel/linux/linux-5.10/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()