Lines Matching refs:gpp_offset
167 unsigned int gpp, offset, gpp_offset; in intel_pad_owned_by_host() local
180 gpp_offset = padgroup_offset(padgrp, pin); in intel_pad_owned_by_host()
181 gpp = PADOWN_GPP(gpp_offset); in intel_pad_owned_by_host()
185 return !(readl(padown) & PADOWN_MASK(gpp_offset)); in intel_pad_owned_by_host()
192 unsigned int offset, gpp_offset; in intel_pad_acpi_mode() local
205 gpp_offset = padgroup_offset(padgrp, pin); in intel_pad_acpi_mode()
209 return !(readl(hostown) & BIT(gpp_offset)); in intel_pad_acpi_mode()
235 unsigned int offset, gpp_offset; in intel_pad_locked() local
249 gpp_offset = padgroup_offset(padgrp, pin); in intel_pad_locked()
258 if (value & BIT(gpp_offset)) in intel_pad_locked()
263 if (value & BIT(gpp_offset)) in intel_pad_locked()
1061 unsigned int gpp, gpp_offset, is_offset; in intel_gpio_irq_ack() local
1064 gpp_offset = padgroup_offset(padgrp, pin); in intel_gpio_irq_ack()
1068 writel(BIT(gpp_offset), community->regs + is_offset); in intel_gpio_irq_ack()
1082 unsigned int gpp, gpp_offset; in intel_gpio_irq_mask_unmask() local
1088 gpp_offset = padgroup_offset(padgrp, pin); in intel_gpio_irq_mask_unmask()
1096 writel(BIT(gpp_offset), is); in intel_gpio_irq_mask_unmask()
1100 value &= ~BIT(gpp_offset); in intel_gpio_irq_mask_unmask()
1102 value |= BIT(gpp_offset); in intel_gpio_irq_mask_unmask()
1222 unsigned long pending, enabled, gpp_offset; in intel_gpio_community_irq_handler() local
1236 for_each_set_bit(gpp_offset, &pending, padgrp->size) in intel_gpio_community_irq_handler()
1237 generic_handle_domain_irq(gc->irq.domain, padgrp->gpio_base + gpp_offset); in intel_gpio_community_irq_handler()