Lines Matching refs:num_lanes
221 u32 num_lanes; member
248 u32 num_lanes = wiz->num_lanes; in wiz_mode_select() local
253 for (i = 0; i < num_lanes; i++) { in wiz_mode_select()
269 u32 num_lanes = wiz->num_lanes; in wiz_init_raw_interface() local
273 for (i = 0; i < num_lanes; i++) { in wiz_init_raw_interface()
317 int num_lanes = wiz->num_lanes; in wiz_regfield_init() local
398 for (i = 0; i < num_lanes; i++) { in wiz_regfield_init()
794 u32 reg, num_lanes = 1, phy_type = PHY_NONE; in wiz_get_lane_phy_types() local
804 of_property_read_u32(subnode, "cdns,num-lanes", &num_lanes); in wiz_get_lane_phy_types()
808 reg, reg + num_lanes - 1, phy_type); in wiz_get_lane_phy_types()
810 for (i = reg; i < reg + num_lanes; i++) in wiz_get_lane_phy_types()
828 u32 num_lanes; in wiz_probe() local
862 ret = of_property_read_u32(node, "num-lanes", &num_lanes); in wiz_probe()
868 if (num_lanes > WIZ_MAX_LANES) { in wiz_probe()
869 dev_err(dev, "Cannot support %d lanes\n", num_lanes); in wiz_probe()
910 wiz->num_lanes = num_lanes; in wiz_probe()
937 phy_reset_dev->nr_resets = num_lanes + 1; in wiz_probe()