Searched refs:community (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/drivers/pinctrl/intel/
H A Dpinctrl-intel.c112 struct intel_community *community; intel_get_community() local
116 community = &pctrl->communities[i]; intel_get_community()
117 if (pin >= community->pin_base && intel_get_community()
118 pin < community->pin_base + community->npins) intel_get_community()
119 return community; intel_get_community()
122 dev_warn(pctrl->dev, "failed to find community for pin %u\n", pin); intel_get_community()
129 const struct intel_community *community; intel_get_padcfg() local
132 community = intel_get_community(pctrl, pin); intel_get_padcfg()
133 if (!community) intel_get_padcfg()
136 padno = pin_to_padno(community, pin); intel_get_padcfg()
137 return community->pad_regs + reg + padno * 8; intel_get_padcfg()
142 const struct intel_community *community; intel_pad_owned_by_host() local
146 community = intel_get_community(pctrl, pin); intel_pad_owned_by_host()
147 if (!community) intel_pad_owned_by_host()
149 if (!community->padown_offset) intel_pad_owned_by_host()
152 padno = pin_to_padno(community, pin); intel_pad_owned_by_host()
153 group = padno / community->gpp_size; intel_pad_owned_by_host()
154 gpp = PADOWN_GPP(padno % community->gpp_size); intel_pad_owned_by_host()
155 offset = community->padown_offset + 0x10 * group + gpp * 4; intel_pad_owned_by_host()
156 padown = community->regs + offset; intel_pad_owned_by_host()
163 const struct intel_community *community; intel_pad_acpi_mode() local
167 community = intel_get_community(pctrl, pin); intel_pad_acpi_mode()
168 if (!community) intel_pad_acpi_mode()
170 if (!community->hostown_offset) intel_pad_acpi_mode()
173 padno = pin_to_padno(community, pin); intel_pad_acpi_mode()
174 gpp = padno / community->gpp_size; intel_pad_acpi_mode()
175 offset = community->hostown_offset + gpp * 4; intel_pad_acpi_mode()
176 hostown = community->regs + offset; intel_pad_acpi_mode()
178 return !(readl(hostown) & BIT(padno % community->gpp_size)); intel_pad_acpi_mode()
183 struct intel_community *community; intel_pad_locked() local
187 community = intel_get_community(pctrl, pin); intel_pad_locked()
188 if (!community) intel_pad_locked()
190 if (!community->padcfglock_offset) intel_pad_locked()
193 padno = pin_to_padno(community, pin); intel_pad_locked()
194 gpp = padno / community->gpp_size; intel_pad_locked()
201 offset = community->padcfglock_offset + gpp * 8; intel_pad_locked()
202 value = readl(community->regs + offset); intel_pad_locked()
203 if (value & BIT(pin % community->gpp_size)) intel_pad_locked()
206 offset = community->padcfglock_offset + 4 + gpp * 8; intel_pad_locked()
207 value = readl(community->regs + offset); intel_pad_locked()
208 if (value & BIT(pin % community->gpp_size)) intel_pad_locked()
656 const struct intel_community *community; intel_gpio_irq_ack() local
661 community = intel_get_community(pctrl, pin); intel_gpio_irq_ack()
662 if (community) { intel_gpio_irq_ack()
663 unsigned padno = pin_to_padno(community, pin); intel_gpio_irq_ack()
664 unsigned gpp_offset = padno % community->gpp_size; intel_gpio_irq_ack()
665 unsigned gpp = padno / community->gpp_size; intel_gpio_irq_ack()
667 writel(BIT(gpp_offset), community->regs + GPI_IS + gpp * 4); intel_gpio_irq_ack()
677 const struct intel_community *community; intel_gpio_irq_mask_unmask() local
683 community = intel_get_community(pctrl, pin); intel_gpio_irq_mask_unmask()
684 if (community) { intel_gpio_irq_mask_unmask()
685 unsigned padno = pin_to_padno(community, pin); intel_gpio_irq_mask_unmask()
686 unsigned gpp_offset = padno % community->gpp_size; intel_gpio_irq_mask_unmask()
687 unsigned gpp = padno / community->gpp_size; intel_gpio_irq_mask_unmask()
691 reg = community->regs + community->ie_offset + gpp * 4; intel_gpio_irq_mask_unmask()
771 const struct intel_community *community; intel_gpio_irq_wake() local
776 community = intel_get_community(pctrl, pin); intel_gpio_irq_wake()
777 if (!community) intel_gpio_irq_wake()
780 padno = pin_to_padno(community, pin); intel_gpio_irq_wake()
781 gpp = padno / community->gpp_size; intel_gpio_irq_wake()
782 gpp_offset = padno % community->gpp_size; intel_gpio_irq_wake()
785 writel(BIT(gpp_offset), community->regs + GPI_GPE_STS + gpp * 4); intel_gpio_irq_wake()
792 gpe_en = readl(community->regs + GPI_GPE_EN + gpp * 4); intel_gpio_irq_wake()
797 writel(gpe_en, community->regs + GPI_GPE_EN + gpp * 4); intel_gpio_irq_wake()
804 const struct intel_community *community) intel_gpio_community_irq_handler()
810 for (gpp = 0; gpp < community->ngpps; gpp++) { intel_gpio_community_irq_handler()
813 pending = readl(community->regs + GPI_IS + gpp * 4); intel_gpio_community_irq_handler()
814 enabled = readl(community->regs + community->ie_offset + intel_gpio_community_irq_handler()
820 for_each_set_bit(gpp_offset, &pending, community->gpp_size) { intel_gpio_community_irq_handler()
824 * The last group in community can have less pins intel_gpio_community_irq_handler()
827 padno = gpp_offset + gpp * community->gpp_size; intel_gpio_community_irq_handler()
828 if (padno >= community->npins) intel_gpio_community_irq_handler()
832 community->pin_base + padno); intel_gpio_community_irq_handler()
844 const struct intel_community *community; intel_gpio_irq() local
851 community = &pctrl->communities[i]; intel_gpio_irq()
852 ret |= intel_gpio_community_irq_handler(pctrl, community); intel_gpio_irq()
939 struct intel_community *community = &pctrl->communities[i]; intel_pinctrl_pm_init() local
942 intmask = devm_kcalloc(pctrl->dev, community->ngpps, intel_pinctrl_pm_init()
985 struct intel_community *community = &pctrl->communities[i]; intel_pinctrl_probe() local
990 *community = pctrl->soc->communities[i]; intel_pinctrl_probe()
993 community->barno); intel_pinctrl_probe()
1001 community->regs = regs; intel_pinctrl_probe()
1002 community->pad_regs = regs + padbar; intel_pinctrl_probe()
1003 community->ngpps = DIV_ROUND_UP(community->npins, intel_pinctrl_probe()
1004 community->gpp_size); intel_pinctrl_probe()
1076 struct intel_community *community = &pctrl->communities[i]; intel_pinctrl_suspend() local
1080 base = community->regs + community->ie_offset; intel_pinctrl_suspend()
1081 for (gpp = 0; gpp < community->ngpps; gpp++) intel_pinctrl_suspend()
1094 const struct intel_community *community; intel_gpio_irq_init() local
1098 community = &pctrl->communities[i]; intel_gpio_irq_init()
1099 base = community->regs; intel_gpio_irq_init()
1101 for (gpp = 0; gpp < community->ngpps; gpp++) { intel_gpio_irq_init()
1103 writel(0, base + community->ie_offset + gpp * 4); intel_gpio_irq_init()
1148 struct intel_community *community = &pctrl->communities[i]; intel_pinctrl_resume() local
1152 base = community->regs + community->ie_offset; intel_pinctrl_resume()
1153 for (gpp = 0; gpp < community->ngpps; gpp++) { intel_pinctrl_resume()
803 intel_gpio_community_irq_handler(struct intel_pinctrl *pctrl, const struct intel_community *community) intel_gpio_community_irq_handler() argument
H A Dpinctrl-intel.h47 * struct intel_community - Intel pin community description
48 * @barno: MMIO BAR number where registers for this community reside
57 * @pin_base: Starting pin of pins in this community
60 * @npins: Number of pins in this community
63 * @ngpps: Number of groups (hw groups) in this community (reserved for
H A Dpinctrl-cherryview.c125 * struct chv_community - A community specific configuration
126 * @uid: ACPI _UID used to match the community
127 * @pins: All pins in this community
129 * @groups: All groups in this community
131 * @functions: All functions in this community
133 * @ngpios: Number of GPIOs in this community
134 * @gpio_ranges: An array of GPIO ranges in this community
136 * @ngpios: Total number of GPIOs in this community
166 * @community: Community this pinctrl instance represents
179 const struct chv_community *community; member in struct:chv_pinctrl
694 return pctrl->community->ngroups; chv_get_groups_count()
702 return pctrl->community->groups[group].name; chv_get_group_name()
710 *pins = pctrl->community->groups[group].pins; chv_get_group_pins()
711 *npins = pctrl->community->groups[group].npins; chv_get_group_pins()
759 return pctrl->community->nfunctions; chv_get_functions_count()
767 return pctrl->community->functions[function].name; chv_get_function_name()
777 *groups = pctrl->community->functions[function].groups; chv_get_function_groups()
778 *ngroups = pctrl->community->functions[function].ngroups; chv_get_function_groups()
790 grp = &pctrl->community->groups[group]; chv_pinmux_set_mux()
1155 return pctrl->community->pins[offset].number; chv_gpio_offset_to_pin()
1437 chip->ngpio = pctrl->community->ngpios; chv_gpio_probe()
1448 for (i = 0, offset = 0; i < pctrl->community->ngpio_ranges; i++) { chv_gpio_probe()
1449 range = &pctrl->community->gpio_ranges[i]; chv_gpio_probe()
1498 pctrl->community = chv_communities[i]; chv_pinctrl_probe()
1509 pctrl->community->npins, sizeof(*pctrl->saved_pin_context), chv_pinctrl_probe()
1528 pctrl->pctldesc.pins = pctrl->community->pins; chv_pinctrl_probe()
1529 pctrl->pctldesc.npins = pctrl->community->npins; chv_pinctrl_probe()
1567 for (i = 0; i < pctrl->community->npins; i++) { chv_pinctrl_suspend()
1572 desc = &pctrl->community->pins[i]; chv_pinctrl_suspend()
1601 for (i = 0; i < pctrl->community->npins; i++) { chv_pinctrl_resume()
1607 desc = &pctrl->community->pins[i]; chv_pinctrl_resume()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfantog.c2 * Copyright 2012 The Nouveau community
H A Dic.c2 * Copyright 2012 Nouveau community
H A Dpriv.h5 * Copyright 2012 The Nouveau community
H A Dtemp.c2 * Copyright 2012 The Nouveau community
H A Dbase.c2 * Copyright 2012 The Nouveau community
/linux-4.4.14/arch/arm/mach-pxa/
H A Dam300epd.c11 * Corporation. http://support.eink.com/community
H A Dam200epd.c13 * Corporation. http://support.eink.com/community
/linux-4.4.14/drivers/video/fbdev/
H A Dhecubafb.c13 * http://support.eink.com/community
/linux-4.4.14/drivers/net/usb/
H A Dzaurus.c42 * that annoying standards-breaking software, the Linux community had
/linux-4.4.14/include/linux/
H A Dmodule.h206 * 2. So the community can ignore bug reports including proprietary modules
/linux-4.4.14/arch/arm/mach-ep93xx/
H A Dcore.c9 * role in the ep93xx linux community.
/linux-4.4.14/Documentation/cdrom/
H A Dcdrom-standard.tex595 have made the drive's support available to the \linux\ community. The
688 \linux\ community, and not from some standardizing institute. What
708 community. All the CD-player authors will have to be informed, we can
/linux-4.4.14/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic.c1067 printk(KERN_DEBUG "bsalg: community: "); snmp_parse_mangle()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dmux34xx.c720 * http://community.ti.com/forums/t/10982.aspx
/linux-4.4.14/net/wireless/
H A Dreg.c37 * For others it provides a community effort on further restrictions
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c3849 * a community, it gets hard to convince.

Completed in 589 milliseconds