Searched refs:macio_resource_count (Results 1 – 10 of 10) sorted by relevance
61 static inline int macio_resource_count(struct macio_dev *dev) in macio_resource_count() function
156 if (macio_resource_count(mdev) < 1 || macio_irq_count(mdev) < 1) { in airport_attach()
417 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mac53c94_probe()420 macio_resource_count(mdev), macio_irq_count(mdev)); in mac53c94_probe()
1868 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mesh_probe()1870 " (got %d,%d)\n", macio_resource_count(mdev), in mesh_probe()
1125 if (macio_resource_count(mdev) == 0) { in pata_macio_attach()1153 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()
566 if (macio_resource_count(mdev) < 1) in media_bay_attach()
117 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in mace_probe()
1243 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in bmac_probe()
1111 if (macio_resource_count(mdev) < 2) { in swim3_add_device()