Searched refs:pin_names (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel-platform.c | 30 char **pin_names; in intel_platform_pinctrl_prepare_pins() local 33 pin_names = devm_kasprintf_strarray(dev, name, size); in intel_platform_pinctrl_prepare_pins() 34 if (IS_ERR(pin_names)) in intel_platform_pinctrl_prepare_pins() 35 return PTR_ERR(pin_names); in intel_platform_pinctrl_prepare_pins() 43 char *pin_name = pin_names[i]; in intel_platform_pinctrl_prepare_pins()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-digicolor.c | 46 const char *pin_names[PINS_COUNT]; member 109 *groups = pmap->pin_names; in dc_get_groups() 274 char *pin_names; in dc_pinctrl_probe() local 290 pin_names = devm_kcalloc(&pdev->dev, PINS_COUNT, name_len, in dc_pinctrl_probe() 292 if (!pin_names) in dc_pinctrl_probe() 298 char *name = &pin_names[pin_id * name_len]; in dc_pinctrl_probe() 304 pmap->pin_names[pin_id] = name; in dc_pinctrl_probe()
|
H A D | pinctrl-apple-gpio.c | 430 const char **pin_names; in apple_gpio_pinctrl_probe() local 458 pin_names = devm_kmalloc_array(&pdev->dev, npins, sizeof(pin_names[0]), in apple_gpio_pinctrl_probe() 462 if (!pins || !pin_names || !pin_nums) in apple_gpio_pinctrl_probe() 481 pin_names[i] = pins[i].name; in apple_gpio_pinctrl_probe() 506 pin_names, npins, pctl); in apple_gpio_pinctrl_probe()
|
H A D | pinctrl-equilibrium.c | 774 char *pin_names; in pinctrl_reg() local 792 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 793 if (!pin_names) in pinctrl_reg() 797 sprintf(pin_names, PIN_NAME_FMT, i); in pinctrl_reg() 799 pdesc[i].name = pin_names; in pinctrl_reg() 800 pin_names += PIN_NAME_LEN; in pinctrl_reg()
|
H A D | pinctrl-st.c | 1642 char **pin_names; in st_pctl_probe_dt() local 1651 pin_names = devm_kasprintf_strarray(dev, bank_name, ST_GPIO_PINS_PER_BANK); in st_pctl_probe_dt() 1652 if (IS_ERR(pin_names)) in st_pctl_probe_dt() 1653 return PTR_ERR(pin_names); in st_pctl_probe_dt() 1657 pdesc->name = pin_names[j]; in st_pctl_probe_dt()
|
H A D | pinctrl-rockchip.c | 3346 char **pin_names; in rockchip_pinctrl_register() local 3367 pin_names = devm_kasprintf_strarray(dev, pin_bank->name, pin_bank->nr_pins); in rockchip_pinctrl_register() 3368 if (IS_ERR(pin_names)) in rockchip_pinctrl_register() 3369 return PTR_ERR(pin_names); in rockchip_pinctrl_register() 3373 pdesc->name = pin_names[pin]; in rockchip_pinctrl_register()
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm4908.c | 476 char **pin_names; in bcm4908_pinctrl_probe() local 499 pin_names = devm_kasprintf_strarray(dev, "pin", BCM4908_NUM_PINS); in bcm4908_pinctrl_probe() 500 if (IS_ERR(pin_names)) in bcm4908_pinctrl_probe() 501 return PTR_ERR(pin_names); in bcm4908_pinctrl_probe() 508 pins[i].name = pin_names[i]; in bcm4908_pinctrl_probe()
|
/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 920 char *pin_names; in samsung_pinctrl_register() local 945 pin_names = devm_kzalloc(&pdev->dev, in samsung_pinctrl_register() 949 if (!pin_names) in samsung_pinctrl_register() 957 sprintf(pin_names, "%s-%d", pin_bank->name, pin); in samsung_pinctrl_register() 959 pdesc->name = pin_names; in samsung_pinctrl_register() 960 pin_names += PIN_NAME_LENGTH; in samsung_pinctrl_register()
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzg2l.c | 1169 static const char * const pin_names[] = { "ET0_TXC_TXCLK", "ET1_TXC_TXCLK", in rzv2h_pin_to_oen_bit() local 1175 for (i = 0; i < ARRAY_SIZE(pin_names); i++) { in rzv2h_pin_to_oen_bit() 1176 if (!strcmp(pin_desc->name, pin_names[i])) in rzv2h_pin_to_oen_bit()
|