Lines Matching refs:pin_data

443 	unsigned int *pin_data = pin->drv_data;  in rzv2m_pinctrl_pinconf_get()  local
450 if (!pin_data) in rzv2m_pinctrl_pinconf_get()
453 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_get()
454 port = RZV2M_SINGLE_PIN_GET_PORT(*pin_data); in rzv2m_pinctrl_pinconf_get()
455 cfg = RZV2M_SINGLE_PIN_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get()
456 bit = RZV2M_SINGLE_PIN_GET_BIT(*pin_data); in rzv2m_pinctrl_pinconf_get()
458 cfg = RZV2M_GPIO_PORT_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get()
462 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_get()
546 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_set() local
554 if (!pin_data) in rzv2m_pinctrl_pinconf_set()
557 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_set()
558 port = RZV2M_SINGLE_PIN_GET_PORT(*pin_data); in rzv2m_pinctrl_pinconf_set()
559 cfg = RZV2M_SINGLE_PIN_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_set()
560 bit = RZV2M_SINGLE_PIN_GET_BIT(*pin_data); in rzv2m_pinctrl_pinconf_set()
562 cfg = RZV2M_GPIO_PORT_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_set()
566 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_set()
967 u32 *pin_data; in rzv2m_pinctrl_register() local
981 pin_data = devm_kcalloc(pctrl->dev, pctrl->desc.npins, in rzv2m_pinctrl_register()
982 sizeof(*pin_data), GFP_KERNEL); in rzv2m_pinctrl_register()
983 if (!pin_data) in rzv2m_pinctrl_register()
994 pin_data[i] = pctrl->data->port_pin_configs[j]; in rzv2m_pinctrl_register()
995 pins[i].drv_data = &pin_data[i]; in rzv2m_pinctrl_register()
1003 pin_data[index] = pctrl->data->dedicated_pins[i].config; in rzv2m_pinctrl_register()
1004 pins[index].drv_data = &pin_data[index]; in rzv2m_pinctrl_register()