Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cpufreq/
Dpmac32-cpufreq.c116 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in cpu_750fx_cpu_speed()
139 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in cpu_750fx_cpu_speed()
159 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in dfs_set_cpu_speed()
172 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in dfs_set_cpu_speed()
196 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in gpios_set_cpu_speed()
202 gpio = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, frequency_gpio, 0); in gpios_set_cpu_speed()
206 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, frequency_gpio, in gpios_set_cpu_speed()
213 gpio = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, slew_done_gpio, 0); in gpios_set_cpu_speed()
218 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in gpios_set_cpu_speed()
281 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,1,1); in pmu_set_cpu_speed()
[all …]
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
Dairport.c58 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_suspend()
75 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_resume()
108 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_detach()
134 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_hard_reset()
137 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_hard_reset()
194 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_attach()
/linux-6.6.21/sound/aoa/core/
Dgpio-feature.c142 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, \
149 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, \
174 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, in ftr_gpio_set_hw_reset()
177 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, in ftr_gpio_set_hw_reset()
227 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio, 0); in gpio_enable_dual_edge()
229 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, gpio, v); in gpio_enable_dual_edge()
402 ret = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio, 0); in ftr_get_detect()
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dsetup.c94 mbmodel = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo()
96 mbflags = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo()
98 if (pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, PMAC_MB_INFO_NAME, in pmac_show_cpuinfo()
Dsmp.c650 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, core99_tb_gpio, 4); in smp_core99_gpio_tb_freeze()
652 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, core99_tb_gpio, 0); in smp_core99_gpio_tb_freeze()
653 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, core99_tb_gpio, 0); in smp_core99_gpio_tb_freeze()
818 pmac_call_feature(PMAC_FTR_RESET_CPU, NULL, nr, 0); in smp_core99_kick_cpu()
Dpci.c987 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, node, 0, 1); in pmac_pci_enable_device_hook()
988 pmac_call_feature(PMAC_FTR_1394_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
993 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
1043 pmac_call_feature(PMAC_FTR_1394_ENABLE, nd, 0, 0); in pmac_pcibios_after_init()
1044 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, nd, 0, 0); in pmac_pcibios_after_init()
1050 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, nd, 0, 0); in pmac_pcibios_after_init()
Dudbg_scc.c111 pmac_call_feature(PMAC_FTR_SCC_ENABLE, ch, in udbg_scc_init()
Dpic.c451 pmac_call_feature(PMAC_FTR_ENABLE_MPIC, np, 0, 0); in pmac_setup_one_mpic()
Dfeature.c2742 pmac_call_feature(PMAC_FTR_MODEM_ENABLE, np, 0, 0); in initial_serial_shutdown()
2743 pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); in initial_serial_shutdown()
/linux-6.6.21/drivers/macintosh/
Dvia-pmu.c515 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in via_pmu_dev_init()
694 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in done_battery_state_ohare()
906 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_show()
951 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_write()
1892 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_grackle()
1914 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_grackle()
1945 if (pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) < 0) { in powerbook_sleep_Core99()
1983 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_Core99()
1992 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 0); in powerbook_sleep_Core99()
2067 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_3400()
[all …]
Drack-meter.c100 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, RACKMETER_MAGIC_GPIO, 5); in rackmeter_setup_i2s()
106 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1); in rackmeter_setup_i2s()
Dadbhid.c341 switch(pmac_call_feature(PMAC_FTR_GET_MB_INFO, in adbhid_input_keycode()
/linux-6.6.21/arch/powerpc/include/asm/
Dpmac_feature.h146 static inline long pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() function
/linux-6.6.21/drivers/net/ethernet/apple/
Dbmac.c233 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 1); in bmac_enable_and_reset_chip()
498 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 0); in bmac_suspend()
1340 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 0); in bmac_probe()
1369 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 0); in bmac_probe()
1428 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 0); in bmac_close()
/linux-6.6.21/drivers/tty/serial/
Dpmac_zilog.c713 rc = pmac_call_feature( in pmz_set_scc_power()
717 rc = pmac_call_feature( in pmz_set_scc_power()
727 rc = pmac_call_feature( in pmz_set_scc_power()
731 pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); in pmz_set_scc_power()
/linux-6.6.21/drivers/usb/core/
Dhcd-pci.c388 pmac_call_feature(PMAC_FTR_USB_ENABLE, in powermac_set_asic()
/linux-6.6.21/drivers/block/
Dswim3.c1131 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 1); in swim3_add_device()
1167 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 0); in swim3_add_device()
/linux-6.6.21/sound/ppc/
Dtumbler.c159 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val)
161 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0)
/linux-6.6.21/drivers/firewire/
Dohci.c3585 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); in pmac_ohci_on()
3586 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); in pmac_ohci_on()
3597 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); in pmac_ohci_off()
3598 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); in pmac_ohci_off()
/linux-6.6.21/drivers/net/ethernet/sun/
Dsungem.c207 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 1); in gem_get_cell()
221 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 0); in gem_put_cell()
1683 pmac_call_feature(PMAC_FTR_GMAC_PHY_RESET, gp->of_node, 0, 0); in gem_init_phy()
/linux-6.6.21/drivers/scsi/
Dmesh.c1746 pmac_call_feature(PMAC_FTR_MESH_ENABLE, macio_get_of_node(ms->mdev), 0, 1); in set_mesh_power()
1749 pmac_call_feature(PMAC_FTR_MESH_ENABLE, macio_get_of_node(ms->mdev), 0, 0); in set_mesh_power()
/linux-6.6.21/drivers/video/fbdev/aty/
Daty128fb.c1937 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, NULL, 0, 1); in aty128_init()
Dradeon_pm.c2886 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, rinfo->of_node, 0, 1); in radeonfb_pm_init()