Searched refs:GUC_CTB_HDR_LEN (Results 1 – 2 of 2) sorted by relevance
84 #define GUC_CTB_HDR_LEN 1u macro85 #define GUC_CTB_MSG_MIN_LEN GUC_CTB_HDR_LEN
481 GEM_BUG_ON(atomic_read(&ctb->space) < len + GUC_CTB_HDR_LEN); in ct_write()482 atomic_sub(len + GUC_CTB_HDR_LEN, &ctb->space); in ct_write()666 ret = has_room_nb(ct, len + GUC_CTB_HDR_LEN, g2h_len_dw); in ct_send_nb()701 GEM_BUG_ON(len > GUC_CTB_HXG_MSG_MAX_LEN - GUC_CTB_HDR_LEN); in ct_send()716 if (unlikely(!h2g_has_room(ct, len + GUC_CTB_HDR_LEN) || in ct_send()