HomeSort by: relevance | last modified time | path
    Searched defs:smpsw (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/arch/evbppc/wii/dev/
resetbtn.c 65 struct sysmon_pswitch *smpsw = device_private(self); local in function:resetbtn_attach
75 smpsw->smpsw_name = device_xname(self);
76 smpsw->smpsw_type = PSWITCH_TYPE_RESET;
77 error = sysmon_pswitch_register(smpsw);
81 smpsw = NULL;
84 hollywood_intr_establish(haa->haa_irq, IPL_HIGH, resetbtn_intr, smpsw,
91 struct sysmon_pswitch *smpsw = arg; local in function:resetbtn_intr
93 sysmon_task_queue_sched(0, resetbtn_task, smpsw);
101 struct sysmon_pswitch *smpsw = arg; local in function:resetbtn_task
106 if (smpsw != NULL)
    [all...]
  /src/sys/arch/evbarm/hdl_g/
btn_obio.c 172 struct sysmon_pswitch *smpsw = (void *)arg; local in function:btn_sysmon_pressed_event
174 sysmon_pswitch_event(smpsw, PSWITCH_EVENT_PRESSED);
  /src/sys/dev/sysmon/
sysmon_power.c 702 struct sysmon_pswitch *smpsw = local in function:sysmon_power_make_dictionary
717 SETPROP("driver-name", smpsw->smpsw_name);
726 if (petype[i].type == smpsw->smpsw_type)
954 sysmon_pswitch_register(struct sysmon_pswitch *smpsw)
967 sysmon_pswitch_unregister(struct sysmon_pswitch *smpsw)
978 sysmon_pswitch_event(struct sysmon_pswitch *smpsw, int event)
982 KASSERT(smpsw != NULL);
988 if (smpsw->smpsw_type == PSWITCH_TYPE_LID) {
1010 if (sysmon_power_daemon_task(ped, smpsw, event) == 0)
1017 switch (smpsw->smpsw_type)
    [all...]
  /src/sys/dev/acpi/
acpi.c 1381 struct sysmon_pswitch *smpsw; local in function:acpi_register_fixed_button
1393 smpsw = &sc->sc_smpsw_power;
1402 smpsw = &sc->sc_smpsw_sleep;
1410 smpsw->smpsw_type = type;
1411 smpsw->smpsw_name = device_xname(sc->sc_dev);
1413 if (sysmon_pswitch_register(smpsw) != 0) {
1421 acpi_fixed_button_handler, smpsw);
1424 sysmon_pswitch_unregister(smpsw);
1441 struct sysmon_pswitch *smpsw; local in function:acpi_deregister_fixed_button
1447 smpsw = &sc->sc_smpsw_power
1487 struct sysmon_pswitch *smpsw = context; local in function:acpi_fixed_button_handler
1497 struct sysmon_pswitch *smpsw = context; local in function:acpi_fixed_button_pressed
    [all...]

Completed in 15 milliseconds