Home
last modified time | relevance | path

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

12345678910>>...114

/kernel/linux/linux-6.6/include/linux/pds/
Dpds_adminq.h147 * @rsvd: word boundary padding
163 * @rsvd: Word boundary padding
166 * @rsvd1: Word boundary padding
181 * @rsvd: word boundary padding
196 * @rsvd: word boundary padding
249 * @rsvd: Word boundary padding
251 * @rsvd2: Word boundary padding
293 * @rsvd: Word boundary padding
314 * @rsvd: Word boundary padding
334 * @rsvd: Word boundary padding
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/mm/
Ddmapool_test.c19 size_t boundary; member
23 { .size = 16, .align = 16, .boundary = 0 },
24 { .size = 64, .align = 64, .boundary = 0 },
25 { .size = 256, .align = 256, .boundary = 0 },
26 { .size = 1024, .align = 1024, .boundary = 0 },
27 { .size = 4096, .align = 4096, .boundary = 0 },
28 { .size = 68, .align = 32, .boundary = 4096 },
74 parms->align, parms->boundary); in dmapool_test_block()
Ddmapool.c58 unsigned int boundary; member
207 * @boundary: returned blocks won't cross this power of two boundary
216 * If @boundary is nonzero, objects returned from dma_pool_alloc() won't
217 * cross that size boundary. This is useful for devices which have
225 size_t size, size_t align, size_t boundary) in dma_pool_create() argument
247 if (!boundary) in dma_pool_create()
248 boundary = allocation; in dma_pool_create()
249 else if ((boundary < size) || (boundary & (boundary - 1))) in dma_pool_create()
252 boundary = min(boundary, allocation); in dma_pool_create()
265 retval->boundary = boundary; in dma_pool_create()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/lms/
DIt_los_lms_002.c37 UINT32 boundary; in TestCase() local
41 for (i = 2; i < 8; i++) { /* boundary loop from 2 to 8 */ in TestCase()
42 boundary = 1 << i; in TestCase()
43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
45 PRINTK("str = 0x%x, boundary = %d\n", str, boundary); in TestCase()
DIt_los_lms_003.c37 UINT32 boundary; in TestCase() local
41 for (i = 2; i < 8; i++) { /* boundary loop from 2 to 8 */ in TestCase()
42 boundary = 1 << i; in TestCase()
43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
45 PRINTK("str = 0x%x, boundary = %d\n", str, boundary); in TestCase()
DIt_los_lms_004.c43 UINT32 boundary; in TestCase() local
47 for (i = 2; i < 8; i++, index++) { /* boundary loop from 2 to 8 */ in TestCase()
48 boundary = 1 << i; in TestCase()
49 PRINT_DEBUG("size = %d, boundary = %d\n", size[k], boundary); in TestCase()
50 str[index] = (char *)LOS_MemAllocAlign(m_aucSysMem0, size[k], boundary); in TestCase()
/kernel/linux/linux-6.6/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()
275 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
424 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
[all …]
/kernel/linux/linux-5.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()
274 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
422 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
[all …]
/kernel/liteos_a/kernel/base/misc/
Dlos_misc.c35 LITE_OS_SEC_TEXT UINTPTR LOS_Align(UINTPTR addr, UINT32 boundary) in LOS_Align() argument
37 if ((addr + boundary - 1) > addr) { in LOS_Align()
38 return (addr + boundary - 1) & ~((UINTPTR)(boundary - 1)); in LOS_Align()
40 return addr & ~((UINTPTR)(boundary - 1)); in LOS_Align()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.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()
/kernel/liteos_m/utils/
Dlos_compiler.h381 * with boundary bytes being the smallest unit of alignment.
384 #define ALIGN(addr, boundary) LOS_Align(addr, boundary) argument
395 * @brief Align the value (addr) by some bytes (boundary) you specify.
398 * This API is used to align the value (addr) by some bytes (boundary) you specify.
402 * <li>the value of boundary usually is 4,8,16,32.</li>
406 * @param boundary [IN] The align size what you want to align.
413 static inline UINT32 LOS_Align(UINT32 addr, UINT32 boundary) in LOS_Align() argument
415 return (addr + (((addr + (boundary - 1)) > addr) ? (boundary - 1) : 0)) & ~(boundary - 1); in LOS_Align()
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
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";
/kernel/linux/linux-5.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";

12345678910>>...114