Searched refs:tb_sw_read (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/thunderbolt/
H A Dlc.c22 return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4);
29 return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1);
72 ret = tb_sw_read(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1);
84 ret = tb_sw_read(sw, &mode, TB_CFG_SWITCH, cap + TB_LC_PORT_MODE, 1);
107 ret = tb_sw_read(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
165 ret = tb_sw_read(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
232 ret = tb_sw_read(sw, &ctrl, TB_CFG_SWITCH, cap + TB_LC_SX_CTRL, 1);
258 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, cap + TB_LC_LINK_ATTR, 1);
284 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, cap + TB_LC_CS_42, 1);
310 ret = tb_sw_read(s
[all...]
H A Dcap.c35 ret = tb_sw_read(sw, &value, TB_CFG_SWITCH, offset, 1);
153 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 2);
200 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1);
233 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1);
H A Dtmu.c72 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
85 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
107 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
127 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
140 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
154 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
345 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, offset, 1);
462 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH,
518 ret = tb_sw_read(sw, &post_time, TB_CFG_SWITCH,
704 ret = tb_sw_read(s
[all...]
H A Dusb4.c84 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1);
96 ret = tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1);
101 ret = tb_sw_read(sw, rx_data, TB_CFG_SWITCH, ROUTER_CS_9,
173 if (tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_6, 1))
253 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_6, 1);
267 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
318 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
341 return tb_sw_read(sw, uid, TB_CFG_SWITCH, ROUTER_CS_7, 2);
466 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
499 ret = tb_sw_read(s
[all...]
H A Dclx.c284 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH,
H A Ddebugfs.c1105 ret = tb_sw_read(sw, &data, TB_CFG_SWITCH, cap + offset + i, 1);
1130 ret = tb_sw_read(sw, data, TB_CFG_SWITCH, cap + offset, dwords);
1295 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, cap, 1);
1303 ret = tb_sw_read(sw, (u32 *)&header + 1, TB_CFG_SWITCH,
1351 ret = tb_sw_read(sw, data, TB_CFG_SWITCH, 0, dwords);
H A Deeprom.c28 return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1);
146 res = tb_sw_read(sw, &cap, TB_CFG_SWITCH, sw->cap_plug_events,
H A Dswitch.c1618 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_3, 1);
1685 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, offset, 1);
1718 res = tb_sw_read(sw, &data, TB_CFG_SWITCH, sw->cap_plug_events + 1, 1);
3842 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, offset, 1);
H A Dtb.h661 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, function

Completed in 174 milliseconds