/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 251 struct die_header *dhdr; in amdgpu_discovery_reg_base_init() local 277 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_reg_base_init() 278 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init() 279 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_reg_base_init() 281 if (le16_to_cpu(dhdr->die_id) != i) { in amdgpu_discovery_reg_base_init() 283 le16_to_cpu(dhdr->die_id), i); in amdgpu_discovery_reg_base_init() 288 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init() 332 struct die_header *dhdr; in amdgpu_discovery_get_ip_version() local 352 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_get_ip_version() 353 num_ips = le16_to_cpu(dhdr in amdgpu_discovery_get_ip_version() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.h | 230 static inline u8 wmi_data_hdr_get_up(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_up() argument 232 return (dhdr->info >> WMI_DATA_HDR_UP_SHIFT) & WMI_DATA_HDR_UP_MASK; in wmi_data_hdr_get_up() 235 static inline void wmi_data_hdr_set_up(struct wmi_data_hdr *dhdr, in wmi_data_hdr_set_up() argument 238 dhdr->info &= ~(WMI_DATA_HDR_UP_MASK << WMI_DATA_HDR_UP_SHIFT); in wmi_data_hdr_set_up() 239 dhdr->info |= usr_pri << WMI_DATA_HDR_UP_SHIFT; in wmi_data_hdr_set_up() 242 static inline u8 wmi_data_hdr_get_dot11(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_dot11() argument 246 data_type = (dhdr->info >> WMI_DATA_HDR_DATA_TYPE_SHIFT) & in wmi_data_hdr_get_dot11() 251 static inline u16 wmi_data_hdr_get_seqno(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_seqno() argument 253 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_SEQNO_SHIFT) & in wmi_data_hdr_get_seqno() 257 static inline u8 wmi_data_hdr_is_amsdu(struct wmi_data_hdr *dhdr) in wmi_data_hdr_is_amsdu() argument 263 wmi_data_hdr_get_meta(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_meta() argument 269 wmi_data_hdr_get_if_idx(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_if_idx() argument [all...] |
H A D | txrx.c | 1306 struct wmi_data_hdr *dhdr; in ath6kl_rx() local 1382 dhdr = (struct wmi_data_hdr *) skb->data; in ath6kl_rx() 1400 (le16_to_cpu(dhdr->info3) >> WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT) in ath6kl_rx() 1405 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx() 1407 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & in ath6kl_rx() 1411 trig_state = !!(le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_TRIG); in ath6kl_rx() 1520 is_amsdu = wmi_data_hdr_is_amsdu(dhdr) ? true : false; in ath6kl_rx() 1521 tid = wmi_data_hdr_get_up(dhdr); in ath6kl_rx() 1522 seq_no = wmi_data_hdr_get_seqno(dhdr); in ath6kl_rx() 1523 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.h | 230 static inline u8 wmi_data_hdr_get_up(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_up() argument 232 return (dhdr->info >> WMI_DATA_HDR_UP_SHIFT) & WMI_DATA_HDR_UP_MASK; in wmi_data_hdr_get_up() 235 static inline void wmi_data_hdr_set_up(struct wmi_data_hdr *dhdr, in wmi_data_hdr_set_up() argument 238 dhdr->info &= ~(WMI_DATA_HDR_UP_MASK << WMI_DATA_HDR_UP_SHIFT); in wmi_data_hdr_set_up() 239 dhdr->info |= usr_pri << WMI_DATA_HDR_UP_SHIFT; in wmi_data_hdr_set_up() 242 static inline u8 wmi_data_hdr_get_dot11(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_dot11() argument 246 data_type = (dhdr->info >> WMI_DATA_HDR_DATA_TYPE_SHIFT) & in wmi_data_hdr_get_dot11() 251 static inline u16 wmi_data_hdr_get_seqno(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_seqno() argument 253 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_SEQNO_SHIFT) & in wmi_data_hdr_get_seqno() 257 static inline u8 wmi_data_hdr_is_amsdu(struct wmi_data_hdr *dhdr) in wmi_data_hdr_is_amsdu() argument 263 wmi_data_hdr_get_meta(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_meta() argument 269 wmi_data_hdr_get_if_idx(struct wmi_data_hdr *dhdr) wmi_data_hdr_get_if_idx() argument [all...] |
H A D | txrx.c | 1306 struct wmi_data_hdr *dhdr; in ath6kl_rx() local 1382 dhdr = (struct wmi_data_hdr *) skb->data; in ath6kl_rx() 1400 (le16_to_cpu(dhdr->info3) >> WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT) in ath6kl_rx() 1405 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx() 1407 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & in ath6kl_rx() 1411 trig_state = !!(le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_TRIG); in ath6kl_rx() 1520 is_amsdu = wmi_data_hdr_is_amsdu(dhdr) ? true : false; in ath6kl_rx() 1521 tid = wmi_data_hdr_get_up(dhdr); in ath6kl_rx() 1522 seq_no = wmi_data_hdr_get_seqno(dhdr); in ath6kl_rx() 1523 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_comp_algs.c | 310 unsigned int dhdr, unsigned int dftr) in qat_comp_alg_compress_decompress() 320 int dlen = areq->dlen - dhdr - dftr; in qat_comp_alg_compress_decompress() 327 params.dskip = dhdr; in qat_comp_alg_compress_decompress() 350 dlen -= dhdr + dftr; in qat_comp_alg_compress_decompress() 308 qat_comp_alg_compress_decompress(struct acomp_req *areq, enum direction dir, unsigned int shdr, unsigned int sftr, unsigned int dhdr, unsigned int dftr) qat_comp_alg_compress_decompress() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 547 struct die_header *dhdr; in amdgpu_discovery_read_harvest_bit_per_ip() local 560 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_read_harvest_bit_per_ip() 561 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_read_harvest_bit_per_ip() 562 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_read_harvest_bit_per_ip() 1053 struct die_header *dhdr; in amdgpu_discovery_sysfs_recurse() local 1070 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_sysfs_recurse() 1071 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_sysfs_recurse() 1072 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_sysfs_recurse() 1076 * dhdr->die_id == ii, which was checked in in amdgpu_discovery_sysfs_recurse() 1086 kobject_set_name(&ip_die_entry->ip_kset.kobj, "%d", le16_to_cpu(dhdr in amdgpu_discovery_sysfs_recurse() 1208 struct die_header *dhdr; amdgpu_discovery_reg_base_init() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2_node.c | 956 struct xfs_dir3_icleaf_hdr *dhdr, in xfs_dir3_leafn_moveents() 976 if (start_d < dhdr->count) { in xfs_dir3_leafn_moveents() 978 (dhdr->count - start_d) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir3_leafn_moveents() 979 xfs_dir3_leaf_log_ents(args, dhdr, bp_d, start_d + count, in xfs_dir3_leafn_moveents() 980 count + dhdr->count - 1); in xfs_dir3_leafn_moveents() 1001 xfs_dir3_leaf_log_ents(args, dhdr, bp_d, start_d, start_d + count - 1); in xfs_dir3_leafn_moveents() 1019 dhdr->count += count; in xfs_dir3_leafn_moveents() 1020 dhdr->stale += stale; in xfs_dir3_leafn_moveents() 949 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
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_node.c | 956 struct xfs_dir3_icleaf_hdr *dhdr, in xfs_dir3_leafn_moveents() 976 if (start_d < dhdr->count) { in xfs_dir3_leafn_moveents() 978 (dhdr->count - start_d) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir3_leafn_moveents() 979 xfs_dir3_leaf_log_ents(args, dhdr, bp_d, start_d + count, in xfs_dir3_leafn_moveents() 980 count + dhdr->count - 1); in xfs_dir3_leafn_moveents() 1001 xfs_dir3_leaf_log_ents(args, dhdr, bp_d, start_d, start_d + count - 1); in xfs_dir3_leafn_moveents() 1019 dhdr->count += count; in xfs_dir3_leafn_moveents() 1020 dhdr->stale += stale; in xfs_dir3_leafn_moveents() 949 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
|