Searched refs:macio_resource_count (Results 1 – 11 of 11) sorted by relevance
59 static inline int macio_resource_count(struct macio_dev *dev) in macio_resource_count() function
155 if (macio_resource_count(mdev) < 1 || macio_irq_count(mdev) < 1) { in airport_attach()
420 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mac53c94_probe()423 macio_resource_count(mdev), macio_irq_count(mdev)); in mac53c94_probe()
1867 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mesh_probe()1869 " (got %d,%d)\n", macio_resource_count(mdev), in mesh_probe()
1125 if (macio_resource_count(mdev) == 0) { in pata_macio_attach()1155 if (macio_resource_count(mdev) >= 2) { in pata_macio_attach()
411 if (macio_resource_count(mdev) < 2 || macio_irq_count(mdev) < 2) { in rackmeter_probe()
569 if (macio_resource_count(mdev) < 1) in media_bay_attach()
1154 if (macio_resource_count(mdev) == 0) { in pmac_ide_macio_attach()1190 if (macio_resource_count(mdev) >= 2) { in pmac_ide_macio_attach()
1041 if (macio_resource_count(mdev) < 2) { in swim3_add_device()
116 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in mace_probe()
1260 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in bmac_probe()