Home
last modified time | relevance | path

Searched refs:align_mask (Results 1 – 25 of 30) sorted by relevance

12

/drivers/usb/gadget/
Du_f.h27 size_t align_mask = __alignof__(type) - 1; \
28 size_t offset = (groupname##__next + align_mask) & ~align_mask;\
37 size_t align_mask = __alignof__(type) - 1; \
38 size_t offset = (groupname##__next + align_mask) & ~align_mask;\
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.c68 ndw = (ndw + ring->funcs->align_mask) & ~ring->funcs->align_mask; in amdgpu_ring_alloc()
109 while (ib->length_dw & ring->funcs->align_mask) in amdgpu_ring_generic_pad_ib()
128 count = ring->funcs->align_mask + 1 - in amdgpu_ring_commit()
129 (ring->wptr & ring->funcs->align_mask); in amdgpu_ring_commit()
130 count %= ring->funcs->align_mask + 1; in amdgpu_ring_commit()
Damdgpu_ring.h102 uint32_t align_mask; member
Dvce_v3_0.c892 .align_mask = 0xf,
915 .align_mask = 0xf,
Duvd_v6_0.c1100 .align_mask = 0xf,
1127 .align_mask = 0xf,
Dvcn_v1_0.c1124 .align_mask = 0xf,
1153 .align_mask = 0x3f,
Dvce_v2_0.c607 .align_mask = 0xf,
Duvd_v4_2.c760 .align_mask = 0xf,
Duvd_v5_0.c868 .align_mask = 0xf,
Duvd_v7_0.c1689 .align_mask = 0xf,
1717 .align_mask = 0x3f,
Dsi_dma.c768 .align_mask = 0xf,
Dvce_v4_0.c1055 .align_mask = 0x3f,
Dcik_sdma.c1274 .align_mask = 0xf,
Dsdma_v2_4.c1210 .align_mask = 0xf,
Dgfx_v9_0.c4113 .align_mask = 0xff,
4159 .align_mask = 0xff,
4189 .align_mask = 0xff,
Dsdma_v4_0.c1599 .align_mask = 0xf,
Dsdma_v3_0.c1617 .align_mask = 0xf,
Dgfx_v6_0.c3525 .align_mask = 0xff,
3553 .align_mask = 0xff,
/drivers/gpu/drm/radeon/
Dradeon_ring.c114 ndw = (ndw + ring->align_mask) & ~ring->align_mask; in radeon_ring_alloc()
173 while (ring->wptr & ring->align_mask) { in radeon_ring_commit()
/drivers/dma/
Ddma-axi-dmac.c108 unsigned int align_mask; member
167 if ((len & chan->align_mask) != 0) /* Not aligned */ in axi_dmac_check_len()
174 if ((addr & chan->align_mask) != 0) /* Not aligned */ in axi_dmac_check_addr()
555 chan->align_mask = max(chan->dest_width, chan->src_width) - 1; in axi_dmac_parse_chan_dt()
/drivers/crypto/rockchip/
Drk3288_crypto.c72 int align_mask) in check_alignment() argument
77 IS_ALIGNED((uint32_t)sg_src->length, align_mask); in check_alignment()
81 IS_ALIGNED((uint32_t)sg_dst->length, align_mask); in check_alignment()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c89 unsigned int align_mask) in ppm_find_unused_entries() argument
93 i = bitmap_find_next_zero_area(bmap, max_ppods, start, nr, align_mask); in ppm_find_unused_entries()
97 align_mask); in ppm_find_unused_entries()
/drivers/usb/renesas_usbhs/
Dfifo.c885 uintptr_t align_mask; in usbhsf_dma_prepare_push() local
900 align_mask = usbhs_get_dparam(priv, has_usb_dmac) ? in usbhsf_dma_prepare_push()
902 if ((uintptr_t)(pkt->buf + pkt->actual) & align_mask) in usbhsf_dma_prepare_push()
/drivers/md/
Ddm-crypt.c2697 unsigned int align_mask; in crypt_ctr() local
2748 align_mask = crypto_aead_alignmask(any_tfm_aead(cc)); in crypt_ctr()
2752 align_mask = crypto_skcipher_alignmask(any_tfm(cc)); in crypt_ctr()
2756 if (align_mask < CRYPTO_MINALIGN) { in crypt_ctr()
2759 & align_mask; in crypt_ctr()
2766 iv_size_padding = align_mask; in crypt_ctr()
/drivers/scsi/be2iscsi/
Dbe_main.c577 uint32_t align_mask = 0; in beiscsi_get_params() local
590 align_mask = (icd_post_per_page - 1); in beiscsi_get_params()
596 ~(align_mask)); in beiscsi_get_params()
602 icd_count_align = (icd_count & ~align_mask); in beiscsi_get_params()

12