Lines Matching refs:num_lanes
284 u32 num_lanes; member
314 u32 num_lanes = wiz->num_lanes; in wiz_p_mac_div_sel() local
318 for (i = 0; i < num_lanes; i++) { in wiz_p_mac_div_sel()
335 u32 num_lanes = wiz->num_lanes; in wiz_mode_select() local
340 for (i = 0; i < num_lanes; i++) { in wiz_mode_select()
358 u32 num_lanes = wiz->num_lanes; in wiz_init_raw_interface() local
362 for (i = 0; i < num_lanes; i++) { in wiz_init_raw_interface()
410 int num_lanes = wiz->num_lanes; in wiz_regfield_init() local
486 for (i = 0; i < num_lanes; i++) { in wiz_regfield_init()
1106 u32 reg, num_lanes = 1, phy_type = PHY_NONE; in wiz_get_lane_phy_types() local
1121 of_property_read_u32(subnode, "cdns,num-lanes", &num_lanes); in wiz_get_lane_phy_types()
1125 reg, reg + num_lanes - 1, phy_type); in wiz_get_lane_phy_types()
1127 for (i = reg; i < reg + num_lanes; i++) in wiz_get_lane_phy_types()
1147 u32 num_lanes; in wiz_probe() local
1180 ret = of_property_read_u32(node, "num-lanes", &num_lanes); in wiz_probe()
1186 if (num_lanes > WIZ_MAX_LANES) { in wiz_probe()
1187 dev_err(dev, "Cannot support %d lanes\n", num_lanes); in wiz_probe()
1228 wiz->num_lanes = num_lanes; in wiz_probe()
1255 phy_reset_dev->nr_resets = num_lanes + 1; in wiz_probe()
1276 for (i = 0; i < wiz->num_lanes; i++) { in wiz_probe()