Lines Matching defs:xway_info
1525 static struct ltq_pinmux_info xway_info = {
1711 xway_info.membase[0] = devm_platform_ioremap_resource(pdev, 0);
1712 if (IS_ERR(xway_info.membase[0]))
1713 return PTR_ERR(xway_info.membase[0]);
1725 xway_info.pads = devm_kcalloc(&pdev->dev,
1728 if (!xway_info.pads)
1737 xway_info.pads[i].number = GPIO0 + i;
1738 xway_info.pads[i].name = name;
1740 xway_pctrl_desc.pins = xway_info.pads;
1746 xway_info.num_pads = xway_chip.ngpio;
1747 xway_info.num_mfp = xway_chip.ngpio;
1748 xway_info.mfp = xway_soc->mfp;
1749 xway_info.grps = xway_soc->grps;
1750 xway_info.num_grps = xway_soc->num_grps;
1751 xway_info.funcs = xway_soc->funcs;
1752 xway_info.num_funcs = xway_soc->num_funcs;
1753 xway_info.exin = xway_soc->exin;
1754 xway_info.num_exin = xway_soc->num_exin;
1757 ret = ltq_pinctrl_register(pdev, &xway_info);
1787 pinctrl_add_gpio_range(xway_info.pctrl, &xway_gpio_range);