Lines Matching defs:width
1270 dev_dbg(&xd->dev, "remote link supports width %#x speed %#x\n", slw, sls);
1281 unsigned int width)
1289 if (width == 2)
1291 else if (width == 1)
1302 dev_dbg(&xd->dev, "sending link state change request with width %#x speed %#x\n",
1323 unsigned int width, width_mask;
1328 width = TB_LINK_WIDTH_SINGLE;
1329 width_mask = width;
1331 width = TB_LINK_WIDTH_DUAL;
1332 width_mask = width | TB_LINK_WIDTH_ASYM_TX | TB_LINK_WIDTH_ASYM_RX;
1348 * just set the width to both lane adapters and wait for the
1351 ret = tb_port_set_link_width(port->dual_link_port, width);
1354 "failed to set link width to %d\n", width);
1358 ret = tb_port_set_link_width(port, width);
1360 tb_port_warn(port, "failed to set link width to %d\n", width);
1367 dev_warn(&xd->dev, "error waiting for link width to become %d\n",
1372 port->bonded = width > TB_LINK_WIDTH_SINGLE;
1373 port->dual_link_port->bonded = width > TB_LINK_WIDTH_SINGLE;
1378 dev_dbg(&xd->dev, "lane bonding %s\n", str_enabled_disabled(width == 2));
1785 unsigned int width;
1790 width = 1;
1793 width = 2;
1796 width = 3;
1803 return sysfs_emit(buf, "%u\n", width);
1811 unsigned int width;
1816 width = 1;
1819 width = 2;
1822 width = 3;
1829 return sysfs_emit(buf, "%u\n", width);