Searched refs:dhdr (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.h | 230 static inline u8 wmi_data_hdr_get_up(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_up() argument 232 return (dhdr->info >> WMI_DATA_HDR_UP_SHIFT) & WMI_DATA_HDR_UP_MASK; wmi_data_hdr_get_up() 235 static inline void wmi_data_hdr_set_up(struct wmi_data_hdr *dhdr, wmi_data_hdr_set_up() argument 238 dhdr->info &= ~(WMI_DATA_HDR_UP_MASK << WMI_DATA_HDR_UP_SHIFT); wmi_data_hdr_set_up() 239 dhdr->info |= usr_pri << WMI_DATA_HDR_UP_SHIFT; wmi_data_hdr_set_up() 242 static inline u8 wmi_data_hdr_get_dot11(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_dot11() argument 246 data_type = (dhdr->info >> WMI_DATA_HDR_DATA_TYPE_SHIFT) & wmi_data_hdr_get_dot11() 251 static inline u16 wmi_data_hdr_get_seqno(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_seqno() argument 253 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_SEQNO_SHIFT) & wmi_data_hdr_get_seqno() 257 static inline u8 wmi_data_hdr_is_amsdu(struct wmi_data_hdr *dhdr) wmi_data_hdr_is_amsdu() argument 259 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_AMSDU_SHIFT) & wmi_data_hdr_is_amsdu() 263 static inline u8 wmi_data_hdr_get_meta(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_meta() argument 265 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_META_SHIFT) & wmi_data_hdr_get_meta() 269 static inline u8 wmi_data_hdr_get_if_idx(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_if_idx() argument 271 return le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_IF_IDX_MASK; wmi_data_hdr_get_if_idx()
|
H A D | txrx.c | 1311 struct wmi_data_hdr *dhdr; ath6kl_rx() local 1387 dhdr = (struct wmi_data_hdr *) skb->data; ath6kl_rx() 1406 meta_type = wmi_data_hdr_get_meta(dhdr); ath6kl_rx() 1408 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & ath6kl_rx() 1412 trig_state = !!(le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_TRIG); ath6kl_rx() 1521 is_amsdu = wmi_data_hdr_is_amsdu(dhdr) ? true : false; ath6kl_rx() 1522 tid = wmi_data_hdr_get_up(dhdr); ath6kl_rx() 1523 seq_no = wmi_data_hdr_get_seqno(dhdr); ath6kl_rx() 1524 meta_type = wmi_data_hdr_get_meta(dhdr); ath6kl_rx() 1525 dot11_hdr = wmi_data_hdr_get_dot11(dhdr); ath6kl_rx() 1527 (le16_to_cpu(dhdr->info3) >> WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT) ath6kl_rx()
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_dir2_node.c | 844 struct xfs_dir3_icleaf_hdr *dhdr, xfs_dir3_leafn_moveents() 864 if (start_d < dhdr->count) { xfs_dir3_leafn_moveents() 866 (dhdr->count - start_d) * sizeof(xfs_dir2_leaf_entry_t)); xfs_dir3_leafn_moveents() 868 count + dhdr->count - 1); xfs_dir3_leafn_moveents() 906 dhdr->count += count; xfs_dir3_leafn_moveents() 907 dhdr->stale += stale; xfs_dir3_leafn_moveents() 837 xfs_dir3_leafn_moveents( xfs_da_args_t *args, struct xfs_buf *bp_s, struct xfs_dir3_icleaf_hdr *shdr, struct xfs_dir2_leaf_entry *sents, int start_s, struct xfs_buf *bp_d, struct xfs_dir3_icleaf_hdr *dhdr, struct xfs_dir2_leaf_entry *dents, int start_d, int count) xfs_dir3_leafn_moveents() argument
|
Completed in 317 milliseconds