/linux-master/tools/firmware/ |
H A D | ihex2fw.c | 26 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) macro 162 record_size = ALIGN(sizeof(*record) + len, 4); 276 uint16_t writelen = ALIGN(ihex_binrec_size(p), 4);
|
/linux-master/fs/ubifs/ |
H A D | scan.c | 107 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); 169 sleb->endpt = ALIGN(offs, c->min_io_size); 307 node_len = ALIGN(le32_to_cpu(ch->len), 8);
|
H A D | recovery.c | 411 empty_offs = ALIGN(offs + 1, c->max_write_size); 437 empty_offs = ALIGN(*offs, c->min_io_size); 465 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; 477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; 528 int len = ALIGN(endpt, c->min_io_size); 538 int pad_len = len - ALIGN(endpt, 8); 656 node_len = ALIGN(le32_to_cpu(ch->len), 8); 1012 node_len = ALIGN(le32_to_cpu(ch->len), 8); 1044 len = ALIGN(ucleb->endpt, c->min_io_size); 1046 int pad_len = len - ALIGN(ucle [all...] |
H A D | log.c | 368 max_len = ALIGN(max_len, c->min_io_size); 418 ubifs_pad(c, buf + len, ALIGN(len, c->min_io_size) - len); 432 len = ALIGN(len, c->min_io_size); 618 int sz = ALIGN(*offs, c->min_io_size), err; 628 *offs += ALIGN(len, 8); 697 int sz = ALIGN(offs, c->min_io_size); 703 offs = ALIGN(offs, c->min_io_size);
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 102 curr_bit = ALIGN(*pos, slots_per_band) + bit_offset; 108 curr_bit = ALIGN(*pos, slot_stride) + bit_offset; 140 curr_bit = ALIGN(*pos, slots_per_band) + bit_offset;
|
/linux-master/drivers/s390/cio/ |
H A D | itcw.c | 143 addr = ALIGN(*start, align); 145 addr = ALIGN(addr, 4096); 146 addr = ALIGN(addr, align);
|
/linux-master/drivers/s390/char/ |
H A D | vmcp.c | 48 vmcp_cma_size = ALIGN(memparse(p, NULL), PAGE_SIZE); 66 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; 90 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | gm200.c | 172 ALIGN(wpr_size, 0x40000), 0x40000, true, 191 wpr = ALIGN(wpr, 256); 195 wpr = ALIGN(wpr, 4096); 199 wpr = ALIGN(wpr, 256); 201 lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
|
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 45 *dpt_ofs = ALIGN(*dpt_ofs, 4096); 76 *dpt_ofs = ALIGN(*dpt_ofs, 4096); 90 dpt_size = ALIGN(size / XE_PAGE_SIZE * 8, XE_PAGE_SIZE); 92 dpt_size = ALIGN(intel_remapped_info_size(&fb->remapped_view.gtt.remapped) * 8, 96 dpt_size = ALIGN(intel_rotation_info_size(&view->rotated) * 8,
|
/linux-master/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 56 u32 width_64 = ALIGN(width, 64) / 64; 57 u32 height_32 = ALIGN(height, 32) / 32; 66 u32 width_128 = ALIGN(width, 128) / 128; 67 u32 height_64 = ALIGN(height, 64) / 64; 75 return ALIGN(amvdec_am21c_body_size(width, height) + 184 u32 width = ALIGN(sess->width, 32); 185 u32 height = ALIGN(sess->height, 32);
|
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | bootx_init.c | 112 *(mem) = ALIGN(*(mem),4); \ 154 *mem_end = ALIGN(*mem_end + size, 4); 307 *mem_end = ALIGN((unsigned long)lp + 1, 4); 360 mem_start = mem_end = ALIGN(((unsigned long)bi) + start, 4); 364 rsvmap = (u64 *)(ALIGN(mem_end, 8)); 390 mem_end = ALIGN(mem_end, 16); 408 mem_end = ALIGN(mem_end, PAGE_SIZE);
|
/linux-master/fs/proc/ |
H A D | kcore.c | 108 3 * ALIGN(sizeof(CORE_STR), 4) + 110 ALIGN(sizeof(struct elf_prstatus), 4) + 111 ALIGN(sizeof(struct elf_prpsinfo), 4) + 112 ALIGN(arch_task_struct_size, 4) + 113 ALIGN(vmcoreinfo_size, 4)); 305 *i = ALIGN(*i + note->n_namesz, 4); 307 *i = ALIGN(*i + descsz, 4);
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | audioreach.c | 35 #define APM_SUB_GRAPH_PSIZE(p, n) ALIGN(struct_size(p, sg_cfg, n), 8) 64 #define APM_CONTAINER_PSIZE(p, n) ALIGN(struct_size(p, cont_obj, n), 8) 100 #define APM_MOD_PROP_PSIZE(p, n) ALIGN(struct_size(p, mod_prop_obj, n), 8) 110 #define APM_MOD_CONN_PSIZE(p, n) ALIGN(struct_size(p, conn_obj, n), 8) 137 #define APM_SHMEM_FMT_CFG_PSIZE(ch) ALIGN( \ 142 #define APM_PCM_MODULE_FMT_CMD_PSIZE(ch) ALIGN( \ 146 #define APM_PCM_OUT_FMT_CFG_PSIZE(p, n) ALIGN(struct_size(p, channel_mapping, n), 4) 153 #define APM_I2S_INTF_CFG_PSIZE ALIGN(sizeof(struct apm_i2s_module_intf_cfg), 8) 160 #define APM_HW_EP_CFG_PSIZE ALIGN(sizeof(struct apm_module_hw_ep_mf_cfg), 8) 162 #define APM_MFC_CFG_PSIZE(p, n) ALIGN(struct_siz [all...] |
/linux-master/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 787 td->addr_spatial_context = ALIGN(paddr, 0x100); 790 td->addr_temporal_context = ALIGN(paddr, 0x100); 793 td->addr_temporal_context = ALIGN(paddr, 0x100); 796 td->addr_spatial_context = ALIGN(paddr, 0x100); 801 td->addr_brc_in_out_parameter = ALIGN(paddr, 0x100); 804 td->addr_slice_header = ALIGN(paddr, 0x100); 805 td->addr_external_sw = ALIGN(addr_esram, 0x100); 808 td->addr_local_rec_buffer = ALIGN(addr_esram, 0x100); 811 td->addr_lctx = ALIGN(addr_esram, 0x100); 814 td->addr_cabac_context_buffer = ALIGN(addr_esra [all...] |
/linux-master/sound/soc/intel/catpt/ |
H A D | loader.c | 105 ALIGN(size, 4)); 135 ALIGN(type->state_size, 4)); 168 ALIGN(info->size, 4)); 195 ALIGN(size, 4)); 228 ALIGN(info->size, 4)); 393 ALIGN(blk->size, 4));
|
/linux-master/mm/damon/ |
H A D | vaddr.c | 158 regions[0].start = ALIGN(start, DAMON_MIN_REGION); 159 regions[0].end = ALIGN(first_gap.start, DAMON_MIN_REGION); 160 regions[1].start = ALIGN(first_gap.end, DAMON_MIN_REGION); 161 regions[1].end = ALIGN(second_gap.start, DAMON_MIN_REGION); 162 regions[2].start = ALIGN(second_gap.end, DAMON_MIN_REGION); 163 regions[2].end = ALIGN(prev->vm_end, DAMON_MIN_REGION);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | uefi.c | 193 len -= ALIGN(tlv_len, 4); 194 data += ALIGN(tlv_len, 4); 240 data += sizeof(*tlv) + ALIGN(tlv_len, 4); 241 len -= ALIGN(tlv_len, 4); 255 data += sizeof(*tlv) + ALIGN(tlv_len, 4); 256 len -= ALIGN(tlv_len, 4);
|
/linux-master/drivers/mtd/ubi/ |
H A D | upd.c | 183 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); 225 int l = ALIGN(len, ubi->min_io_size); 401 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size);
|
/linux-master/arch/alpha/kernel/ |
H A D | pci.c | 169 start = ALIGN(start, alignto); 174 start = ALIGN(start, alignto); 179 start = ALIGN(start, alignto);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sdma.c | 266 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); 277 ALIGN(le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes), PAGE_SIZE); 282 ALIGN(le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes), PAGE_SIZE);
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_plane.c | 164 int width_in_blocks = ALIGN(fb->width, AFBC_DATA_BLOCK_WIDTH) 166 int height_in_blocks = ALIGN(fb->height, AFBC_DATA_BLOCK_HEIGHT) 176 hdr_size = ALIGN(hdr_pitch * height_in_blocks, AFBC_HEADER_ALIGNMENT);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 318 ALIGN(sizeof("GNU"), 4) + sizeof(Elf32_Nhdr), nhdr->n_descsz); 324 ALIGN(nhdr->n_namesz, 4) + ALIGN(nhdr->n_descsz, 4);
|
/linux-master/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-vpu.c | 213 vpu->work_size = ALIGN(vpu->work_size, 64); 214 vpu->param_size = ALIGN(sizeof(struct img_ipi_frameparam), 64); 215 vpu->config_size = ALIGN(sizeof(struct img_config) * pp_num, 64);
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3.h | 171 return ALIGN(width, IPU3_UAPI_ISP_VEC_ELEMS);
|
/linux-master/arch/x86/kernel/acpi/ |
H A D | wakeup_32.S | 10 ALIGN 93 ALIGN
|