Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-dw-pci.c44 int pci_bar = 0; in spi_pci_probe() local
60 dws->paddr = pci_resource_start(pdev, pci_bar); in spi_pci_probe()
62 ret = pcim_iomap_regions(pdev, 1 << pci_bar, pci_name(pdev)); in spi_pci_probe()
66 dws->regs = pcim_iomap_table(pdev)[pci_bar]; in spi_pci_probe()
/drivers/uio/
Duio_sercos3.c105 int n, int pci_bar) in sercos3_setup_iomem() argument
107 info->mem[n].addr = pci_resource_start(dev, pci_bar); in sercos3_setup_iomem()
110 info->mem[n].internal_addr = ioremap(pci_resource_start(dev, pci_bar), in sercos3_setup_iomem()
111 pci_resource_len(dev, pci_bar)); in sercos3_setup_iomem()
114 info->mem[n].size = pci_resource_len(dev, pci_bar); in sercos3_setup_iomem()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1524 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, in bfa_flash_set_cmd() argument
1535 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
1539 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
1545 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
1549 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
1553 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
1563 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
1569 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
1576 t = readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
1580 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
[all …]
/drivers/misc/
Dpti.c804 int pci_bar = 1; in pti_pci_probe() local
834 drv_data->pti_addr = pci_resource_start(pdev, pci_bar); in pti_pci_probe()
836 retval = pci_request_region(pdev, pci_bar, dev_name(&pdev->dev)); in pti_pci_probe()
866 pci_release_region(pdev, pci_bar); in pti_pci_probe()
/drivers/scsi/bfa/
Dbfa_ioc.c6765 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, in bfa_flash_set_cmd() argument
6776 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
6780 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
6786 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
6790 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
6794 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
6812 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
6818 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6825 t = readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
6831 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
[all …]
/drivers/mmc/host/
Dsdhci-pci.h62 int pci_bar; member
Dsdhci-pci.c1366 slot->pci_bar = bar; in sdhci_pci_probe_slot()
1498 pci_release_region(slot->chip->pdev, slot->pci_bar); in sdhci_pci_remove_slot()
/drivers/net/ethernet/3com/
D3c59x.c1005 int rc, unit, pci_bar; in vortex_init_one() local
1023 pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; in vortex_init_one()
1025 pci_bar = use_mmio[unit] ? 1 : 0; in vortex_init_one()
1027 pci_bar = global_use_mmio ? 1 : 0; in vortex_init_one()
1029 ioaddr = pci_iomap(pdev, pci_bar, 0); in vortex_init_one()