Lines Matching defs:lane
127 * with lanes/pins and there is always one lane/pin per group.
299 const struct tegra_xusb_padctl_lane *lane;
303 lane = &padctl->soc->lanes[group];
305 for (i = 0; i < lane->num_funcs; i++)
306 if (lane->funcs[i] == function)
309 if (i >= lane->num_funcs)
312 value = padctl_readl(padctl, lane->offset);
313 value &= ~(lane->mask << lane->shift);
314 value |= i << lane->shift;
315 padctl_writel(padctl, value, lane->offset);
332 const struct tegra_xusb_padctl_lane *lane;
337 lane = &padctl->soc->lanes[group];
342 if (lane->iddq == 0)
345 value = padctl_readl(padctl, lane->offset);
347 if (value & BIT(lane->iddq))
370 const struct tegra_xusb_padctl_lane *lane;
376 lane = &padctl->soc->lanes[group];
385 if (lane->iddq == 0)
388 regval = padctl_readl(padctl, lane->offset);
391 regval &= ~BIT(lane->iddq);
393 regval |= BIT(lane->iddq);
395 padctl_writel(padctl, regval, lane->offset);