/Linux-v5.4/net/wireless/ |
D | radiotap.c | 26 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, }, 27 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, }, 28 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, }, 29 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, }, 30 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, }, 31 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, }, 32 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, }, 33 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, }, 34 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, }, 35 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align = 2, .size = 2, }, [all …]
|
/Linux-v5.4/drivers/clk/tegra/ |
D | cvb.c | 26 const struct rail_alignment *align) in round_cvb_voltage() argument 30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage() 31 int offset = align->offset_uv * v_scale; in round_cvb_voltage() 34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage() 43 static int round_voltage(int mv, const struct rail_alignment *align, int up) in round_voltage() argument 45 if (align->step_uv) { in round_voltage() 48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage() 49 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage() 50 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage() 56 struct rail_alignment *align, in build_opp_table() argument [all …]
|
D | clk-tegra124-dfll-fcpu.c | 524 struct rail_alignment *align) in get_alignment_from_dt() argument 528 &align->step_uv)) in get_alignment_from_dt() 529 align->step_uv = 0; in get_alignment_from_dt() 533 &align->offset_uv)) in get_alignment_from_dt() 534 align->offset_uv = 0; in get_alignment_from_dt() 538 struct rail_alignment *align) in get_alignment_from_regulator() argument 545 align->offset_uv = regulator_list_voltage(reg, 0); in get_alignment_from_regulator() 546 align->step_uv = regulator_get_linear_step(reg); in get_alignment_from_regulator() 558 struct rail_alignment align; in tegra124_dfll_fcpu_probe() local 585 get_alignment_from_dt(&pdev->dev, &align); in tegra124_dfll_fcpu_probe() [all …]
|
/Linux-v5.4/include/trace/events/ |
D | percpu.h | 13 size_t align, void *base_addr, int off, void __percpu *ptr), 15 TP_ARGS(reserved, is_atomic, size, align, base_addr, off, ptr), 21 __field( size_t, align ) 31 __entry->align = align; 39 __entry->size, __entry->align, 67 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align), 69 TP_ARGS(reserved, is_atomic, size, align), 75 __field( size_t, align ) 82 __entry->align = align; 87 __entry->size, __entry->align)
|
D | cma.h | 14 unsigned int count, unsigned int align), 16 TP_ARGS(pfn, page, count, align), 22 __field(unsigned int, align) 29 __entry->align = align; 36 __entry->align)
|
/Linux-v5.4/arch/xtensa/kernel/ |
D | align.S | 233 and a3, a3, a8 # align memory address 278 .align 8 280 s32i a3, a2, PT_AREG0; _j .Lexit; .align 8 281 mov a1, a3; _j .Lexit; .align 8 # fishy?? 282 s32i a3, a2, PT_AREG2; _j .Lexit; .align 8 283 s32i a3, a2, PT_AREG3; _j .Lexit; .align 8 284 s32i a3, a2, PT_AREG4; _j .Lexit; .align 8 285 s32i a3, a2, PT_AREG5; _j .Lexit; .align 8 286 s32i a3, a2, PT_AREG6; _j .Lexit; .align 8 287 s32i a3, a2, PT_AREG7; _j .Lexit; .align 8 [all …]
|
/Linux-v5.4/arch/arm/tools/ |
D | syscallnr.sh | 6 align=1 24 while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do 25 align=$(( $align * 4 )) 27 nr=$(( ($nr + $align - 1) & ~($align - 1) )) 28 echo "/* aligned to $align */"
|
/Linux-v5.4/fs/xfs/ |
D | xfs_iomap.h | 29 xfs_extlen_t align; in xfs_aligned_fsb_count() local 31 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count() 32 if (align) in xfs_aligned_fsb_count() 33 count_fsb += align; in xfs_aligned_fsb_count() 34 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count() 35 if (align) in xfs_aligned_fsb_count() 36 count_fsb += extsz - align; in xfs_aligned_fsb_count()
|
/Linux-v5.4/arch/sparc/lib/ |
D | bitext.c | 28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument 37 color = align; in bit_map_string_get() 38 align = t->num_colors; in bit_map_string_get() 41 if (align == 0) in bit_map_string_get() 42 align = 1; in bit_map_string_get() 44 align1 = align - 1; in bit_map_string_get() 45 if ((align & align1) != 0) in bit_map_string_get() 47 if (align < 0 || align >= t->size) in bit_map_string_get() 70 t->size, t->used, offset, len, align, count); in bit_map_string_get()
|
/Linux-v5.4/lib/ |
D | strnlen_user.c | 26 unsigned long align, res = 0; in do_strnlen_user() local 40 align = (sizeof(unsigned long) - 1) & (unsigned long)src; in do_strnlen_user() 41 src -= align; in do_strnlen_user() 42 max += align; in do_strnlen_user() 45 c |= aligned_byte_mask(align); in do_strnlen_user() 52 return res + find_zero(data) + 1 - align; in do_strnlen_user() 61 res -= align; in do_strnlen_user()
|
/Linux-v5.4/drivers/nvdimm/ |
D | pfn_devs.c | 103 return sprintf(buf, "%ld\n", nd_pfn->align); in align_show() 140 rc = nd_size_select_store(dev, buf, &nd_pfn->align, in align_store() 149 static DEVICE_ATTR_RW(align); 311 nd_pfn->align = nd_pfn_default_alignment(); in nd_pfn_devinit() 421 static bool nd_supported_alignment(unsigned long align) in nd_supported_alignment() argument 426 if (align == 0) in nd_supported_alignment() 431 if (align == supported[i]) in nd_supported_alignment() 450 unsigned long align, start_pad; in nd_pfn_validate() local 482 pfn_sb->align = 0; in nd_pfn_validate() 497 align = le32_to_cpu(pfn_sb->align); in nd_pfn_validate() [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 52 unsigned size, u32 align, u32 domain, u32 flags) in radeon_sa_bo_manager_init() argument 60 sa_manager->align = align; in radeon_sa_bo_manager_init() 67 r = radeon_bo_create(rdev, size, align, true, in radeon_sa_bo_manager_init() 192 unsigned size, unsigned align) in radeon_sa_bo_try_alloc() argument 198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc() 225 unsigned size, unsigned align) in radeon_sa_event() argument 238 wasted = (align - (soffset % align)) % align; in radeon_sa_event() 315 unsigned size, unsigned align) in radeon_sa_bo_new() argument 321 BUG_ON(align > sa_manager->align); in radeon_sa_bo_new() 344 size, align)) { in radeon_sa_bo_new() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sa.c | 52 unsigned size, u32 align, u32 domain) in amdgpu_sa_bo_manager_init() argument 60 sa_manager->align = align; in amdgpu_sa_bo_manager_init() 66 r = amdgpu_bo_create_kernel(adev, size, align, domain, &sa_manager->bo, in amdgpu_sa_bo_manager_init() 153 unsigned size, unsigned align) in amdgpu_sa_bo_try_alloc() argument 159 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc() 186 unsigned size, unsigned align) in amdgpu_sa_event() argument 197 wasted = (align - (soffset % align)) % align; in amdgpu_sa_event() 277 unsigned size, unsigned align) in amdgpu_sa_bo_new() argument 285 if (WARN_ON_ONCE(align > sa_manager->align)) in amdgpu_sa_bo_new() 308 size, align)) { in amdgpu_sa_bo_new() [all …]
|
/Linux-v5.4/drivers/dax/ |
D | device.c | 35 mask = dax_region->align - 1; in check_vma() 90 if (dax_region->align > PAGE_SIZE) { in __dev_dax_pte_fault() 92 dax_region->align, fault_size); in __dev_dax_pte_fault() 96 if (fault_size != dax_region->align) in __dev_dax_pte_fault() 124 if (dax_region->align > PMD_SIZE) { in __dev_dax_pmd_fault() 126 dax_region->align, fault_size); in __dev_dax_pmd_fault() 136 if (fault_size < dax_region->align) in __dev_dax_pmd_fault() 138 else if (fault_size > dax_region->align) in __dev_dax_pmd_fault() 174 if (dax_region->align > PUD_SIZE) { in __dev_dax_pud_fault() 176 dax_region->align, fault_size); in __dev_dax_pud_fault() [all …]
|
/Linux-v5.4/include/linux/ |
D | memblock.h | 109 phys_addr_t size, phys_addr_t align); 116 void memblock_trim_memory(phys_addr_t align); 350 phys_addr_t memblock_phys_alloc_range(phys_addr_t size, phys_addr_t align, 352 phys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); 355 phys_addr_t align) in memblock_phys_alloc() argument 357 return memblock_phys_alloc_range(size, align, 0, in memblock_phys_alloc() 361 void *memblock_alloc_try_nid_raw(phys_addr_t size, phys_addr_t align, 364 void *memblock_alloc_try_nid(phys_addr_t size, phys_addr_t align, 368 static inline void * __init memblock_alloc(phys_addr_t size, phys_addr_t align) in memblock_alloc() argument 370 return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, in memblock_alloc() [all …]
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | fsl_85xx_cache_sram.c | 26 phys_addr_t *phys, unsigned int align) in mpc85xx_cache_sram_alloc() argument 34 if (!size || (size > cache_sram->size) || (align > cache_sram->size)) { in mpc85xx_cache_sram_alloc() 36 __func__, size, align); in mpc85xx_cache_sram_alloc() 40 if ((align & (align - 1)) || align <= 1) { in mpc85xx_cache_sram_alloc() 42 __func__, align); in mpc85xx_cache_sram_alloc() 47 offset = rh_alloc_align(cache_sram->rh, size, align, NULL); in mpc85xx_cache_sram_alloc()
|
/Linux-v5.4/drivers/staging/fwserial/ |
D | dma_fifo.c | 58 int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, in dma_fifo_alloc() argument 63 if (!is_power_of_2(align) || size < 0) in dma_fifo_alloc() 66 size = round_up(size, align); in dma_fifo_alloc() 67 capacity = size + align * open_limit + align * DMA_FIFO_GUARD; in dma_fifo_alloc() 77 fifo->align = align; in dma_fifo_alloc() 78 fifo->tx_limit = max_t(int, round_down(tx_limit, align), align); in dma_fifo_alloc() 81 fifo->guard = size + align * open_limit; in dma_fifo_alloc() 212 fifo->out += round_up(n, fifo->align); in dma_fifo_out_pend() 229 if (FAIL(fifo, fifo->out & (fifo->align - 1), in dma_fifo_out_pend() 231 fifo->out, fifo->align)) in dma_fifo_out_pend()
|
/Linux-v5.4/drivers/firmware/efi/libstub/ |
D | random.c | 43 unsigned long align = 1UL << align_shift; in get_entry_num_slots() local 51 first_slot = round_up(md->phys_addr, align); in get_entry_num_slots() 52 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots() 70 unsigned long align, in efi_random_alloc() argument 92 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc() 93 align = EFI_ALLOC_ALIGN; in efi_random_alloc() 100 slots = get_entry_num_slots(md, size, ilog2(align)); in efi_random_alloc() 129 target = round_up(md->phys_addr, align) + target_slot * align; in efi_random_alloc()
|
/Linux-v5.4/arch/alpha/lib/ |
D | copy_user.S | 33 .align 4 43 .align 4 64 .align 4 79 .align 4 93 .align 4 96 .align 4
|
D | memset.S | 28 .align 5 43 .align 5 70 .align 4 77 .align 3 95 .align 3 113 .align 5
|
/Linux-v5.4/drivers/pcmcia/ |
D | rsrc_iodyn.c | 28 resource_size_t size, resource_size_t align) in pcmcia_align() argument 57 unsigned long align) in __iodyn_find_io_region() argument 65 data.mask = align - 1; in __iodyn_find_io_region() 86 unsigned int align, struct resource **parent) in iodyn_find_io() argument 101 if ((s->io[i].res->start & (align-1)) == *base) in iodyn_find_io() 114 if (align == 0) in iodyn_find_io() 115 align = 0x10000; in iodyn_find_io() 118 num, align); in iodyn_find_io()
|
/Linux-v5.4/include/uapi/linux/ |
D | virtio_ring.h | 168 unsigned long align) in vring_init() argument 174 + align-1) & ~(align - 1)); in vring_init() 177 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() argument 180 + align - 1) & ~(align - 1)) in vring_size()
|
/Linux-v5.4/arch/alpha/boot/ |
D | head.S | 20 .align 5 29 .align 5 38 .align 5 88 .align 3 97 .align 3 106 .align 3
|
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00crypto.c | 149 unsigned int align = ALIGN_SIZE(skb, header_length); in rt2x00crypto_rx_insert_iv() local 190 skb_push(skb, iv_len - align); in rt2x00crypto_rx_insert_iv() 195 skb->data + transfer + (iv_len - align), in rt2x00crypto_rx_insert_iv() 199 skb_push(skb, iv_len + align); in rt2x00crypto_rx_insert_iv() 200 if (align < icv_len) in rt2x00crypto_rx_insert_iv() 201 skb_put(skb, icv_len - align); in rt2x00crypto_rx_insert_iv() 202 else if (align > icv_len) in rt2x00crypto_rx_insert_iv() 207 skb->data + transfer + iv_len + align, in rt2x00crypto_rx_insert_iv() 222 skb->data + transfer + align, in rt2x00crypto_rx_insert_iv()
|
/Linux-v5.4/arch/sh/kernel/ |
D | entry-common.S | 52 .align 2 61 .align 2 64 .align 2 227 .align 2 230 .align 2 258 .align 2 295 .align 2 304 .align 2 316 .align 2
|