pci_bar 796 drivers/misc/pti.c int pci_bar = 1; pci_bar 826 drivers/misc/pti.c drv_data->pti_addr = pci_resource_start(pdev, pci_bar); pci_bar 828 drivers/misc/pti.c retval = pci_request_region(pdev, pci_bar, dev_name(&pdev->dev)); pci_bar 858 drivers/misc/pti.c pci_release_region(pdev, pci_bar); pci_bar 998 drivers/net/ethernet/3com/3c59x.c int rc, unit, pci_bar; pci_bar 1016 drivers/net/ethernet/3com/3c59x.c pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; pci_bar 1018 drivers/net/ethernet/3com/3c59x.c pci_bar = use_mmio[unit] ? 1 : 0; pci_bar 1020 drivers/net/ethernet/3com/3c59x.c pci_bar = global_use_mmio ? 1 : 0; pci_bar 1022 drivers/net/ethernet/3com/3c59x.c ioaddr = pci_iomap(pdev, pci_bar, 0); pci_bar 1497 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, pci_bar 1508 drivers/net/ethernet/brocade/bna/bfa_ioc.c writel(cmd.i, (pci_bar + FLI_CMD_REG)); pci_bar 1512 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_set_addr(void __iomem *pci_bar, u32 address) pci_bar 1518 drivers/net/ethernet/brocade/bna/bfa_ioc.c writel(addr.i, (pci_bar + FLI_ADDR_REG)); pci_bar 1522 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_cmd_act_check(void __iomem *pci_bar) pci_bar 1526 drivers/net/ethernet/brocade/bna/bfa_ioc.c cmd.i = readl(pci_bar + FLI_CMD_REG); pci_bar 1536 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_fifo_flush(void __iomem *pci_bar) pci_bar 1542 drivers/net/ethernet/brocade/bna/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 1549 drivers/net/ethernet/brocade/bna/bfa_ioc.c t = readl(pci_bar + FLI_RDDATA_REG); pci_bar 1553 drivers/net/ethernet/brocade/bna/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 1566 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_status_read(void __iomem *pci_bar) pci_bar 1573 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_fifo_flush(pci_bar); pci_bar 1577 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_set_cmd(pci_bar, 0, 4, 0, BFA_FLASH_READ_STATUS); pci_bar 1580 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_cmd_act_check(pci_bar); pci_bar 1588 drivers/net/ethernet/brocade/bna/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 1592 drivers/net/ethernet/brocade/bna/bfa_ioc.c ret_status = readl(pci_bar + FLI_RDDATA_REG); pci_bar 1595 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_fifo_flush(pci_bar); pci_bar 1604 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_read_start(void __iomem *pci_bar, u32 offset, u32 len, pci_bar 1614 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_status_read(pci_bar); pci_bar 1616 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_status_read(pci_bar); pci_bar 1625 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_set_addr(pci_bar, offset); pci_bar 1627 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_set_cmd(pci_bar, 0, (u8)len, 4, BFA_FLASH_FAST_READ); pci_bar 1634 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_read_check(void __iomem *pci_bar) pci_bar 1636 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (bfa_flash_cmd_act_check(pci_bar)) pci_bar 1644 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_read_end(void __iomem *pci_bar, u32 len, char *buf) pci_bar 1650 drivers/net/ethernet/brocade/bna/bfa_ioc.c u32 w = readl(pci_bar + FLI_RDDATA_REG); pci_bar 1654 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_fifo_flush(pci_bar); pci_bar 1692 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_raw_read(void __iomem *pci_bar, u32 offset, char *buf, pci_bar 1702 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_sem_get(pci_bar); pci_bar 1713 drivers/net/ethernet/brocade/bna/bfa_ioc.c status = bfa_flash_read_start(pci_bar, offset + off, l, pci_bar 1716 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 1721 drivers/net/ethernet/brocade/bna/bfa_ioc.c while (bfa_flash_read_check(pci_bar)) { pci_bar 1723 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 1728 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_read_end(pci_bar, l, &buf[off]); pci_bar 1733 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 6737 drivers/scsi/bfa/bfa_ioc.c bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt, pci_bar 6748 drivers/scsi/bfa/bfa_ioc.c writel(cmd.i, (pci_bar + FLI_CMD_REG)); pci_bar 6752 drivers/scsi/bfa/bfa_ioc.c bfa_flash_set_addr(void __iomem *pci_bar, u32 address) pci_bar 6758 drivers/scsi/bfa/bfa_ioc.c writel(addr.i, (pci_bar + FLI_ADDR_REG)); pci_bar 6762 drivers/scsi/bfa/bfa_ioc.c bfa_flash_cmd_act_check(void __iomem *pci_bar) pci_bar 6766 drivers/scsi/bfa/bfa_ioc.c cmd.i = readl(pci_bar + FLI_CMD_REG); pci_bar 6784 drivers/scsi/bfa/bfa_ioc.c bfa_flash_fifo_flush(void __iomem *pci_bar) pci_bar 6790 drivers/scsi/bfa/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 6797 drivers/scsi/bfa/bfa_ioc.c t = readl(pci_bar + FLI_RDDATA_REG); pci_bar 6803 drivers/scsi/bfa/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 6823 drivers/scsi/bfa/bfa_ioc.c bfa_flash_status_read(void __iomem *pci_bar) pci_bar 6830 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_fifo_flush(pci_bar); pci_bar 6834 drivers/scsi/bfa/bfa_ioc.c bfa_flash_set_cmd(pci_bar, 0, 4, 0, BFA_FLASH_READ_STATUS); pci_bar 6837 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_cmd_act_check(pci_bar); pci_bar 6845 drivers/scsi/bfa/bfa_ioc.c dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); pci_bar 6849 drivers/scsi/bfa/bfa_ioc.c ret_status = readl(pci_bar + FLI_RDDATA_REG); pci_bar 6852 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_fifo_flush(pci_bar); pci_bar 6871 drivers/scsi/bfa/bfa_ioc.c bfa_flash_read_start(void __iomem *pci_bar, u32 offset, u32 len, pci_bar 6885 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_status_read(pci_bar); pci_bar 6887 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_status_read(pci_bar); pci_bar 6898 drivers/scsi/bfa/bfa_ioc.c bfa_flash_set_addr(pci_bar, offset); pci_bar 6900 drivers/scsi/bfa/bfa_ioc.c bfa_flash_set_cmd(pci_bar, 0, (u8)len, 4, BFA_FLASH_FAST_READ); pci_bar 6914 drivers/scsi/bfa/bfa_ioc.c bfa_flash_read_check(void __iomem *pci_bar) pci_bar 6916 drivers/scsi/bfa/bfa_ioc.c if (bfa_flash_cmd_act_check(pci_bar)) pci_bar 6931 drivers/scsi/bfa/bfa_ioc.c bfa_flash_read_end(void __iomem *pci_bar, u32 len, char *buf) pci_bar 6940 drivers/scsi/bfa/bfa_ioc.c u32 w = readl(pci_bar + FLI_RDDATA_REG); pci_bar 6944 drivers/scsi/bfa/bfa_ioc.c bfa_flash_fifo_flush(pci_bar); pci_bar 6993 drivers/scsi/bfa/bfa_ioc.c bfa_flash_raw_read(void __iomem *pci_bar, u32 offset, char *buf, pci_bar 7003 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_sem_get(pci_bar); pci_bar 7014 drivers/scsi/bfa/bfa_ioc.c status = bfa_flash_read_start(pci_bar, offset + off, l, pci_bar 7017 drivers/scsi/bfa/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 7022 drivers/scsi/bfa/bfa_ioc.c while (bfa_flash_read_check(pci_bar)) { pci_bar 7024 drivers/scsi/bfa/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 7029 drivers/scsi/bfa/bfa_ioc.c bfa_flash_read_end(pci_bar, l, &buf[off]); pci_bar 7034 drivers/scsi/bfa/bfa_ioc.c bfa_flash_sem_put(pci_bar); pci_bar 47 drivers/spi/spi-dw-pci.c int pci_bar = 0; pci_bar 59 drivers/spi/spi-dw-pci.c dws->paddr = pci_resource_start(pdev, pci_bar); pci_bar 61 drivers/spi/spi-dw-pci.c ret = pcim_iomap_regions(pdev, 1 << pci_bar, pci_name(pdev)); pci_bar 65 drivers/spi/spi-dw-pci.c dws->regs = pcim_iomap_table(pdev)[pci_bar]; pci_bar 106 drivers/uio/uio_sercos3.c int n, int pci_bar) pci_bar 108 drivers/uio/uio_sercos3.c info->mem[n].addr = pci_resource_start(dev, pci_bar); pci_bar 111 drivers/uio/uio_sercos3.c info->mem[n].internal_addr = ioremap(pci_resource_start(dev, pci_bar), pci_bar 112 drivers/uio/uio_sercos3.c pci_resource_len(dev, pci_bar)); pci_bar 115 drivers/uio/uio_sercos3.c info->mem[n].size = pci_resource_len(dev, pci_bar); pci_bar 299 include/linux/switchtec.h u32 pci_bar[6];