/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_g2.c | 57 return ALIGN((cr_offset * 3) / 2, G2_ALIGN);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | alignedmem.c | 48 *addr = ALIGN((unsigned long)alloc_addr, align);
|
/linux-master/arch/s390/kernel/ |
H A D | kexec_elf.c | 42 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 D | vmlinux.lds.S | 36 . = ALIGN(_PAGE_SIZE);
|
/linux-master/arch/x86/lib/ |
H A D | usercopy_64.c | 68 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 D | linkage.h | 24 #define SYM_A_ALIGN ALIGN 31 #define ALIGN __ALIGN macro
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | gp102.c | 122 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 D | ga102.c | 87 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 D | s5p_mfc_opr_v6.c | 69 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 D | vpu_helpers.c | 128 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 D | 8xx.c | 131 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 D | internal.h | 76 #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 D | buildid.c | 33 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 D | aperture_gm.c | 54 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 D | pnvm.c | 147 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 D | hw_atl2_internal.h | 41 (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 D | hw_atl_b0_internal.h | 147 (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 D | sigreturn.S | 14 ALIGN 27 ALIGN
|
/linux-master/net/openvswitch/ |
H A D | vport.h | 173 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 D | rxe_mmap.c | 132 rxe->mmap_offset = ALIGN(PAGE_SIZE, SHMLBA); 135 rxe->mmap_offset += ALIGN(size, SHMLBA);
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmdbuf.c | 93 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 D | iommu-helpers.h | 149 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 D | txgbe_ethtool.c | 25 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 D | vdso-layout.lds.S | 45 . = ALIGN(0x100);
|
/linux-master/include/video/ |
H A D | udlfb.h | 100 #define DL_ALIGN_UP(x, a) ALIGN(x, a)
|