Lines Matching refs:desc
234 static bool ath11k_hw_ipq8074_rx_desc_get_first_msdu(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_first_msdu() argument
237 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_first_msdu()
240 static bool ath11k_hw_ipq8074_rx_desc_get_last_msdu(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_last_msdu() argument
243 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_last_msdu()
246 static u8 ath11k_hw_ipq8074_rx_desc_get_l3_pad_bytes(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_l3_pad_bytes() argument
249 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_l3_pad_bytes()
252 static u8 *ath11k_hw_ipq8074_rx_desc_get_hdr_status(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_hdr_status() argument
254 return desc->u.ipq8074.hdr_status; in ath11k_hw_ipq8074_rx_desc_get_hdr_status()
257 static bool ath11k_hw_ipq8074_rx_desc_encrypt_valid(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_encrypt_valid() argument
259 return __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1) & in ath11k_hw_ipq8074_rx_desc_encrypt_valid()
263 static u32 ath11k_hw_ipq8074_rx_desc_get_encrypt_type(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_encrypt_type() argument
266 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_encrypt_type()
269 static u8 ath11k_hw_ipq8074_rx_desc_get_decap_type(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_decap_type() argument
272 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_decap_type()
275 static u8 ath11k_hw_ipq8074_rx_desc_get_mesh_ctl(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mesh_ctl() argument
278 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_mesh_ctl()
281 static bool ath11k_hw_ipq8074_rx_desc_get_ldpc_support(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_ldpc_support() argument
284 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_ldpc_support()
287 static bool ath11k_hw_ipq8074_rx_desc_get_mpdu_seq_ctl_vld(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_seq_ctl_vld() argument
290 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_seq_ctl_vld()
293 static bool ath11k_hw_ipq8074_rx_desc_get_mpdu_fc_valid(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_fc_valid() argument
296 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_fc_valid()
299 static u16 ath11k_hw_ipq8074_rx_desc_get_mpdu_start_seq_no(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_start_seq_no() argument
302 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_start_seq_no()
305 static u16 ath11k_hw_ipq8074_rx_desc_get_msdu_len(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_len() argument
308 __le32_to_cpu(desc->u.ipq8074.msdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_msdu_len()
311 static u8 ath11k_hw_ipq8074_rx_desc_get_msdu_sgi(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_sgi() argument
314 __le32_to_cpu(desc->u.ipq8074.msdu_start.info3)); in ath11k_hw_ipq8074_rx_desc_get_msdu_sgi()
317 static u8 ath11k_hw_ipq8074_rx_desc_get_msdu_rate_mcs(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_rate_mcs() argument
320 __le32_to_cpu(desc->u.ipq8074.msdu_start.info3)); in ath11k_hw_ipq8074_rx_desc_get_msdu_rate_mcs()
323 static u8 ath11k_hw_ipq8074_rx_desc_get_msdu_rx_bw(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_rx_bw() argument
326 __le32_to_cpu(desc->u.ipq8074.msdu_start.info3)); in ath11k_hw_ipq8074_rx_desc_get_msdu_rx_bw()
329 static u32 ath11k_hw_ipq8074_rx_desc_get_msdu_freq(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_freq() argument
331 return __le32_to_cpu(desc->u.ipq8074.msdu_start.phy_meta_data); in ath11k_hw_ipq8074_rx_desc_get_msdu_freq()
334 static u8 ath11k_hw_ipq8074_rx_desc_get_msdu_pkt_type(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_pkt_type() argument
337 __le32_to_cpu(desc->u.ipq8074.msdu_start.info3)); in ath11k_hw_ipq8074_rx_desc_get_msdu_pkt_type()
340 static u8 ath11k_hw_ipq8074_rx_desc_get_msdu_nss(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_nss() argument
343 __le32_to_cpu(desc->u.ipq8074.msdu_start.info3)); in ath11k_hw_ipq8074_rx_desc_get_msdu_nss()
346 static u8 ath11k_hw_ipq8074_rx_desc_get_mpdu_tid(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_tid() argument
349 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_tid()
352 static u16 ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id() argument
354 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id()
368 static u32 ath11k_hw_ipq8074_rx_desc_get_mpdu_start_tag(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_start_tag() argument
371 __le32_to_cpu(desc->u.ipq8074.mpdu_start_tag)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_start_tag()
374 static u32 ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id() argument
376 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id()
379 static void ath11k_hw_ipq8074_rx_desc_set_msdu_len(struct hal_rx_desc *desc, u16 len) in ath11k_hw_ipq8074_rx_desc_set_msdu_len() argument
381 u32 info = __le32_to_cpu(desc->u.ipq8074.msdu_start.info1); in ath11k_hw_ipq8074_rx_desc_set_msdu_len()
386 desc->u.ipq8074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_ipq8074_rx_desc_set_msdu_len()
389 static bool ath11k_hw_ipq8074_rx_desc_mac_addr2_valid(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_mac_addr2_valid() argument
391 return __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1) & in ath11k_hw_ipq8074_rx_desc_mac_addr2_valid()
395 static u8 *ath11k_hw_ipq8074_rx_desc_mpdu_start_addr2(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_mpdu_start_addr2() argument
397 return desc->u.ipq8074.mpdu_start.addr2; in ath11k_hw_ipq8074_rx_desc_mpdu_start_addr2()
401 struct rx_attention *ath11k_hw_ipq8074_rx_desc_get_attention(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_attention() argument
403 return &desc->u.ipq8074.attention; in ath11k_hw_ipq8074_rx_desc_get_attention()
406 static u8 *ath11k_hw_ipq8074_rx_desc_get_msdu_payload(struct hal_rx_desc *desc) in ath11k_hw_ipq8074_rx_desc_get_msdu_payload() argument
408 return &desc->u.ipq8074.msdu_payload[0]; in ath11k_hw_ipq8074_rx_desc_get_msdu_payload()
411 static bool ath11k_hw_qcn9074_rx_desc_get_first_msdu(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_first_msdu() argument
414 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_first_msdu()
417 static bool ath11k_hw_qcn9074_rx_desc_get_last_msdu(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_last_msdu() argument
420 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_last_msdu()
423 static u8 ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes() argument
426 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes()
429 static u8 *ath11k_hw_qcn9074_rx_desc_get_hdr_status(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_hdr_status() argument
431 return desc->u.qcn9074.hdr_status; in ath11k_hw_qcn9074_rx_desc_get_hdr_status()
434 static bool ath11k_hw_qcn9074_rx_desc_encrypt_valid(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_encrypt_valid() argument
436 return __le32_to_cpu(desc->u.qcn9074.mpdu_start.info11) & in ath11k_hw_qcn9074_rx_desc_encrypt_valid()
440 static u32 ath11k_hw_qcn9074_rx_desc_get_encrypt_type(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_encrypt_type() argument
443 __le32_to_cpu(desc->u.qcn9074.mpdu_start.info9)); in ath11k_hw_qcn9074_rx_desc_get_encrypt_type()
446 static u8 ath11k_hw_qcn9074_rx_desc_get_decap_type(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_decap_type() argument
449 __le32_to_cpu(desc->u.qcn9074.msdu_start.info2)); in ath11k_hw_qcn9074_rx_desc_get_decap_type()
452 static u8 ath11k_hw_qcn9074_rx_desc_get_mesh_ctl(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mesh_ctl() argument
455 __le32_to_cpu(desc->u.qcn9074.msdu_start.info2)); in ath11k_hw_qcn9074_rx_desc_get_mesh_ctl()
458 static bool ath11k_hw_qcn9074_rx_desc_get_ldpc_support(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_ldpc_support() argument
461 __le32_to_cpu(desc->u.qcn9074.msdu_start.info2)); in ath11k_hw_qcn9074_rx_desc_get_ldpc_support()
464 static bool ath11k_hw_qcn9074_rx_desc_get_mpdu_seq_ctl_vld(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_seq_ctl_vld() argument
467 __le32_to_cpu(desc->u.qcn9074.mpdu_start.info11)); in ath11k_hw_qcn9074_rx_desc_get_mpdu_seq_ctl_vld()
470 static bool ath11k_hw_qcn9074_rx_desc_get_mpdu_fc_valid(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_fc_valid() argument
473 __le32_to_cpu(desc->u.qcn9074.mpdu_start.info11)); in ath11k_hw_qcn9074_rx_desc_get_mpdu_fc_valid()
476 static u16 ath11k_hw_qcn9074_rx_desc_get_mpdu_start_seq_no(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_start_seq_no() argument
479 __le32_to_cpu(desc->u.qcn9074.mpdu_start.info11)); in ath11k_hw_qcn9074_rx_desc_get_mpdu_start_seq_no()
482 static u16 ath11k_hw_qcn9074_rx_desc_get_msdu_len(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_len() argument
485 __le32_to_cpu(desc->u.qcn9074.msdu_start.info1)); in ath11k_hw_qcn9074_rx_desc_get_msdu_len()
488 static u8 ath11k_hw_qcn9074_rx_desc_get_msdu_sgi(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_sgi() argument
491 __le32_to_cpu(desc->u.qcn9074.msdu_start.info3)); in ath11k_hw_qcn9074_rx_desc_get_msdu_sgi()
494 static u8 ath11k_hw_qcn9074_rx_desc_get_msdu_rate_mcs(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_rate_mcs() argument
497 __le32_to_cpu(desc->u.qcn9074.msdu_start.info3)); in ath11k_hw_qcn9074_rx_desc_get_msdu_rate_mcs()
500 static u8 ath11k_hw_qcn9074_rx_desc_get_msdu_rx_bw(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_rx_bw() argument
503 __le32_to_cpu(desc->u.qcn9074.msdu_start.info3)); in ath11k_hw_qcn9074_rx_desc_get_msdu_rx_bw()
506 static u32 ath11k_hw_qcn9074_rx_desc_get_msdu_freq(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_freq() argument
508 return __le32_to_cpu(desc->u.qcn9074.msdu_start.phy_meta_data); in ath11k_hw_qcn9074_rx_desc_get_msdu_freq()
511 static u8 ath11k_hw_qcn9074_rx_desc_get_msdu_pkt_type(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_pkt_type() argument
514 __le32_to_cpu(desc->u.qcn9074.msdu_start.info3)); in ath11k_hw_qcn9074_rx_desc_get_msdu_pkt_type()
517 static u8 ath11k_hw_qcn9074_rx_desc_get_msdu_nss(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_nss() argument
520 __le32_to_cpu(desc->u.qcn9074.msdu_start.info3)); in ath11k_hw_qcn9074_rx_desc_get_msdu_nss()
523 static u8 ath11k_hw_qcn9074_rx_desc_get_mpdu_tid(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_tid() argument
526 __le32_to_cpu(desc->u.qcn9074.mpdu_start.info9)); in ath11k_hw_qcn9074_rx_desc_get_mpdu_tid()
529 static u16 ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id() argument
531 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id()
545 static u32 ath11k_hw_qcn9074_rx_desc_get_mpdu_start_tag(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_start_tag() argument
548 __le32_to_cpu(desc->u.qcn9074.mpdu_start_tag)); in ath11k_hw_qcn9074_rx_desc_get_mpdu_start_tag()
551 static u32 ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id() argument
553 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id()
556 static void ath11k_hw_qcn9074_rx_desc_set_msdu_len(struct hal_rx_desc *desc, u16 len) in ath11k_hw_qcn9074_rx_desc_set_msdu_len() argument
558 u32 info = __le32_to_cpu(desc->u.qcn9074.msdu_start.info1); in ath11k_hw_qcn9074_rx_desc_set_msdu_len()
563 desc->u.qcn9074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_qcn9074_rx_desc_set_msdu_len()
567 struct rx_attention *ath11k_hw_qcn9074_rx_desc_get_attention(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_attention() argument
569 return &desc->u.qcn9074.attention; in ath11k_hw_qcn9074_rx_desc_get_attention()
572 static u8 *ath11k_hw_qcn9074_rx_desc_get_msdu_payload(struct hal_rx_desc *desc) in ath11k_hw_qcn9074_rx_desc_get_msdu_payload() argument
574 return &desc->u.qcn9074.msdu_payload[0]; in ath11k_hw_qcn9074_rx_desc_get_msdu_payload()
577 static bool ath11k_hw_ipq9074_rx_desc_mac_addr2_valid(struct hal_rx_desc *desc) in ath11k_hw_ipq9074_rx_desc_mac_addr2_valid() argument
579 return __le32_to_cpu(desc->u.qcn9074.mpdu_start.info11) & in ath11k_hw_ipq9074_rx_desc_mac_addr2_valid()
583 static u8 *ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2(struct hal_rx_desc *desc) in ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2() argument
585 return desc->u.qcn9074.mpdu_start.addr2; in ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2()
588 static bool ath11k_hw_wcn6855_rx_desc_get_first_msdu(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_first_msdu() argument
591 __le32_to_cpu(desc->u.wcn6855.msdu_end.info2)); in ath11k_hw_wcn6855_rx_desc_get_first_msdu()
594 static bool ath11k_hw_wcn6855_rx_desc_get_last_msdu(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_last_msdu() argument
597 __le32_to_cpu(desc->u.wcn6855.msdu_end.info2)); in ath11k_hw_wcn6855_rx_desc_get_last_msdu()
600 static u8 ath11k_hw_wcn6855_rx_desc_get_l3_pad_bytes(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_l3_pad_bytes() argument
603 __le32_to_cpu(desc->u.wcn6855.msdu_end.info2)); in ath11k_hw_wcn6855_rx_desc_get_l3_pad_bytes()
606 static u8 *ath11k_hw_wcn6855_rx_desc_get_hdr_status(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_hdr_status() argument
608 return desc->u.wcn6855.hdr_status; in ath11k_hw_wcn6855_rx_desc_get_hdr_status()
611 static bool ath11k_hw_wcn6855_rx_desc_encrypt_valid(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_encrypt_valid() argument
613 return __le32_to_cpu(desc->u.wcn6855.mpdu_start.info1) & in ath11k_hw_wcn6855_rx_desc_encrypt_valid()
617 static u32 ath11k_hw_wcn6855_rx_desc_get_encrypt_type(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_encrypt_type() argument
620 __le32_to_cpu(desc->u.wcn6855.mpdu_start.info2)); in ath11k_hw_wcn6855_rx_desc_get_encrypt_type()
623 static u8 ath11k_hw_wcn6855_rx_desc_get_decap_type(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_decap_type() argument
626 __le32_to_cpu(desc->u.wcn6855.msdu_start.info2)); in ath11k_hw_wcn6855_rx_desc_get_decap_type()
629 static u8 ath11k_hw_wcn6855_rx_desc_get_mesh_ctl(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mesh_ctl() argument
632 __le32_to_cpu(desc->u.wcn6855.msdu_start.info2)); in ath11k_hw_wcn6855_rx_desc_get_mesh_ctl()
635 static bool ath11k_hw_wcn6855_rx_desc_get_mpdu_seq_ctl_vld(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_seq_ctl_vld() argument
638 __le32_to_cpu(desc->u.wcn6855.mpdu_start.info1)); in ath11k_hw_wcn6855_rx_desc_get_mpdu_seq_ctl_vld()
641 static bool ath11k_hw_wcn6855_rx_desc_get_mpdu_fc_valid(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_fc_valid() argument
644 __le32_to_cpu(desc->u.wcn6855.mpdu_start.info1)); in ath11k_hw_wcn6855_rx_desc_get_mpdu_fc_valid()
647 static u16 ath11k_hw_wcn6855_rx_desc_get_mpdu_start_seq_no(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_start_seq_no() argument
650 __le32_to_cpu(desc->u.wcn6855.mpdu_start.info1)); in ath11k_hw_wcn6855_rx_desc_get_mpdu_start_seq_no()
653 static u16 ath11k_hw_wcn6855_rx_desc_get_msdu_len(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_len() argument
656 __le32_to_cpu(desc->u.wcn6855.msdu_start.info1)); in ath11k_hw_wcn6855_rx_desc_get_msdu_len()
659 static u8 ath11k_hw_wcn6855_rx_desc_get_msdu_sgi(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_sgi() argument
662 __le32_to_cpu(desc->u.wcn6855.msdu_start.info3)); in ath11k_hw_wcn6855_rx_desc_get_msdu_sgi()
665 static u8 ath11k_hw_wcn6855_rx_desc_get_msdu_rate_mcs(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_rate_mcs() argument
668 __le32_to_cpu(desc->u.wcn6855.msdu_start.info3)); in ath11k_hw_wcn6855_rx_desc_get_msdu_rate_mcs()
671 static u8 ath11k_hw_wcn6855_rx_desc_get_msdu_rx_bw(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_rx_bw() argument
674 __le32_to_cpu(desc->u.wcn6855.msdu_start.info3)); in ath11k_hw_wcn6855_rx_desc_get_msdu_rx_bw()
677 static u32 ath11k_hw_wcn6855_rx_desc_get_msdu_freq(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_freq() argument
679 return __le32_to_cpu(desc->u.wcn6855.msdu_start.phy_meta_data); in ath11k_hw_wcn6855_rx_desc_get_msdu_freq()
682 static u8 ath11k_hw_wcn6855_rx_desc_get_msdu_pkt_type(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_pkt_type() argument
685 __le32_to_cpu(desc->u.wcn6855.msdu_start.info3)); in ath11k_hw_wcn6855_rx_desc_get_msdu_pkt_type()
688 static u8 ath11k_hw_wcn6855_rx_desc_get_msdu_nss(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_nss() argument
691 __le32_to_cpu(desc->u.wcn6855.msdu_start.info3)); in ath11k_hw_wcn6855_rx_desc_get_msdu_nss()
694 static u8 ath11k_hw_wcn6855_rx_desc_get_mpdu_tid(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_tid() argument
697 __le32_to_cpu(desc->u.wcn6855.mpdu_start.info2)); in ath11k_hw_wcn6855_rx_desc_get_mpdu_tid()
700 static u16 ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id() argument
702 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id()
716 static u32 ath11k_hw_wcn6855_rx_desc_get_mpdu_start_tag(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_start_tag() argument
719 __le32_to_cpu(desc->u.wcn6855.mpdu_start_tag)); in ath11k_hw_wcn6855_rx_desc_get_mpdu_start_tag()
722 static u32 ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id() argument
724 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id()
727 static void ath11k_hw_wcn6855_rx_desc_set_msdu_len(struct hal_rx_desc *desc, u16 len) in ath11k_hw_wcn6855_rx_desc_set_msdu_len() argument
729 u32 info = __le32_to_cpu(desc->u.wcn6855.msdu_start.info1); in ath11k_hw_wcn6855_rx_desc_set_msdu_len()
734 desc->u.wcn6855.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_wcn6855_rx_desc_set_msdu_len()
738 struct rx_attention *ath11k_hw_wcn6855_rx_desc_get_attention(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_attention() argument
740 return &desc->u.wcn6855.attention; in ath11k_hw_wcn6855_rx_desc_get_attention()
743 static u8 *ath11k_hw_wcn6855_rx_desc_get_msdu_payload(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_msdu_payload() argument
745 return &desc->u.wcn6855.msdu_payload[0]; in ath11k_hw_wcn6855_rx_desc_get_msdu_payload()
748 static bool ath11k_hw_wcn6855_rx_desc_mac_addr2_valid(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_mac_addr2_valid() argument
750 return __le32_to_cpu(desc->u.wcn6855.mpdu_start.info1) & in ath11k_hw_wcn6855_rx_desc_mac_addr2_valid()
754 static u8 *ath11k_hw_wcn6855_rx_desc_mpdu_start_addr2(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_mpdu_start_addr2() argument
756 return desc->u.wcn6855.mpdu_start.addr2; in ath11k_hw_wcn6855_rx_desc_mpdu_start_addr2()
873 static bool ath11k_hw_wcn6855_rx_desc_get_ldpc_support(struct hal_rx_desc *desc) in ath11k_hw_wcn6855_rx_desc_get_ldpc_support() argument
876 __le32_to_cpu(desc->u.wcn6855.msdu_start.info2)); in ath11k_hw_wcn6855_rx_desc_get_ldpc_support()