TB_CFG_SWITCH      43 drivers/thunderbolt/cap.c 	ret = tb_sw_read(sw, &value, TB_CFG_SWITCH, offset, 1);
TB_CFG_SWITCH      52 drivers/thunderbolt/cap.c 	return tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1);
TB_CFG_SWITCH     124 drivers/thunderbolt/cap.c 		ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1);
TB_CFG_SWITCH     159 drivers/thunderbolt/cap.c 		ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 2);
TB_CFG_SWITCH    1015 drivers/thunderbolt/ctl.c 						   TB_CFG_SWITCH, 0, 1,
TB_CFG_SWITCH      19 drivers/thunderbolt/eeprom.c 	return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1);
TB_CFG_SWITCH      27 drivers/thunderbolt/eeprom.c 	return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1);
TB_CFG_SWITCH     252 drivers/thunderbolt/eeprom.c 	res = tb_sw_read(sw, &cap, TB_CFG_SWITCH, sw->cap_plug_events,
TB_CFG_SWITCH     451 drivers/thunderbolt/eeprom.c 	ret = tb_sw_read(sw, &drom_offset, TB_CFG_SWITCH,
TB_CFG_SWITCH     957 drivers/thunderbolt/icm.c 	return pcie2cio_write(tb_priv(tb), TB_CFG_SWITCH, 0, 0x777, BIT(1));
TB_CFG_SWITCH    1379 drivers/thunderbolt/icm.c 	return pcie2cio_write(tb_priv(tb), TB_CFG_SWITCH, 0, 0x50, BIT(9));
TB_CFG_SWITCH    1665 drivers/thunderbolt/icm.c 		res = tb_cfg_read_raw(tb->ctl, &tmp, 0, 0, TB_CFG_SWITCH,
TB_CFG_SWITCH      20 drivers/thunderbolt/lc.c 	return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4);
TB_CFG_SWITCH      27 drivers/thunderbolt/lc.c 	return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1);
TB_CFG_SWITCH      62 drivers/thunderbolt/lc.c 	ret = tb_sw_read(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
TB_CFG_SWITCH      82 drivers/thunderbolt/lc.c 	return tb_sw_write(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
TB_CFG_SWITCH     166 drivers/thunderbolt/lc.c 		ret = tb_sw_read(sw, &ctrl, TB_CFG_SWITCH,
TB_CFG_SWITCH     172 drivers/thunderbolt/lc.c 		ret = tb_sw_write(sw, &ctrl, TB_CFG_SWITCH,
TB_CFG_SWITCH    1019 drivers/thunderbolt/switch.c 	res = tb_sw_write(sw, ((u32 *) &sw->config) + 4, TB_CFG_SWITCH, 4, 1);
TB_CFG_SWITCH    1023 drivers/thunderbolt/switch.c 	res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1);
TB_CFG_SWITCH    1040 drivers/thunderbolt/switch.c 	return tb_sw_write(sw, &data, TB_CFG_SWITCH,
TB_CFG_SWITCH    1541 drivers/thunderbolt/switch.c 	ret = tb_cfg_read(tb->ctl, &sw->config, route, 0, TB_CFG_SWITCH, 0, 5);
TB_CFG_SWITCH    1668 drivers/thunderbolt/switch.c 	ret = tb_sw_write(sw, 1 + (u32 *)&sw->config, TB_CFG_SWITCH, 1, 3);
TB_CFG_SWITCH    1971 drivers/thunderbolt/switch.c 	err = tb_sw_write(sw, 1 + (u32 *) &sw->config, TB_CFG_SWITCH, 1, 3);