Lines Matching refs:pin_data

501 	unsigned int *pin_data = pin->drv_data;  in rzg2l_pinctrl_pinconf_get()  local
509 if (!pin_data) in rzg2l_pinctrl_pinconf_get()
512 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_get()
513 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get()
514 cfg = RZG2L_SINGLE_PIN_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get()
515 bit = RZG2L_SINGLE_PIN_GET_BIT(*pin_data); in rzg2l_pinctrl_pinconf_get()
517 cfg = RZG2L_GPIO_PORT_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get()
521 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_get()
591 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_set() local
600 if (!pin_data) in rzg2l_pinctrl_pinconf_set()
603 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_set()
604 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_set()
605 cfg = RZG2L_SINGLE_PIN_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_set()
606 bit = RZG2L_SINGLE_PIN_GET_BIT(*pin_data); in rzg2l_pinctrl_pinconf_set()
608 cfg = RZG2L_GPIO_PORT_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_set()
612 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_set()
1396 u32 *pin_data; in rzg2l_pinctrl_register() local
1410 pin_data = devm_kcalloc(pctrl->dev, pctrl->desc.npins, in rzg2l_pinctrl_register()
1411 sizeof(*pin_data), GFP_KERNEL); in rzg2l_pinctrl_register()
1412 if (!pin_data) in rzg2l_pinctrl_register()
1423 pin_data[i] = pctrl->data->port_pin_configs[j]; in rzg2l_pinctrl_register()
1424 pins[i].drv_data = &pin_data[i]; in rzg2l_pinctrl_register()
1432 pin_data[index] = pctrl->data->dedicated_pins[i].config; in rzg2l_pinctrl_register()
1433 pins[index].drv_data = &pin_data[index]; in rzg2l_pinctrl_register()