Lines Matching full:pin_id
169 unsigned int pin_id; in imx_pmx_set_one_pin_mmio() local
171 pin_id = pin->pin; in imx_pmx_set_one_pin_mmio()
172 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pmx_set_one_pin_mmio()
176 info->pins[pin_id].name); in imx_pmx_set_one_pin_mmio()
349 static int imx_pinconf_get_mmio(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_get_mmio() argument
354 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_get_mmio()
358 info->pins[pin_id].name); in imx_pinconf_get_mmio()
371 unsigned pin_id, unsigned long *config) in imx_pinconf_get() argument
377 return info->imx_pinconf_get(pctldev, pin_id, config); in imx_pinconf_get()
379 return imx_pinconf_get_mmio(pctldev, pin_id, config); in imx_pinconf_get()
383 unsigned pin_id, unsigned long *configs, in imx_pinconf_set_mmio() argument
388 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_set_mmio()
393 info->pins[pin_id].name); in imx_pinconf_set_mmio()
398 info->pins[pin_id].name); in imx_pinconf_set_mmio()
420 unsigned pin_id, unsigned long *configs, in imx_pinconf_set() argument
427 return info->imx_pinconf_set(pctldev, pin_id, in imx_pinconf_set()
430 return imx_pinconf_set_mmio(pctldev, pin_id, in imx_pinconf_set()
435 struct seq_file *s, unsigned pin_id) in imx_pinconf_dbg_show() argument
444 ret = info->imx_pinconf_get(pctldev, pin_id, &config); in imx_pinconf_dbg_show()
447 pin_get_name(pctldev, pin_id)); in imx_pinconf_dbg_show()
452 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_dbg_show()
509 * <pin_id mux_mode>
516 unsigned int *pin_id, struct imx_pin *pin, in imx_pinctrl_parse_pin_mmio() argument
540 *pin_id = (mux_reg != -1) ? mux_reg / 4 : conf_reg / 4; in imx_pinctrl_parse_pin_mmio()
541 pin_reg = &ipctl->pin_regs[*pin_id]; in imx_pinctrl_parse_pin_mmio()
542 pin->pin = *pin_id; in imx_pinctrl_parse_pin_mmio()
564 dev_dbg(ipctl->dev, "%s: 0x%x 0x%08lx", info->pins[*pin_id].name, in imx_pinctrl_parse_pin_mmio()