Lines Matching refs:macio_chips

106 } macio_chips[MAX_MACIO_CHIPS]  __pmacdata;  variable
120 for (i=0; i < MAX_MACIO_CHIPS && macio_chips[i].of_node; i++) in macio_find()
121 if (child == macio_chips[i].of_node && in macio_find()
122 (!type || macio_chips[i].type == type)) in macio_find()
123 return &macio_chips[i]; in macio_find()
346 struct macio_chip* macio = &macio_chips[0]; in ohare_sleep_state()
653 if (macio_chips[1].type == macio_gatwick) in heathrow_sleep_state()
654 heathrow_sleep(&macio_chips[0], 1); in heathrow_sleep_state()
655 heathrow_sleep(&macio_chips[0], 0); in heathrow_sleep_state()
657 heathrow_wakeup(&macio_chips[0], 0); in heathrow_sleep_state()
658 if (macio_chips[1].type == macio_gatwick) in heathrow_sleep_state()
659 heathrow_wakeup(&macio_chips[0], 1); in heathrow_sleep_state()
774 if (macio_chips[0].type != macio_keylargo) in core99_modem_enable()
776 node = macio_chips[0].of_node; in core99_modem_enable()
826 if (macio_chips[0].type != macio_pangea && in pangea_modem_enable()
827 macio_chips[0].type != macio_intrepid) in pangea_modem_enable()
829 node = macio_chips[0].of_node; in pangea_modem_enable()
966 macio = &macio_chips[0]; in core99_gmac_phy_reset()
1114 macio = &macio_chips[0]; in core99_reset_cpu()
1155 macio = &macio_chips[0]; in core99_usb_enable()
1272 macio = &macio_chips[0]; in core99_firewire_enable()
1302 macio = &macio_chips[0]; in core99_firewire_cable_power()
1327 struct macio_chip* macio = &macio_chips[0]; in core99_read_gpio()
1336 struct macio_chip* macio = &macio_chips[0]; in core99_write_gpio()
1468 macio = &macio_chips[0]; in core99_sleep()
1557 macio = &macio_chips[0]; in core99_wake_up()
2022 struct macio_chip* macio = &macio_chips[0]; in probe_motherboard()
2197 if (!macio_chips[i].of_node) in probe_one_macio()
2199 if (macio_chips[i].of_node == node) in probe_one_macio()
2219 macio_chips[i].of_node = node; in probe_one_macio()
2220 macio_chips[i].type = type; in probe_one_macio()
2221 macio_chips[i].base = base; in probe_one_macio()
2222 macio_chips[i].flags = MACIO_FLAG_SCCB_ON | MACIO_FLAG_SCCB_ON; in probe_one_macio()
2225 macio_chips[i].rev = *revp; in probe_one_macio()
2227 macio_names[type], macio_chips[i].rev, macio_chips[i].base); in probe_one_macio()
2243 if (macio_chips[0].type == macio_gatwick in probe_macios()
2244 && macio_chips[1].type == macio_heathrow) { in probe_macios()
2245 struct macio_chip temp = macio_chips[0]; in probe_macios()
2246 macio_chips[0] = macio_chips[1]; in probe_macios()
2247 macio_chips[1] = temp; in probe_macios()
2249 if (macio_chips[0].type == macio_ohareII in probe_macios()
2250 && macio_chips[1].type == macio_ohare) { in probe_macios()
2251 struct macio_chip temp = macio_chips[0]; in probe_macios()
2252 macio_chips[0] = macio_chips[1]; in probe_macios()
2253 macio_chips[1] = temp; in probe_macios()
2256 return (macio_chips[0].of_node == NULL) ? -ENODEV : 0; in probe_macios()
2300 if (macio_chips[0].type == macio_ohare && !find_devices("via-pmu")) { in set_initial_features()
2301 struct macio_chip* macio = &macio_chips[0]; in set_initial_features()
2303 } else if (macio_chips[0].type == macio_ohare) { in set_initial_features()
2304 struct macio_chip* macio = &macio_chips[0]; in set_initial_features()
2306 } else if (macio_chips[1].type == macio_ohare) { in set_initial_features()
2307 struct macio_chip* macio = &macio_chips[1]; in set_initial_features()
2311 if (macio_chips[0].type == macio_keylargo || in set_initial_features()
2312 macio_chips[0].type == macio_pangea || in set_initial_features()
2313 macio_chips[0].type == macio_intrepid) { in set_initial_features()
2338 macio_chips[0].flags |= MACIO_FLAG_FW_SUPPORTED; in set_initial_features()
2358 if (np && np->parent == macio_chips[0].of_node) { in set_initial_features()
2359 macio_chips[0].flags |= MACIO_FLAG_AIRPORT_ON; in set_initial_features()
2367 if (macio_chips[0].of_node) in set_initial_features()
2369 macio_chips[0].of_node, 0, 0); in set_initial_features()
2372 if (macio_chips[0].of_node && macio_chips[0].type == macio_heathrow in set_initial_features()
2375 struct macio_chip* macio = &macio_chips[0]; in set_initial_features()