/linux-6.1.9/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 116 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.1.9/drivers/net/wireless/intersil/orinoco/ |
D | airport.c | 58 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.1.9/sound/aoa/core/ |
D | gpio-feature.c | 142 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.1.9/arch/powerpc/platforms/powermac/ |
D | setup.c | 95 mbmodel = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo() 97 mbflags = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo() 99 if (pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, PMAC_MB_INFO_NAME, in pmac_show_cpuinfo()
|
D | smp.c | 650 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()
|
D | pci.c | 987 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()
|
D | udbg_scc.c | 111 pmac_call_feature(PMAC_FTR_SCC_ENABLE, ch, in udbg_scc_init()
|
D | pic.c | 451 pmac_call_feature(PMAC_FTR_ENABLE_MPIC, np, 0, 0); in pmac_setup_one_mpic()
|
D | feature.c | 2744 pmac_call_feature(PMAC_FTR_MODEM_ENABLE, np, 0, 0); in initial_serial_shutdown() 2745 pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); in initial_serial_shutdown()
|
/linux-6.1.9/drivers/macintosh/ |
D | via-pmu.c | 520 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in via_pmu_dev_init() 699 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in done_battery_state_ohare() 910 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_show() 955 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_write() 1895 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_grackle() 1917 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_grackle() 1948 if (pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) < 0) { in powerbook_sleep_Core99() 1986 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_Core99() 1995 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 0); in powerbook_sleep_Core99() 2070 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_3400() [all …]
|
D | rack-meter.c | 100 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()
|
D | adbhid.c | 341 switch(pmac_call_feature(PMAC_FTR_GET_MB_INFO, in adbhid_input_keycode()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | pmac_feature.h | 146 static inline long pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() function
|
/linux-6.1.9/drivers/net/ethernet/apple/ |
D | bmac.c | 233 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.1.9/drivers/tty/serial/ |
D | pmac_zilog.c | 715 rc = pmac_call_feature( in pmz_set_scc_power() 719 rc = pmac_call_feature( in pmz_set_scc_power() 729 rc = pmac_call_feature( in pmz_set_scc_power() 733 pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); in pmz_set_scc_power()
|
/linux-6.1.9/drivers/usb/core/ |
D | hcd-pci.c | 388 pmac_call_feature(PMAC_FTR_USB_ENABLE, in powermac_set_asic()
|
/linux-6.1.9/drivers/block/ |
D | swim3.c | 1132 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 1); in swim3_add_device() 1168 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 0); in swim3_add_device()
|
/linux-6.1.9/sound/ppc/ |
D | tumbler.c | 159 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.1.9/drivers/firewire/ |
D | ohci.c | 3525 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); in pmac_ohci_on() 3526 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); in pmac_ohci_on() 3537 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); in pmac_ohci_off() 3538 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); in pmac_ohci_off()
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | sungem.c | 206 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 1); in gem_get_cell() 220 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, gp->of_node, 0, 0); in gem_put_cell() 1682 pmac_call_feature(PMAC_FTR_GMAC_PHY_RESET, gp->of_node, 0, 0); in gem_init_phy()
|
/linux-6.1.9/drivers/scsi/ |
D | mesh.c | 1746 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.1.9/drivers/video/fbdev/aty/ |
D | aty128fb.c | 1942 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, NULL, 0, 1); in aty128_init()
|
D | radeon_pm.c | 2886 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, rinfo->of_node, 0, 1); in radeonfb_pm_init()
|