Lines Matching refs:lct

138 	size += (hdr->lct / 2);  in drm_dp_calc_sb_hdr_size()
148 buf[idx++] = ((hdr->lct & 0xf) << 4) | (hdr->lcr & 0xf); in drm_dp_encode_sideband_msg_hdr()
149 for (i = 0; i < (hdr->lct / 2); i++) in drm_dp_encode_sideband_msg_hdr()
181 hdr->lct = (buf[0] & 0xf0) >> 4; in drm_dp_decode_sideband_msg_hdr()
184 for (i = 0; i < (hdr->lct / 2); i++) in drm_dp_decode_sideband_msg_hdr()
785 static struct drm_dp_mst_branch *drm_dp_add_mst_branch_device(u8 lct, u8 *rad) in drm_dp_add_mst_branch_device() argument
793 mstb->lct = lct; in drm_dp_add_mst_branch_device()
794 if (lct > 1) in drm_dp_add_mst_branch_device()
795 memcpy(mstb->rad, rad, lct / 2); in drm_dp_add_mst_branch_device()
999 int parent_lct = port->parent->lct; in drm_dp_calculate_rad()
1018 u8 rad[6], lct; in drm_dp_port_setup_pdt() local
1027 lct = drm_dp_calculate_rad(port, rad); in drm_dp_port_setup_pdt()
1029 port->mstb = drm_dp_add_mst_branch_device(lct, rad); in drm_dp_port_setup_pdt()
1072 for (i = 0; i < (mstb->lct - 1); i++) { in build_mst_prop_path()
1207 u8 lct, u8 *rad) in drm_dp_get_mst_branch_device() argument
1217 for (i = 0; i < lct - 1; i++) { in drm_dp_get_mst_branch_device()
1225 DRM_ERROR("failed to lookup MSTB with lct %d, rad %02x\n", lct, rad[0]); in drm_dp_get_mst_branch_device()
1417 hdr->lct = mstb->lct; in set_hdr_from_dst_qlock()
1418 hdr->lcr = mstb->lct - 1; in set_hdr_from_dst_qlock()
1419 if (mstb->lct > 1) in set_hdr_from_dst_qlock()
1420 memcpy(hdr->rad, mstb->rad, mstb->lct / 2); in set_hdr_from_dst_qlock()
2214 mgr->down_rep_recv.initial_hdr.lct, in drm_dp_mst_handle_down_rep()
2218 DRM_DEBUG_KMS("Got MST reply from unknown device %d\n", mgr->down_rep_recv.initial_hdr.lct); in drm_dp_mst_handle_down_rep()
2234 mgr->down_rep_recv.initial_hdr.lct, in drm_dp_mst_handle_down_rep()
2272 mgr->up_req_recv.initial_hdr.lct, in drm_dp_mst_handle_up_req()
2275 DRM_DEBUG_KMS("Got MST reply from unknown device %d\n", mgr->up_req_recv.initial_hdr.lct); in drm_dp_mst_handle_up_req()
2291 DRM_DEBUG_KMS("Got MST reply from unknown device %d\n", mgr->up_req_recv.initial_hdr.lct); in drm_dp_mst_handle_up_req()
2307 DRM_DEBUG_KMS("Got MST reply from unknown device %d\n", mgr->up_req_recv.initial_hdr.lct); in drm_dp_mst_handle_up_req()
2713 int tabs = mstb->lct; in drm_dp_mst_dump_mstb()