Lines Matching refs:lct
181 drm_dp_mst_rad_to_str(const u8 rad[8], u8 lct, char *out, size_t len)
186 for (i = 0; i < lct; i++) {
196 return snprintf(out, len, "%*phC", lct, unpacked_rad);
270 size += (hdr->lct / 2);
280 buf[idx++] = ((hdr->lct & 0xf) << 4) | (hdr->lcr & 0xf);
281 for (i = 0; i < (hdr->lct / 2); i++)
313 hdr->lct = (buf[0] & 0xf0) >> 4;
316 for (i = 0; i < (hdr->lct / 2); i++)
653 drm_dp_mst_rad_to_str(txmsg->dst->rad, txmsg->dst->lct, buf,
1235 static struct drm_dp_mst_branch *drm_dp_add_mst_branch_device(u8 lct, u8 *rad)
1243 mstb->lct = lct;
1244 if (lct > 1)
1245 memcpy(mstb->rad, rad, lct / 2);
1933 int parent_lct = port->parent->lct;
1968 u8 rad[8], lct;
2006 lct = drm_dp_calculate_rad(port, rad);
2007 mstb = drm_dp_add_mst_branch_device(lct, rad);
2117 for (i = 0; i < (mstb->lct - 1); i++) {
2464 u8 lct, u8 *rad)
2477 for (i = 0; i < lct - 1; i++) {
2485 DRM_ERROR("failed to lookup MSTB with lct %d, rad %02x\n", lct, rad[0]);
2730 hdr->lct = mstb->lct;
2731 hdr->lcr = mstb->lct - 1;
2732 if (mstb->lct > 1)
2733 memcpy(hdr->rad, mstb->rad, mstb->lct / 2);
3777 mstb = drm_dp_get_mst_branch_device(mgr, hdr->lct, hdr->rad);
3780 hdr->lct);
3793 mstb, hdr->seqno, hdr->lct, hdr->rad[0],
3851 mstb = drm_dp_get_mst_branch_device(mgr, hdr->lct, hdr->rad);
3856 hdr->lct);
4539 int tabs = mstb->lct;