Searched refs:align_mask (Results 1 – 25 of 30) sorted by relevance
12
/drivers/usb/gadget/ |
D | u_f.h | 27 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/ |
D | amdgpu_ring.c | 68 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()
|
D | amdgpu_ring.h | 102 uint32_t align_mask; member
|
D | vce_v3_0.c | 892 .align_mask = 0xf, 915 .align_mask = 0xf,
|
D | uvd_v6_0.c | 1100 .align_mask = 0xf, 1127 .align_mask = 0xf,
|
D | vcn_v1_0.c | 1124 .align_mask = 0xf, 1153 .align_mask = 0x3f,
|
D | vce_v2_0.c | 607 .align_mask = 0xf,
|
D | uvd_v4_2.c | 760 .align_mask = 0xf,
|
D | uvd_v5_0.c | 868 .align_mask = 0xf,
|
D | uvd_v7_0.c | 1689 .align_mask = 0xf, 1717 .align_mask = 0x3f,
|
D | si_dma.c | 768 .align_mask = 0xf,
|
D | vce_v4_0.c | 1055 .align_mask = 0x3f,
|
D | cik_sdma.c | 1274 .align_mask = 0xf,
|
D | sdma_v2_4.c | 1210 .align_mask = 0xf,
|
D | gfx_v9_0.c | 4113 .align_mask = 0xff, 4159 .align_mask = 0xff, 4189 .align_mask = 0xff,
|
D | sdma_v4_0.c | 1599 .align_mask = 0xf,
|
D | sdma_v3_0.c | 1617 .align_mask = 0xf,
|
D | gfx_v6_0.c | 3525 .align_mask = 0xff, 3553 .align_mask = 0xff,
|
/drivers/gpu/drm/radeon/ |
D | radeon_ring.c | 114 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/ |
D | dma-axi-dmac.c | 108 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/ |
D | rk3288_crypto.c | 72 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/ |
D | libcxgb_ppm.c | 89 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/ |
D | fifo.c | 885 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/ |
D | dm-crypt.c | 2697 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/ |
D | be_main.c | 577 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