Lines Matching refs:tb_sw_write
78 ret = tb_sw_write(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1);
90 return tb_sw_write(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1);
127 return tb_sw_write(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
180 return tb_sw_write(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
238 return tb_sw_write(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
339 return tb_sw_write(sw, &val, TB_CFG_SWITCH, cap + TB_LC_LINK_REQ, 1);
402 return tb_sw_write(sw, &ctrl, TB_CFG_SWITCH, offset + TB_LC_SX_CTRL, 1);
479 ret = tb_sw_write(sw, &ctrl, TB_CFG_SWITCH,
624 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
668 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
688 return tb_sw_write(sw, &in, TB_CFG_SWITCH, TB_LC_POWER, 1);