Searched refs:cap_lc (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/thunderbolt/ |
H A D | lc.c | 20 if (!sw->cap_lc) in tb_lc_read_uuid() 22 return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4); in tb_lc_read_uuid() 27 if (!sw->cap_lc) in read_lc_desc() 29 return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1); in read_lc_desc() 47 return sw->cap_lc + start + phys * size; in find_port_lc_cap() 434 unsigned int offset = sw->cap_lc + start + i * size; in tb_lc_set_wake() 470 unsigned int offset = sw->cap_lc + start + i * size; in tb_lc_set_sleep() 536 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_available() 611 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_alloc() 625 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_alloc() [all …]
|
H A D | tb.h | 187 int cap_lc; member
|
H A D | switch.c | 2506 sw->cap_lc = ret; in tb_switch_alloc()
|