Lines Matching refs:msg

358 static inline __le16 wil_rx_status_get_length(void *msg)  in wil_rx_status_get_length()  argument
360 return ((struct wil_rx_status_compressed *)msg)->length; in wil_rx_status_get_length()
363 static inline u8 wil_rx_status_get_mcs(void *msg) in wil_rx_status_get_mcs() argument
365 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_mcs()
369 static inline u16 wil_rx_status_get_flow_id(void *msg) in wil_rx_status_get_flow_id() argument
371 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_flow_id()
375 static inline u8 wil_rx_status_get_mcast(void *msg) in wil_rx_status_get_mcast() argument
377 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_mcast()
391 static inline u8 wil_rx_status_get_cid(void *msg) in wil_rx_status_get_cid() argument
393 u16 val = wil_rx_status_get_flow_id(msg); in wil_rx_status_get_cid()
405 static inline u8 wil_rx_status_get_tid(void *msg) in wil_rx_status_get_tid() argument
407 u16 val = wil_rx_status_get_flow_id(msg); in wil_rx_status_get_tid()
418 static inline int wil_rx_status_get_desc_rdy_bit(void *msg) in wil_rx_status_get_desc_rdy_bit() argument
420 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_desc_rdy_bit()
424 static inline int wil_rx_status_get_eop(void *msg) /* EoP = End of Packet */ in wil_rx_status_get_eop() argument
426 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_eop()
430 static inline __le16 wil_rx_status_get_buff_id(void *msg) in wil_rx_status_get_buff_id() argument
432 return ((struct wil_rx_status_compressed *)msg)->buff_id; in wil_rx_status_get_buff_id()
435 static inline u8 wil_rx_status_get_data_offset(void *msg) in wil_rx_status_get_data_offset() argument
437 u8 val = WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_data_offset()
448 void *msg) in wil_rx_status_get_frame_type() argument
453 return WIL_GET_BITS(((struct wil_rx_status_extended *)msg)->ext.d1, in wil_rx_status_get_frame_type()
457 static inline int wil_rx_status_get_fc1(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_fc1() argument
462 return WIL_GET_BITS(((struct wil_rx_status_extended *)msg)->ext.d1, in wil_rx_status_get_fc1()
466 static inline __le16 wil_rx_status_get_seq(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_seq() argument
471 return ((struct wil_rx_status_extended *)msg)->ext.seq_num; in wil_rx_status_get_seq()
474 static inline u8 wil_rx_status_get_retry(void *msg) in wil_rx_status_get_retry() argument
480 static inline int wil_rx_status_get_mid(void *msg) in wil_rx_status_get_mid() argument
482 if (!(((struct wil_rx_status_compressed *)msg)->d0 & in wil_rx_status_get_mid()
486 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_mid()
490 static inline int wil_rx_status_get_error(void *msg) in wil_rx_status_get_error() argument
492 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_error()
496 static inline int wil_rx_status_get_l2_rx_status(void *msg) in wil_rx_status_get_l2_rx_status() argument
498 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_l2_rx_status()
502 static inline int wil_rx_status_get_l3_rx_status(void *msg) in wil_rx_status_get_l3_rx_status() argument
504 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_l3_rx_status()
508 static inline int wil_rx_status_get_l4_rx_status(void *msg) in wil_rx_status_get_l4_rx_status() argument
510 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_l4_rx_status()
514 static inline int wil_rx_status_get_security(void *msg) in wil_rx_status_get_security() argument
516 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_security()
520 static inline u8 wil_rx_status_get_key_id(void *msg) in wil_rx_status_get_key_id() argument
522 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_key_id()
526 static inline u8 wil_tx_status_get_mcs(struct wil_ring_tx_status *msg) in wil_tx_status_get_mcs() argument
528 return WIL_GET_BITS(msg->d2, 0, 4); in wil_tx_status_get_mcs()