/kernel/linux/linux-5.10/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 366 * The start address must be aligned on its size. So we round in pcie_init() 367 * it down, and then recalculate the size so that it covers in pcie_init() 443 resource_size_t size; in pcie_init() local 462 size = resource_size(res); in pcie_init() 463 mask = (roundup_pow_of_two(size) / SZ_256K) - 1; in pcie_init()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | tsb.c | 219 /* Use the smallest page size that can map the whole TSB in setup_tsb_params() 267 printk(KERN_ERR "TSB[%s:%d]: Impossible TSB size %lu, killing process.\n", in setup_tsb_params() 355 unsigned long size = 8192 << i; in pgtable_cache_init() local 359 size, size, in pgtable_cache_init() 383 * When we reach the maximum TSB size supported, we stick ~0UL into 387 * The TSB can be anywhere from 8K to 1MB in size, in increasing powers 388 * of two. The TSB must be aligned to it's size, so f.e. a 512K TSB 483 * One will get in here first, and bump the size and the RSS limit. in tsb_grow() 572 /* If this is fork, inherit the parent's TSB size in init_new_context() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 492 int i, size, num_sections; in rtas_fadump_dt_scan() local 508 /* Firmware supports 64-bit value for size, align it to pagesize. */ in rtas_fadump_dt_scan() 526 * gives the size of the section in bytes. in rtas_fadump_dt_scan() 529 &size); in rtas_fadump_dt_scan() 534 num_sections = size / (3 * sizeof(u32)); in rtas_fadump_dt_scan()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | proc-arm925.S | 49 * The size of one data cache line. 64 * This is the size at which it becomes more efficient to 191 sub r3, r1, r0 @ calculate total size 251 * flush_kern_dcache_area(void *addr, size_t size) 257 * - size - region size 342 * dma_map_area(start, size, dir) 344 * - size - size of region 356 * dma_unmap_area(start, size, di [all...] |
H A D | proc-arm926.S | 25 * This is the maximum size of an area which will be invalidated 35 * the cache line size of the I and D cache 154 sub r3, r1, r0 @ calculate total size 214 * flush_kern_dcache_area(void *addr, size_t size) 220 * - size - region size 305 * dma_map_area(start, size, dir) 307 * - size - size of region 319 * dma_unmap_area(start, size, di [all...] |
H A D | proc-arm920.S | 25 * The size of one data cache line. 40 * This is the size at which it becomes more efficient to 154 sub r3, r1, r0 @ calculate total size 203 * flush_kern_dcache_area(void *addr, size_t size) 209 * - size - region size 285 * dma_map_area(start, size, dir) 287 * - size - size of region 299 * dma_unmap_area(start, size, di [all...] |
H A D | proc-arm1026.S | 24 * This is the maximum size of an area which will be invalidated 34 * The size of one data cache line. 49 * This is the size at which it becomes more efficient to 163 sub r3, r1, r0 @ calculate total size 220 * flush_kern_dcache_area(void *addr, size_t size) 226 * - size - region size 312 * dma_map_area(start, size, dir) 314 * - size - size o [all...] |
H A D | proc-arm922.S | 26 * The size of one data cache line. 41 * This is the size at which it becomes more efficient to 156 sub r3, r1, r0 @ calculate total size 205 * flush_kern_dcache_area(void *addr, size_t size) 211 * - size - region size 287 * dma_map_area(start, size, dir) 289 * - size - size of region 301 * dma_unmap_area(start, size, di [all...] |
H A D | cache-v7m.S | 198 ands r4, r4, r1, lsr #3 @ find maximum number on the way size 199 clz r5, r4 @ find bit position of way size increment 201 ands r7, r7, r1, lsr #13 @ extract max number of the index size 333 * v7m_flush_kern_dcache_area(void *addr, size_t size) 339 * - size - region size 423 * dma_map_area(start, size, dir) 425 * - size - size of region 436 * dma_unmap_area(start, size, di [all...] |
H A D | proc-arm1020e.S | 24 * This is the maximum size of an area which will be invalidated 34 * The size of one data cache line. 49 * This is the size at which it becomes more efficient to 169 sub r3, r1, r0 @ calculate total size 226 * flush_kern_dcache_area(void *addr, size_t size) 232 * - size - region size 318 * dma_map_area(start, size, dir) 320 * - size - size o [all...] |
H A D | proc-arm1022.S | 24 * This is the maximum size of an area which will be invalidated 34 * The size of one data cache line. 49 * This is the size at which it becomes more efficient to 168 sub r3, r1, r0 @ calculate total size 226 * flush_kern_dcache_area(void *addr, size_t size) 232 * - size - region size 318 * dma_map_area(start, size, dir) 320 * - size - size o [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | unwind.c | 528 struct unwind_table *unwind_table_add(unsigned long start, unsigned long size, in unwind_table_add() argument 535 pr_debug("%s(%08lx, %08lx, %08lx, %08lx)\n", __func__, start, size, in unwind_table_add() 542 tab->stop = (const struct unwind_idx *)(start + size); in unwind_table_add()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | z2.c | 161 .size = 0x40000, 165 .size = 0x20000, 169 .size = MTDPART_SIZ_FULL,
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | io.h | 271 extern inline void __iomem *ioport_map(unsigned long port, unsigned int size) in ioport_map() argument 280 static inline void __iomem *ioremap(unsigned long port, unsigned long size) in ioremap() argument 282 return IO_CONCAT(__IO_PREFIX,ioremap) (port, size); in ioremap()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | atmtcp.c | 197 int size; in atmtcp_v_send() local 213 size = skb->len+sizeof(struct atmtcp_hdr); in atmtcp_v_send() 214 new_skb = atm_alloc_charge(out_vcc,size,GFP_ATOMIC); in atmtcp_v_send()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 93 size_t size = ARRAY_SIZE(fixed_pmc_events); in intel_find_fixed_event() local 95 if (idx >= size) in intel_find_fixed_event() 98 event = fixed_pmc_events[array_index_nospec(idx, size)]; in intel_find_fixed_event()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | dsp56k.c | 148 if (fw->size % 3) { in dsp56k_upload() 150 fw->size, fw_name); in dsp56k_upload() 154 for (i = 0; i < fw->size; i = i + 3) { in dsp56k_upload()
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
H A D | clk-tegra124-emc.c | 441 size_t size; in load_timings_from_dt() local 443 size = (tegra->num_timings + child_count) * sizeof(struct emc_timing); in load_timings_from_dt() 445 tegra->timings = krealloc(tegra->timings, size, GFP_KERNEL); in load_timings_from_dt()
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | util.c | 127 * enough entries. Does not limit the size of an individual buffer in to_sg. 216 unsigned int size; in do_shash() local 227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash() 228 sdesc = kmalloc(size, GFP_KERNEL); in do_shash()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-uniphier.c | 223 u32 base, parent_base, size; in uniphier_gpio_irq_get_parent_hwirq() local 235 size = be32_to_cpu(*range++); in uniphier_gpio_irq_get_parent_hwirq() 237 if (base <= hwirq && hwirq < base + size) in uniphier_gpio_irq_get_parent_hwirq()
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | rk3399_dmc.c | 314 int ret, index, size; in rk3399_dmcfreq_probe() local 361 size = sizeof(struct dram_timing) / 4; in rk3399_dmcfreq_probe() 362 for (index = 0; index < size; index++) { in rk3399_dmcfreq_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dma_buf.c | 105 /* Check for valid size. */ in amdgpu_gem_prime_mmap() 478 bp.size = dma_buf->size; in amdgpu_dma_buf_create_obj() 485 ret = amdgpu_gem_object_create(adev, dma_buf->size, PAGE_SIZE, in amdgpu_dma_buf_create_obj()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nand_micron.c | 251 offs = step * chip->ecc.size; in micron_nand_on_die_ecc_status_4() 255 for (i = 0; i < chip->ecc.size; i++) in micron_nand_on_die_ecc_status_4() 549 chip->ecc.size = 512; in micron_nand_init()
|
H A D | txx9ndfmc.c | 196 for (eccsize = chip->ecc.size; eccsize > 0; eccsize -= 256) { in txx9ndfmc_correct_data() 262 chip->ecc.size = 512; in txx9ndfmc_attach_chip() 265 chip->ecc.size = 256; in txx9ndfmc_attach_chip()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | slcan.c | 521 int size; in slc_alloc() local 535 size = ALIGN(sizeof(*sl), NETDEV_ALIGN) + sizeof(struct can_ml_priv); in slc_alloc() 536 dev = alloc_netdev(size, name, NET_NAME_UNKNOWN, slc_setup); in slc_alloc()
|