Lines Matching refs:xway_info
1288 static struct ltq_pinmux_info xway_info = {
1458 xway_info.membase[0] = devm_platform_ioremap_resource(pdev, 0);
1459 if (IS_ERR(xway_info.membase[0]))
1460 return PTR_ERR(xway_info.membase[0]);
1470 xway_info.pads = devm_kcalloc(&pdev->dev,
1473 if (!xway_info.pads)
1482 xway_info.pads[i].number = GPIO0 + i;
1483 xway_info.pads[i].name = name;
1485 xway_pctrl_desc.pins = xway_info.pads;
1491 xway_info.num_pads = xway_chip.ngpio;
1492 xway_info.num_mfp = xway_chip.ngpio;
1493 xway_info.mfp = xway_soc->mfp;
1494 xway_info.grps = xway_soc->grps;
1495 xway_info.num_grps = xway_soc->num_grps;
1496 xway_info.funcs = xway_soc->funcs;
1497 xway_info.num_funcs = xway_soc->num_funcs;
1498 xway_info.exin = xway_soc->exin;
1499 xway_info.num_exin = xway_soc->num_exin;
1502 ret = ltq_pinctrl_register(pdev, &xway_info);
1531 pinctrl_add_gpio_range(xway_info.pctrl, &xway_gpio_range);