Searched refs:tb_port_read (Results 1 – 6 of 6) sorted by relevance
/drivers/thunderbolt/ |
D | path.c | 48 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() 353 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop() 370 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop()
|
D | cap.c | 66 tb_port_read(port, &dummy, TB_CFG_PORT, 0, 1); in tb_port_dummy_read() 78 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in __tb_port_find_cap()
|
D | switch.c | 490 res = tb_port_read(port, &phy, TB_CFG_PORT, port->cap_phy, 2); in tb_port_state() 600 ret = tb_port_read(port, &data, TB_CFG_PORT, 5, 1); in tb_port_set_initial_credits() 635 res = tb_port_read(port, &port->config, TB_CFG_PORT, 0, 8); in tb_init_port() 825 if (tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap, 1)) in tb_pci_port_is_enabled() 855 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 2, 1); in tb_dp_port_hpd_is_active() 873 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 3, 1); in tb_dp_port_hpd_clear() 896 ret = tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_set_hops() 920 if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_is_enabled() 940 ret = tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_enable()
|
D | tunnel.c | 243 ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps() 248 ret = tb_port_read(out, &out_dp_cap, TB_CFG_PORT, in tb_dp_xchg_caps()
|
D | eeprom.c | 352 res = tb_port_read(port, &type, TB_CFG_PORT, 2, 1); in tb_drom_parse_entry_port()
|
D | tb.h | 416 static inline int tb_port_read(struct tb_port *port, void *buffer, in tb_port_read() function
|