Home
last modified time | relevance | path

Searched refs:desc_hdr (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/linux/dma/
H A Dti-cppi5.h191 * @desc_hdr: packet descriptor/TR header
198 static inline u32 cppi5_desc_get_type(struct cppi5_desc_hdr_t *desc_hdr) in cppi5_desc_get_type() argument
200 return (desc_hdr->pkt_info0 & CPPI5_INFO0_HDESC_TYPE_MASK) >> in cppi5_desc_get_type()
206 * @desc_hdr: packet/TR descriptor header
210 static inline u32 cppi5_desc_get_errflags(struct cppi5_desc_hdr_t *desc_hdr) in cppi5_desc_get_errflags() argument
212 return (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTERROR_MASK) >> in cppi5_desc_get_errflags()
218 * @desc_hdr: packet/TR descriptor header
224 static inline void cppi5_desc_get_pktids(struct cppi5_desc_hdr_t *desc_hdr, in cppi5_desc_get_pktids() argument
227 *pkt_id = (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTID_MASK) >> in cppi5_desc_get_pktids()
229 *flow_id = (desc_hdr in cppi5_desc_get_pktids()
239 cppi5_desc_set_pktids(struct cppi5_desc_hdr_t *desc_hdr, u32 pkt_id, u32 flow_id) cppi5_desc_set_pktids() argument
259 cppi5_desc_set_retpolicy(struct cppi5_desc_hdr_t *desc_hdr, u32 flags, u32 return_ring_id) cppi5_desc_set_retpolicy() argument
276 cppi5_desc_get_tags_ids(struct cppi5_desc_hdr_t *desc_hdr, u32 *src_tag_id, u32 *dst_tag_id) cppi5_desc_get_tags_ids() argument
296 cppi5_desc_set_tags_ids(struct cppi5_desc_hdr_t *desc_hdr, u32 src_tag_id, u32 dst_tag_id) cppi5_desc_set_tags_ids() argument
532 cppi5_hdesc_epib_present(struct cppi5_desc_hdr_t *desc_hdr) cppi5_hdesc_epib_present() argument
967 cppi5_trdesc_init(struct cppi5_desc_hdr_t *desc_hdr, u32 tr_count, u32 tr_size, u32 reload_idx, u32 reload_count) cppi5_trdesc_init() argument
[all...]
/kernel/linux/linux-6.6/include/linux/dma/
H A Dti-cppi5.h191 * @desc_hdr: packet descriptor/TR header
198 static inline u32 cppi5_desc_get_type(struct cppi5_desc_hdr_t *desc_hdr) in cppi5_desc_get_type() argument
200 return (desc_hdr->pkt_info0 & CPPI5_INFO0_HDESC_TYPE_MASK) >> in cppi5_desc_get_type()
206 * @desc_hdr: packet/TR descriptor header
210 static inline u32 cppi5_desc_get_errflags(struct cppi5_desc_hdr_t *desc_hdr) in cppi5_desc_get_errflags() argument
212 return (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTERROR_MASK) >> in cppi5_desc_get_errflags()
218 * @desc_hdr: packet/TR descriptor header
224 static inline void cppi5_desc_get_pktids(struct cppi5_desc_hdr_t *desc_hdr, in cppi5_desc_get_pktids() argument
227 *pkt_id = (desc_hdr->pkt_info1 & CPPI5_INFO1_DESC_PKTID_MASK) >> in cppi5_desc_get_pktids()
229 *flow_id = (desc_hdr in cppi5_desc_get_pktids()
239 cppi5_desc_set_pktids(struct cppi5_desc_hdr_t *desc_hdr, u32 pkt_id, u32 flow_id) cppi5_desc_set_pktids() argument
259 cppi5_desc_set_retpolicy(struct cppi5_desc_hdr_t *desc_hdr, u32 flags, u32 return_ring_id) cppi5_desc_set_retpolicy() argument
276 cppi5_desc_get_tags_ids(struct cppi5_desc_hdr_t *desc_hdr, u32 *src_tag_id, u32 *dst_tag_id) cppi5_desc_get_tags_ids() argument
296 cppi5_desc_set_tags_ids(struct cppi5_desc_hdr_t *desc_hdr, u32 src_tag_id, u32 dst_tag_id) cppi5_desc_set_tags_ids() argument
532 cppi5_hdesc_epib_present(struct cppi5_desc_hdr_t *desc_hdr) cppi5_hdesc_epib_present() argument
968 cppi5_trdesc_init(struct cppi5_desc_hdr_t *desc_hdr, u32 tr_count, u32 tr_size, u32 reload_idx, u32 reload_count) cppi5_trdesc_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dtalitos.h12 #define DESC_TYPE(desc_hdr) ((be32_to_cpu(desc_hdr) >> 3) & 0x1f)
13 #define PRIMARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 28) & 0xf)
14 #define SECONDARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 16) & 0xf)
H A Dtalitos.c504 static void report_eu_error(struct device *dev, int ch, __be32 desc_hdr) in report_eu_error() argument
509 if (!desc_hdr) in report_eu_error()
510 desc_hdr = cpu_to_be32(in_be32(priv->chan[ch].reg + TALITOS_DESCBUF)); in report_eu_error()
512 switch (desc_hdr & DESC_HDR_SEL0_MASK) { in report_eu_error()
556 switch (desc_hdr & DESC_HDR_SEL1_MASK) { in report_eu_error()
/kernel/linux/linux-6.6/drivers/crypto/
H A Dtalitos.h12 #define DESC_TYPE(desc_hdr) ((be32_to_cpu(desc_hdr) >> 3) & 0x1f)
13 #define PRIMARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 28) & 0xf)
14 #define SECONDARY_EU(desc_hdr) ((be32_to_cpu(desc_hdr) >> 16) & 0xf)
H A Dtalitos.c505 static void report_eu_error(struct device *dev, int ch, __be32 desc_hdr) in report_eu_error() argument
510 if (!desc_hdr) in report_eu_error()
511 desc_hdr = cpu_to_be32(in_be32(priv->chan[ch].reg + TALITOS_DESCBUF)); in report_eu_error()
513 switch (desc_hdr & DESC_HDR_SEL0_MASK) { in report_eu_error()
557 switch (desc_hdr & DESC_HDR_SEL1_MASK) { in report_eu_error()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c718 ath12k_hal_reo_set_desc_hdr(&qdesc->desc_hdr, HAL_DESC_REO_OWNED, in ath12k_hal_reo_qdesc_setup()
778 ath12k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath12k_hal_reo_qdesc_setup()
782 ath12k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath12k_hal_reo_qdesc_setup()
786 ath12k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath12k_hal_reo_qdesc_setup()
H A Dhal_desc.h2304 struct hal_desc_header desc_hdr; member
2312 struct hal_desc_header desc_hdr; member
2375 struct hal_desc_header desc_hdr; member
/kernel/linux/linux-5.10/drivers/net/usb/
H A Daqc111.c1080 u64 desc_hdr = 0; in aqc111_rx_fixup() local
1088 if (skb_len < sizeof(desc_hdr)) in aqc111_rx_fixup()
1092 skb_trim(skb, skb_len - sizeof(desc_hdr)); in aqc111_rx_fixup()
1093 desc_hdr = le64_to_cpup((u64 *)skb_tail_pointer(skb)); in aqc111_rx_fixup()
1096 desc_offset = (desc_hdr & AQ_RX_DH_DESC_OFFSET_MASK) >> in aqc111_rx_fixup()
1098 pkt_count = desc_hdr & AQ_RX_DH_PKT_CNT_MASK; in aqc111_rx_fixup()
1099 start_of_descs = skb_len - ((pkt_count + 1) * sizeof(desc_hdr)); in aqc111_rx_fixup()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Daqc111.c1080 u64 desc_hdr = 0; in aqc111_rx_fixup() local
1088 if (skb_len < sizeof(desc_hdr)) in aqc111_rx_fixup()
1092 skb_trim(skb, skb_len - sizeof(desc_hdr)); in aqc111_rx_fixup()
1093 desc_hdr = le64_to_cpup((u64 *)skb_tail_pointer(skb)); in aqc111_rx_fixup()
1096 desc_offset = (desc_hdr & AQ_RX_DH_DESC_OFFSET_MASK) >> in aqc111_rx_fixup()
1098 pkt_count = desc_hdr & AQ_RX_DH_PKT_CNT_MASK; in aqc111_rx_fixup()
1099 start_of_descs = skb_len - ((pkt_count + 1) * sizeof(desc_hdr)); in aqc111_rx_fixup()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dhal_desc.h1888 struct hal_desc_header desc_hdr; member
1896 struct hal_desc_header desc_hdr; member
1959 struct hal_desc_header desc_hdr; member
H A Dhal_rx.c706 ath11k_hal_reo_set_desc_hdr(&qdesc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
766 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
770 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
774 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhal_desc.h1911 struct hal_desc_header desc_hdr; member
1919 struct hal_desc_header desc_hdr; member
1982 struct hal_desc_header desc_hdr; member
H A Dhal_rx.c707 ath11k_hal_reo_set_desc_hdr(&qdesc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
767 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
772 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
777 ath11k_hal_reo_set_desc_hdr(&ext_desc->desc_hdr, HAL_DESC_REO_OWNED, in ath11k_hal_reo_qdesc_setup()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c563 struct htt_data_tx_desc *desc_hdr = NULL; in ath10k_htt_htc_tx_complete() local
572 desc_hdr = (struct htt_data_tx_desc *) in ath10k_htt_htc_tx_complete()
574 flags1 = __le16_to_cpu(desc_hdr->flags1); in ath10k_htt_htc_tx_complete()
585 __le16_to_cpu(desc_hdr->id), flags1); in ath10k_htt_htc_tx_complete()
591 tx_done.msdu_id = __le16_to_cpu(desc_hdr->id); in ath10k_htt_htc_tx_complete()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c563 struct htt_data_tx_desc *desc_hdr = NULL; in ath10k_htt_htc_tx_complete() local
572 desc_hdr = (struct htt_data_tx_desc *) in ath10k_htt_htc_tx_complete()
574 flags1 = __le16_to_cpu(desc_hdr->flags1); in ath10k_htt_htc_tx_complete()
587 __le16_to_cpu(desc_hdr->id), flags1); in ath10k_htt_htc_tx_complete()
593 tx_done.msdu_id = __le16_to_cpu(desc_hdr->id); in ath10k_htt_htc_tx_complete()

Completed in 42 milliseconds