• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/acpi/acpica/

Lines Matching refs:gpe_event_info

59  * PARAMETERS:  gpe_event_info          - GPE to update
69 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info)
76 gpe_register_info = gpe_event_info->register_info;
81 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info,
90 if (gpe_event_info->runtime_count) {
101 * PARAMETERS: gpe_event_info - GPE to enable
109 acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info)
121 if (!(gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK)) {
126 status = acpi_hw_clear_gpe(gpe_event_info);
132 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE);
142 * PARAMETERS: gpe_event_info - GPE to enable
151 acpi_status acpi_raw_enable_gpe(struct acpi_gpe_event_info *gpe_event_info)
155 if (gpe_event_info->runtime_count == ACPI_UINT8_MAX) {
159 gpe_event_info->runtime_count++;
160 if (gpe_event_info->runtime_count == 1) {
161 status = acpi_ev_update_gpe_enable_mask(gpe_event_info);
163 status = acpi_ev_enable_gpe(gpe_event_info);
167 gpe_event_info->runtime_count--;
178 * PARAMETERS: gpe_event_info - GPE to disable
187 acpi_status acpi_raw_disable_gpe(struct acpi_gpe_event_info *gpe_event_info)
191 if (!gpe_event_info->runtime_count) {
195 gpe_event_info->runtime_count--;
196 if (!gpe_event_info->runtime_count) {
197 status = acpi_ev_update_gpe_enable_mask(gpe_event_info);
199 status = acpi_hw_low_set_gpe(gpe_event_info,
204 gpe_event_info->runtime_count++;
427 * PARAMETERS: Context (gpe_event_info) - Info for this GPE
442 struct acpi_gpe_event_info *gpe_event_info = (void *)context;
456 if (!acpi_ev_valid_gpe_event(gpe_event_info)) {
465 ACPI_MEMCPY(&local_gpe_event_info, gpe_event_info,
508 gpe_event_info);
514 struct acpi_gpe_event_info *gpe_event_info = context;
516 if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
522 status = acpi_hw_clear_gpe(gpe_event_info);
532 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_COND_ENABLE);
541 * PARAMETERS: gpe_event_info - Info for this GPE
554 acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number)
566 if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
568 status = acpi_hw_clear_gpe(gpe_event_info);
584 switch (gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) {
592 (void)gpe_event_info->dispatch.handler->address(gpe_event_info->
599 if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
601 status = acpi_hw_clear_gpe(gpe_event_info);
617 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE);
631 gpe_event_info);
654 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE);