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

/linux-master/drivers/thunderbolt/
H A Dlc.c78 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(s
[all...]
H A Dtmu.c80 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
99 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
115 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
162 return tb_sw_write(sw, &val, TB_CFG_SWITCH,
354 return tb_sw_write(sw, &val, TB_CFG_SWITCH, offset, 1);
492 ret = tb_sw_write(sw, &local_time, TB_CFG_SWITCH,
507 ret = tb_sw_write(sw, &post_time, TB_CFG_SWITCH, post_time_offset, 2);
511 ret = tb_sw_write(sw, &post_time_high, TB_CFG_SWITCH,
711 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH,
H A Dcap.c44 return tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1);
H A Dclx.c294 return tb_sw_write(sw, &val, TB_CFG_SWITCH,
H A Dusb4.c64 ret = tb_sw_write(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1);
69 ret = tb_sw_write(sw, tx_data, TB_CFG_SWITCH, ROUTER_CS_9,
76 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1);
296 return tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
324 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
478 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
505 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_5, 1);
H A Dswitch.c1589 res.err = tb_sw_write(sw, ((u32 *) &sw->config) + 2,
1714 res = tb_sw_write(sw, ((u32 *) &sw->config) + 4, TB_CFG_SWITCH, 4, 1);
1741 return tb_sw_write(sw, &data, TB_CFG_SWITCH,
2595 ret = tb_sw_write(sw, (u32 *)&sw->config + 1, TB_CFG_SWITCH,
2612 ret = tb_sw_write(sw, (u32 *)&sw->config + 1, TB_CFG_SWITCH,
3820 ret = tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1);
3833 ret = tb_sw_write(sw, &command, TB_CFG_SWITCH, offset, 1);
H A Deeprom.c20 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1);
H A Ddebugfs.c155 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, offset, 1);
H A Dtb.h675 static inline int tb_sw_write(struct tb_switch *sw, const void *buffer, function

Completed in 169 milliseconds