Home
last modified time | relevance | path

Searched refs:pmac_call_feature (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/net/wireless/
Dairport.c103 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 0); in airport_sleep_notify()
108 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 1); in airport_sleep_notify()
159 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 0); in airport_hard_reset()
162 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 1); in airport_hard_reset()
223 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 1); in airport_attach()
283 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, card->node, 0, 0); in airport_detach()
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_pci.c577 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, node, 0, 1); in pmac_pci_enable_device_hook()
578 pmac_call_feature(PMAC_FTR_1394_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
583 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
643 pmac_call_feature(PMAC_FTR_1394_ENABLE, nd, 0, 0); in pmac_pcibios_after_init()
644 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, nd, 0, 0); in pmac_pcibios_after_init()
652 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, nd, 0, 0); in pmac_pcibios_after_init()
Dpmac_setup.c171 int mbmodel = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in pmac_show_cpuinfo()
173 unsigned int mbflags = (unsigned int)pmac_call_feature(PMAC_FTR_GET_MB_INFO, in pmac_show_cpuinfo()
177 if (pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, PMAC_MB_INFO_NAME, (int)&mbname) != 0) in pmac_show_cpuinfo()
Dpmac_smp.c493 pmac_call_feature(PMAC_FTR_RESET_CPU, NULL, nr, 0); in smp_core99_kick_cpu()
Dpmac_feature.c2284 pmac_call_feature(PMAC_FTR_MODEM_ENABLE, np, 0, 0); in initial_serial_shutdown()
2285 pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); in initial_serial_shutdown()
/linux-2.4.37.9/include/asm-ppc/
Dpmac_feature.h132 static inline int pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() function
/linux-2.4.37.9/arch/ppc/xmon/
Dstart.c413 pmac_call_feature( in xmon_init_scc()
421 pmac_call_feature( in xmon_init_scc()
/linux-2.4.37.9/drivers/macintosh/
Dvia-pmu.c408 if (pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in via_pmu_start()
437 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in via_pmu_start()
597 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in done_battery_state_ohare()
2220 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_G3()
2237 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_G3()
2390 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_Core99()
2399 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_Core99()
2540 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_3400()
2556 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_3400()
Dmacserial.c1197 pmac_call_feature( in set_scc_power()
1201 pmac_call_feature( in set_scc_power()
1216 pmac_call_feature( in set_scc_power()
1220 pmac_call_feature( in set_scc_power()
Dadbhid.c165 switch(pmac_call_feature(PMAC_FTR_GET_MB_INFO, in adbhid_input_keycode()
/linux-2.4.37.9/drivers/sound/dmasound/
Ddmasound_awacs.c386 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, gpio_addr, data ? 0x05 : 0x04); in write_audio_gpio()
394 return ((pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio_addr, 0) & 0x02) !=0); in read_audio_gpio()
455 val = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio_headphone_detect, 0); in awacs_tumbler_init()
456 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, gpio_headphone_detect, val | 0x80); in awacs_tumbler_init()
530 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, awacs_node, 0, 0); in PMacIrqCleanup()
1315 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, awacs_node, 0, 0); in awacs_sleep_notify()
1329 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, awacs_node, 0, 1); in awacs_sleep_notify()
2851 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, io, 0, 1); in dmasound_awacs_init()
/linux-2.4.37.9/drivers/net/
Dbmac.c249 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, bp->node, 0, 1); in bmac_enable_and_reset_chip()
528 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, bp->node, 0, 0); in bmac_sleep_notify()
1437 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, bp->node, 0, 0); in bmac_probe1()
1458 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, bp->node, 0, 0); in bmac_probe1()
1569 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, bp->node, 0, 0); in bmac_close()
Dgmac.c598 pmac_call_feature(PMAC_FTR_GMAC_PHY_RESET, gm->of_node, 0, 0); in mii_lookup_and_reset()
696 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gm->of_node, 0, 1); in gmac_set_power()
721 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gm->of_node, 0, 0); in gmac_set_power()
Dsungem.c1688 pmac_call_feature(PMAC_FTR_GMAC_PHY_RESET, gp->of_node, 0, 0); in gem_init_phy()
2179 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 1); in gem_apple_powerup()
2205 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 0); in gem_apple_powerdown()
/linux-2.4.37.9/drivers/block/
Dswim3.c1109 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 1); in swim3_add_device()
1131 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 0); in swim3_add_device()
/linux-2.4.37.9/drivers/scsi/
Dmesh.c395 pmac_call_feature(PMAC_FTR_MESH_ENABLE, ms->ofnode, 0, 0); in mesh_release()
405 pmac_call_feature(PMAC_FTR_MESH_ENABLE, ms->ofnode, 0, 1); in set_mesh_power()
408 pmac_call_feature(PMAC_FTR_MESH_ENABLE, ms->ofnode, 0, 0); in set_mesh_power()
/linux-2.4.37.9/drivers/usb/host/
Dusb-ohci.c2823 pmac_call_feature(PMAC_FTR_USB_ENABLE, of_node, 0, 0); in ohci_pci_suspend()
2853 pmac_call_feature(PMAC_FTR_USB_ENABLE, of_node, 0, 1); in ohci_pci_resume()
/linux-2.4.37.9/drivers/ieee1394/
Dohci1394.c3565 pmac_call_feature(PMAC_FTR_1394_ENABLE, of_node, 0, 0); in ohci1394_pci_remove()
3566 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, of_node, 0, 0); in ohci1394_pci_remove()