Home
last modified time | relevance | path

Searched refs:pin_base (Results 1 – 25 of 55) sorted by relevance

123

/linux/drivers/irqchip/
A Dqcom-pdc.c36 u32 pin_base; member
196 if (pin >= region->pin_base && in get_parent_hwirq()
197 pin < region->pin_base + region->cnt) in get_parent_hwirq()
198 return (region->parent_base + pin - region->pin_base); in get_parent_hwirq()
336 &pdc_region[n].pin_base); in pdc_setup_pin_mapping()
351 reg_index = (i + pdc_region[n].pin_base) >> 5; in pdc_setup_pin_mapping()
352 irq_index = (i + pdc_region[n].pin_base) & 0x1f; in pdc_setup_pin_mapping()
/linux/drivers/pinctrl/samsung/
A Dpinctrl-samsung.c48 static unsigned int pin_base; variable
365 while ((pin >= b->pin_base) && in pin_to_reg_bank()
366 ((b->pin_base + b->nr_pins - 1) < pin)) in pin_to_reg_bank()
370 *offset = pin - b->pin_base; in pin_to_reg_bank()
879 pdesc->number = pin + drvdata->pin_base; in samsung_pinctrl_register()
897 pdesc = pindesc + pin_bank->pin_base + pin; in samsung_pinctrl_register()
918 pin_bank->grange.pin_base = drvdata->pin_base in samsung_pinctrl_register()
919 + pin_bank->pin_base; in samsung_pinctrl_register()
1062 bank->pin_base = d->nr_pins; in samsung_pinctrl_get_soc_data()
1087 d->pin_base = pin_base; in samsung_pinctrl_get_soc_data()
[all …]
A Dpinctrl-samsung.h166 u32 pin_base; member
286 unsigned int pin_base; member
/linux/drivers/pinctrl/
A Dpinctrl-equilibrium.c266 if (pin >= bank->pin_base && in find_pinbank_via_pin()
267 (pin - bank->pin_base) < bank->nr_pins) in find_pinbank_via_pin()
296 offset = pin - bank->pin_base; in eqbr_set_pin_mux()
301 pin, bank->pin_base, bank->aval_pinmap); in eqbr_set_pin_mux()
393 offset = pin - bank->pin_base; in eqbr_pinconf_get()
398 pin, bank->pin_base, bank->aval_pinmap); in eqbr_pinconf_get()
423 bank->pin_base, pin); in eqbr_pinconf_get()
464 offset = pin - bank->pin_base; in eqbr_pinconf_set()
492 bank->pin_base, pin); in eqbr_pinconf_set()
846 bank->pin_base = spec.args[1]; in pinbank_init()
[all …]
A Dpinctrl-rockchip.c227 while (pin >= (b->pin_base + b->nr_pins)) in pin_to_bank()
2130 rc = rockchip_set_pull(bank, pin - bank->pin_base, in rockchip_pinconf_set()
2145 rc = rockchip_set_pull(bank, pin - bank->pin_base, in rockchip_pinconf_set()
2151 rc = rockchip_set_mux(bank, pin - bank->pin_base, in rockchip_pinconf_set()
2183 pin - bank->pin_base, arg); in rockchip_pinconf_set()
2192 pin - bank->pin_base, arg); in rockchip_pinconf_set()
2236 rc = rockchip_get_mux(bank, pin - bank->pin_base); in rockchip_pinconf_get()
2245 rc = gpio->get(gpio, pin - bank->pin_base); in rockchip_pinconf_get()
2266 rc = rockchip_get_schmitt(bank, pin - bank->pin_base); in rockchip_pinconf_get()
2357 grp->pins[j] = bank->pin_base + be32_to_cpu(*list++); in rockchip_pinctrl_parse_groups()
[all …]
A Dcore.c279 return range->pin_base + offset; in gpio_to_pin()
476 } else if (pin >= range->pin_base && in pinctrl_find_gpio_range_from_pin_nolock()
477 pin < range->pin_base + range->npins) in pinctrl_find_gpio_range_from_pin_nolock()
1653 if ((pin >= range->pin_base) && in pinctrl_pins_show()
1654 (pin < (range->pin_base + range->npins))) { in pinctrl_pins_show()
1655 gpio_num = range->base + (pin - range->pin_base); in pinctrl_pins_show()
1752 range->pin_base, in pinctrl_gpioranges_show()
1753 (range->pin_base + range->npins - 1)); in pinctrl_gpioranges_show()
A Dpinctrl-equilibrium.h93 unsigned int pin_base; member
A Dpinctrl-rockchip.h155 u32 pin_base; member
/linux/drivers/pinctrl/sunxi/
A Dpinctrl-sunxi.c481 pin -= pctl->desc->pin_base; in sunxi_pconf_get()
651 pin -= pctl->desc->pin_base; in sunxi_pinctrl_set_io_bias_cfg()
709 pin -= pctl->desc->pin_base; in sunxi_pmx_set()
766 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_request()
810 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_free()
914 unsigned pinnum = pctl->desc->pin_base + offset; in sunxi_pinctrl_gpio_to_irq()
944 pctl->irq_array[d->hwirq] - pctl->desc->pin_base); in sunxi_pinctrl_irq_request_resources()
1115 pin = pctl->desc->pin_base + base + intspec[1]; in sunxi_pinctrl_irq_of_xlate()
1494 pctl->desc->pin_base; in sunxi_pinctrl_init_with_variant()
1497 pctl->chip->base = pctl->desc->pin_base; in sunxi_pinctrl_init_with_variant()
[all …]
A Dpinctrl-sun50i-h616-r.c35 .pin_base = PL_BASE,
A Dpinctrl-sun50i-a100-r.c83 .pin_base = PL_BASE,
A Dpinctrl-sun8i-h3-r.c84 .pin_base = PL_BASE,
A Dpinctrl-sun50i-a64-r.c103 .pin_base = PL_BASE,
A Dpinctrl-sun8i-a83t-r.c106 .pin_base = PL_BASE,
A Dpinctrl-sun50i-h6-r.c108 .pin_base = PL_BASE,
A Dpinctrl-sun8i-a23-r.c94 .pin_base = PL_BASE,
A Dpinctrl-sun6i-a31-r.c107 .pin_base = PL_BASE,
A Dpinctrl-sun9i-a80-r.c153 .pin_base = PL_BASE,
/linux/drivers/pinctrl/intel/
A Dpinctrl-merrifield.c66 unsigned int pin_base; member
75 .pin_base = (s), \
82 .pin_base = (s), \
440 #define pin_to_bufno(f, p) ((p) - (f)->pin_base)
450 if (pin >= family->pin_base && in mrfld_get_family()
451 pin < family->pin_base + family->npins) in mrfld_get_family()
A Dpinctrl-lynxpoint.c31 .pin_base = (p), \
215 if (pin < comm->pin_base + comm->npins && pin >= comm->pin_base) in lp_get_community()
233 offset -= comm->pin_base; in lp_gpio_reg()
A Dpinctrl-intel.h128 unsigned int pin_base; member
A Dpinctrl-denverton.c38 .pin_base = (s), \
/linux/drivers/gpio/
A Dgpio-merrifield.c39 unsigned int pin_base; member
46 .pin_base = (pstart), \
416 range->pin_base, in mrfld_gpio_add_pin_ranges()
/linux/include/linux/pinctrl/
A Dpinctrl.h63 unsigned int pin_base; member
/linux/drivers/pinctrl/mvebu/
A Dpinctrl-mvebu.h188 .pin_base = _pinbase, \

Completed in 44 milliseconds

123