Symbol: TB_CFG_PORT
drivers/thunderbolt/cap.c
103
ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1);
drivers/thunderbolt/cap.c
58
tb_port_read(port, &dummy, TB_CFG_PORT, 0, 1);
drivers/thunderbolt/cap.c
84
ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1);
drivers/thunderbolt/clx.c
118
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/clx.c
128
return tb_port_write(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/clx.c
150
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/clx.c
43
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/clx.c
53
return tb_port_write(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/clx.c
95
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/ctl.c
1097
if (space == TB_CFG_PORT &&
drivers/thunderbolt/debugfs.c
1944
ret = tb_port_read(port, &data, TB_CFG_PORT, cap + offset + i, 1);
drivers/thunderbolt/debugfs.c
1968
ret = tb_port_read(port, data, TB_CFG_PORT, cap + offset,
drivers/thunderbolt/debugfs.c
1996
ret = tb_port_read(port, &header, TB_CFG_PORT, cap, 1);
drivers/thunderbolt/debugfs.c
2043
ret = tb_port_read(port, (u32 *)&header + 1, TB_CFG_PORT,
drivers/thunderbolt/debugfs.c
2087
ret = tb_port_read(port, data, TB_CFG_PORT, 0, ARRAY_SIZE(data));
drivers/thunderbolt/debugfs.c
279
return regs_write(port->sw, port, TB_CFG_PORT, user_buf, count, ppos);
drivers/thunderbolt/dma_port.c
137
.space = TB_CFG_PORT,
drivers/thunderbolt/dma_port.c
96
.space = TB_CFG_PORT,
drivers/thunderbolt/eeprom.c
383
res = tb_port_read(port, &type, TB_CFG_PORT, 2, 1);
drivers/thunderbolt/icm.c
1898
ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0);
drivers/thunderbolt/icm.c
1901
ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
drivers/thunderbolt/icm.c
1915
ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0);
drivers/thunderbolt/icm.c
1920
ret = pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
drivers/thunderbolt/icm.c
1927
ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0);
drivers/thunderbolt/icm.c
1930
ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
drivers/thunderbolt/icm.c
1935
ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0);
drivers/thunderbolt/icm.c
1940
return pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
drivers/thunderbolt/switch.c
1012
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1043
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1073
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1097
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1107
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1243
ret = tb_port_read(port, &nfc_credits, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/switch.c
1360
if (tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1381
return tb_port_write(port, &word, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1395
if (tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1414
return tb_port_write(port, &word, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1431
ret = tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1452
ret = tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1458
return tb_port_write(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1484
ret = tb_port_read(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1499
return tb_port_write(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1513
if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap + ADP_DP_CS_0,
drivers/thunderbolt/switch.c
1535
ret = tb_port_read(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1545
return tb_port_write(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
479
res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2);
drivers/thunderbolt/switch.c
598
TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/switch.c
643
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
654
ret = tb_port_write(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
715
res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8);
drivers/thunderbolt/switch.c
917
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
978
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
172
ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_tmu + offset, 1);
drivers/thunderbolt/tmu.c
179
return tb_port_write(port, &data, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
210
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
223
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
240
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
250
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
265
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
275
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
280
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
290
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
303
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tmu.c
311
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1044
ret = tb_port_read(in, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1178
ret = tb_port_read(in, &cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1330
ret = tb_port_read(in, &val, TB_CFG_PORT, in->cap_adap + cap, 1);
drivers/thunderbolt/tunnel.c
1515
if (tb_port_read(in, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1526
if (tb_port_read(out, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1537
if (tb_port_read(in, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
606
ret = tb_port_read(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
613
ret = tb_port_write(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
619
ret = tb_port_read(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
809
ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
814
ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
820
ret = tb_port_write(out, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
881
return tb_port_write(in, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
909
ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
914
ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1132
ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/usb4.c
1137
return tb_port_write(port, &val, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/usb4.c
1154
ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_5, 1);
drivers/thunderbolt/usb4.c
1159
return tb_port_write(port, &val, TB_CFG_PORT, ADP_CS_5, 1);
drivers/thunderbolt/usb4.c
1178
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1185
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1192
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1199
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1211
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1221
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1259
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1269
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1309
ret = tb_port_read(port, &val, TB_CFG_PORT, offset, 1);
drivers/thunderbolt/usb4.c
1327
return tb_port_read(port, data, TB_CFG_PORT, port->cap_usb4 + PORT_CS_2,
drivers/thunderbolt/usb4.c
1337
return tb_port_write(port, data, TB_CFG_PORT, port->cap_usb4 + PORT_CS_2,
drivers/thunderbolt/usb4.c
1371
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1381
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1431
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1441
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1574
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1597
if (tb_port_read(port, &val, TB_CFG_PORT, port->cap_usb4 + PORT_CS_18, 1))
drivers/thunderbolt/usb4.c
1621
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1644
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1666
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1674
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
190
if (tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
220
if (tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2207
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2228
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2238
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2287
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2292
ret = tb_port_read(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2342
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2347
ret = tb_port_read(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2382
ret = tb_port_write(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2392
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2401
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2528
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2536
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2558
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2584
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2615
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2625
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2649
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2677
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2685
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2710
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2769
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2810
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2834
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2875
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2896
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2927
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2935
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2961
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2977
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2987
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3009
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3025
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3031
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3058
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3066
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3106
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3135
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3145
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
404
ret = tb_port_read(up, &val, TB_CFG_PORT, up->cap_usb4 + PORT_CS_18, 1);
drivers/thunderbolt/usb4.c
441
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
462
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/xdomain.c
1301
ret = tb_port_read(port, &val, TB_CFG_PORT, port->cap_phy + LANE_ADP_CS_1, 1);
drivers/thunderbolt/xdomain.c
549
ret = tb_port_read(port, val, TB_CFG_PORT,