Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpiolib.c1972 pin_range = kzalloc(sizeof(*pin_range), GFP_KERNEL); in gpiochip_add_pingroup_range()
1973 if (!pin_range) { in gpiochip_add_pingroup_range()
1980 pin_range->range.gc = gc; in gpiochip_add_pingroup_range()
1989 kfree(pin_range); in gpiochip_add_pingroup_range()
2030 pin_range = kzalloc(sizeof(*pin_range), GFP_KERNEL); in gpiochip_add_pin_range()
2031 if (!pin_range) { in gpiochip_add_pin_range()
2038 pin_range->range.gc = gc; in gpiochip_add_pin_range()
2044 &pin_range->range); in gpiochip_add_pin_range()
2048 kfree(pin_range); in gpiochip_add_pin_range()
2074 &pin_range->range); in gpiochip_remove_pin_ranges()
[all …]
/openbmc/linux/drivers/pinctrl/nxp/
H A 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()