Lines Matching refs:lanes
43 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate()
46 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate()
47 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate()
102 return of_find_node_by_name(np, pad->soc->lanes[index].name); in tegra_xusb_pad_find_phy_node()
202 pad->lanes = devm_kcalloc(&pad->dev, pad->soc->num_lanes, sizeof(lane), in tegra_xusb_pad_register()
204 if (!pad->lanes) { in tegra_xusb_pad_register()
219 pad->lanes[i] = phy_create(&pad->dev, np, ops); in tegra_xusb_pad_register()
220 if (IS_ERR(pad->lanes[i])) { in tegra_xusb_pad_register()
221 err = PTR_ERR(pad->lanes[i]); in tegra_xusb_pad_register()
228 phy_destroy(pad->lanes[i]); in tegra_xusb_pad_register()
233 list_add_tail(&lane->list, &pad->padctl->lanes); in tegra_xusb_pad_register()
234 phy_set_drvdata(pad->lanes[i], lane); in tegra_xusb_pad_register()
248 tegra_xusb_lane_destroy(pad->lanes[i]); in tegra_xusb_pad_register()
262 tegra_xusb_lane_destroy(pad->lanes[i]); in tegra_xusb_pad_unregister()
343 if (pad->lanes[i]) { in tegra_xusb_pad_program()
344 lane = phy_get_drvdata(pad->lanes[i]); in tegra_xusb_pad_program()
403 list_for_each_entry(lane, &padctl->lanes, list) { in tegra_xusb_find_lane()
879 INIT_LIST_HEAD(&padctl->lanes); in tegra_xusb_padctl_probe()