Home
last modified time | relevance | path

Searched refs:tb_port_read (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/thunderbolt/
H A Dusb4.c191 if (tb_port_read(port, &val, TB_CFG_PORT, in usb4_switch_check_wakes()
221 if (tb_port_read(port, &val, TB_CFG_PORT, in link_is_usb4()
397 ret = tb_port_read(up, &val, TB_CFG_PORT, up->cap_usb4 + PORT_CS_18, 1); in usb4_switch_lane_bonding_possible()
432 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_switch_set_wake()
1089 ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_4, 1); in usb4_port_unlock()
1109 ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_5, 1); in usb4_port_hotplug_enable()
1131 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_port_reset()
1145 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_port_reset()
1164 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_port_set_configured()
1208 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_set_xdomain_configured()
[all …]
H A Dcap.c58 tb_port_read(port, &dummy, TB_CFG_PORT, 0, 1); in tb_port_dummy_read()
80 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in tb_port_next_cap()
99 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in __tb_port_find_cap()
H A Dclx.c43 ret = tb_port_read(port, &phy, TB_CFG_PORT, in tb_port_pm_secondary_set()
95 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_clx_supported()
118 ret = tb_port_read(port, &phy, TB_CFG_PORT, in tb_port_clx_set()
150 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_clx()
H A Dtmu.c172 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_tmu + offset, 1); in tb_port_tmu_write()
210 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_tmu_is_unidirectional()
223 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_tmu_is_enhanced()
240 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_tmu_enhanced_enable()
265 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_tmu_mode_params()
280 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_tmu_mode_params()
303 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_tmu_rate_write()
H A Dpath.c48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port()
134 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover()
180 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover()
400 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop()
417 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop()
H A Dtunnel.c444 ret = tb_port_read(out, &val, TB_CFG_PORT, in tb_dp_cm_handshake()
457 ret = tb_port_read(out, &val, TB_CFG_PORT, in tb_dp_cm_handshake()
647 ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps()
652 ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps()
747 ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT, in tb_dp_bandwidth_alloc_mode_enable()
752 ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT, in tb_dp_bandwidth_alloc_mode_enable()
915 ret = tb_port_read(in, &cap, TB_CFG_PORT, in tb_dp_bandwidth_mode_maximum_bandwidth()
1074 ret = tb_port_read(in, &val, TB_CFG_PORT, in tb_dp_read_dprx()
1114 ret = tb_port_read(in, &val, TB_CFG_PORT, in->cap_adap + cap, 1); in tb_dp_read_cap()
1290 if (tb_port_read(in, &dp_cap, TB_CFG_PORT, in tb_dp_dump()
[all …]
H A Dswitch.c476 res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2); in tb_port_state()
636 ret = tb_port_read(port, &phy, TB_CFG_PORT, in __tb_port_enable()
704 res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8); in tb_init_port()
736 if (!tb_port_read(port, &hop, TB_CFG_HOPS, 0, 2)) in tb_init_port()
906 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_speed()
981 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_width()
1013 ret = tb_port_read(port, &phy, TB_CFG_PORT, in tb_port_width_supported()
1044 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_link_width()
1098 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_lane_bonding()
1239 ret = tb_port_read(port, &nfc_credits, TB_CFG_PORT, ADP_CS_4, 1); in tb_port_do_update_credits()
[all …]
H A Ddebugfs.c1104 ret = tb_port_read(port, &data, TB_CFG_PORT, cap + offset + i, 1); in cap_show_by_dw()
1128 ret = tb_port_read(port, data, TB_CFG_PORT, cap + offset, in cap_show()
1156 ret = tb_port_read(port, &header, TB_CFG_PORT, cap, 1); in port_cap_show()
1203 ret = tb_port_read(port, (u32 *)&header + 1, TB_CFG_PORT, in port_cap_show()
1247 ret = tb_port_read(port, data, TB_CFG_PORT, 0, ARRAY_SIZE(data)); in port_basic_regs_show()
1398 ret = tb_port_read(port, data, TB_CFG_HOPS, hopid * PATH_LEN, in path_show_one()
1460 ret = tb_port_read(port, data, TB_CFG_COUNTERS, in counter_set_regs_show()
H A Deeprom.c381 res = tb_port_read(port, &type, TB_CFG_PORT, 2, 1); in tb_drom_parse_entry_port()
H A Dxdomain.c549 ret = tb_port_read(port, val, TB_CFG_PORT, in tb_xdp_link_state_status_response()
1297 ret = tb_port_read(port, &val, TB_CFG_PORT, port->cap_phy + LANE_ADP_CS_1, 1); in tb_xdomain_link_state_change()
H A Dtb.h659 static inline int tb_port_read(struct tb_port *port, void *buffer, in tb_port_read() function