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
1952
ret = tb_port_read(port, &data, TB_CFG_PORT, cap + offset + i, 1);
drivers/thunderbolt/debugfs.c
1976
ret = tb_port_read(port, data, TB_CFG_PORT, cap + offset,
drivers/thunderbolt/debugfs.c
2004
ret = tb_port_read(port, &header, TB_CFG_PORT, cap, 1);
drivers/thunderbolt/debugfs.c
2051
ret = tb_port_read(port, (u32 *)&header + 1, TB_CFG_PORT,
drivers/thunderbolt/debugfs.c
2095
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
1912
ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0);
drivers/thunderbolt/icm.c
1915
ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
drivers/thunderbolt/icm.c
1929
ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0);
drivers/thunderbolt/icm.c
1934
ret = pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
drivers/thunderbolt/icm.c
1941
ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0);
drivers/thunderbolt/icm.c
1944
ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1);
drivers/thunderbolt/icm.c
1949
ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0);
drivers/thunderbolt/icm.c
1954
return pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1);
drivers/thunderbolt/switch.c
1008
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1039
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1069
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1093
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1103
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1239
ret = tb_port_read(port, &nfc_credits, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/switch.c
1356
if (tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1377
return tb_port_write(port, &word, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1391
if (tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1410
return tb_port_write(port, &word, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1427
ret = tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1448
ret = tb_port_read(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1454
return tb_port_write(port, &data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1480
ret = tb_port_read(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1495
return tb_port_write(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1509
if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap + ADP_DP_CS_0,
drivers/thunderbolt/switch.c
1531
ret = tb_port_read(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
1541
return tb_port_write(port, data, TB_CFG_PORT,
drivers/thunderbolt/switch.c
475
res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2);
drivers/thunderbolt/switch.c
594
TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/switch.c
639
ret = tb_port_read(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
650
ret = tb_port_write(port, &phy, TB_CFG_PORT,
drivers/thunderbolt/switch.c
711
res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8);
drivers/thunderbolt/switch.c
913
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/switch.c
974
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
1073
ret = tb_port_read(in, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1207
ret = tb_port_read(in, &cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1359
ret = tb_port_read(in, &val, TB_CFG_PORT, in->cap_adap + cap, 1);
drivers/thunderbolt/tunnel.c
1544
if (tb_port_read(in, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1555
if (tb_port_read(out, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
1566
if (tb_port_read(in, &dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
635
ret = tb_port_read(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
642
ret = tb_port_write(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
648
ret = tb_port_read(out, &val, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
838
ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
843
ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
849
ret = tb_port_write(out, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
910
return tb_port_write(in, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
938
ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/tunnel.c
943
ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1137
ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/usb4.c
1142
return tb_port_write(port, &val, TB_CFG_PORT, ADP_CS_4, 1);
drivers/thunderbolt/usb4.c
1159
ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_5, 1);
drivers/thunderbolt/usb4.c
1164
return tb_port_write(port, &val, TB_CFG_PORT, ADP_CS_5, 1);
drivers/thunderbolt/usb4.c
1183
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1190
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1197
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1204
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1216
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1226
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1264
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1274
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1314
ret = tb_port_read(port, &val, TB_CFG_PORT, offset, 1);
drivers/thunderbolt/usb4.c
1332
return tb_port_read(port, data, TB_CFG_PORT, port->cap_usb4 + PORT_CS_2,
drivers/thunderbolt/usb4.c
1342
return tb_port_write(port, data, TB_CFG_PORT, port->cap_usb4 + PORT_CS_2,
drivers/thunderbolt/usb4.c
1376
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1386
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1436
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1446
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1579
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1602
if (tb_port_read(port, &val, TB_CFG_PORT, port->cap_usb4 + PORT_CS_18, 1))
drivers/thunderbolt/usb4.c
1626
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1649
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1671
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
1679
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
2212
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2233
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2243
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2292
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2297
ret = tb_port_read(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2347
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2352
ret = tb_port_read(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2387
ret = tb_port_write(port, &scale, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2397
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2406
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2533
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2541
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2563
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2589
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2620
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2630
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2654
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2682
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2690
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2715
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2774
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2815
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2839
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2880
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2901
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2932
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2940
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2966
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2982
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
2992
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3014
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3030
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3036
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3063
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3071
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3111
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3140
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3150
return tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
3170
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
409
ret = tb_port_read(up, &val, TB_CFG_PORT, up->cap_usb4 + PORT_CS_18, 1);
drivers/thunderbolt/usb4.c
446
ret = tb_port_read(port, &val, TB_CFG_PORT,
drivers/thunderbolt/usb4.c
467
ret = tb_port_write(port, &val, TB_CFG_PORT,
drivers/thunderbolt/xdomain.c
1451
ret = tb_port_read(port, &val, TB_CFG_PORT, port->cap_phy + LANE_ADP_CS_1, 1);
drivers/thunderbolt/xdomain.c
853
ret = tb_port_read(port, val, TB_CFG_PORT,