Lines Matching +full:7 +full:d

54  * bit   6..7 : mac_id:2
55 * bit 8..14 : reserved0:7
61 * bit 24..30 : max_retry:7
64 * bit 0.. 7 : num_of_descriptors:8
74 u32 d[3]; member
153 #define MAC_CFG_DESC_TX_1_MAX_RETRY_LEN 7
232 #define DMA_CFG_DESC_TX_OFFLOAD_CFG_MAC_LEN_LEN 7
235 #define DMA_CFG_DESC_TX_OFFLOAD_CFG_L3T_IPV4_POS 7
243 * bit 0.. 7 : l4_length:8 layer 4 length
270 * bit 24..30 : mac_length:7
275 * bit 3 7 : reserved:5
278 * bit 1 7 : reserved:7
279 * [word 7] length
285 u8 b11; /* 0..6: mac_length; 7:ip_version */
286 u8 error; /* 0..2: err; 3..7: reserved; */
287 u8 status; /* 0: used; 1..7; reserved */
304 * bit 7 : MAC_id_valid:1, 1 if MAC virtual number is valid.
315 * bit 7 : security:1 FC (b14)
333 * bit 6.. 7 : qos_ack_policy:2 The QoS (b6-5) ack policy Field
354 * bit 0.. 7 : l4_length:8 layer 4 length. The field is only valid if
371 * bit 24..30 : mac_length:7
381 * bit 6 7 : reserved:2
390 * bit 7 : FFM:1 EtherType Flex Filter Match
391 * [word 7] length
397 #define RX_MAC_D0_MAC_ID_VALID BIT(7)
415 #define RX_DMA_STATUS_FFM BIT(7) /* EtherType Flex Filter Match */
504 static inline int wil_rxdesc_tid(struct vring_rx_desc *d) in wil_rxdesc_tid() argument
506 return WIL_GET_BITS(d->mac.d0, 0, 3); in wil_rxdesc_tid()
509 static inline int wil_rxdesc_cid(struct vring_rx_desc *d) in wil_rxdesc_cid() argument
511 return WIL_GET_BITS(d->mac.d0, 4, 6); in wil_rxdesc_cid()
514 static inline int wil_rxdesc_mid(struct vring_rx_desc *d) in wil_rxdesc_mid() argument
516 return (d->mac.d0 & RX_MAC_D0_MAC_ID_VALID) ? in wil_rxdesc_mid()
517 WIL_GET_BITS(d->mac.d0, 8, 9) : 0; in wil_rxdesc_mid()
520 static inline int wil_rxdesc_ftype(struct vring_rx_desc *d) in wil_rxdesc_ftype() argument
522 return WIL_GET_BITS(d->mac.d0, 10, 11); in wil_rxdesc_ftype()
525 static inline int wil_rxdesc_subtype(struct vring_rx_desc *d) in wil_rxdesc_subtype() argument
527 return WIL_GET_BITS(d->mac.d0, 12, 15); in wil_rxdesc_subtype()
531 static inline u8 wil_rxdesc_fc1(struct vring_rx_desc *d) in wil_rxdesc_fc1() argument
533 return (u8)(WIL_GET_BITS(d->mac.d0, 10, 15) << 2); in wil_rxdesc_fc1()
536 static inline int wil_rxdesc_seq(struct vring_rx_desc *d) in wil_rxdesc_seq() argument
538 return WIL_GET_BITS(d->mac.d0, 16, 27); in wil_rxdesc_seq()
541 static inline int wil_rxdesc_ext_subtype(struct vring_rx_desc *d) in wil_rxdesc_ext_subtype() argument
543 return WIL_GET_BITS(d->mac.d0, 28, 31); in wil_rxdesc_ext_subtype()
546 static inline int wil_rxdesc_retry(struct vring_rx_desc *d) in wil_rxdesc_retry() argument
548 return WIL_GET_BITS(d->mac.d0, 31, 31); in wil_rxdesc_retry()
551 static inline int wil_rxdesc_key_id(struct vring_rx_desc *d) in wil_rxdesc_key_id() argument
553 return WIL_GET_BITS(d->mac.d1, 4, 5); in wil_rxdesc_key_id()
556 static inline int wil_rxdesc_security(struct vring_rx_desc *d) in wil_rxdesc_security() argument
558 return WIL_GET_BITS(d->mac.d1, 7, 7); in wil_rxdesc_security()
561 static inline int wil_rxdesc_ds_bits(struct vring_rx_desc *d) in wil_rxdesc_ds_bits() argument
563 return WIL_GET_BITS(d->mac.d1, 8, 9); in wil_rxdesc_ds_bits()
566 static inline int wil_rxdesc_mcs(struct vring_rx_desc *d) in wil_rxdesc_mcs() argument
568 return WIL_GET_BITS(d->mac.d1, 21, 24); in wil_rxdesc_mcs()
571 static inline int wil_rxdesc_mcast(struct vring_rx_desc *d) in wil_rxdesc_mcast() argument
573 return WIL_GET_BITS(d->mac.d1, 13, 14); in wil_rxdesc_mcast()