Searched refs:ALIGN (Results 76 - 100 of 1192) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_g2.c57 return ALIGN((cr_offset * 3) / 2, G2_ALIGN);
/linux-master/drivers/firmware/efi/libstub/
H A Dalignedmem.c48 *addr = ALIGN((unsigned long)alloc_addr, align);
/linux-master/arch/s390/kernel/
H A Dkexec_elf.c42 buf.mem = ALIGN(phdr->p_paddr, phdr->p_align);
48 data->memsz = ALIGN(data->memsz, phdr->p_align) + buf.memsz;
95 size = ALIGN(size, phdr->p_align);
103 size += ALIGN(phdr->p_filesz, phdr->p_align);
/linux-master/arch/hexagon/kernel/
H A Dvmlinux.lds.S36 . = ALIGN(_PAGE_SIZE);
/linux-master/arch/x86/lib/
H A Dusercopy_64.c68 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size);
87 size_t len = min_t(size_t, size, ALIGN(dest, 8) - dest);
/linux-master/tools/perf/util/include/linux/
H A Dlinkage.h24 #define SYM_A_ALIGN ALIGN
31 #define ALIGN __ALIGN macro
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dgp102.c122 ALIGN(wpr_size, 0x40000) << 1, 0x40000, true,
140 wpr = ALIGN(wpr, 256);
145 wpr = ALIGN(wpr, 256);
149 wpr = ALIGN(wpr, 4096);
153 wpr = ALIGN(wpr, 256);
155 lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
H A Dga102.c87 hdr->app_code_size = ALIGN(lsfw->app_resident_code_size, 0x100);
89 hdr->app_data_size = ALIGN(lsfw->app_resident_data_size, 0x100);
195 wpr = ALIGN(wpr, 256);
200 wpr = ALIGN(wpr, 256);
204 wpr = ALIGN(wpr, 4096);
208 wpr = ALIGN(wpr, 256);
210 lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v6.c69 width64 = ALIGN(ctx->img_width, 64);
70 height32 = ALIGN(ctx->img_height, 32);
81 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V8(mb_width, mb_height),
85 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V6(mb_width, mb_height),
93 ALIGN(DIV_ROUND_UP(lcu_width * 32, 4), 16) * height32 + 128;
100 ALIGN(DIV_ROUND_UP(lcu_width *
104 ALIGN(ctx->img_width * 2, 128) * height32 + 64;
106 ALIGN(ctx->img_width * 2, 128) * height32 / 2 + 64;
117 ctx->luma_dpb_size = ALIGN(ctx->luma_dpb_size + 256, SZ_2K);
118 ctx->chroma_dpb_size = ALIGN(ct
[all...]
/linux-master/drivers/media/platform/amphion/
H A Dvpu_helpers.c128 width = ALIGN(width, res->step_width);
146 height = ALIGN(height, res->step_height);
160 bytesperline = ALIGN(bytesperline, stride);
161 height = ALIGN(height, 2);
188 bytesperline = ALIGN(bytesperline, 1 << ws);
189 bytesperline = ALIGN(bytesperline, stride);
190 height = ALIGN(height, 1 << hs);
194 size = (bytesperline * ALIGN(height, 1 << (hs + 1))) >> 1;
210 bytesperline = ALIGN(bytesperline, stride);
/linux-master/arch/powerpc/mm/nohash/
H A D8xx.c131 for (; p < ALIGN(p, SZ_8M) && p < top && !err; p += SZ_512K, v += SZ_512K)
146 unsigned long etext8 = ALIGN(__pa(_etext), SZ_8M);
150 unsigned long einittext8 = ALIGN(__pa(_einittext), SZ_8M);
174 unsigned long etext8 = ALIGN(__pa(_etext), SZ_8M);
177 unsigned long einittext8 = ALIGN(__pa(_einittext), SZ_8M);
/linux-master/net/mpls/
H A Dinternal.h76 #define MAX_VIA_ALEN (ALIGN(MAX_ADDR_LEN, VIA_ALEN_ALIGN))
106 ALIGN(sizeof(struct mpls_nh) + (num_labels) * sizeof(u32), \
114 ALIGN((max_via_alen), VIA_ALEN_ALIGN))
/linux-master/lib/
H A Dbuildid.c33 ALIGN(sizeof("GNU"), 4) + sizeof(Elf32_Nhdr),
42 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4);
/linux-master/drivers/gpu/drm/i915/gvt/
H A Daperture_gm.c54 start = ALIGN(gvt_hidden_gmadr_base(gvt), I915_GTT_PAGE_SIZE);
55 end = ALIGN(gvt_hidden_gmadr_end(gvt), I915_GTT_PAGE_SIZE);
60 start = ALIGN(gvt_aperture_gmadr_base(gvt), I915_GTT_PAGE_SIZE);
61 end = ALIGN(gvt_aperture_gmadr_end(gvt), I915_GTT_PAGE_SIZE);
263 vgpu_aperture_sz(vgpu) = ALIGN(request, I915_GTT_PAGE_SIZE);
274 vgpu_hidden_sz(vgpu) = ALIGN(request, I915_GTT_PAGE_SIZE);
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dpnvm.c147 len -= ALIGN(tlv_len, 4);
148 data += ALIGN(tlv_len, 4);
204 data += sizeof(*tlv) + ALIGN(tlv_len, 4);
205 len -= ALIGN(tlv_len, 4);
230 data += sizeof(*tlv) + ALIGN(tlv_len, 4);
231 len -= ALIGN(tlv_len, 4);
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_internal.h41 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_RXD_MULTIPLE))
43 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_TXD_MULTIPLE))
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0_internal.h147 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_RXD_MULTIPLE))
149 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_TXD_MULTIPLE))
/linux-master/arch/x86/entry/vdso/vdso32/
H A Dsigreturn.S14 ALIGN
27 ALIGN
/linux-master/net/openvswitch/
H A Dvport.h173 return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN);
188 return (struct vport *)((u8 *)priv - ALIGN(sizeof(struct vport), VPORT_ALIGN));
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c132 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA);
135 rxe->mmap_offset += ALIGN(size, SHMLBA);
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c93 order = order_base_2(ALIGN(size, SUBALLOC_GRANULE) / SUBALLOC_GRANULE);
121 int order = order_base_2(ALIGN(cmdbuf->size, SUBALLOC_GRANULE) /
/linux-master/drivers/parisc/
H A Diommu-helpers.h149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) >
172 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE);
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c25 new_tx_count = ALIGN(new_tx_count, WX_REQ_TX_DESCRIPTOR_MULTIPLE);
28 new_rx_count = ALIGN(new_rx_count, WX_REQ_RX_DESCRIPTOR_MULTIPLE);
/linux-master/arch/x86/um/vdso/
H A Dvdso-layout.lds.S45 . = ALIGN(0x100);
/linux-master/include/video/
H A Dudlfb.h100 #define DL_ALIGN_UP(x, a) ALIGN(x, a)

Completed in 210 milliseconds

1234567891011>>