Lines Matching refs:lct

178 drm_dp_mst_rad_to_str(const u8 rad[8], u8 lct, char *out, size_t len)  in drm_dp_mst_rad_to_str()  argument
183 for (i = 0; i < lct; i++) { in drm_dp_mst_rad_to_str()
193 return snprintf(out, len, "%*phC", lct, unpacked_rad); in drm_dp_mst_rad_to_str()
268 size += (hdr->lct / 2); in drm_dp_calc_sb_hdr_size()
279 buf[idx++] = ((hdr->lct & 0xf) << 4) | (hdr->lcr & 0xf); in drm_dp_encode_sideband_msg_hdr()
280 for (i = 0; i < (hdr->lct / 2); i++) in drm_dp_encode_sideband_msg_hdr()
314 hdr->lct = (buf[0] & 0xf0) >> 4; in drm_dp_decode_sideband_msg_hdr()
317 for (i = 0; i < (hdr->lct / 2); i++) in drm_dp_decode_sideband_msg_hdr()
695 drm_dp_mst_rad_to_str(txmsg->dst->rad, txmsg->dst->lct, buf, in drm_dp_mst_dump_sideband_msg_tx()
1318 static struct drm_dp_mst_branch *drm_dp_add_mst_branch_device(u8 lct, u8 *rad) in drm_dp_add_mst_branch_device() argument
1326 mstb->lct = lct; in drm_dp_add_mst_branch_device()
1327 if (lct > 1) in drm_dp_add_mst_branch_device()
1328 memcpy(mstb->rad, rad, lct / 2); in drm_dp_add_mst_branch_device()
2023 int parent_lct = port->parent->lct; in drm_dp_calculate_rad()
2059 u8 rad[8], lct; in drm_dp_port_set_pdt() local
2097 lct = drm_dp_calculate_rad(port, rad); in drm_dp_port_set_pdt()
2098 mstb = drm_dp_add_mst_branch_device(lct, rad); in drm_dp_port_set_pdt()
2206 for (i = 0; i < (mstb->lct - 1); i++) { in build_mst_prop_path()
2531 u8 lct, u8 *rad) in drm_dp_get_mst_branch_device() argument
2544 for (i = 0; i < lct - 1; i++) { in drm_dp_get_mst_branch_device()
2554 lct, rad[0]); in drm_dp_get_mst_branch_device()
2767 hdr->lct = 1; in set_hdr_from_dst_qlock()
2770 hdr->lct = mstb->lct; in set_hdr_from_dst_qlock()
2771 hdr->lcr = mstb->lct - 1; in set_hdr_from_dst_qlock()
2774 memcpy(hdr->rad, mstb->rad, hdr->lct / 2); in set_hdr_from_dst_qlock()
2944 drm_dp_mst_rad_to_str(mstb->rad, mstb->lct, buf, sizeof(buf)); in drm_dp_send_link_address()
3809 *mstb = drm_dp_get_mst_branch_device(mgr, hdr.lct, hdr.rad); in drm_dp_get_one_sb_msg()
3811 drm_dbg_kms(mgr->dev, "Got MST reply from unknown device %d\n", hdr.lct); in drm_dp_get_one_sb_msg()
3877 mstb, hdr->seqno, hdr->lct, hdr->rad[0], msg->msg[0]); in drm_dp_mst_handle_down_rep()
3934 mstb = drm_dp_get_mst_branch_device(mgr, hdr->lct, hdr->rad); in drm_dp_mst_process_up_req()
3938 drm_dbg_kms(mgr->dev, "Got MST reply from unknown device %d\n", hdr->lct); in drm_dp_mst_process_up_req()
4676 int tabs = mstb->lct; in drm_dp_mst_dump_mstb()