Lines Matching defs:width
449 u8 width;
458 width = mlxsw_reg_pmlp_width_get(pmlp_pl);
461 if (width && !is_power_of_2(width)) {
462 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: width value is not power of 2\n",
467 for (i = 0; i < width; i++) {
488 port_mapping->width = width;
501 mlxsw_reg_pmlp_width_set(pmlp_pl, port_mapping->width);
502 for (i = 0; i < port_mapping->width; i++) {
1396 u32 lanes = port_mapping->width;
1794 if (!port_mapping.width)
1840 split_port_mapping.width /= count;
1846 split_port_mapping.lane += split_port_mapping.width;
1927 netdev_err(mlxsw_sp_port->dev, "Cannot get max width of port module\n");
1928 NL_SET_ERR_MSG_MOD(extack, "Cannot get max width of port module");
1933 if (mlxsw_sp_port->mapping.width != max_width) {
2015 netdev_err(mlxsw_sp_port->dev, "Cannot get max width of port module\n");
2016 NL_SET_ERR_MSG_MOD(extack, "Cannot get max width of port module");
2020 count = max_width / mlxsw_sp_port->mapping.width;