Lines Matching refs:pin_data

524 	unsigned int *pin_data = pin->drv_data;  in rzg2l_pinctrl_pinconf_get()  local
532 if (!pin_data) in rzg2l_pinctrl_pinconf_get()
535 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_get()
536 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get()
537 cfg = RZG2L_SINGLE_PIN_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get()
538 bit = RZG2L_SINGLE_PIN_GET_BIT(*pin_data); in rzg2l_pinctrl_pinconf_get()
540 cfg = RZG2L_GPIO_PORT_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get()
544 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_get()
614 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_set() local
623 if (!pin_data) in rzg2l_pinctrl_pinconf_set()
626 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_set()
627 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_set()
628 cfg = RZG2L_SINGLE_PIN_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_set()
629 bit = RZG2L_SINGLE_PIN_GET_BIT(*pin_data); in rzg2l_pinctrl_pinconf_set()
631 cfg = RZG2L_GPIO_PORT_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_set()
635 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_set()
1420 u32 *pin_data; in rzg2l_pinctrl_register() local
1434 pin_data = devm_kcalloc(pctrl->dev, pctrl->desc.npins, in rzg2l_pinctrl_register()
1435 sizeof(*pin_data), GFP_KERNEL); in rzg2l_pinctrl_register()
1436 if (!pin_data) in rzg2l_pinctrl_register()
1447 pin_data[i] = pctrl->data->port_pin_configs[j]; in rzg2l_pinctrl_register()
1448 pins[i].drv_data = &pin_data[i]; in rzg2l_pinctrl_register()
1456 pin_data[index] = pctrl->data->dedicated_pins[i].config; in rzg2l_pinctrl_register()
1457 pins[index].drv_data = &pin_data[index]; in rzg2l_pinctrl_register()