Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/thunderbolt/
Dusb4.c224 if (tb_port_read(port, &val, TB_CFG_PORT, in usb4_switch_check_wakes()
246 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()
431 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_switch_set_wake()
848 ret = tb_port_read(port, &val, TB_CFG_PORT, ADP_CS_4, 1); in usb4_port_unlock()
864 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_port_set_configured()
908 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_set_xdomain_configured()
954 ret = tb_port_read(port, &val, TB_CFG_PORT, offset, 1); in usb4_port_wait_for_bit()
972 return tb_port_read(port, data, TB_CFG_PORT, port->cap_usb4 + PORT_CS_2, in usb4_port_read_data()
1013 ret = tb_port_read(port, &val, TB_CFG_PORT, in usb4_port_sb_read()
[all …]
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()
Ddebugfs.c265 ret = tb_port_read(port, data, TB_CFG_PORT, cap + offset, in cap_show()
296 ret = tb_port_read(port, &header, TB_CFG_PORT, cap, 1); in port_cap_show()
332 ret = tb_port_read(port, (u32 *)&header + 1, TB_CFG_PORT, in port_cap_show()
385 ret = tb_port_read(port, data, TB_CFG_PORT, 0, ARRAY_SIZE(data)); in port_basic_regs_show()
536 ret = tb_port_read(port, data, TB_CFG_HOPS, hopid * PATH_LEN, in path_show_one()
598 ret = tb_port_read(port, data, TB_CFG_COUNTERS, in counter_set_regs_show()
Dpath.c48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port()
132 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover()
174 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover()
386 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop()
403 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop()
Dswitch.c519 res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2); in tb_port_state()
636 ret = tb_port_read(port, &data, TB_CFG_PORT, ADP_CS_5, 1); in tb_port_set_initial_credits()
684 ret = tb_port_read(port, &phy, TB_CFG_PORT, in __tb_port_enable()
733 res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8); in tb_init_port()
925 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_speed()
943 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_get_link_width()
960 ret = tb_port_read(port, &phy, TB_CFG_PORT, in tb_port_is_width_supported()
979 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_set_link_width()
1075 if (tb_port_read(port, &data, TB_CFG_PORT, in tb_usb3_port_is_enabled()
1106 if (tb_port_read(port, &data, TB_CFG_PORT, in tb_pci_port_is_enabled()
[all …]
Dtmu.c90 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_tmu + offset, 1); in tb_port_tmu_write()
123 ret = tb_port_read(port, &val, TB_CFG_PORT, in tb_port_tmu_is_unidirectional()
Dtunnel.c269 ret = tb_port_read(out, &val, TB_CFG_PORT, in tb_dp_cm_handshake()
282 ret = tb_port_read(out, &val, TB_CFG_PORT, in tb_dp_cm_handshake()
444 ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps()
449 ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps()
560 ret = tb_port_read(in, &val, TB_CFG_PORT, in tb_dp_consumed_bandwidth()
580 ret = tb_port_read(in, &val, TB_CFG_PORT, in tb_dp_consumed_bandwidth()
Deeprom.c356 res = tb_port_read(port, &type, TB_CFG_PORT, 2, 1); in tb_drom_parse_entry_port()
Dtb.h536 static inline int tb_port_read(struct tb_port *port, void *buffer, in tb_port_read() function