Home
last modified time | relevance | path

Searched full:boundary (Results 1 – 25 of 1298) sorted by relevance

12345678910>>...52

/Linux-v5.10/include/media/
Dv4l2-rect.h54 * v4l2_rect_map_inside()- r should be inside boundary.
56 * @boundary: rect containing the boundary for @r
59 const struct v4l2_rect *boundary) in v4l2_rect_map_inside() argument
61 v4l2_rect_set_max_size(r, boundary); in v4l2_rect_map_inside()
62 if (r->left < boundary->left) in v4l2_rect_map_inside()
63 r->left = boundary->left; in v4l2_rect_map_inside()
64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside()
67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside()
[all …]
/Linux-v5.10/kernel/
Dstackleak.c53 /* It would be nice not to have 'kstack_ptr' and 'boundary' on stack */ in stackleak_erase()
55 unsigned long boundary = (unsigned long)end_of_stack(current); in stackleak_erase() local
63 if (unlikely(kstack_ptr - boundary >= THREAD_SIZE)) in stackleak_erase()
64 kstack_ptr = boundary; in stackleak_erase()
67 while (kstack_ptr > boundary && poison_count <= depth) { in stackleak_erase()
80 if (kstack_ptr == boundary) in stackleak_erase()
89 * 'kstack_ptr' and move up till the new 'boundary'. We assume that in stackleak_erase()
93 boundary = current_stack_pointer; in stackleak_erase()
95 boundary = current_top_of_stack(); in stackleak_erase()
97 while (kstack_ptr < boundary) { in stackleak_erase()
[all …]
/Linux-v5.10/drivers/gpio/
Dgpio-104-idi-48.c118 unsigned boundary; in idi_48_irq_mask() local
124 boundary = i / 8; in idi_48_irq_mask()
126 idi48gpio->irq_mask[boundary] &= ~mask; in idi_48_irq_mask()
128 if (!idi48gpio->irq_mask[boundary]) { in idi_48_irq_mask()
129 idi48gpio->cos_enb &= ~BIT(boundary); in idi_48_irq_mask()
150 unsigned boundary; in idi_48_irq_unmask() local
157 boundary = i / 8; in idi_48_irq_unmask()
158 prev_irq_mask = idi48gpio->irq_mask[boundary]; in idi_48_irq_unmask()
160 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
163 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
[all …]
/Linux-v5.10/sound/core/
Dpcm_compat.c80 u32 boundary; member
90 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
107 * Check silent_size parameter. Since we have 64bit boundary, in snd_pcm_ioctl_sw_params_compat()
108 * silence_size must be compared with the 32bit boundary. in snd_pcm_ioctl_sw_params_compat()
110 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
111 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
112 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
116 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat()
270 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
418 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
[all …]
/Linux-v5.10/mm/
Ddmapool.c48 size_t boundary; member
113 * @boundary: returned blocks won't cross this power of two boundary
122 * If @boundary is nonzero, objects returned from dma_pool_alloc() won't
123 * cross that size boundary. This is useful for devices which have
131 size_t size, size_t align, size_t boundary) in dma_pool_create() argument
150 if (!boundary) in dma_pool_create()
151 boundary = allocation; in dma_pool_create()
152 else if ((boundary < size) || (boundary & (boundary - 1))) in dma_pool_create()
166 retval->boundary = boundary; in dma_pool_create()
206 unsigned int next_boundary = pool->boundary; in pool_initialise_page()
[all …]
/Linux-v5.10/drivers/scsi/isci/
Dunsolicited_frame_control.c77 * - The address must align on a 64-byte boundary. Guaranteed to be in sci_unsolicited_frame_control_construct()
78 * on 64-byte boundary already 1KB boundary for unsolicited frames. in sci_unsolicited_frame_control_construct()
90 * - The address must align on a 64-bit boundary. Guaranteed to be on 64 in sci_unsolicited_frame_control_construct()
91 * byte boundary already due to above programming headers being on a in sci_unsolicited_frame_control_construct()
92 * 64-bit boundary and headers are on a 64-bytes in size. in sci_unsolicited_frame_control_construct()
103 * - Aligned on a 1KB boundary. */ in sci_unsolicited_frame_control_construct()
120 * pointers. Everything is aligned on 1k boundary with an in sci_unsolicited_frame_control_construct()
/Linux-v5.10/arch/arm/boot/dts/
Dimx6dl-nit6xlite.dts3 * Copyright 2015 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Solo Nitrogen6_Lite Board";
12 compatible = "boundary,imx6dl-nit6xlite", "fsl,imx6dl";
Dimx6q-nitrogen6_max.dts3 * Copyright 2015 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Quad Nitrogen6_MAX Board";
12 compatible = "boundary,imx6q-nitrogen6_max", "fsl,imx6q";
Dimx6q-nitrogen6_som2.dts3 * Copyright 2016 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Quad Nitrogen6_SOM2 Board";
12 compatible = "boundary,imx6q-nitrogen6_som2", "fsl,imx6q";
Dimx6qp-nitrogen6_som2.dts3 * Copyright 2017 Boundary Devices, Inc.
12 model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_SOM2 Board";
13 compatible = "boundary,imx6qp-nitrogen6_som2", "fsl,imx6qp";
Dimx6dl-nitrogen6x.dts3 * Copyright 2013 Boundary Devices, Inc.
13 model = "Boundary Devices i.MX6 DualLite Nitrogen6x Board";
14 compatible = "boundary,imx6dl-nitrogen6x", "fsl,imx6dl";
Dimx6q-nitrogen6x.dts3 * Copyright 2013 Boundary Devices, Inc.
13 model = "Boundary Devices i.MX6 Quad Nitrogen6x Board";
14 compatible = "boundary,imx6q-nitrogen6x", "fsl,imx6q";
Dimx6qp-nitrogen6_max.dts3 * Copyright 2016 Boundary Devices, Inc.
12 model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_MAX Board";
13 compatible = "boundary,imx6qp-nitrogen6_max", "fsl,imx6qp";
/Linux-v5.10/arch/powerpc/mm/nohash/
D8xx.c153 unsigned long boundary = strict_boundary ? sinittext : etext8; in mmu_mapin_ram() local
163 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
165 top = boundary; in mmu_mapin_ram()
167 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
183 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; in mmu_mark_initmem_nx() local
186 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, false); in mmu_mark_initmem_nx()
187 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
/Linux-v5.10/arch/powerpc/boot/
Dpage.h20 /* align addr on a size boundary - adjust address up/down if needed */
24 /* align addr on a size boundary - adjust address up if needed */
27 /* to align the pointer to the (next) page boundary */
/Linux-v5.10/arch/arm64/include/asm/
Dkvm_pgtable.h112 * the next page boundary and @phys is rounded-down to the previous page
113 * boundary.
154 * the next page boundary and @phys is rounded-down to the previous page
155 * boundary.
177 * the next page boundary.
197 * the next page boundary.
279 * the next page boundary.
293 * the next page boundary.
Dstage2_pgtable.h48 phys_addr_t boundary = (addr + stage2_pgdir_size(kvm)) & stage2_pgdir_mask(kvm); in stage2_pgd_addr_end() local
50 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pgd_addr_end()
/Linux-v5.10/Documentation/filesystems/ext4/
Dverity.rst14 - Zero-padding to the next 65536-byte boundary. This padding need not
23 - Zero-padding to the next filesystem block boundary.
30 block boundary.
/Linux-v5.10/arch/arc/include/asm/
Djump_label.h16 * that this instruction doesn't cross L1 cache line boundary.
22 * It's enough that our 32-bit instruction don't cross L1 cache line boundary /
23 * L1 I$ fetch block boundary which can be achieved by using
/Linux-v5.10/arch/arm64/lib/
Dmemcmp.S59 * The input source addresses are at alignment boundary.
94 * alignment boundary. Round down the addresses and then mask off
160 add src1, src1, tmp3 /*backwards src1 to alignment boundary*/
173 /*How far is the current SRC2 from the alignment boundary...*/
181 * to an alignment boundary,load eight bytes and compare from
182 * the SRC2 alignment boundary. If all 8 bytes are equal,then start
/Linux-v5.10/drivers/mtd/nand/onenand/
Donenand_base.c39 /* Default Flex-OneNAND boundary and lock respectively */
43 MODULE_PARM_DESC(flex_bdry, "SLC Boundary information for Flex-OneNAND"
45 "DIE_BDRY: SLC boundary of the die"
46 "LOCK: Locking information for SLC boundary"
47 " : 0->Set boundary in unlocked status"
48 " : 1->Set boundary in locked status");
303 unsigned boundary, blk, die = 0; in flexonenand_block() local
310 boundary = this->boundary[die]; in flexonenand_block()
313 if (blk > boundary) in flexonenand_block()
314 blk = (blk + boundary + 1) >> 1; in flexonenand_block()
[all …]
/Linux-v5.10/drivers/video/fbdev/kyro/
DSTG4000OverlayDevice.c161 /* Round up to next 16byte boundary */ in CreateOverlaySurface()
169 /* Round up to next 16byte boundary */ in CreateOverlaySurface()
197 /* Round up to next 32byte boundary */ in CreateOverlaySurface()
202 /* Align U,V data to 32byte boundary */ in CreateOverlaySurface()
212 /* Align U,V data to 32byte boundary */ in CreateOverlaySurface()
425 * lowest to the next lowest 128 bit boundary, and the right hand edge in SetOverlayViewPort()
426 * to the next largets boundary, (in a similar way to how we didi it in in SetOverlayViewPort()
495 * pixel` boundary, must be on a 256 boundary so u, and in SetOverlayViewPort()
504 * 8pixel` boundary in SetOverlayViewPort()
/Linux-v5.10/arch/mips/include/asm/
Dmaar.h31 * aligned to a 2^16 byte boundary.
33 * aligned to one byte before a 2^16 byte boundary.
89 * aligned to a 2^16 byte boundary.
91 * aligned to one byte before a 2^16 byte boundary.
/Linux-v5.10/drivers/acpi/acpica/
Dutprint.c40 * PARAMETERS: string - String with boundary
41 * count - Boundary of the string
45 * DESCRIPTION: Calculate the length of a string with boundary.
67 * PARAMETERS: string - String with boundary
68 * end - Boundary of the string
73 * DESCRIPTION: Output a character into a string with boundary check.
187 * PARAMETERS: string - String buffer with boundary
188 * end - Boundary of the string
307 * PARAMETERS: string - String with boundary
308 * size - Boundary of the string
[all …]
/Linux-v5.10/drivers/mtd/tests/
Dpagetest.c31 static unsigned char *boundary; variable
84 /* Check boundary between eraseblocks */ in verify_eraseblock()
99 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); in verify_eraseblock()
100 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); in verify_eraseblock()
101 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock()
368 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()
369 if (!boundary) in mtd_pagetest_init()
442 kfree(boundary); in mtd_pagetest_init()

12345678910>>...52