Searched refs:macio_resource_count (Results 1 – 10 of 10) 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()
419 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mac53c94_probe()422 macio_resource_count(mdev), macio_irq_count(mdev)); in mac53c94_probe()
1873 if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { in mesh_probe()1875 " (got %d,%d)\n", macio_resource_count(mdev), in mesh_probe()
1129 if (macio_resource_count(mdev) == 0) { in pata_macio_attach()1157 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()
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()
1111 if (macio_resource_count(mdev) < 2) { in swim3_add_device()