Home
last modified time | relevance | path

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

12345

/linux-2.6.39/sound/core/
Dpcm_compat.c103 u32 boundary; member
110 snd_pcm_uframes_t boundary; in recalculate_boundary() local
114 boundary = runtime->buffer_size; in recalculate_boundary()
115 while (boundary * 2 <= 0x7fffffffUL - runtime->buffer_size) in recalculate_boundary()
116 boundary *= 2; in recalculate_boundary()
117 return boundary; in recalculate_boundary()
124 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
142 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
143 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
144 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
[all …]
Dpcm_lib.c47 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
52 n += runtime->boundary; in snd_pcm_playback_silence()
75 runtime->boundary; in snd_pcm_playback_silence()
80 frames += runtime->boundary; in snd_pcm_playback_silence()
341 if (hw_base >= runtime->boundary) in snd_pcm_update_hw_ptr0()
352 if (hw_base >= runtime->boundary) in snd_pcm_update_hw_ptr0()
359 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
391 if (hw_base >= runtime->boundary) in snd_pcm_update_hw_ptr0()
437 if (new_hw_ptr >= runtime->boundary) in snd_pcm_update_hw_ptr0()
438 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
[all …]
/linux-2.6.39/mm/
Ddmapool.c50 size_t boundary; member
133 size_t size, size_t align, size_t boundary) in dma_pool_create() argument
155 if (!boundary) { in dma_pool_create()
156 boundary = allocation; in dma_pool_create()
157 } else if ((boundary < size) || (boundary & (boundary - 1))) { in dma_pool_create()
172 retval->boundary = boundary; in dma_pool_create()
202 unsigned int next_boundary = pool->boundary; in pool_initialise_page()
208 next_boundary += pool->boundary; in pool_initialise_page()
Dpagewalk.c104 unsigned long boundary = (addr & huge_page_mask(h)) + huge_page_size(h); in hugetlb_entry_end() local
105 return boundary < end ? boundary : end; in hugetlb_entry_end()
/linux-2.6.39/include/sound/
Dpcm-indirect.h57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer()
58 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer()
122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
123 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
Dpcm.h311 snd_pcm_uframes_t boundary; /* pointers wrap point */ member
609 avail += runtime->boundary; in snd_pcm_playback_avail()
610 else if ((snd_pcm_uframes_t) avail >= runtime->boundary) in snd_pcm_playback_avail()
611 avail -= runtime->boundary; in snd_pcm_playback_avail()
622 avail += runtime->boundary; in snd_pcm_capture_avail()
677 if (runtime->stop_threshold >= runtime->boundary) in snd_pcm_playback_data()
/linux-2.6.39/drivers/acpi/acpica/
Dacmacros.h241 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ argument
242 (~(((acpi_size) boundary)-1)))
244 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ argument
245 (((acpi_size) boundary)-1)) & \
246 (~(((acpi_size) boundary)-1)))
265 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary)) argument
/linux-2.6.39/drivers/mtd/onenand/
Donenand_base.c247 unsigned boundary, blk, die = 0; in flexonenand_block() local
254 boundary = this->boundary[die]; in flexonenand_block()
257 if (blk > boundary) in flexonenand_block()
258 blk = (blk + boundary + 1) >> 1; in flexonenand_block()
281 int die = 0, boundary; in flexonenand_addr() local
289 boundary = this->boundary[die]; in flexonenand_addr()
291 if (block > (boundary + 1)) in flexonenand_addr()
292 ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1); in flexonenand_addr()
1197 int ret = 0, boundary = 0; in onenand_read_ops_nolock() local
1252 boundary = 1; in onenand_read_ops_nolock()
[all …]
Donenand_sim.c60 static int boundary[] = { variable
298 writew(boundary[die], this->base + ONENAND_DATARAM); in onenand_data_handle()
314 boundary[die] = readw(this->base + ONENAND_DATARAM); in onenand_data_handle()
/linux-2.6.39/sound/isa/gus/
Dgus_mem.c141 unsigned int idx, boundary; in snd_gf1_mem_find() local
156 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
158 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
160 ptr2 = boundary; in snd_gf1_mem_find()
164 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/linux-2.6.39/drivers/mtd/tests/
Dmtd_pagetest.c40 static unsigned char *boundary; variable
192 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); in verify_eraseblock()
193 set_random_data(boundary + pgsize, pgsize); in verify_eraseblock()
194 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock()
545 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()
546 if (!boundary) { in mtd_pagetest_init()
613 kfree(boundary); in mtd_pagetest_init()
/linux-2.6.39/fs/
Dmpage.c456 int boundary = 0; in __mpage_writepage() local
494 boundary = buffer_boundary(bh); in __mpage_writepage()
495 if (boundary) { in __mpage_writepage()
539 boundary = buffer_boundary(&map_bh); in __mpage_writepage()
620 if (boundary || (first_unmapped != blocks_per_page)) { in __mpage_writepage()
Ddirect-io.c81 int boundary; /* prev block is at a boundary */ member
379 dio->boundary = 0; in dio_bio_submit()
592 dio->boundary = 0; in dio_new_bio()
666 else if (dio->boundary) in dio_send_cur_page()
731 if (dio->boundary) { in submit_page_section()
957 dio->boundary = buffer_boundary(map_bh); in do_direct_IO()
/linux-2.6.39/drivers/staging/tidspbridge/
DKconfig54 If a DMM buffer does not start and end on a 128-Byte boundary, the data
55 preceding the start address (SA) from the 128-Byte boundary to the SA
57 the next 128-Byte boundary will be loaded and written back as well.
/linux-2.6.39/sound/drivers/
Dpcm-indirect2.c264 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_playback_transfer()
265 diff += runtime->boundary; in snd_pcm_indirect2_playback_transfer()
426 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_capture_transfer()
427 diff += runtime->boundary; in snd_pcm_indirect2_capture_transfer()
/linux-2.6.39/net/ipv4/
Dtcp_timer.c142 unsigned int boundary, in retransmits_timed_out() argument
160 if (boundary <= linear_backoff_thresh) in retransmits_timed_out()
161 timeout = ((2 << boundary) - 1) * rto_base; in retransmits_timed_out()
164 (boundary - linear_backoff_thresh) * TCP_RTO_MAX; in retransmits_timed_out()
/linux-2.6.39/Documentation/filesystems/
Dromfs.txt68 : : padded to 16 byte boundary.
87 must begin on a 16 byte boundary.
101 : : padded to 16 byte boundary
106 Since the file headers begin always at a 16 byte boundary, the lowest
142 padded to an 1024 byte boundary.
171 boundary, it is currently possibly suboptimal to read or execute files
/linux-2.6.39/Documentation/networking/
Dradiotap-headers.txt52 - the arguments must be aligned to a boundary of the argument size using
53 padding. So a u16 argument must start on the next u16 boundary if it isn't
54 already on one, a u32 must start on the next u32 boundary and so on.
/linux-2.6.39/drivers/staging/brcm80211/util/
Dbcmotp.c103 int boundary; /* hw/sw boundary */ member
663 oi->boundary = -1; in hndotp_init()
668 oi->boundary = hndotp_otproff(oi, cc, OTP_BOUNDARY_OFF); in hndotp_init()
714 ((int)*wlen < oi->boundary / 2) ? *wlen : (uint) oi->boundary / 2; in hndotp_read_region()
/linux-2.6.39/arch/arm/plat-omap/
Dsram.c73 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
/linux-2.6.39/arch/x86/kernel/acpi/realmode/
DMakefile42 $(call cc-option, -mpreferred-stack-boundary=2)
/linux-2.6.39/block/
Delevator.c420 sector_t boundary; in elv_dispatch_sort() local
433 boundary = q->end_sector; in elv_dispatch_sort()
445 if (blk_rq_pos(rq) >= boundary) { in elv_dispatch_sort()
446 if (blk_rq_pos(pos) < boundary) in elv_dispatch_sort()
449 if (blk_rq_pos(pos) >= boundary) in elv_dispatch_sort()
/linux-2.6.39/arch/um/
DMakefile-i38629 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
/linux-2.6.39/Documentation/fb/
Dpxafb.txt94 b. line length of overlay(s) must be on a 32-bit word boundary,
101 word boundary, otherwise the fb_check_var() will just fail.
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c208 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in rtl92c_init_llt_table() argument
213 for (i = 0; i < (boundary - 1); i++) { in rtl92c_init_llt_table()
221 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); in rtl92c_init_llt_table()
231 for (i = boundary; i < LLT_LAST_ENTRY_OF_TX_PKT_BUFFER; i++) { in rtl92c_init_llt_table()
239 rst = rtl92c_llt_write(hw, LLT_LAST_ENTRY_OF_TX_PKT_BUFFER, boundary); in rtl92c_init_llt_table()

12345