Lines Matching defs:xway_info
1288 static struct ltq_pinmux_info xway_info = {
1459 xway_info.membase[0] = devm_platform_ioremap_resource(pdev, 0);
1460 if (IS_ERR(xway_info.membase[0]))
1461 return PTR_ERR(xway_info.membase[0]);
1473 xway_info.pads = devm_kcalloc(&pdev->dev,
1476 if (!xway_info.pads)
1485 xway_info.pads[i].number = GPIO0 + i;
1486 xway_info.pads[i].name = name;
1488 xway_pctrl_desc.pins = xway_info.pads;
1494 xway_info.num_pads = xway_chip.ngpio;
1495 xway_info.num_mfp = xway_chip.ngpio;
1496 xway_info.mfp = xway_soc->mfp;
1497 xway_info.grps = xway_soc->grps;
1498 xway_info.num_grps = xway_soc->num_grps;
1499 xway_info.funcs = xway_soc->funcs;
1500 xway_info.num_funcs = xway_soc->num_funcs;
1501 xway_info.exin = xway_soc->exin;
1502 xway_info.num_exin = xway_soc->num_exin;
1505 ret = ltq_pinctrl_register(pdev, &xway_info);
1534 pinctrl_add_gpio_range(xway_info.pctrl, &xway_gpio_range);