Home
last modified time | relevance | path

Searched refs:pmu_request (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/macintosh/
Dvia-pmu-backlight.c84 pmu_request(&req, NULL, 2, PMU_BACKLIGHT_BRIGHT, pmulevel); in __pmu_backlight_update_status()
87 pmu_request(&req, NULL, 2, PMU_POWER_CTRL, in __pmu_backlight_update_status()
91 pmu_request(&req, NULL, 2, PMU_POWER_CTRL, in __pmu_backlight_update_status()
135 pmu_request(&req, NULL, 2, PMU_POWER_CTRL, in pmu_backlight_set_sleep()
182 pmu_request(&req, NULL, 2, 0xd9, 0); in pmu_backlight_init()
Dvia-pmu68k.c198 pmu_request((struct adb_request *) &req, NULL, 2, PMU_SET_INTR_MASK, PMU_INT_ADB); in pmu_init()
225 pmu_request((struct adb_request *) &req, NULL, 2, PMU_SET_INTR_MASK, in pmu_init()
389 pmu_request(&req, NULL, 5, PMU_ADB_CMD, 0, 0x86, in pmu_autopoll()
393 pmu_request(&req, NULL, 1, PMU_ADB_POLL_OFF); in pmu_autopoll()
448 pmu_request(struct adb_request *req, void (*done)(struct adb_request *), in pmu_request() function
757 pmu_request(&req, NULL, 3, PMU_READ_NVRAM, 0x14, 0xe); in pmu_enable_backlight()
768 pmu_request(&req, NULL, 2, PMU_BACKLIGHT_BRIGHT, in pmu_enable_backlight()
773 pmu_request(&req, NULL, 2, PMU_POWER_CTRL, in pmu_enable_backlight()
790 pmu_request(&bright_req_1, NULL, 2, PMU_BACKLIGHT_BRIGHT, in pmu_set_brightness()
793 pmu_request(&bright_req_2, NULL, 2, PMU_POWER_CTRL, in pmu_set_brightness()
[all …]
Dvia-pmu.c532 pmu_request(&req, NULL, 2, PMU_SET_INTR_MASK, pmu_intr_mask); in init_pmu()
559 pmu_request(&req, NULL, 2, PMU_SYSTEM_READY, 2); in init_pmu()
565 pmu_request(&req, NULL, 1, PMU_GET_VERSION); in init_pmu()
572 pmu_request(&req, NULL, 2, PMU_POWER_EVENTS, in init_pmu()
599 pmu_request(&req, NULL, 2, PMU_POWER_EVENTS, PMU_PWR_GET_POWERUP_EVENTS); in pmu_set_server_mode()
604 pmu_request(&req, NULL, 4, PMU_POWER_EVENTS, in pmu_set_server_mode()
608 pmu_request(&req, NULL, 4, PMU_POWER_EVENTS, in pmu_set_server_mode()
789 pmu_request(&batt_req, done_battery_state_ohare, in query_battery_state()
792 pmu_request(&batt_req, done_battery_state_smart, in query_battery_state()
1041 pmu_request(&req, NULL, 5, PMU_ADB_CMD, 0, 0x86, in __pmu_adb_autopoll()
[all …]
Dvia-pmu-led.c44 pmu_request(&pmu_blink_req, NULL, 4, 0xee, 4, 0, requested_change); in pmu_req_done()
69 pmu_request(&pmu_blink_req, NULL, 4, 0xee, 4, 0, requested_change); in pmu_led_set()
/linux-2.6.39/arch/m68k/mac/
Dmisc.c100 if (pmu_request(&req, NULL, 1, PMU_READ_RTC) < 0) in pmu_read_time()
114 if (pmu_request(&req, NULL, 5, PMU_SET_RTC, in pmu_write_time()
125 if (pmu_request(&req, NULL, 3, PMU_READ_NVRAM, in pmu_read_pram()
136 if (pmu_request(&req, NULL, 4, PMU_WRITE_NVRAM, in pmu_write_pram()
419 if (pmu_request(&req, NULL, in pmu_restart()
424 if (pmu_request(&req, NULL, 1, PMU_RESET) < 0) in pmu_restart()
433 if (pmu_request(&req, NULL, in pmu_shutdown()
438 if (pmu_request(&req, NULL, 5, PMU_SHUTDOWN, 'M', 'A', 'T', 'T') < 0) in pmu_shutdown()
/linux-2.6.39/drivers/macintosh/ams/
Dams-pmu.c58 if (pmu_request(&req, ams_pmu_req_complete, 4, ams_pmu_cmd, 0x00, reg, value)) in ams_pmu_set_register()
71 if (pmu_request(&req, ams_pmu_req_complete, 3, ams_pmu_cmd, 0x01, reg)) in ams_pmu_get_register()
/linux-2.6.39/arch/powerpc/platforms/powermac/
Dtime.c155 if (pmu_request(&req, NULL, 1, PMU_READ_RTC) < 0) in pmu_get_time()
174 if (pmu_request(&req, NULL, 5, PMU_SET_RTC, nowtime >> 24, in pmu_set_rtc_time()
Dnvram.c200 if (pmu_request(&req, pmu_nvram_complete, 3, PMU_READ_NVRAM, in pmu_nvram_read_byte()
216 if (pmu_request(&req, pmu_nvram_complete, 4, PMU_WRITE_NVRAM, in pmu_nvram_write_byte()
Dcpufreq_32.c281 pmu_request(&req, NULL, 6, PMU_CPU_SPEED, 'W', 'O', 'O', 'F', low_speed); in pmu_set_cpu_speed()
/linux-2.6.39/include/linux/
Dpmu.h140 extern int pmu_request(struct adb_request *req,