Lines Matching refs:pkt_info0
24 u32 pkt_info0; member
200 return (desc_hdr->pkt_info0 & CPPI5_INFO0_HDESC_TYPE_MASK) >> in cppi5_desc_get_type()
344 desc->hdr.pkt_info0 = (CPPI5_INFO0_DESC_TYPE_VAL_HOST << in cppi5_hdesc_init()
346 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_init()
362 desc->hdr.pkt_info0 &= ~(CPPI5_INFO0_HDESC_EPIB_PRESENT | in cppi5_hdesc_update_flags()
364 desc->hdr.pkt_info0 |= flags; in cppi5_hdesc_update_flags()
375 desc->hdr.pkt_info0 &= ~CPPI5_INFO0_HDESC_PSINFO_SIZE_MASK; in cppi5_hdesc_update_psdata_size()
376 desc->hdr.pkt_info0 |= ((psdata_size >> 2) << in cppi5_hdesc_update_psdata_size()
389 if (!(desc->hdr.pkt_info0 & CPPI5_INFO0_HDESC_PSINFO_LOCATION)) in cppi5_hdesc_get_psdata_size()
390 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata_size()
405 return (desc->hdr.pkt_info0 & CPPI5_INFO0_HDESC_PKTLEN_MASK); in cppi5_hdesc_get_pktlen()
415 desc->hdr.pkt_info0 &= ~CPPI5_INFO0_HDESC_PKTLEN_MASK; in cppi5_hdesc_set_pktlen()
416 desc->hdr.pkt_info0 |= (pkt_len & CPPI5_INFO0_HDESC_PKTLEN_MASK); in cppi5_hdesc_set_pktlen()
534 return !!(desc_hdr->pkt_info0 & CPPI5_INFO0_HDESC_EPIB_PRESENT); in cppi5_hdesc_epib_present()
549 if (desc->hdr.pkt_info0 & CPPI5_INFO0_HDESC_PSINFO_LOCATION) in cppi5_hdesc_get_psdata()
552 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_psdata()
579 if (!(desc->hdr.pkt_info0 & CPPI5_INFO0_HDESC_PSINFO_LOCATION)) in cppi5_hdesc_get_swdata()
580 psdata_size = (desc->hdr.pkt_info0 & in cppi5_hdesc_get_swdata()
971 desc_hdr->pkt_info0 = CPPI5_INFO0_DESC_TYPE_VAL_TR << in cppi5_trdesc_init()
973 desc_hdr->pkt_info0 |= in cppi5_trdesc_init()
976 desc_hdr->pkt_info0 |= in cppi5_trdesc_init()
979 desc_hdr->pkt_info0 |= (tr_count - 1) & CPPI5_INFO0_TRDESC_LASTIDX_MASK; in cppi5_trdesc_init()