Searched refs:macio_resource_count (Results 1 – 11 of 11) sorted by relevance
60 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()
1872 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mesh_probe()1874 " (got %d,%d)\n", macio_resource_count(mdev), in mesh_probe()
1126 if (macio_resource_count(mdev) == 0) { in pata_macio_attach()1154 if (macio_resource_count(mdev) >= 2) { in pata_macio_attach()
412 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()
1142 if (macio_resource_count(mdev) == 0) { in pmac_ide_macio_attach()1178 if (macio_resource_count(mdev) >= 2) { in pmac_ide_macio_attach()
117 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in mace_probe()
1246 if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) { in bmac_probe()
1094 if (macio_resource_count(mdev) < 2) { in swim3_add_device()