pci_resource_flags
unsigned long flags = pci_resource_flags(dev,i);
unsigned long flags = pci_resource_flags(dev, i);
flags = pci_resource_flags(dev, bir);
if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM)
else if (pci_resource_flags(pdev, bar) & IORESOURCE_IO)
if ((pci_resource_flags(pdev, 4) & IORESOURCE_MEM) == 0)
if (pci_resource_flags(pdev, MMIO_BAR_PCI) & IORESOURCE_MEM)
if ((pci_resource_flags(pdev, QS_MMIO_BAR) & IORESOURCE_MEM) == 0)
if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if ((pci_resource_flags(pcidev, board->dio_badr) & IORESOURCE_MEM)) {
if (pci_resource_flags(pcidev, 2) & IORESOURCE_MEM) {
if (pci_resource_flags(pci_dev, bar) & IORESOURCE_MEM) {
if (!(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(dev, 0) & IORESOURCE_MEM) ||
flags = pci_resource_flags(dev, i);
if (r || (pci_resource_flags(adev->pdev, 0) & IORESOURCE_UNSET))
if (pci_resource_flags(adev->pdev, 2) & IORESOURCE_UNSET)
} else if (pci_resource_flags(pdev, 2) & IORESOURCE_IO) {
if (!pci_resource_flags(pdev, bar))
if (pci_resource_flags(pdev, bar) & IORESOURCE_UNSET)
idx += (pci_resource_flags(pdev->pdev, idx) & IORESOURCE_MEM_64) ? 2 : 1;
idx += (pci_resource_flags(pdev->pdev, idx) & IORESOURCE_MEM_64) ? 2 : 1;
if (pci_resource_flags(rdev->pdev, i) & IORESOURCE_IO) {
if (!pci_resource_flags(pdev, bar))
if (pci_resource_flags(pdev, bar) & IORESOURCE_UNSET)
if (pci_resource_flags(dev, 0) & IORESOURCE_IO)
if (!(pci_resource_flags(dev, 0) & IORESOURCE_IO))
if (pci_resource_flags(dev, SMBBAR_MMIO) & IORESOURCE_MEM)
if (!(pci_resource_flags(dev, 0) & IORESOURCE_IO))
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) ||
if (!(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 4) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
pci_resource_flags(pdev, 0));
pci_resource_flags(pdev, 1));
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) ||
!(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM))
flags = pci_resource_flags(pdev, 0);
if (pci_resource_flags(pdev, 1)) {
if (!(IORESOURCE_MEM & pci_resource_flags(pdev, cnt)))
if (pci_resource_flags(pdev, ii) & PCI_BASE_ADDRESS_SPACE_IO) {
if (!(pci_resource_flags(dev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(dev, 1) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) {
if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM) {
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_IO)) {
if (!(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) {
if (!ioaddr || ((pci_resource_flags(pdev, 0) & IORESOURCE_IO) == 0)) {
if (!ioaddr || ((pci_resource_flags(pdev, 0) & IORESOURCE_MEM) == 0)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (IORESOURCE_MEM & pci_resource_flags(pdev, bar)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (IS_PF(bp) && !(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (pci_resource_flags(pdev, i) & IORESOURCE_IO) {
(pci_resource_flags(pdev, 1) & IORESOURCE_MEM) &&
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
pci_dev_data, pci_resource_flags(pdev, 0));
if (!(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if ((pci_resource_flags(pdev, 0) & IORESOURCE_IO) != 0)
if (pci_resource_flags(pci_dev, i) & IORESOURCE_MEM &&
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, 4) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (IS_PF(cdev) && !(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, bar) & res[bar].mask)) {
if (!(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, SMSC_BAR) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) ||
!(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) {
if ((pci_resource_flags(pdev, 0) & IORESOURCE_IO) != 0) {
if ((pci_resource_flags(pdev, 0) & IORESOURCE_IO) != 0) {
if (pci_resource_flags(pdev, reg) & IORESOURCE_IO) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_IO)) {
if ((pci_resource_flags(pdev, 1) & IORESOURCE_IO)) {
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(pdev, 1) & IO_RESOURCE_IO)) {
if (!(pci_resource_flags(pci_dev, 0) & IORESOURCE_MEM)) {
pmem_flags = pci_resource_flags(pdev, rtlpriv->cfg->bar_id);
if (!(pci_resource_flags(dev, 1) & IORESOURCE_MEM))
flags = pci_resource_flags(dev, bar);
flags = pci_resource_flags(dev, bar);
flags = pci_resource_flags(dev, bir);
if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM))
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM))
if (pci_resource_flags(pdev, num) & IORESOURCE_IO) {
if (pci_resource_flags(pdev, bar) & IORESOURCE_IO)
else if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM)
if (pci_resource_flags(pdev, bar) & IORESOURCE_IO) {
} else if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM) {
if (pci_resource_flags(dev, i) & flags)
if (!(pci_resource_flags(pdev, BAR_0) & IORESOURCE_MEM) ||
pci_resource_flags(pdev, BAR_0) & IORESOURCE_MEM_64 ||
if (!(pci_resource_flags(pdev, BAR_1) & IORESOURCE_MEM) ||
pci_resource_flags(pdev, BAR_1) & IORESOURCE_MEM_64 ||
if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_MEM_64) {
if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_PREFETCH)
if (pci_resource_flags(pdev, BAR_4) & IORESOURCE_MEM_64) {
if (pci_resource_flags(pdev, BAR_4) & IORESOURCE_PREFETCH)
if (pci_resource_flags(pci_device, 0) & IORESOURCE_MEM) {
if (pci_resource_flags(pci_device, 1) & IORESOURCE_IO) {
if (pci_resource_flags(pci_device, 0) & IORESOURCE_MEM) {
if (pci_resource_flags(pci_device, 1) & IORESOURCE_IO) {
io_handle->flags = pci_resource_flags(asd_ha->pcidev, i);
io_handle->flags = pci_resource_flags(asd_ha->pcidev, i);
if (pci_resource_flags(pdev, i) & IORESOURCE_MEM) {
if (pci_resource_flags(pdev, i) & IORESOURCE_MEM_64)
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
bar_type = pci_resource_flags(pdev, i) & PCI_BASE_ADDRESS_SPACE;
mem_type = pci_resource_flags(pdev, i) &
if (pci_resource_flags(pdev, i) & IORESOURCE_MEM) {
if (!(pci_resource_flags(pcidev, index) & IORESOURCE_MEM)) {
if (pci_resource_flags(pci_dev, j) & IORESOURCE_IO) {
if (pci_resource_flags(pdev, 0) & IORESOURCE_MEM) {
if (pci_resource_flags(pdev, i) & IORESOURCE_MEM) {
if (pci_resource_flags(pdev, i) & IORESOURCE_IO) {
} else if (pci_resource_flags(pdev, i) & IORESOURCE_MEM) {
res_flag_ex = pci_resource_flags(pdev, bar_ex);
if ((pci_resource_flags(dev, i) & IORESOURCE_MEM) &&
if (pci_resource_flags(dev, i) & IORESOURCE_MEM) {
if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM) {
if (!(pci_resource_flags(ha->pdev, 0) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(ha->pdev, 2) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(ha->pdev, 0) & IORESOURCE_MEM)) {
if (pci_resource_flags(ha->pdev, 0) & IORESOURCE_IO) {
if (!(pci_resource_flags(ha->pdev, 1) & IORESOURCE_MEM)) {
if (!(pci_resource_flags(ha->pdev, 0) & IORESOURCE_MEM)) {
pio_flags = pci_resource_flags(ha->pdev, 0);
mmio_flags = pci_resource_flags(ha->pdev, 1);
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
if ((pci_resource_flags(pdev, i) & PCI_BASE_ADDRESS_SPACE_IO))
if (!(pci_resource_flags(dev, 5) & IORESOURCE_IO) ||
!(pci_resource_flags(dev, 4) & IORESOURCE_IO) ||
!(pci_resource_flags(dev, 3) & IORESOURCE_IO))
if (pci_resource_flags(priv->dev, bar) & IORESOURCE_MEM) {
if (!(pci_resource_flags(dev, 0) & IORESOURCE_MEM))
if ((pci_resource_flags(dev, 0) & IORESOURCE_MEM) == 0) {
if ((pci_resource_flags(dev, 0) & IORESOURCE_MEM) == 0)
if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) {
if (pci_resource_flags(dev, i) & IORESOURCE_IO) {
if (pci_resource_flags(dev, i) & IORESOURCE_MEM)
if (pci_resource_flags(dev, i) & IORESOURCE_IO &&
if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) {
if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) {
if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) {
if (pci_resource_flags(dev, bar) & IORESOURCE_MEM) {
if (!(pci_resource_flags(dev, region) &
if ((pci_resource_flags(pdev, i) & IORESOURCE_IO)) {
unsigned long flags = pci_resource_flags(pdev, bar);
if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM))
if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) {
pci_resource_flags(dev, bar) & ioresource_types) {
if (pci_resource_flags(pci_dev, idx) & IORESOURCE_MEM) {
!(pci_resource_flags(pci, idx) & IORESOURCE_IO))
if (pci_resource_flags(pci, 2) & IORESOURCE_MEM) /* ICH4 and Nforce */
if (pci_resource_flags(pci, 3) & IORESOURCE_MEM) /* ICH4 */
if (pci_resource_flags(pci, 2) & IORESOURCE_MEM) /* ICH4 and Nforce */
if (pci_resource_flags(pci, 3) & IORESOURCE_MEM) /* ICH4 */
if (!(pci_resource_flags(pci, 0) & IORESOURCE_IO) ||