Lines Matching refs:gpio_pingroup
87 void pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, in pmx_init_gpio_pingroup_addr() argument
93 for (j = 0; j < gpio_pingroup[i].nmuxregs; j++) in pmx_init_gpio_pingroup_addr()
94 gpio_pingroup[i].muxregs[j].reg = reg; in pmx_init_gpio_pingroup_addr()
282 struct spear_gpio_pingroup *gpio_pingroup; in get_gpio_pingroup() local
289 gpio_pingroup = &pmx->machdata->gpio_pingroups[i]; in get_gpio_pingroup()
291 for (j = 0; j < gpio_pingroup->npins; j++) { in get_gpio_pingroup()
292 if (gpio_pingroup->pins[j] == pin) in get_gpio_pingroup()
293 return gpio_pingroup; in get_gpio_pingroup()
305 struct spear_gpio_pingroup *gpio_pingroup; in gpio_request_endisable() local
311 gpio_pingroup = get_gpio_pingroup(pmx, offset); in gpio_request_endisable()
312 if (gpio_pingroup) in gpio_request_endisable()
313 muxregs_endisable(pmx, gpio_pingroup->muxregs, in gpio_request_endisable()
314 gpio_pingroup->nmuxregs, enable); in gpio_request_endisable()