Lines Matching refs:cap_lc
22 if (!sw->cap_lc) in tb_lc_read_uuid()
24 return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4); in tb_lc_read_uuid()
29 if (!sw->cap_lc) in read_lc_desc()
31 return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1); in read_lc_desc()
49 return sw->cap_lc + start + phys * size; in find_port_lc_cap()
450 unsigned int offset = sw->cap_lc + start + i * size; in tb_lc_set_wake()
488 unsigned int offset = sw->cap_lc + start + i * size; in tb_lc_set_sleep()
556 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_available()
635 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_alloc()
649 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_alloc()
685 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_dealloc()
695 sw->cap_lc + TB_LC_SNK_ALLOCATION, 1); in tb_lc_dp_sink_dealloc()