Searched refs:max_pins (Results 1 – 2 of 2) sorted by relevance
43 int max_pins; member275 if (pin > p->max_pins) in mtmips_pinctrl_pins()276 p->max_pins = pin; in mtmips_pinctrl_pins()280 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in mtmips_pinctrl_pins()282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins()287 memset(p->gpio, 1, sizeof(u8) * p->max_pins); in mtmips_pinctrl_pins()300 for (i = 0; i < p->max_pins; i++) { in mtmips_pinctrl_pins()311 p->desc->npins = p->max_pins; in mtmips_pinctrl_pins()
1166 struct ptp_pin_desc *pin_cfg, u8 max_pins) in idt82p33_caps_init() argument1175 caps->n_pins = max_pins; in idt82p33_caps_init()1190 for (i = 0; i < max_pins; ++i) { in idt82p33_caps_init()