Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-6.1.9/include/media/
Dv4l2-rect.h59 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()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
/linux-6.1.9/drivers/gpio/
Dgpio-104-idi-48.c110 const unsigned long boundary = offset / 8; in idi_48_irq_mask() local
116 idi48gpio->irq_mask[boundary] &= ~mask; in idi_48_irq_mask()
120 if (idi48gpio->irq_mask[boundary]) in idi_48_irq_mask()
123 idi48gpio->cos_enb &= ~BIT(boundary); in idi_48_irq_mask()
136 const unsigned long boundary = offset / 8; in idi_48_irq_unmask() local
143 prev_irq_mask = idi48gpio->irq_mask[boundary]; in idi_48_irq_unmask()
146 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
152 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
184 unsigned long boundary; in idi_48_irq_handler() local
203 for_each_set_bit(boundary, &cos_status, 6) { in idi_48_irq_handler()
[all …]
/linux-6.1.9/mm/
Ddmapool.c49 size_t boundary; member
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()
212 next_boundary += pool->boundary; in pool_initialise_page()
/linux-6.1.9/sound/core/
Dpcm_compat.c80 u32 boundary; member
90 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
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()
271 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
420 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
437 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
438 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dpcm_lib.c51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
57 n += runtime->boundary; in snd_pcm_playback_silence()
80 runtime->boundary; in snd_pcm_playback_silence()
85 frames += runtime->boundary; in snd_pcm_playback_silence()
324 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
337 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
346 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
362 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
407 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
408 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
[all …]
/linux-6.1.9/arch/powerpc/mm/nohash/
D8xx.c143 unsigned long boundary = strict_boundary ? sinittext : etext8; in mmu_mapin_ram() local
150 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
152 top = boundary; in mmu_mapin_ram()
154 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
170 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; in mmu_mark_initmem_nx() local
174 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
De500.c169 unsigned long boundary; in map_mem_in_cams_addr() local
172 boundary = (unsigned long)(_sinittext - _stext); in map_mem_in_cams_addr()
174 boundary = ram; in map_mem_in_cams_addr()
177 for (i = 0; boundary && i < max_cam_idx; i++) { in map_mem_in_cams_addr()
181 cam_sz = calc_cam_sz(boundary, virt, phys); in map_mem_in_cams_addr()
185 boundary -= cam_sz; in map_mem_in_cams_addr()
/linux-6.1.9/drivers/mtd/tests/
Dpagetest.c31 static unsigned char *boundary; variable
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()
/linux-6.1.9/include/sound/
Dpcm-indirect.h44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer()
45 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer()
112 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
113 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
/linux-6.1.9/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-6.1.9/drivers/mtd/nand/onenand/
Donenand_base.c303 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()
337 int die = 0, boundary; in flexonenand_addr() local
345 boundary = this->boundary[die]; in flexonenand_addr()
347 if (block > (boundary + 1)) in flexonenand_addr()
348 ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1); in flexonenand_addr()
1226 int ret = 0, boundary = 0; in onenand_read_ops_nolock() local
1277 boundary = 1; in onenand_read_ops_nolock()
[all …]
/linux-6.1.9/drivers/acpi/acpica/
Dacmacros.h201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ argument
202 (~(((acpi_size) boundary)-1)))
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ argument
205 (((acpi_size) boundary)-1)) & \
206 (~(((acpi_size) boundary)-1)))
225 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary)) argument
/linux-6.1.9/sound/isa/gus/
Dgus_mem.c133 unsigned int idx, boundary; in snd_gf1_mem_find() local
148 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
150 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
152 ptr2 = boundary; in snd_gf1_mem_find()
156 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/linux-6.1.9/arch/arm/mach-omap1/
Dsram-init.c26 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
/linux-6.1.9/fs/
Dmpage.c464 int boundary = 0; in __mpage_writepage() local
502 boundary = buffer_boundary(bh); in __mpage_writepage()
503 if (boundary) { in __mpage_writepage()
546 boundary = buffer_boundary(&map_bh); in __mpage_writepage()
611 if (boundary || (first_unmapped != blocks_per_page)) { in __mpage_writepage()
Ddirect-io.c87 int boundary; /* prev block is at a boundary */ member
440 sdio->boundary = 0; in dio_bio_submit()
693 sdio->boundary = 0; in dio_new_bio()
808 int boundary = sdio->boundary; /* dio_send_cur_page may clear it */ in submit_page_section() local
850 if (boundary) { in submit_page_section()
1046 sdio->boundary = buffer_boundary(map_bh); in do_direct_IO()
/linux-6.1.9/net/ipv4/
Dtcp_timer.c183 unsigned int boundary, in tcp_model_timeout() argument
189 if (boundary <= linear_backoff_thresh) in tcp_model_timeout()
190 timeout = ((2 << boundary) - 1) * rto_base; in tcp_model_timeout()
193 (boundary - linear_backoff_thresh) * TCP_RTO_MAX; in tcp_model_timeout()
210 unsigned int boundary, in retransmits_timed_out() argument
224 timeout = tcp_model_timeout(sk, boundary, rto_base); in retransmits_timed_out()
/linux-6.1.9/arch/s390/mm/
Dpageattr.c24 unsigned long boundary, size; in __storage_key_init_range() local
30 boundary = (start + size) & ~(size - 1); in __storage_key_init_range()
31 if (boundary <= end) { in __storage_key_init_range()
34 } while (start < boundary); in __storage_key_init_range()
/linux-6.1.9/arch/arm/mach-omap2/
Dsram.c48 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
/linux-6.1.9/arch/x86/
DMakefile36 ifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
37 cc_stack_align4 := -mpreferred-stack-boundary=2
38 cc_stack_align8 := -mpreferred-stack-boundary=3
/linux-6.1.9/Documentation/filesystems/
Dromfs.rst72 : : padded to 16 byte boundary.
91 must begin on a 16 byte boundary::
105 : : padded to 16 byte boundary
110 Since the file headers begin always at a 16 byte boundary, the lowest
149 padded to an 1024 byte boundary.
178 boundary, it is currently possibly suboptimal to read or execute files
/linux-6.1.9/fs/ext2/
Dinode.c164 long i_block, int offsets[4], int *boundary) in ext2_block_to_path() argument
199 if (boundary) in ext2_block_to_path()
200 *boundary = final - 1 - (i_block & (ptrs - 1)); in ext2_block_to_path()
622 u32 *bno, bool *new, bool *boundary, in ext2_get_blocks() argument
765 *boundary = true; in ext2_get_blocks()
783 bool new = false, boundary = false; in ext2_get_block() local
787 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, in ext2_get_block()
796 if (boundary) in ext2_get_block()
809 bool new = false, boundary = false; in ext2_iomap_begin() local
814 &bno, &new, &boundary, flags & IOMAP_WRITE); in ext2_iomap_begin()
/linux-6.1.9/arch/arm/boot/dts/
Dimx6dl-nit6xlite.dts12 compatible = "boundary,imx6dl-nit6xlite", "fsl,imx6dl";
Dimx6q-nitrogen6_max.dts12 compatible = "boundary,imx6q-nitrogen6_max", "fsl,imx6q";
Dimx6q-nitrogen6_som2.dts12 compatible = "boundary,imx6q-nitrogen6_som2", "fsl,imx6q";

123456789