Lines Matching refs:psdata_size
313 static inline u32 cppi5_hdesc_calc_size(bool epib, u32 psdata_size, in cppi5_hdesc_calc_size() argument
318 if (psdata_size > CPPI5_INFO0_HDESC_PSDATA_MAX_SIZE) in cppi5_hdesc_calc_size()
321 desc_size = sizeof(struct cppi5_host_desc_t) + psdata_size + in cppi5_hdesc_calc_size()
342 u32 psdata_size) in cppi5_hdesc_init() argument
346 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_init()
373 cppi5_hdesc_update_psdata_size(struct cppi5_host_desc_t *desc, u32 psdata_size) in cppi5_hdesc_update_psdata_size() argument
376 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_update_psdata_size()
387 u32 psdata_size = 0; in cppi5_hdesc_get_psdata_size() local
390 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata_size()
394 return (psdata_size << 2); in cppi5_hdesc_get_psdata_size()
546 u32 psdata_size; in cppi5_hdesc_get_psdata() local
552 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata()
556 if (!psdata_size) in cppi5_hdesc_get_psdata()
576 u32 psdata_size = 0; in cppi5_hdesc_get_swdata() local
580 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_swdata()
589 swdata += (psdata_size << 2); in cppi5_hdesc_get_swdata()