| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | tsnmap.c | 71 u32 gap; in sctp_tsnmap_check() local 84 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 87 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check() 98 u16 gap; in sctp_tsnmap_mark() local 103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark() 108 if (!sctp_tsnmap_has_gap(map) && gap == 0) { in sctp_tsnmap_mark() 129 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark() 192 u32 gap; in sctp_tsnmap_skip() local 203 gap = tsn - map->base_tsn + 1; in sctp_tsnmap_skip() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | mmap.c | 85 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 90 if (gap + pad > gap) in mmap_base() 91 gap += pad; in mmap_base() 100 if (gap < gap_min) in mmap_base() 101 gap = gap_min; in mmap_base() 102 else if (gap > gap_max) in mmap_base() 103 gap = gap_max; in mmap_base() 105 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
|
| /OK3568_Linux_fs/kernel/arch/s390/mm/ |
| H A D | mmap.c | 51 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 56 if (gap + pad > gap) in mmap_base() 57 gap += pad; in mmap_base() 66 if (gap < gap_min) in mmap_base() 67 gap = gap_min; in mmap_base() 68 else if (gap > gap_max) in mmap_base() 69 gap = gap_max; in mmap_base() 71 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/ |
| H A D | mmap.c | 68 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 72 if (gap + pad > gap) in mmap_base() 73 gap += pad; in mmap_base() 75 if (gap < MIN_GAP) in mmap_base() 76 gap = MIN_GAP; in mmap_base() 77 else if (gap > MAX_GAP) in mmap_base() 78 gap = MAX_GAP; in mmap_base() 80 return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/ |
| H A D | bttv-input.c | 187 u32 gap, rc5, scancode; in bttv_rc5_timer_end() local 193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end() 195 if (gap > USEC_PER_SEC) { in bttv_rc5_timer_end() 196 gap = 200000; in bttv_rc5_timer_end() 202 if (gap < 28000) { in bttv_rc5_timer_end() 240 u32 gap; in bttv_rc5_irq() local 250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq() 252 if (gap > USEC_PER_SEC) { in bttv_rc5_irq() 253 gap = 200000; in bttv_rc5_irq() 257 gap, (gpio & 0x20) ? "mark" : "space"); in bttv_rc5_irq() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | marvell-bt-8xxx.txt | 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 39 wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host 64 marvell,wakeup-gap-ms = /bits/ 16 <0x64>; 81 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/ |
| H A D | lircd.conf | 18 gap 113123 86 gap 100000 153 gap 67800 235 gap 81698
|
| /OK3568_Linux_fs/kernel/drivers/hv/ |
| H A D | hv_balloon.c | 576 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 583 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed() 584 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed() 785 struct hv_hotadd_gap *gap; in pfn_covered() local 804 gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); in pfn_covered() 805 if (!gap) { in pfn_covered() 810 INIT_LIST_HEAD(&gap->list); in pfn_covered() 811 gap->start_pfn = has->covered_end_pfn; in pfn_covered() 812 gap->end_pfn = start_pfn; in pfn_covered() 813 list_add_tail(&gap->list, &has->gap_list); in pfn_covered() [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | util.c | 414 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 422 if (gap + pad > gap) in mmap_base() 423 gap += pad; in mmap_base() 425 if (gap < MIN_GAP) in mmap_base() 426 gap = MIN_GAP; in mmap_base() 427 else if (gap > MAX_GAP) in mmap_base() 428 gap = MAX_GAP; in mmap_base() 430 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 283 unsigned long gap; in arch_pick_mmap_layout() local 289 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout() 292 gap == RLIM_INFINITY || in arch_pick_mmap_layout() 300 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout() 301 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout() 302 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout() 303 gap = (task_size / 6 * 5); in arch_pick_mmap_layout() 305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0011-mpegtsdemux-Create-new-PCR-group-for-big-gap.patch | 4 Subject: [PATCH 11/41] mpegtsdemux: Create new PCR group for big gap 6 Currently it would try to reuse the current group and handle the gap by 34 + * it will try to handle the gap by just adding 500ms to pcroffset.
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0011-mpegtsdemux-Create-new-PCR-group-for-big-gap.patch | 4 Subject: [PATCH 11/41] mpegtsdemux: Create new PCR group for big gap 6 Currently it would try to reuse the current group and handle the gap by 34 + * it will try to handle the gap by just adding 500ms to pcroffset.
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0011-mpegtsdemux-Create-new-PCR-group-for-big-gap.patch | 4 Subject: [PATCH 11/33] mpegtsdemux: Create new PCR group for big gap 6 Currently it would try to reuse the current group and handle the gap by 34 + * it will try to handle the gap by just adding 500ms to pcroffset.
|
| /OK3568_Linux_fs/kernel/drivers/clk/mmp/ |
| H A D | clk-mix.c | 211 unsigned long gap, gap_best; in mmp_clk_mix_determine_rate() local 231 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 232 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 236 gap_best = gap; in mmp_clk_mix_determine_rate() 249 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 250 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 254 gap_best = gap; in mmp_clk_mix_determine_rate()
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | stat.c | 82 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument 86 while (gap > 0) { in show_irq_gap() 89 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); in show_irq_gap() 91 gap -= inc; in show_irq_gap()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | orphan.c | 194 int avail_lebs, avail, gap; in avail_orphs() local 199 gap = c->leb_size - c->ohead_offs; in avail_orphs() 200 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs() 201 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs() 267 int gap, err, len, cnt, i; in write_orph_node() local 270 gap = c->leb_size - c->ohead_offs; in write_orph_node() 271 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node() 274 gap = c->leb_size; in write_orph_node() 284 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
|
| /OK3568_Linux_fs/kernel/arch/mips/boot/ |
| H A D | elf2ecoff.c | 569 uint32_t gap = ph[i].p_vaddr - cur_vma; in main() local 571 if (gap > 65536) { in main() 574 gap); in main() 579 gap); in main() 581 while (gap) { in main() 584 (gap > in main() 586 obuf : gap)); in main() 593 gap -= count; in main()
|
| /OK3568_Linux_fs/kernel/mm/damon/ |
| H A D | vaddr-test.h | 20 unsigned long largest_gap, gap; in __link_vmas() local 35 gap = vmas[j].vm_start - vmas[j - 1].vm_end; in __link_vmas() 36 if (gap > largest_gap) in __link_vmas() 37 largest_gap = gap; in __link_vmas()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | orphan.c | 274 int avail_lebs, avail, gap; in avail_orphs() local 279 gap = c->leb_size - c->ohead_offs; in avail_orphs() 280 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs() 281 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs() 347 int gap, err, len, cnt, i; in write_orph_node() local 350 gap = c->leb_size - c->ohead_offs; in write_orph_node() 351 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node() 354 gap = c->leb_size; in write_orph_node() 364 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_putbit.c | 88 MPP_RET vp8e_buffer_gap(Vp8ePutBitBuf *bitbuf, RK_S32 gap) in vp8e_buffer_gap() argument 90 if ((bitbuf->data - bitbuf->p_data) + gap > bitbuf->size) { in vp8e_buffer_gap()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Mode.c | 125 int i, j, k, gap; in xf86GetNearestClock() local 138 gap = abs((freq * j) - ((scrp->clock[i] * DivFactor) / MulFactor)); in xf86GetNearestClock() 139 if ((gap < minimumGap) || ((gap == minimumGap) && (j < nearestDiv))) { in xf86GetNearestClock() 140 minimumGap = gap; in xf86GetNearestClock() 460 int i, k, gap, minimumGap = CLOCK_TOLERANCE + 1; in xf86LookupMode() local 582 gap = abs((p->Clock * 2) - in xf86LookupMode() 586 gap = abs(p->Clock - in xf86LookupMode() 589 if (gap > minimumGap) { in xf86LookupMode() 613 if (gap < minimumGap) { in xf86LookupMode() 620 minimumGap = gap; in xf86LookupMode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/devices/ |
| H A D | lart.c | 437 int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); in flash_read() local 439 while (len && gap--) { in flash_read() 519 int gap = to - aligned; in flash_write() local 523 while (gap--) tmp[i++] = 0xFF; in flash_write()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | ps3fb.c | 339 long gap; in ps3fb_find_mode() local 396 gap = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_find_mode() 400 if (gap > 0) { in ps3fb_find_mode() 401 var->left_margin += gap/2; in ps3fb_find_mode() 402 var->right_margin += (gap+1)/2; in ps3fb_find_mode() 407 gap = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_find_mode() 411 if (gap > 0) { in ps3fb_find_mode() 412 var->upper_margin += gap/2; in ps3fb_find_mode() 413 var->lower_margin += (gap+1)/2; in ps3fb_find_mode()
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | link.c | 253 u16 acked, u16 gap, 398 u16 gap = 0; in link_bc_rcv_gap() local 401 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap() 403 gap = buf_seqno(skb) - l->rcv_nxt; in link_bc_rcv_gap() 404 return gap; in link_bc_rcv_gap() 1449 gacks[n].gap = htons(seqno - expect); in __tipc_build_gap_ack_blks() 1465 gacks[n].gap = 0; in __tipc_build_gap_ack_blks() 1521 u16 acked, u16 gap, in tipc_link_advance_transmq() argument 1531 u16 nacked = acked, ngap = gap, gack_cnt = 0; in tipc_link_advance_transmq() 1540 trace_tipc_link_retrans(r, acked + 1, acked + gap, &l->transmq); in tipc_link_advance_transmq() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | iova.c | 271 unsigned long gap, candidate_gap = ~0UL; in __alloc_and_insert_iova_best_fit() local 286 gap = curr_iova->pfn_lo - prev_iova->pfn_hi - 1; in __alloc_and_insert_iova_best_fit() 288 && (gap < candidate_gap)) { in __alloc_and_insert_iova_best_fit() 289 candidate_gap = gap; in __alloc_and_insert_iova_best_fit() 292 if (gap == size) in __alloc_and_insert_iova_best_fit() 300 gap = curr_iova->pfn_lo - iovad->start_pfn; in __alloc_and_insert_iova_best_fit() 302 gap < candidate_gap) { in __alloc_and_insert_iova_best_fit() 303 candidate_gap = gap; in __alloc_and_insert_iova_best_fit()
|