Home
last modified time | relevance | path

Searched refs:pin_range (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpio/
Dgpiolib.c1967 struct gpio_pin_range *pin_range; in gpiochip_add_pingroup_range() local
1971 pin_range = kzalloc(sizeof(*pin_range), GFP_KERNEL); in gpiochip_add_pingroup_range()
1972 if (!pin_range) { in gpiochip_add_pingroup_range()
1978 pin_range->range.id = gpio_offset; in gpiochip_add_pingroup_range()
1979 pin_range->range.gc = gc; in gpiochip_add_pingroup_range()
1980 pin_range->range.name = gc->label; in gpiochip_add_pingroup_range()
1981 pin_range->range.base = gdev->base + gpio_offset; in gpiochip_add_pingroup_range()
1982 pin_range->pctldev = pctldev; in gpiochip_add_pingroup_range()
1985 &pin_range->range.pins, in gpiochip_add_pingroup_range()
1986 &pin_range->range.npins); in gpiochip_add_pingroup_range()
[all …]
/linux-6.6.21/drivers/pinctrl/nxp/
Dpinctrl-s32cc.c60 const struct s32_pin_range *pin_range; member
108 const struct s32_pin_range *pin_range; in s32_get_region() local
113 pin_range = ipctl->regions[i].pin_range; in s32_get_region()
114 if (pin >= pin_range->start && pin <= pin_range->end) in s32_get_region()
137 offset = (pin - region->pin_range->start) * in s32_regmap_read()
154 offset = (pin - region->pin_range->start) * in s32_regmap_write()
171 offset = (pin - region->pin_range->start) * in s32_regmap_update()
876 ipctl->regions[i].pin_range = &info->soc_data->mem_pin_ranges[i]; in s32_pinctrl_probe_dt()