Searched refs:macio_resource_count (Results 1 – 9 of 9) sorted by relevance
61 static inline int macio_resource_count(struct macio_dev *dev) in macio_resource_count() function
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()
1139 if (macio_resource_count(mdev) == 0) { in pata_macio_attach()1167 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()