Searched refs:cap_adap (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/thunderbolt/ |
D | tunnel.c | 244 in->cap_adap + TB_DP_LOCAL_CAP, 1); in tb_dp_xchg_caps() 249 out->cap_adap + TB_DP_LOCAL_CAP, 1); in tb_dp_xchg_caps() 255 out->cap_adap + TB_DP_REMOTE_CAP, 1); in tb_dp_xchg_caps() 260 in->cap_adap + TB_DP_REMOTE_CAP, 1); in tb_dp_xchg_caps() 435 if (WARN_ON(!in->cap_adap || !out->cap_adap)) in tb_tunnel_alloc_dp()
|
D | switch.c | 637 port->cap_adap = cap; in tb_init_port() 806 if (tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap, 1)) in tb_pci_port_is_enabled() 820 if (!port->cap_adap) in tb_pci_port_enable() 822 return tb_port_write(port, &word, TB_CFG_PORT, port->cap_adap, 1); in tb_pci_port_enable() 836 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 2, 1); in tb_dp_port_hpd_is_active() 854 ret = tb_port_read(port, &data, TB_CFG_PORT, port->cap_adap + 3, 1); in tb_dp_port_hpd_clear() 859 return tb_port_write(port, &data, TB_CFG_PORT, port->cap_adap + 3, 1); in tb_dp_port_hpd_clear() 877 ret = tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_set_hops() 889 return tb_port_write(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_set_hops() 901 if (tb_port_read(port, data, TB_CFG_PORT, port->cap_adap, in tb_dp_port_is_enabled() [all …]
|
D | tb.h | 142 int cap_adap; member
|
D | tb.c | 314 if (!sw->ports[i].cap_adap) in tb_find_unused_port()
|