Lines Matching defs:lane
130 * with lanes/pins and there is always one lane/pin per group.
302 const struct tegra_xusb_padctl_lane *lane;
306 lane = &padctl->soc->lanes[group];
308 for (i = 0; i < lane->num_funcs; i++)
309 if (lane->funcs[i] == function)
312 if (i >= lane->num_funcs)
315 value = padctl_readl(padctl, lane->offset);
316 value &= ~(lane->mask << lane->shift);
317 value |= i << lane->shift;
318 padctl_writel(padctl, value, lane->offset);
335 const struct tegra_xusb_padctl_lane *lane;
340 lane = &padctl->soc->lanes[group];
345 if (lane->iddq == 0)
348 value = padctl_readl(padctl, lane->offset);
350 if (value & BIT(lane->iddq))
373 const struct tegra_xusb_padctl_lane *lane;
379 lane = &padctl->soc->lanes[group];
388 if (lane->iddq == 0)
391 regval = padctl_readl(padctl, lane->offset);
394 regval &= ~BIT(lane->iddq);
396 regval |= BIT(lane->iddq);
398 padctl_writel(padctl, regval, lane->offset);