Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/cpufreq/
Dpmac32-cpufreq.c120 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in cpu_750fx_cpu_speed()
143 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in cpu_750fx_cpu_speed()
163 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in dfs_set_cpu_speed()
176 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in dfs_set_cpu_speed()
200 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); in gpios_set_cpu_speed()
206 gpio = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, frequency_gpio, 0); in gpios_set_cpu_speed()
210 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, frequency_gpio, in gpios_set_cpu_speed()
217 gpio = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, slew_done_gpio, 0); in gpios_set_cpu_speed()
222 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x04); in gpios_set_cpu_speed()
285 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,1,1); in pmu_set_cpu_speed()
[all …]
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/
Dairport.c57 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_suspend()
74 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_resume()
107 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_detach()
133 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_hard_reset()
136 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_hard_reset()
193 pmac_call_feature(PMAC_FTR_AIRPORT_ENABLE, in airport_attach()
/Linux-v4.19/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-v4.19/arch/powerpc/platforms/powermac/
Dsetup.c108 mbmodel = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo()
110 mbflags = pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, in pmac_show_cpuinfo()
112 if (pmac_call_feature(PMAC_FTR_GET_MB_INFO, NULL, PMAC_MB_INFO_NAME, in pmac_show_cpuinfo()
Dsmp.c658 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, core99_tb_gpio, 4); in smp_core99_gpio_tb_freeze()
660 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, core99_tb_gpio, 0); in smp_core99_gpio_tb_freeze()
661 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, core99_tb_gpio, 0); in smp_core99_gpio_tb_freeze()
825 pmac_call_feature(PMAC_FTR_RESET_CPU, NULL, nr, 0); in smp_core99_kick_cpu()
Dpci.c990 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, node, 0, 1); in pmac_pci_enable_device_hook()
991 pmac_call_feature(PMAC_FTR_1394_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
996 pmac_call_feature(PMAC_FTR_GMAC_ENABLE, node, 0, 1); in pmac_pci_enable_device_hook()
1046 pmac_call_feature(PMAC_FTR_1394_ENABLE, nd, 0, 0); in pmac_pcibios_after_init()
1047 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, nd, 0, 0); in pmac_pcibios_after_init()
1053 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.c463 pmac_call_feature(PMAC_FTR_ENABLE_MPIC, np, 0, 0); in pmac_setup_one_mpic()
Dfeature.c2760 pmac_call_feature(PMAC_FTR_MODEM_ENABLE, np, 0, 0); in initial_serial_shutdown()
2761 pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); in initial_serial_shutdown()
/Linux-v4.19/drivers/macintosh/
Dvia-pmu.c529 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in via_pmu_dev_init()
708 int mb = pmac_call_feature(PMAC_FTR_GET_MB_INFO, in done_battery_state_ohare()
919 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_show()
964 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) in pmu_options_proc_write()
1871 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,1); in powerbook_sleep_grackle()
1893 pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,0); in powerbook_sleep_grackle()
1924 if (pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) < 0) { in powerbook_sleep_Core99()
1962 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_Core99()
1971 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 0); in powerbook_sleep_Core99()
2046 pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, 1); in powerbook_sleep_3400()
[all …]
Drack-meter.c102 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, RACKMETER_MAGIC_GPIO, 5); in rackmeter_setup_i2s()
108 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-v4.19/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-v4.19/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-v4.19/drivers/tty/serial/
Dpmac_zilog.c738 rc = pmac_call_feature( in pmz_set_scc_power()
742 rc = pmac_call_feature( in pmz_set_scc_power()
752 rc = pmac_call_feature( in pmz_set_scc_power()
756 pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); in pmz_set_scc_power()
/Linux-v4.19/drivers/usb/core/
Dhcd-pci.c396 pmac_call_feature(PMAC_FTR_USB_ENABLE, in powermac_set_asic()
/Linux-v4.19/drivers/block/
Dswim3.c1143 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 1); in swim3_add_device()
1179 pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 0); in swim3_add_device()
/Linux-v4.19/sound/ppc/
Dtumbler.c173 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val)
175 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0)
/Linux-v4.19/drivers/firewire/
Dohci.c3543 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); in pmac_ohci_on()
3544 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); in pmac_ohci_on()
3555 pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); in pmac_ohci_off()
3556 pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); in pmac_ohci_off()
/Linux-v4.19/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()
1692 pmac_call_feature(PMAC_FTR_GMAC_PHY_RESET, gp->of_node, 0, 0); in gem_init_phy()
/Linux-v4.19/drivers/scsi/
Dmesh.c1744 pmac_call_feature(PMAC_FTR_MESH_ENABLE, macio_get_of_node(ms->mdev), 0, 1); in set_mesh_power()
1747 pmac_call_feature(PMAC_FTR_MESH_ENABLE, macio_get_of_node(ms->mdev), 0, 0); in set_mesh_power()
/Linux-v4.19/drivers/video/fbdev/aty/
Daty128fb.c1964 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, NULL, 0, 1); in aty128_init()
Dradeon_pm.c2869 pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, rinfo->of_node, 0, 1); in radeonfb_pm_init()