Home
last modified time | relevance | path

Searched refs:first (Results 1 – 200 of 1788) sorted by relevance

123456789

/linux-4.4.14/drivers/mfd/
Dab8500-debugfs.c118 u8 first; member
171 .first = 0x00,
175 .first = 0x42,
179 .first = 0x80,
188 .first = 0x00,
192 .first = 0x0F,
196 .first = 0x30,
200 .first = 0x32,
209 .first = 0x00,
213 .first = 0x03,
[all …]
/linux-4.4.14/tools/power/cpupower/lib/
Dsysfs.c273 struct cpufreq_available_governors *first = NULL; in sysfs_get_freq_available_governors() local
295 first = malloc(sizeof(*first)); in sysfs_get_freq_available_governors()
296 if (!first) in sysfs_get_freq_available_governors()
298 current = first; in sysfs_get_freq_available_governors()
300 current->first = first; in sysfs_get_freq_available_governors()
313 return first; in sysfs_get_freq_available_governors()
316 while (first) { in sysfs_get_freq_available_governors()
317 current = first->next; in sysfs_get_freq_available_governors()
318 if (first->governor) in sysfs_get_freq_available_governors()
319 free(first->governor); in sysfs_get_freq_available_governors()
[all …]
Dcpufreq.h32 struct cpufreq_available_governors *first; member
38 struct cpufreq_available_frequencies *first; member
45 struct cpufreq_affected_cpus *first; member
52 struct cpufreq_stats *first; member
136 struct cpufreq_available_governors *first);
150 struct cpufreq_available_frequencies *first);
162 extern void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first);
174 extern void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
Dcpufreq.c85 tmp = any->first; in cpufreq_put_available_governors()
109 tmp = any->first; in cpufreq_put_available_frequencies()
130 tmp = any->first; in cpufreq_put_affected_cpus()
197 tmp = any->first; in cpufreq_put_stats()
/linux-4.4.14/arch/mips/jazz/
Djazzdma.c94 int first, last, pages, frame, i; in vdma_alloc() local
116 first = 0; in vdma_alloc()
118 while (pgtbl[first].owner != VDMA_PAGE_EMPTY && in vdma_alloc()
119 first < VDMA_PGTBL_ENTRIES) first++; in vdma_alloc()
120 if (first + pages > VDMA_PGTBL_ENTRIES) { /* nothing free */ in vdma_alloc()
125 last = first + 1; in vdma_alloc()
127 && last - first < pages) in vdma_alloc()
130 if (last - first == pages) in vdma_alloc()
132 first = last + 1; in vdma_alloc()
138 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()
[all …]
/linux-4.4.14/ipc/
Dsyscall.c16 SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() argument
26 return sys_semtimedop(first, (struct sembuf __user *)ptr, in SYSCALL_DEFINE6()
29 return sys_semtimedop(first, (struct sembuf __user *)ptr, in SYSCALL_DEFINE6()
34 return sys_semget(first, second, third); in SYSCALL_DEFINE6()
41 return sys_semctl(first, second, third, arg); in SYSCALL_DEFINE6()
45 return sys_msgsnd(first, (struct msgbuf __user *) ptr, in SYSCALL_DEFINE6()
58 return sys_msgrcv(first, tmp.msgp, second, in SYSCALL_DEFINE6()
62 return sys_msgrcv(first, in SYSCALL_DEFINE6()
67 return sys_msgget((key_t) first, second); in SYSCALL_DEFINE6()
69 return sys_msgctl(first, second, (struct msqid_ds __user *)ptr); in SYSCALL_DEFINE6()
[all …]
Dcompat.c238 static long do_compat_semctl(int first, int second, int third, u32 pad) in do_compat_semctl() argument
267 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
274 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
300 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
329 COMPAT_SYSCALL_DEFINE6(ipc, u32, call, int, first, int, second, in COMPAT_SYSCALL_DEFINE6() argument
341 return sys_semtimedop(first, compat_ptr(ptr), second, NULL); in COMPAT_SYSCALL_DEFINE6()
343 return compat_sys_semtimedop(first, compat_ptr(ptr), second, in COMPAT_SYSCALL_DEFINE6()
346 return sys_semget(first, second, third); in COMPAT_SYSCALL_DEFINE6()
352 return do_compat_semctl(first, second, third, pad); in COMPAT_SYSCALL_DEFINE6()
358 if (first < 0 || second < 0) in COMPAT_SYSCALL_DEFINE6()
[all …]
/linux-4.4.14/include/linux/
Dlist_nulls.h21 struct hlist_nulls_node *first; member
29 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls))
60 return is_a_nulls(h->first); in hlist_nulls_empty()
66 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local
68 n->next = first; in hlist_nulls_add_head()
69 n->pprev = &h->first; in hlist_nulls_add_head()
70 h->first = n; in hlist_nulls_add_head()
71 if (!is_a_nulls(first)) in hlist_nulls_add_head()
72 first->pprev = &n->next; in hlist_nulls_add_head()
100 for (pos = (head)->first; \
Drculist_bl.h14 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu()
16 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu()
23 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu()
101 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local
104 first = hlist_bl_first(h); in hlist_bl_add_head_rcu()
106 n->next = first; in hlist_bl_add_head_rcu()
107 if (first) in hlist_bl_add_head_rcu()
108 first->pprev = &n->next; in hlist_bl_add_head_rcu()
109 n->pprev = &h->first; in hlist_bl_add_head_rcu()
Dlist_bl.h34 struct hlist_bl_node *first; member
41 ((ptr)->first = NULL)
59 ((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_first()
66 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first()
68 h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK); in hlist_bl_set_first()
73 return !((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_empty()
79 struct hlist_bl_node *first = hlist_bl_first(h); in hlist_bl_add_head() local
81 n->next = first; in hlist_bl_add_head()
82 if (first) in hlist_bl_add_head()
83 first->pprev = &n->next; in hlist_bl_add_head()
[all …]
Drculist_nulls.h41 (*((struct hlist_nulls_node __rcu __force **)&(head)->first))
93 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head_rcu() local
95 n->next = first; in hlist_nulls_add_head_rcu()
96 n->pprev = &h->first; in hlist_nulls_add_head_rcu()
98 if (!is_a_nulls(first)) in hlist_nulls_add_head_rcu()
99 first->pprev = &n->next; in hlist_nulls_add_head_rcu()
Dlist.h217 struct list_head *first; in list_rotate_left() local
220 first = head->next; in list_rotate_left()
221 list_move_tail(first, head); in list_rotate_left()
278 struct list_head *first = list->next; in __list_splice() local
281 first->prev = prev; in __list_splice()
282 prev->next = first; in __list_splice()
595 #define HLIST_HEAD_INIT { .first = NULL }
596 #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL }
597 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL)
611 return !h->first; in hlist_empty()
[all …]
Drculist.h202 struct list_head *first = list->next; in list_splice_init_rcu() local
235 rcu_assign_pointer(list_next_rcu(head), first); in list_splice_init_rcu()
236 first->prev = head; in list_splice_init_rcu()
369 #define hlist_first_rcu(head) (*((struct hlist_node __rcu **)(&(head)->first)))
395 struct hlist_node *first = h->first; in hlist_add_head_rcu() local
397 n->next = first; in hlist_add_head_rcu()
398 n->pprev = &h->first; in hlist_add_head_rcu()
400 if (first) in hlist_add_head_rcu()
401 first->pprev = &n->next; in hlist_add_head_rcu()
Dllist.h62 struct llist_node *first; member
78 list->first = NULL; in init_llist_head()
160 return ACCESS_ONCE(head->first) == NULL; in llist_empty()
193 return xchg(&head->first, NULL); in llist_del_all()
Dinit_task.h77 { .first = NULL }, \
78 { .first = NULL }, \
79 { .first = NULL }, \
/linux-4.4.14/lib/
Dllist.c41 struct llist_node *first; in llist_add_batch() local
44 new_last->next = first = ACCESS_ONCE(head->first); in llist_add_batch()
45 } while (cmpxchg(&head->first, first, new_first) != first); in llist_add_batch()
47 return !first; in llist_add_batch()
69 entry = smp_load_acquire(&head->first); in llist_del_first()
75 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first()
Dextable.c72 search_extable(const struct exception_table_entry *first, in search_extable() argument
76 while (first <= last) { in search_extable()
79 mid = ((last - first) >> 1) + first; in search_extable()
85 first = mid + 1; in search_extable()
Dplist.c76 struct plist_node *first, *iter, *prev = NULL; in plist_add() local
86 first = iter = plist_first(head); in plist_add()
97 } while (iter != first); in plist_add()
185 struct plist_node *first, *prio_pos, *node_pos; in plist_test_check() local
192 prio_pos = first = plist_first(&test_head); in plist_test_check()
196 if (node_pos == first) in plist_test_check()
209 BUG_ON(prio_pos->prio_list.next != &first->prio_list); in plist_test_check()
/linux-4.4.14/drivers/video/fbdev/core/
Dsysfillrect.c28 unsigned long first, last; in bitfill_aligned() local
33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned()
39 first &= last; in bitfill_aligned()
40 *dst = comp(pat, *dst, first); in bitfill_aligned()
45 if (first!= ~0UL) { in bitfill_aligned()
46 *dst = comp(pat, *dst, first); in bitfill_aligned()
84 unsigned long first, last; in bitfill_unaligned() local
89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
95 first &= last; in bitfill_unaligned()
96 *dst = comp(pat, *dst, first); in bitfill_unaligned()
[all …]
Dsyscopyarea.c31 unsigned long first, last; in bitcpy() local
35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy()
43 first &= last; in bitcpy()
44 *dst = comp(*src, *dst, first); in bitcpy()
48 if (first != ~0UL) { in bitcpy()
49 *dst = comp(*src, *dst, first); in bitcpy()
86 first &= last; in bitcpy()
89 *dst = comp(*src << left, *dst, first); in bitcpy()
92 *dst = comp(*src >> right, *dst, first); in bitcpy()
98 first); in bitcpy()
[all …]
Dcfbfillrect.c38 unsigned long first, last; in bitfill_aligned() local
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned()
49 first &= last; in bitfill_aligned()
50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
55 if (first!= ~0UL) { in bitfill_aligned()
56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
95 unsigned long first, last; in bitfill_unaligned() local
100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
106 first &= last; in bitfill_unaligned()
107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_unaligned()
[all …]
Dcfbcopyarea.c50 unsigned long first, last; in bitcpy() local
63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitcpy()
72 first &= last; in bitcpy()
73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
78 if (first != ~0UL) { in bitcpy()
79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
116 first &= last; in bitcpy()
132 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy()
157 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy()
216 unsigned long first, last; in bitcpy_rev() local
[all …]
/linux-4.4.14/arch/arm64/crypto/
Daes-glue.c58 int rounds, int blocks, int first);
60 int rounds, int blocks, int first);
63 int rounds, int blocks, u8 iv[], int first);
65 int rounds, int blocks, u8 iv[], int first);
68 int rounds, int blocks, u8 ctr[], int first);
72 int first);
75 int first);
103 int err, first, rounds = 6 + ctx->key_length / 4; in ecb_encrypt() local
112 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in ecb_encrypt()
114 (u8 *)ctx->key_enc, rounds, blocks, first); in ecb_encrypt()
[all …]
/linux-4.4.14/arch/alpha/lib/
Dcsum_partial_copy.c148 unsigned long first; in csum_partial_cfu_dest_aligned() local
153 err |= __get_user_u(first,src); in csum_partial_cfu_dest_aligned()
159 extql(first, soff, word); in csum_partial_cfu_dest_aligned()
162 extqh(second, soff, first); in csum_partial_cfu_dest_aligned()
164 word |= first; in csum_partial_cfu_dest_aligned()
165 first = second; in csum_partial_cfu_dest_aligned()
178 extql(first, soff, word); in csum_partial_cfu_dest_aligned()
179 extqh(second, soff, first); in csum_partial_cfu_dest_aligned()
180 word |= first; in csum_partial_cfu_dest_aligned()
262 unsigned long first; in csum_partial_cfu_unaligned() local
[all …]
Dstxncpy.S58 mskql t0, a1, t0 # e0 : assemble the first output word
134 ldq_u t1, 0(a1) # e0 : load first src word
161 or t1, t4, t1 # e1 : first aligned src word complete
163 or t0, t1, t0 # e0 : first output word complete
172 stq_u t0, 0(a0) # e0 : store first output word
230 or t0, t1, t0 # e0 : first (partial) source word complete
232 cmpbge zero, t0, t8 # e0 : is the null in this first bit?
292 ldq_u t1, 0(a1) # e0 : load first source word
Dstxcpy.S50 mskql t0, a1, t0 # e0 : assemble the first output word
108 ldq_u t1, 0(a1) # e0 : load first src word
154 stq_u t1, 0(a0) # e0 : store first output word
199 or t0, t1, t1 # e1 : first (partial) source word complete
201 cmpbge zero, t1, t8 # e0 : is the null in this first bit?
235 ldq_u t1, 0(a1) # e0 : load first source word
Dev6-stxncpy.S70 mskql t0, a1, t0 # U : assemble the first output word
166 ldq_u t1, 0(a1) # L : load first src word
201 or t1, t4, t1 # E : first aligned src word complete (stall)
203 or t0, t1, t0 # E : first output word complete (stall)
213 stq_u t0, 0(a0) # L : store first output word
274 or t0, t1, t0 # E : first (partial) source word complete
276 cmpbge zero, t0, t8 # E : is the null in this first bit? (stall)
338 ldq_u t1, 0(a1) # L : load first source word
Dev6-stxcpy.S62 mskql t0, a1, t0 # U : assemble the first output word
128 ldq_u t1, 0(a1) # L : load first src word
177 stq_u t1, 0(a0) # L : store first output word
227 or t0, t1, t1 # E : first (partial) source word complete (stall)
228 cmpbge zero, t1, t8 # E : is the null in this first bit? (stall)
266 ldq_u t1, 0(a1) # L : load first source word
/linux-4.4.14/arch/tile/gxio/
Diorpc_trio.c20 unsigned int first; member
25 unsigned int first, unsigned int flags) in gxio_trio_alloc_asids() argument
31 params->first = first; in gxio_trio_alloc_asids()
43 unsigned int first; member
48 unsigned int count, unsigned int first, in gxio_trio_alloc_memory_maps() argument
55 params->first = first; in gxio_trio_alloc_memory_maps()
66 unsigned int first; member
71 unsigned int count, unsigned int first, in gxio_trio_alloc_scatter_queues() argument
78 params->first = first; in gxio_trio_alloc_scatter_queues()
90 unsigned int first; member
[all …]
Diorpc_mpipe.c20 unsigned int first; member
25 unsigned int count, unsigned int first, in gxio_mpipe_alloc_buffer_stacks() argument
32 params->first = first; in gxio_mpipe_alloc_buffer_stacks()
79 unsigned int first; member
84 unsigned int count, unsigned int first, in gxio_mpipe_alloc_notif_rings() argument
91 params->first = first; in gxio_mpipe_alloc_notif_rings()
178 unsigned int first; member
183 unsigned int count, unsigned int first, in gxio_mpipe_alloc_notif_groups() argument
190 params->first = first; in gxio_mpipe_alloc_notif_groups()
222 unsigned int first; member
[all …]
/linux-4.4.14/fs/afs/
Dwrite.c138 candidate->first = candidate->last = index; in afs_write_begin()
196 ASSERTRANGE(wb->first, <=, index, <=, wb->last); in afs_write_begin()
197 if (index == wb->first && from < wb->offset_first) in afs_write_begin()
207 _debug("append into %lx-%lx", wb->first, wb->last); in afs_write_begin()
278 pgoff_t first, pgoff_t last) in afs_kill_pages() argument
284 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages()
289 _debug("kill %lx-%lx", first, last); in afs_kill_pages()
291 count = last - first + 1; in afs_kill_pages()
295 first, count, pv.pages); in afs_kill_pages()
306 } while (first < last); in afs_kill_pages()
[all …]
Drxrpc.c278 pgoff_t first = call->first, last = call->last; in afs_send_pages() local
287 _debug("attach %lx-%lx", first, last); in afs_send_pages()
289 count = last - first + 1; in afs_send_pages()
292 n = find_get_pages_contig(call->mapping, first, count, pages); in afs_send_pages()
299 if (first + loop >= last) in afs_send_pages()
315 if (first + loop >= last) in afs_send_pages()
323 first += count; in afs_send_pages()
329 } while (first <= last); in afs_send_pages()
/linux-4.4.14/arch/sh/mm/
Dextable_64.c45 search_extable(const struct exception_table_entry *first, in search_extable() argument
55 while (first <= last) { in search_extable()
58 mid = (last - first) / 2 + first; in search_extable()
63 first = mid+1; in search_extable()
Dtlb-sh5.c26 cpu_data->dtlb.first = DTLB_FIXED | cpu_data->dtlb.step; in sh64_tlb_init()
27 cpu_data->dtlb.next = cpu_data->dtlb.first; in sh64_tlb_init()
37 cpu_data->itlb.first = ITLB_FIXED | cpu_data->itlb.step; in sh64_tlb_init()
38 cpu_data->itlb.next = cpu_data->itlb.first; in sh64_tlb_init()
61 cpu_data->dtlb.first += cpu_data->dtlb.step; in sh64_get_wired_dtlb_entry()
99 if (entry < (cpu_data->dtlb.first - cpu_data->dtlb.step)) in sh64_put_wired_dtlb_entry()
103 cpu_data->dtlb.first -= cpu_data->dtlb.step; in sh64_put_wired_dtlb_entry()
222 next = tlbp->first; in __update_tlb()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_misc.h90 struct sym_quehead *first = list->flink; in sym_que_splice() local
92 if (first != list) { in sym_que_splice()
96 first->blink = head; in sym_que_splice()
97 head->flink = first; in sym_que_splice()
107 struct sym_quehead *first, *last; in sym_que_move() local
109 first = orig->flink; in sym_que_move()
110 if (first != orig) { in sym_que_move()
111 first->blink = dest; in sym_que_move()
112 dest->flink = first; in sym_que_move()
/linux-4.4.14/kernel/
Duser_namespace.c157 u32 first, last, id2; in map_id_range_down() local
165 first = map->extent[idx].first; in map_id_range_down()
166 last = first + map->extent[idx].count - 1; in map_id_range_down()
167 if (id >= first && id <= last && in map_id_range_down()
168 (id2 >= first && id2 <= last)) in map_id_range_down()
173 id = (id - first) + map->extent[idx].lower_first; in map_id_range_down()
183 u32 first, last; in map_id_down() local
189 first = map->extent[idx].first; in map_id_down()
190 last = first + map->extent[idx].count - 1; in map_id_down()
191 if (id >= first && id <= last) in map_id_down()
[all …]
Dresource.c757 struct resource *first, *next; in __insert_resource() local
759 for (;; parent = first) { in __insert_resource()
760 first = __request_resource(parent, new); in __insert_resource()
761 if (!first) in __insert_resource()
762 return first; in __insert_resource()
764 if (first == parent) in __insert_resource()
765 return first; in __insert_resource()
766 if (WARN_ON(first == new)) /* duplicated insertion */ in __insert_resource()
767 return first; in __insert_resource()
769 if ((first->start > new->start) || (first->end < new->end)) in __insert_resource()
[all …]
Dtaskstats.c211 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
220 first = find_task_by_vpid(tgid); in fill_stats_for_tgid()
222 if (!first || !lock_task_sighand(first, &flags)) in fill_stats_for_tgid()
225 if (first->signal->stats) in fill_stats_for_tgid()
226 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_stats_for_tgid()
230 tsk = first; in fill_stats_for_tgid()
244 } while_each_thread(first, tsk); in fill_stats_for_tgid()
246 unlock_task_sighand(first, &flags); in fill_stats_for_tgid()
Duser.c29 .first = 0,
37 .first = 0,
45 .first = 0,
/linux-4.4.14/drivers/dma/
Dat_xdmac.c340 struct at_xdmac_desc *first) in at_xdmac_start_xfer() argument
345 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, first); in at_xdmac_start_xfer()
351 first->active_xfer = true; in at_xdmac_start_xfer()
354 reg = AT_XDMAC_CNDA_NDA(first->tx_dma_desc.phys) in at_xdmac_start_xfer()
365 else if (first->lld.mbr_ubc & AT_XDMAC_MBR_UBC_NDV3) in at_xdmac_start_xfer()
375 at_xdmac_chan_write(atchan, AT_XDMAC_CC, first->lld.mbr_cfg); in at_xdmac_start_xfer()
639 struct at_xdmac_desc *first = NULL, *prev = NULL; in at_xdmac_prep_slave_sg() local
682 if (first) in at_xdmac_prep_slave_sg()
683 list_splice_init(&first->descs_list, &atchan->free_descs_list); in at_xdmac_prep_slave_sg()
714 if (!first) in at_xdmac_prep_slave_sg()
[all …]
Dat_hdmac.c203 static void atc_desc_chain(struct at_desc **first, struct at_desc **prev, in atc_desc_chain() argument
206 if (!(*first)) { in atc_desc_chain()
207 *first = desc; in atc_desc_chain()
213 &(*first)->tx_list); in atc_desc_chain()
225 static void atc_dostart(struct at_dma_chan *atchan, struct at_desc *first) in atc_dostart() argument
251 channel_writel(atchan, DSCR, first->txd.phys); in atc_dostart()
252 channel_writel(atchan, SPIP, ATC_SPIP_HOLE(first->src_hole) | in atc_dostart()
253 ATC_SPIP_BOUNDARY(first->boundary)); in atc_dostart()
254 channel_writel(atchan, DPIP, ATC_DPIP_HOLE(first->dst_hole) | in atc_dostart()
255 ATC_DPIP_BOUNDARY(first->boundary)); in atc_dostart()
[all …]
Dmmp_pdma.c449 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; in mmp_pdma_prep_memcpy() local
483 if (!first) in mmp_pdma_prep_memcpy()
484 first = new; in mmp_pdma_prep_memcpy()
504 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_memcpy()
507 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_memcpy()
508 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_memcpy()
516 return &first->async_tx; in mmp_pdma_prep_memcpy()
519 if (first) in mmp_pdma_prep_memcpy()
520 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_memcpy()
530 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new = NULL; in mmp_pdma_prep_slave_sg() local
[all …]
Dep93xx_dma.c981 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_dma_memcpy() local
984 first = NULL; in ep93xx_dma_prep_dma_memcpy()
998 if (!first) in ep93xx_dma_prep_dma_memcpy()
999 first = desc; in ep93xx_dma_prep_dma_memcpy()
1001 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_memcpy()
1004 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_memcpy()
1005 first->txd.flags = flags; in ep93xx_dma_prep_dma_memcpy()
1007 return &first->txd; in ep93xx_dma_prep_dma_memcpy()
1009 ep93xx_dma_desc_put(edmac, first); in ep93xx_dma_prep_dma_memcpy()
1030 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_slave_sg() local
[all …]
Dtxx9dmac.c335 struct txx9dmac_desc *first) in txx9dmac_dostart() argument
341 first->txd.cookie, first); in txx9dmac_dostart()
371 channel64_write_CHAR(dc, first->txd.phys); in txx9dmac_dostart()
392 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
394 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
722 struct txx9dmac_desc *first; in txx9dmac_prep_dma_memcpy() local
735 prev = first = NULL; in txx9dmac_prep_dma_memcpy()
757 txx9dmac_desc_put(dc, first); in txx9dmac_prep_dma_memcpy()
782 if (!first) { in txx9dmac_prep_dma_memcpy()
783 first = desc; in txx9dmac_prep_dma_memcpy()
[all …]
Dxgene-dma.c901 struct xgene_dma_desc_sw *first = NULL, *new = NULL; in xgene_dma_prep_sg() local
943 if (!first) in xgene_dma_prep_sg()
944 first = new; in xgene_dma_prep_sg()
954 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_sg()
993 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_sg()
997 if (!first) in xgene_dma_prep_sg()
1000 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_sg()
1008 struct xgene_dma_desc_sw *first = NULL, *new; in xgene_dma_prep_xor() local
1028 if (!first) in xgene_dma_prep_xor()
1029 first = new; in xgene_dma_prep_xor()
[all …]
Dfsldma.c769 struct fsl_desc_sw *first = NULL, *prev = NULL, *new; in fsl_dma_prep_memcpy() local
795 if (!first) in fsl_dma_prep_memcpy()
796 first = new; in fsl_dma_prep_memcpy()
809 list_add_tail(&new->node, &first->tx_list); in fsl_dma_prep_memcpy()
818 return &first->async_tx; in fsl_dma_prep_memcpy()
821 if (!first) in fsl_dma_prep_memcpy()
824 fsldma_free_desc_list_reverse(chan, &first->tx_list); in fsl_dma_prep_memcpy()
833 struct fsl_desc_sw *first = NULL, *prev = NULL, *new = NULL; in fsl_dma_prep_sg() local
878 if (!first) in fsl_dma_prep_sg()
879 first = new; in fsl_dma_prep_sg()
[all …]
/linux-4.4.14/arch/arm/include/asm/
Dopcodes.h149 #define __opcode_thumb32_compose(first, second) ( \ argument
150 (___opcode_identity32(___opcode_identity16(first)) << 16) \
155 #define ___asm_opcode_thumb32_compose(first, second) ( \ argument
156 (___asm_opcode_identity32(___asm_opcode_identity16(first)) << 16) \
223 #define ___inst_thumb32(first, second) .short first, second argument
227 #define ___inst_thumb32(first, second) \ argument
228 ".short " __stringify(first) ", " __stringify(second) "\n\t"
/linux-4.4.14/drivers/video/fbdev/
Dc2p_iplan2.c92 u32 dst_idx, first, last, w; in c2p_iplan2() local
98 first = 0xffffU >> dst_idx; in c2p_iplan2()
99 first |= first << 16; in c2p_iplan2()
108 first &= last; in c2p_iplan2()
113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
Dc2p_planar.c94 u32 dst_idx, first, last, w; in c2p_planar() local
100 first = 0xffffffffU >> dst_idx; in c2p_planar()
108 first &= last; in c2p_planar()
114 first); in c2p_planar()
127 d.words, first); in c2p_planar()
Damifb.c2603 unsigned long first, last; in bitcpy() local
2612 first = ~0UL >> dst_idx; in bitcpy()
2621 first &= last; in bitcpy()
2622 *dst = comp(*src, *dst, first); in bitcpy()
2626 if (first) { in bitcpy()
2627 *dst = comp(*src, *dst, first); in bitcpy()
2662 first &= last; in bitcpy()
2665 *dst = comp(*src >> right, *dst, first); in bitcpy()
2668 *dst = comp(*src << left, *dst, first); in bitcpy()
2674 first); in bitcpy()
[all …]
/linux-4.4.14/arch/s390/mm/
Dextable.c13 search_extable(const struct exception_table_entry *first, in search_extable() argument
20 while (first <= last) { in search_extable()
21 mid = ((last - first) >> 1) + first; in search_extable()
24 first = mid + 1; in search_extable()
/linux-4.4.14/arch/alpha/mm/
Dextable.c73 search_extable(const struct exception_table_entry *first, in search_extable() argument
77 while (first <= last) { in search_extable()
81 mid = (last - first) / 2 + first; in search_extable()
86 first = mid+1; in search_extable()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_defs.h84 #define T4VF_MOD_MAP(module, index, first, last) \ argument
86 T4VF_MOD_MAP_##module##_FIRST = (first), \
88 T4VF_MOD_MAP_##module##_OFFSET = ((first)/4), \
90 (T4VF_##module##_BASE_ADDR/4 + (first)/4), \
/linux-4.4.14/arch/ia64/mm/
Dextable.c83 search_extable (const struct exception_table_entry *first, in search_extable() argument
91 while (first <= last) { in search_extable()
92 mid = &first[(last - first)/2]; in search_extable()
98 first = mid + 1; in search_extable()
/linux-4.4.14/drivers/spi/
Dspi-bcm63xx.c235 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument
242 struct spi_transfer *t = first; in bcm63xx_txrx_bufs()
262 if (t != first) in bcm63xx_txrx_bufs()
269 if (t == first) in bcm63xx_txrx_bufs()
317 t = first; in bcm63xx_txrx_bufs()
323 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs()
337 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local
350 if (!first) in bcm63xx_spi_transfer_one()
351 first = t; in bcm63xx_spi_transfer_one()
356 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf && in bcm63xx_spi_transfer_one()
[all …]
/linux-4.4.14/sound/isa/gus/
Dgus_mem.c51 pblock = alloc->first; in snd_gf1_mem_xalloc()
57 if (pblock == alloc->first) in snd_gf1_mem_xalloc()
58 alloc->first = nblock; in snd_gf1_mem_xalloc()
69 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc()
85 if (alloc->first == block) { in snd_gf1_mem_xfree()
86 alloc->first = block->next; in snd_gf1_mem_xfree()
113 for (block = alloc->first; block; block = block->next) { in snd_gf1_mem_look()
129 for (block = alloc->first; block; block = block->next) in snd_gf1_mem_share()
155 for (pblock = alloc->first, idx = 0; pblock; pblock = pblock->next) { in snd_gf1_mem_find()
247 alloc->first = alloc->last = NULL; in snd_gf1_mem_init()
[all …]
/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c96 unsigned int first, last; in stp_policy_node_masters_store() local
101 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_masters_store()
110 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_masters_store()
111 first < stm->data->sw_start || in stp_policy_node_masters_store()
118 policy_node->first_master = first; in stp_policy_node_masters_store()
144 unsigned int first, last; in stp_policy_node_channels_store() local
149 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_channels_store()
157 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_channels_store()
164 policy_node->first_channel = first; in stp_policy_node_channels_store()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-udma.c26 void ivtv_udma_get_page_info(struct ivtv_dma_page_info *dma_page, unsigned long first, unsigned lon… in ivtv_udma_get_page_info() argument
28 dma_page->uaddr = first & PAGE_MASK; in ivtv_udma_get_page_info()
29 dma_page->offset = first & ~PAGE_MASK; in ivtv_udma_get_page_info()
30 dma_page->tail = 1 + ((first+size-1) & ~PAGE_MASK); in ivtv_udma_get_page_info()
31 dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info()
32 dma_page->last = ((first+size-1) & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info()
33 dma_page->page_count = dma_page->last - dma_page->first + 1; in ivtv_udma_get_page_info()
/linux-4.4.14/arch/x86/mm/
Dextable.c82 search_extable(const struct exception_table_entry *first, in search_extable() argument
86 while (first <= last) { in search_extable()
90 mid = ((last - first) >> 1) + first; in search_extable()
93 first = mid + 1; in search_extable()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_tx.c61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() argument
67 last = first + cnt; in qib_disarm_piobufs()
69 for (i = first; i < last; i++) { in qib_disarm_piobufs()
286 u32 first, u32 last) in qib_getsendbuf_range() argument
297 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range()
308 i = first; in qib_getsendbuf_range()
315 if (dd->last_pio >= first && dd->last_pio <= last) in qib_getsendbuf_range()
317 if (!first) in qib_getsendbuf_range()
322 i = !first ? dd->min_kernel_pio : first; in qib_getsendbuf_range()
329 if (!first && first != last) /* first == last on VL15, avoid */ in qib_getsendbuf_range()
/linux-4.4.14/Documentation/video4linux/cx2341x/
DREADME.hm129 The data is encoded as two macroblock planes, the first containing the Y
15 So the first 16 bytes are the first line of the top-left block, the
17 transmitting this block the first line of the block on the right to the
18 first block is transmitted, etc.
23 So the first 16 bytes are the first line of the top-left block and
26 this block the first line of the block on the right to the first block is
Dfw-memory.txt68 0x80 - first write linked list reg, for Encoder Memory addr
69 0x84 - first write linked list reg, for pci memory addr
70 0x88 - first write linked list reg, for length of buffer in memory addr
75 0xe0 - first (and only) read linked list reg, for pci memory addr
76 0xe4 - first (and only) read linked list reg, for Decoder memory addr
77 0xe8 - first (and only) read linked list reg, for length of buffer
83 buffer area used for encoding, have to shift them by <<1 first.
91 buffer area used for decoding, have to shift them by <<1 first.
DREADME.vbi23 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
24 unsigned long denote which lines of the first field are captured. Bits 18-31 of
25 the first unsigned long and bits 0-3 of the second unsigned long are used for the
34 For each line the least significant 4 bits of the first byte contain the data type.
/linux-4.4.14/fs/reiserfs/
Dlbalance.c312 int first, int cpy_num) in leaf_copy_items_entirely() argument
324 RFALSE(B_NR_ITEMS(src) - first < cpy_num, in leaf_copy_items_entirely()
326 B_NR_ITEMS(src), cpy_num, first); in leaf_copy_items_entirely()
358 memcpy(ih, item_head(src, first), cpy_num * IH_SIZE); in leaf_copy_items_entirely()
385 item_body(src, (first + cpy_num - 1)), in leaf_copy_items_entirely()
815 int first, int del_num);
828 int first, int del_num, int del_bytes) in leaf_delete_items() argument
836 RFALSE(first < 0 in leaf_delete_items()
837 || first + del_num > item_amount, in leaf_delete_items()
839 "no so much items (%d) to delete (only %d)", first, in leaf_delete_items()
[all …]
Dprints.c423 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal() argument
435 if (first == -1) { in print_internal()
439 from = first; in print_internal()
458 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf() argument
485 if (first < 0 || first > nr - 1) in print_leaf()
488 from = first; in print_leaf()
596 int mode, first, last; in print_block() local
606 first = va_arg(args, int); in print_block()
608 if (print_leaf(bh, mode, first, last)) in print_block()
609 if (print_internal(bh, first, last)) in print_block()
Dbitmap.c675 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument
677 if (!*first) in print_sep()
680 *first = 0; in print_sep()
685 int first = 1; in show_alloc_options() local
694 print_sep(seq, &first); in show_alloc_options()
702 print_sep(seq, &first); in show_alloc_options()
710 print_sep(seq, &first); in show_alloc_options()
714 print_sep(seq, &first); in show_alloc_options()
718 print_sep(seq, &first); in show_alloc_options()
722 print_sep(seq, &first); in show_alloc_options()
[all …]
Ditem_ops.c88 static int sd_part_size(struct virtual_item *vi, int first, int count) in sd_part_size() argument
180 static int direct_part_size(struct virtual_item *vi, int first, int count) in direct_part_size() argument
322 static int indirect_part_size(struct virtual_item *vi, int first, int units) in indirect_part_size() argument
588 static int direntry_part_size(struct virtual_item *vi, int first, int count) in direntry_part_size() argument
595 if (first == 0) in direntry_part_size()
706 static int errcatch_part_size(struct virtual_item *vi, int first, int count) in errcatch_part_size() argument
/linux-4.4.14/drivers/macintosh/
Dwindfarm_pid.c30 st->first = 1; in wf_pid_init()
44 if (st->first) { in wf_pid_run()
49 st->first = 0; in wf_pid_run()
85 st->first = 1; in wf_cpu_pid_init()
99 if (st->first) { in wf_cpu_pid_run()
105 st->first = 0; in wf_cpu_pid_run()
Dwindfarm_pid.h36 int first; /* first run of the loop */ member
71 int first; /* first run of the loop */ member
/linux-4.4.14/arch/tile/include/gxio/
Diorpc_trio.h50 unsigned int first, unsigned int flags);
54 unsigned int count, unsigned int first,
59 unsigned int count, unsigned int first,
63 unsigned int count, unsigned int first,
Diorpc_mpipe.h60 unsigned int count, unsigned int first,
70 unsigned int count, unsigned int first,
86 unsigned int count, unsigned int first,
94 unsigned int first, unsigned int flags);
100 unsigned int count, unsigned int first,
Dmpipe.h380 unsigned int first,
542 unsigned int count, unsigned int first,
619 unsigned int first,
667 unsigned int count, unsigned int first,
817 unsigned int count, unsigned int first,
/linux-4.4.14/arch/sparc/kernel/
Dsys_sparc_64.c330 SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() argument
339 err = sys_semtimedop(first, ptr, in SYSCALL_DEFINE6()
343 err = sys_semtimedop(first, ptr, (unsigned)second, in SYSCALL_DEFINE6()
348 err = sys_semget(first, (int)second, (int)third); in SYSCALL_DEFINE6()
351 err = sys_semctl(first, second, in SYSCALL_DEFINE6()
364 err = sys_msgsnd(first, ptr, (size_t)second, in SYSCALL_DEFINE6()
368 err = sys_msgrcv(first, ptr, (size_t)second, fifth, in SYSCALL_DEFINE6()
372 err = sys_msgget((key_t)first, (int)second); in SYSCALL_DEFINE6()
375 err = sys_msgctl(first, (int)second | IPC_64, ptr); in SYSCALL_DEFINE6()
386 err = do_shmat(first, ptr, (int)second, &raddr, SHMLBA); in SYSCALL_DEFINE6()
[all …]
Dunaligned_64.c450 u64 first = 0, second = 0; in handle_ldf_stq() local
460 first = *(u64 *)&f->regs[freg]; in handle_ldf_stq()
474 u64 tmp = __swab64p(&first); in handle_ldf_stq()
476 first = __swab64p(&second); in handle_ldf_stq()
487 if (put_user (first >> 32, (u32 __user *)addr) || in handle_ldf_stq()
488 __put_user ((u32)first, (u32 __user *)(addr + 4)) || in handle_ldf_stq()
613 u32 first, second; in handle_lddfmna() local
619 first = second = 0; in handle_lddfmna()
620 err = get_user(first, (u32 __user *)sfar); in handle_lddfmna()
626 first = second = 0; in handle_lddfmna()
[all …]
Dsun4m_smp.c122 int i, first; in smp4m_smp_done() local
126 first = 0; in smp4m_smp_done()
127 prev = &first; in smp4m_smp_done()
132 *prev = first; in smp4m_smp_done()
Dsun4d_smp.c164 int i, first; in smp4d_smp_done() local
168 first = 0; in smp4d_smp_done()
169 prev = &first; in smp4d_smp_done()
174 *prev = first; in smp4d_smp_done()
Dleon_smp.c232 int i, first; in leon_smp_done() local
236 first = 0; in leon_smp_done()
237 prev = &first; in leon_smp_done()
244 *prev = first; in leon_smp_done()
Dpci.c358 u32 idx, first, last; in apb_calc_first_last() local
360 first = 8; in apb_calc_first_last()
364 if (first > idx) in apb_calc_first_last()
365 first = idx; in apb_calc_first_last()
371 *first_p = first; in apb_calc_first_last()
384 u32 first, last; in apb_fake_ranges() local
388 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
391 region.start = (first << 21); in apb_fake_ranges()
396 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
399 region.start = (first << 29); in apb_fake_ranges()
/linux-4.4.14/drivers/mtd/tests/
Dtorturetest.c388 int bytes, bits, pages, first; in report_corrupt() local
409 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
411 if (first < 0) in report_corrupt()
420 bytes, bits, first); in report_corrupt()
422 offset = first & ~0x7; in report_corrupt()
423 len = ((first + bytes) | 0x7) + 1 - offset; in report_corrupt()
468 int first = -1; in countdiffs() local
472 first = i; in countdiffs()
489 return first; in countdiffs()
/linux-4.4.14/scripts/dtc/
Dlivetree.c77 struct property *chain_property(struct property *first, struct property *list) in chain_property() argument
79 assert(first->next == NULL); in chain_property()
81 first->next = list; in chain_property()
82 return first; in chain_property()
85 struct property *reverse_properties(struct property *first) in reverse_properties() argument
87 struct property *p = first; in reverse_properties()
219 struct node *chain_node(struct node *first, struct node *list) in chain_node() argument
221 assert(first->next_sibling == NULL); in chain_node()
223 first->next_sibling = list; in chain_node()
224 return first; in chain_node()
[all …]
Ddtc.h189 struct property *chain_property(struct property *first, struct property *list);
190 struct property *reverse_properties(struct property *first);
195 struct node *chain_node(struct node *first, struct node *list);
232 struct reserve_info *chain_reserve_entry(struct reserve_info *first,
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c785 struct fm10k_tx_buffer *first) in fm10k_tso() argument
787 struct sk_buff *skb = first->skb; in fm10k_tso()
810 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tso()
813 first->gso_segs = skb_shinfo(skb)->gso_segs; in fm10k_tso()
814 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso()
831 struct fm10k_tx_buffer *first) in fm10k_tx_csum() argument
833 struct sk_buff *skb = first->skb; in fm10k_tx_csum()
897 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tx_csum()
971 struct fm10k_tx_buffer *first) in fm10k_tx_map() argument
973 struct sk_buff *skb = first->skb; in fm10k_tx_map()
[all …]
/linux-4.4.14/arch/arm/kernel/
Dinsn.c9 unsigned long first, second; in __arm_gen_branch_thumb2() local
27 first = 0xf000 | (s << 10) | imm10; in __arm_gen_branch_thumb2()
32 return __opcode_thumb32_compose(first, second); in __arm_gen_branch_thumb2()
Dprocess.c372 unsigned long first; in sigpage_addr() local
377 first = PAGE_ALIGN(mm->start_stack); in sigpage_addr()
382 if (first > last) in sigpage_addr()
386 if (first == last) in sigpage_addr()
387 return first; in sigpage_addr()
389 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr()
393 addr = first + (offset << PAGE_SHIFT); in sigpage_addr()
Dpatch.c73 u16 first = __opcode_thumb32_first(insn); in __patch_text_real() local
82 *addrh0 = __opcode_to_mem_thumb16(first); in __patch_text_real()
Dtraps.c99 unsigned long first; in dump_mem() local
113 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
120 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
129 printk("%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem()
/linux-4.4.14/Documentation/scsi/
Daha152x.txt38 override for the first controller
68 configuration override for first controller
77 IOPORT for first and second controller
80 IRQ for first and second controller
83 SCSIID for first and second controller
86 allow targets to disconnect for first and second controller
89 use parity for first and second controller
92 enable synchronous transfers for first and second controller
95 reset DELAY for first and second controller
98 enable extended translation for first and second controller
[all …]
/linux-4.4.14/mm/
Dinterval_tree.c94 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_first() argument
96 return __anon_vma_interval_tree_iter_first(root, first, last); in anon_vma_interval_tree_iter_first()
101 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_next() argument
103 return __anon_vma_interval_tree_iter_next(node, first, last); in anon_vma_interval_tree_iter_next()
/linux-4.4.14/arch/c6x/platforms/
Dtimer64.c181 struct device_node *np, *first = NULL; in timer64_init() local
192 } else if (!first) in timer64_init()
193 first = np; in timer64_init()
197 if (first) in timer64_init()
198 np = of_node_get(first); in timer64_init()
/linux-4.4.14/arch/unicore32/kernel/
Dtraps.c67 unsigned long first; in dump_mem() local
82 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
89 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
98 printk(KERN_DEFAULT "%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem()
/linux-4.4.14/arch/mips/mm/
Dsc-ip22.c29 static inline void indy_sc_wipe(unsigned long first, unsigned long last) in indy_sc_wipe() argument
54 : "=r" (first), "=r" (last), "=&r" (tmp) in indy_sc_wipe()
55 : "0" (first), "1" (last)); in indy_sc_wipe()
Duasm.c465 void ISAFUNC(uasm_move_relocs)(struct uasm_reloc *rel, u32 *first, u32 *end, in ISAFUNC()
469 if (rel->addr >= first && rel->addr < end) in ISAFUNC()
474 void ISAFUNC(uasm_move_labels)(struct uasm_label *lab, u32 *first, u32 *end, in ISAFUNC()
478 if (lab->addr >= first && lab->addr < end) in ISAFUNC()
484 u32 *first, u32 *end, u32 *target) in ISAFUNC()
486 long off = (long)(target - first); in ISAFUNC()
488 memcpy(target, first, (end - first) * sizeof(u32)); in ISAFUNC()
490 ISAFUNC(uasm_move_relocs(rel, first, end, off)); in ISAFUNC()
491 ISAFUNC(uasm_move_labels(lab, first, end, off)); in ISAFUNC()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-memops.c42 unsigned long first, last; in vb2_create_framevec() local
46 first = start >> PAGE_SHIFT; in vb2_create_framevec()
48 nr = last - first + 1; in vb2_create_framevec()
Dvideobuf-dma-sg.c157 unsigned long first, last; in videobuf_dma_init_user_locked() local
172 first = (data & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked()
176 dma->nr_pages = last-first+1; in videobuf_dma_init_user_locked()
593 unsigned int first, last, size = 0, i; in __videobuf_mmap_mapper() local
602 for (first = 0; first < VIDEO_MAX_FRAME; first++) { in __videobuf_mmap_mapper()
603 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper()
604 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper()
616 last = first; in __videobuf_mmap_mapper()
625 for (i = first; i <= last; i++) { in __videobuf_mmap_mapper()
640 map, q, vma->vm_start, vma->vm_end, vma->vm_pgoff, first, last); in __videobuf_mmap_mapper()
/linux-4.4.14/Documentation/mmc/
Dmmc-async-req.txt53 Optimize for the first request
56 The first request in a series of requests can't be prepared in parallel
61 request in two chunks, prepare the first chunk and start the request,
72 * The first chunk of the request should take the same time
75 * the transfer is delayed, guesstimate max 4k as first chunk size.
84 * of the first chunk. If the MMC runs out of the first data chunk
/linux-4.4.14/drivers/usb/misc/sisusbvga/
DKconfig30 the first and last consoles (starting at 1) as driver parameters.
34 modprobe sisusbvga first=1 last=5
39 options sisusbvga first=1 last=5
44 sisusbvga.first=1 sisusbvga.last=5
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Dpl011.txt16 When present, the first clock listed must correspond to
20 of the block. Just listing one clock (the first one) is
23 When present, the first clock listed must be named
28 The first one must be named "rx", the second one
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c44 nvkm_ltc_tags_clear(struct nvkm_ltc *ltc, u32 first, u32 count) in nvkm_ltc_tags_clear() argument
46 const u32 limit = first + count - 1; in nvkm_ltc_tags_clear()
48 BUG_ON((first > limit) || (limit >= ltc->num_tags)); in nvkm_ltc_tags_clear()
50 ltc->func->cbc_clear(ltc, first, limit); in nvkm_ltc_tags_clear()
/linux-4.4.14/net/rds/
Diw_send.c494 struct rds_iw_send_work *first; in rds_iw_xmit() local
617 first = send; in rds_iw_xmit()
742 failed_wr = &first->s_send_wr; in rds_iw_xmit()
743 ret = ib_post_send(ic->i_cm_id->qp, &first->s_send_wr, &failed_wr); in rds_iw_xmit()
745 first, &first->s_send_wr, ret, failed_wr); in rds_iw_xmit()
746 BUG_ON(failed_wr != &first->s_send_wr); in rds_iw_xmit()
790 struct rds_iw_send_work *first; in rds_iw_xmit_rdma() local
850 first = prev = &ic->i_sends[fr_pos]; in rds_iw_xmit_rdma()
852 first = send; in rds_iw_xmit_rdma()
935 first->s_rdma_wr.wr.send_flags = IB_SEND_SIGNALED; in rds_iw_xmit_rdma()
[all …]
Dib_send.c489 struct rds_ib_send_work *first; in rds_ib_xmit() local
619 first = send; in rds_ib_xmit()
724 failed_wr = &first->s_wr; in rds_ib_xmit()
725 ret = ib_post_send(ic->i_cm_id->qp, &first->s_wr, &failed_wr); in rds_ib_xmit()
727 first, &first->s_wr, ret, failed_wr); in rds_ib_xmit()
728 BUG_ON(failed_wr != &first->s_wr); in rds_ib_xmit()
847 struct rds_ib_send_work *first; in rds_ib_xmit_rdma() local
893 first = send; in rds_ib_xmit_rdma()
961 failed_wr = &first->s_rdma_wr.wr; in rds_ib_xmit_rdma()
962 ret = ib_post_send(ic->i_cm_id->qp, &first->s_rdma_wr.wr, &failed_wr); in rds_ib_xmit_rdma()
[all …]
/linux-4.4.14/tools/perf/ui/stdio/
Dhist.c320 bool first = true; in hist_entry__snprintf() local
333 if (!sep || !first) { in hist_entry__snprintf()
337 first = false; in hist_entry__snprintf()
387 bool first = true; in hists__fprintf() local
408 if (!first) in hists__fprintf()
411 first = false; in hists__fprintf()
424 first = true; in hists__fprintf()
434 if (!first) in hists__fprintf()
437 first = false; in hists__fprintf()
/linux-4.4.14/scripts/gdb/linux/
Dmodules.py85 first = True
89 separator=" " if first else ",",
91 first = False
/linux-4.4.14/sound/core/oss/
Dmulaw.c188 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_decode()
189 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode()
234 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_encode()
235 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_encode()
263 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in mulaw_transfer()
266 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in mulaw_transfer()
Dlinear.c75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert()
76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert()
101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer()
104 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer()
Drate.c91 src_channels[channel].area.first / 8 / 2; in resample_expand()
93 dst_channels[channel].area.first / 8 / 2; in resample_expand()
150 src_channels[channel].area.first / 8 / 2; in resample_shrink()
152 dst_channels[channel].area.first / 8 / 2; in resample_shrink()
265 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in rate_transfer()
268 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in rate_transfer()
Dcopy.c41 if (snd_BUG_ON(src_channels->area.first % 8 || in copy_transfer()
44 if (snd_BUG_ON(dst_channels->area.first % 8 || in copy_transfer()
Dpcm_plugin.c84 c->area.first = channel * width; in snd_pcm_plugin_alloc()
96 c->area.first = 0; in snd_pcm_plugin_alloc()
580 v->area.first = channel * width; in snd_pcm_plug_client_channels_buf()
659 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
671 int dstbit = dst_area->first % 8; in snd_pcm_area_silence()
703 src = src_area->addr + (src_area->first + src_area->step * src_offset) / 8; in snd_pcm_area_copy()
706 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
722 int srcbit = src_area->first % 8; in snd_pcm_area_copy()
724 int dstbit = dst_area->first % 8; in snd_pcm_area_copy()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dscan.c195 struct ieee80211_channel *first = *priv->scan.curr; in cw1200_scan_work() local
199 if ((*it)->band != first->band) in cw1200_scan_work()
201 if (((*it)->flags ^ first->flags) & in cw1200_scan_work()
204 if (!(first->flags & IEEE80211_CHAN_NO_IR) && in cw1200_scan_work()
205 (*it)->max_power != first->max_power) in cw1200_scan_work()
208 scan.band = first->band; in cw1200_scan_work()
215 (first->flags & IEEE80211_CHAN_NO_IR) ? 0 : 2; in cw1200_scan_work()
246 if (!(first->flags & IEEE80211_CHAN_NO_IR) && in cw1200_scan_work()
247 priv->scan.output_power != first->max_power) { in cw1200_scan_work()
248 priv->scan.output_power = first->max_power; in cw1200_scan_work()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_actlog.c256 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_fastpath() local
257 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_fastpath()
259 D_ASSERT(device, (unsigned)(last - first) <= 1); in drbd_al_begin_io_fastpath()
263 if (first != last) in drbd_al_begin_io_fastpath()
266 return _al_get(device, first, true); in drbd_al_begin_io_fastpath()
273 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_prepare() local
274 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_prepare()
278 D_ASSERT(device, first <= last); in drbd_al_begin_io_prepare()
281 for (enr = first; enr <= last; enr++) { in drbd_al_begin_io_prepare()
343 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_nonblock() local
[all …]
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_rtbitmap.c486 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() local
489 xfs_trans_log_buf(tp, bp, first, first + sizeof(*sp) - 1); in xfs_rtmodify_summary_int()
528 xfs_rtword_t *first; /* first used word in the buffer */ in xfs_rtmodify_range() local
550 first = b = &bufp[word]; in xfs_rtmodify_range()
584 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range()
590 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
624 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range()
630 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
661 if (b > first) in xfs_rtmodify_range()
662 xfs_trans_log_buf(tp, bp, (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dpmc.txt22 - reg: For devices compatible with "fsl,mpc8349-pmc", the first resource
26 For devices compatible with "fsl,mpc8548-pmc", the first resource
29 - interrupts: For "fsl,mpc8349-pmc"-compatible devices, the first
45 upon resume. The first two cells are as described for fsl,mpc8578-pmc.
50 first of which will be ORed into DEVDISR (and the second into
Dpamu.txt21 Interrupt mappings. The first tuple is the normal PAMU
62 cache. The first is the number of cache lines, and the
68 cache. The first is the number of cache lines, and the
88 LIODN. The first cell is a phandle to a node that contains
90 the offset from the first "reg" resource of the node where
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dfsl-sai.txt34 - lsb-first : Configures whether the LSB or the MSB is transmitted
35 first for the fifo data. If this property is absent,
36 the MSB is transmitted first as default, or the LSB
37 is transmitted first.
72 lsb-first;
Dmvebu-audio.txt15 with "marvell,dove-audio", a list of two interrupts, the first for
19 The first one is mandatory and defines the internal clock.
/linux-4.4.14/drivers/crypto/marvell/
Dtdma.c54 writel_relaxed(dreq->chain.first->cur_dma, in mv_cesa_dma_step()
63 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup()
75 dreq->chain.first = NULL; in mv_cesa_dma_cleanup()
84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare()
113 chain->first = new_tdma; in mv_cesa_dma_add_desc()
/linux-4.4.14/net/sched/
Dsch_fq.c78 struct fq_flow *first; member
158 if (head->first) in fq_flow_add_tail()
161 head->first = flow; in fq_flow_add_tail()
443 if (!head->first) { in fq_dequeue()
445 if (!head->first) { in fq_dequeue()
453 f = head->first; in fq_dequeue()
457 head->first = f->next; in fq_dequeue()
465 head->first = f->next; in fq_dequeue()
472 head->first = f->next; in fq_dequeue()
474 if ((head == &q->new_flows) && q->old_flows.first) { in fq_dequeue()
[all …]
/linux-4.4.14/Documentation/hid/
Dhidraw.txt48 On a device which uses numbered reports, the first byte of the returned data
51 will begin at the first byte.
60 The first byte of the buffer passed to write() should be set to the report
61 number. If the device does not use numbered reports, the first byte should
99 Set the first byte of the supplied buffer to the report number. For devices
100 which do not use numbered reports, set the first byte to 0. The report data
106 endpoint. The first byte of the supplied buffer should be set to the report
108 reports, set the first byte to 0. The report will be returned starting at
109 the first byte of the buffer (ie: the report number is not returned).
/linux-4.4.14/arch/arm/crypto/
Daes-ce-glue.c42 u8 const rk2[], int first);
45 u8 const rk2[], int first);
307 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt() local
316 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in xts_encrypt()
319 walk.iv, (u8 *)ctx->key2.key_enc, first); in xts_encrypt()
332 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt() local
341 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in xts_decrypt()
344 walk.iv, (u8 *)ctx->key2.key_enc, first); in xts_decrypt()
/linux-4.4.14/tools/perf/
Dperf-completion.sh6 local exclude i j first
19 first=t
28 if [ $j -ge 2 ] && [ -n "$first" ]; then
31 first=
/linux-4.4.14/tools/perf/util/
Dcallchain.h123 struct callchain_cursor_node *first; member
162 cursor->last = &cursor->first; in callchain_cursor_reset()
171 cursor->curr = cursor->first; in callchain_cursor_commit()
216 dest->first = src->curr; in callchain_cursor_snapshot()
Devlist.c80 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__set_id_pos() local
82 evlist->id_pos = first->id_pos; in perf_evlist__set_id_pos()
83 evlist->is_pos = first->is_pos; in perf_evlist__set_id_pos()
682 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__event2evsel() local
689 return first; in perf_evlist__event2evsel()
691 if (!first->attr.sample_id_all && in perf_evlist__event2evsel()
693 return first; in perf_evlist__event2evsel()
700 return first; in perf_evlist__event2evsel()
1346 struct perf_evsel *first = perf_evlist__first(evlist), *pos = first; in perf_evlist__valid_read_format() local
1347 u64 read_format = first->attr.read_format; in perf_evlist__valid_read_format()
[all …]
Ddwarf-aux.c981 bool first = true; in die_get_var_innermost_scope() local
1005 if (first) { in die_get_var_innermost_scope()
1008 first = false; in die_get_var_innermost_scope()
1015 if (!first) in die_get_var_innermost_scope()
1042 bool first = true; in die_get_var_range() local
1068 if (first) { in die_get_var_range()
1071 first = false; in die_get_var_range()
1078 if (!first) in die_get_var_range()
Dordered-events.c249 struct ordered_event *first, *last; in ordered_events__flush() local
252 first = list_entry(head->next, struct ordered_event, list); in ordered_events__flush()
259 oe->next_flush = first->timestamp; in ordered_events__flush()
260 oe->next_flush += (last->timestamp - first->timestamp) / 2; in ordered_events__flush()
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dfsl-imx-gpio.txt7 one number. If two numbers, the first one is the interrupt shared
10 - #gpio-cells : Should be two. The first cell is the pin number and
15 - #interrupt-cells : Should be 2. The first cell is the GPIO number.
Dgpio-vf610.txt9 - reg : The first reg tuple represents the PORT module, the second tuple
13 - #gpio-cells : Should be two. The first cell is the pin number and
18 - #interrupt-cells : Should be 2. The first cell is the GPIO number.
Dsnps-dwapb-gpio.txt15 - #gpio-cells : Should be two. The first cell is the pin number and
22 - interrupt-controller : The first port may be configured to be an interrupt
25 interrupt. Shall be set to 2. The first cell defines the interrupt number,
Dgpio-clps711x.txt6 There should be two registers, first is DATA register, the second
9 - #gpio-cells: Should be two. The first cell is the pin number and
Dnvidia,tegra20-gpio.txt9 - #gpio-cells : Should be two. The first cell is the pin number and the
14 The first cell is the GPIO number.
Dgpio-twl4030.txt7 - first cell is the pin number
12 The first cell is the GPIO number.
Dgpio-omap.txt10 - first cell is the pin number
14 The first cell is the GPIO number.
Dcavium-octeon-gpio.txt12 - #gpio-cells: Must be <2>. The first cell is the GPIO pin.
18 - #interrupt-cells: Must be <2>. The first cell is the GPIO pin
/linux-4.4.14/scripts/
Dheaderdep.pl123 my $first = shift @$cycle;
137 $first->[1], $first->[0];
/linux-4.4.14/fs/
Ddax.c80 static void dax_new_buf(void __pmem *addr, unsigned size, unsigned first, in dax_new_buf() argument
83 loff_t final = end - pos + first; /* The final byte of the buffer */ in dax_new_buf()
85 if (first > 0) in dax_new_buf()
86 clear_pmem(addr, first); in dax_new_buf()
129 unsigned first = pos - (block << blkbits); in dax_io() local
141 bh_max = pos - first + bh->b_size; in dax_io()
144 (bh_max - (pos - first)); in dax_io()
152 size = bh->b_size - first; in dax_io()
158 dax_new_buf(addr, retval, first, pos, in dax_io()
162 addr += first; in dax_io()
[all …]
Dfs_pin.c81 p = ACCESS_ONCE(m->mnt_pins.first); in mnt_pin_kill()
95 q = ACCESS_ONCE(p->first); in group_pin_kill()
/linux-4.4.14/arch/sh/include/asm/
Dtlb_64.h29 for (tlb = cpu_data->dtlb.first; \
39 for (tlb = cpu_data->itlb.first; \
/linux-4.4.14/arch/mips/lib/
Dr3k_dump_tlb.c28 static void dump_tlb(int first, int last) in dump_tlb() argument
36 for (i = first; i <= last; i++) { in dump_tlb()
/linux-4.4.14/drivers/dma/dw/
Dcore.c213 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart() argument
240 dwc->residue = first->total_len; in dwc_dostart()
241 dwc->tx_node_active = &first->tx_list; in dwc_dostart()
244 dwc_do_single_block(dwc, first); in dwc_dostart()
251 channel_writel(dwc, LLP, first->txd.phys); in dwc_dostart()
687 struct dw_desc *first; in dwc_prep_dma_memcpy() local
719 prev = first = NULL; in dwc_prep_dma_memcpy()
735 if (!first) { in dwc_prep_dma_memcpy()
736 first = desc; in dwc_prep_dma_memcpy()
740 &first->tx_list); in dwc_prep_dma_memcpy()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dmarvell,orion-intc.txt13 - 0 maps to bit 0 of first base address,
14 - 1 maps to bit 1 of first base address,
22 /* Dove has 64 first level interrupts */
Dcdns,xtensa-pic.txt8 When it's 1, the first cell is the internal IRQ number.
9 When it's 2, the first cell is the IRQ number, and the second cell
/linux-4.4.14/arch/arm/vdso/
DMakefile66 first=`echo $$buildid | cut -b-2`; \
68 mkdir -p "$(MODLIB)/vdso/.build-id/$$first"; \
69 ln -sf "../../vdso.so" "$(MODLIB)/vdso/.build-id/$$first/$$last.debug"; \
/linux-4.4.14/arch/m68k/math-emu/
Dmulti_arith.h187 unsigned long fix, rem, first, dummy; in fp_dividemant() local
216 fp_div64(first, rem, 0, src->mant.m32[1], div->mant.m32[0]); in fp_dividemant()
218 fp_mul64(*mantp, dummy, first, fix); in fp_dividemant()
221 fp_div64(first, rem, src->mant.m32[0], src->mant.m32[1], div->mant.m32[0]); in fp_dividemant()
223 fp_mul64(*mantp, dummy, first, fix); in fp_dividemant()
226 fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp); in fp_dividemant()
/linux-4.4.14/drivers/of/unittest-data/
Dtests-phandle.dtsi36 phandle-list-names = "first", "second", "third";
44 unterminated-string-list = "first", "second", [40 41 42 43];
/linux-4.4.14/Documentation/trace/
Devents-power.txt53 The first parameter gives the clock name (e.g. "gpio1_iclk").
63 The first parameter gives the power domain name (e.g. "mpu_pwrdm").
76 The first parameter gives the QoS class name (e.g. "CPU_DMA_LATENCY").
83 The first parameter gives the QoS action name (e.g. "ADD_REQ").
93 The first parameter gives the device name which tries to add/update/remove
/linux-4.4.14/fs/nfs/
Dfscache-index.c265 pgoff_t first; in nfs_fscache_inode_now_uncached() local
269 first = 0; in nfs_fscache_inode_now_uncached()
277 first, in nfs_fscache_inode_now_uncached()
285 first = pvec.pages[nr_pages - 1]->index + 1; in nfs_fscache_inode_now_uncached()
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-pxa-pci-ce4100.txt17 address space (first group of 2) and the size of
19 the first cell of the local address is chosen to be
42 /* as described by Grant, the first number in the group of
57 /* The first number in the reg property is the
/linux-4.4.14/arch/s390/kernel/
Dsys_s390.c63 SYSCALL_DEFINE5(s390_ipc, uint, call, int, first, unsigned long, second, in SYSCALL_DEFINE5() argument
76 return sys_ipc(call, first, second, third, ptr, third); in SYSCALL_DEFINE5()
/linux-4.4.14/drivers/base/
Ddevres.c409 struct list_head *first, struct list_head *end, in remove_nodes() argument
418 cur = first; in remove_nodes()
433 if (&node->entry == first) in remove_nodes()
434 first = first->next; in remove_nodes()
449 cur = first; in remove_nodes()
477 static int release_nodes(struct device *dev, struct list_head *first, in release_nodes() argument
485 cnt = remove_nodes(dev, first, end, &todo); in release_nodes()
659 struct list_head *first = &grp->node[0].entry; in devres_release_group() local
665 cnt = release_nodes(dev, first, end, flags); in devres_release_group()
/linux-4.4.14/drivers/irqchip/
Dirq-or1k-pic.c105 static inline int pic_get_irq(int first) in pic_get_irq() argument
109 hwirq = ffs(mfspr(SPR_PICSR) >> first); in pic_get_irq()
113 hwirq = hwirq + first - 1; in pic_get_irq()
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dbrcm,unimac-mdio.txt6 - reg: address and length of the regsiter set for the device, first one is the
16 are two separate interrupts, first one must be "mdio done" and second must be
19 to this hardware block, or must be "mdio_done" for the first interrupt and
Dcavium-mix.txt9 - reg: The base addresses of four separate register banks. The first
18 - interrupts: Two interrupt specifiers. The first is the MIX
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-sha.c144 rctx->cmd.u.sha.first = rctx->first; in ccp_do_sha_update()
148 rctx->first = 0; in ccp_do_sha_update()
173 rctx->first = 1; in ccp_sha_init()
220 state.first = rctx->first; in ccp_sha_export()
242 rctx->first = state.first; in ccp_sha_import()
/linux-4.4.14/Documentation/input/
Dwalkera0701.txt88 Values for first four channels (analog joystick values) can be found in
89 first 10 nibbles. Analog value is represented by one sign bit and 9 bit
91 first ten nibbles.
94 directly controlled from TX). Binary representations are the same as in first
106 nibble (only first 3 bits are used). Binary value for checksum nibble is
/linux-4.4.14/Documentation/devicetree/bindings/timer/
Dlsi,zevio-timer.txt6 - reg : The physical base address and size of the timer (always first).
11 - interrupts : The interrupt number of the first timer.
/linux-4.4.14/drivers/media/rc/
Dir-jvc-decoder.c76 data->first = true; in ir_jvc_decode()
138 if (data->first) { in ir_jvc_decode()
144 data->first = false; in ir_jvc_decode()
/linux-4.4.14/drivers/pnp/
Dinterface.c69 int first = 1, i; in pnp_print_irq() local
74 if (!first) { in pnp_print_irq()
77 first = 0; in pnp_print_irq()
102 int first = 1, i; in pnp_print_dma() local
108 if (!first) { in pnp_print_dma()
111 first = 0; in pnp_print_dma()
/linux-4.4.14/arch/arm64/kernel/
Dtraps.c60 unsigned long first; in dump_mem() local
75 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
82 for (p = first, i = 0; i < (32 / width) in dump_mem()
100 printk("%s%04lx:%s\n", lvl, first & 0xffff, str); in dump_mem()
/linux-4.4.14/Documentation/
Dserial-console.txt19 lp0 for the first parallel port
20 ttyUSB0 for the first USB serial device
41 If no console device is specified, the first device found capable of
43 first looks for a VGA card and then for a serial port. So if you don't
44 have a VGA card in your system the first serial port will automatically
85 console for the first time, because otherwise init will probably
Dzorro.txt16 - The Zorro II address space is 24-bit and lies within the first 16 MB of the
20 with Zorro II. The Zorro III address space lies outside the first 16 MB.
86 - Zorro III address space must be mapped explicitly using z_ioremap() first
/linux-4.4.14/Documentation/mn10300/
DABI.txt20 The first two arguments (assuming up to 32-bits per argument) to a function are
25 registers and the stack. If the first argument is a 64-bit value, it will be
26 passed in D0:D1. If the first argument is not a 64-bit value, but the second
64 in which the callee may store the first two arguments.
75 array, then a hidden first argument will be passed to the callee by the caller:
/linux-4.4.14/Documentation/connector/
Dcn_test.c100 req->first = cn_test_id.idx;
107 req->first = cn_test_id.val;
114 req->first = cn_test_id.val + 20;
/linux-4.4.14/Documentation/video4linux/
D4CCs.txt7 other three characters depends on the first one.
17 The following first characters are used by raw bayer formats:
/linux-4.4.14/drivers/tty/vt/
Dvt.c118 int first; member
2135 uint32_t first; member
2144 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
2150 else if (ucs < table[mid].first) in bisearch()
2984 con_driver->first = 0; in con_init()
3107 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument
3147 first = max(first, con_driver->first); in do_bind_con_driver()
3150 for (i = first; i <= last; i++) { in do_bind_con_driver()
3186 printk("consoles %d-%d ", first+1, last+1); in do_bind_con_driver()
3210 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) in do_unbind_con_driver() argument
[all …]
/linux-4.4.14/fs/cifs/
Dcache.c299 pgoff_t first; in cifs_fscache_inode_now_uncached() local
303 first = 0; in cifs_fscache_inode_now_uncached()
309 cifsi->vfs_inode.i_mapping, first, in cifs_fscache_inode_now_uncached()
317 first = pvec.pages[nr_pages - 1]->index + 1; in cifs_fscache_inode_now_uncached()
/linux-4.4.14/fs/logfs/
Dsuper.c362 struct page *first, *last; in find_super_block() local
364 first = super->s_devops->find_first_sb(sb, &super->s_sb_ofs[0]); in find_super_block()
365 if (!first || IS_ERR(first)) in find_super_block()
369 page_cache_release(first); in find_super_block()
373 if (!logfs_check_ds(page_address(first))) { in find_super_block()
375 return first; in find_super_block()
380 page_cache_release(first); in find_super_block()
385 page_cache_release(first); in find_super_block()
/linux-4.4.14/Documentation/devicetree/bindings/c6x/
Ddscr.txt51 registers in DSCR. On SoCs using kick registers, the first key must be
52 written to the first kick register and the second key must be written to
71 start_id is device id for the first device control in the range
76 start_bit is the bit number of the first bit in the range
88 start_id is device id for the first device status in the range
93 start_bit is the bit number of the first bit in the range
/linux-4.4.14/fs/nilfs2/
Ddat.c437 __u64 first, last; in nilfs_dat_get_vinfo() local
449 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo()
450 do_div(first, entries_per_block); in nilfs_dat_get_vinfo()
451 first *= entries_per_block; in nilfs_dat_get_vinfo()
452 last = first + entries_per_block - 1; in nilfs_dat_get_vinfo()
454 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
/linux-4.4.14/Documentation/serial/
Drocket.txt32 board1 : I/O port for the first ISA board
77 The Linux script MAKEDEV will create the first 16 ttyRx device names (nodes)
96 a range of I/O addresses for it to use. The first RocketPort card
108 set to the value of the first Rocketport cards.
111 must have a unique board ID set on the dip switches. The first
113 the first board, the second board must be set with the DIP switches
129 the first 4 bytes of that range are used by the first board. You would
/linux-4.4.14/drivers/gpu/drm/
Ddrm_hashtab.c146 unsigned long first, unshifted_key; in drm_ht_just_insert_please() local
149 first = unshifted_key; in drm_ht_just_insert_please()
155 } while(ret && (unshifted_key != first)); in drm_ht_just_insert_please()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_inline.h44 volatile uint16_t first; in qla2x00_debounce_register() local
48 first = RD_REG_WORD(addr); in qla2x00_debounce_register()
52 } while (first != second); in qla2x00_debounce_register()
54 return (first); in qla2x00_debounce_register()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c93 struct ilt_cfg_pair first; member
194 p_cli->first.val = *p_line; in qed_ilt_cli_adv_line()
203 client_id, p_cli->first.val, in qed_ilt_cli_adv_line()
284 ilt_clients[i].first.val + 1); in qed_cxt_ilt_shadow_size()
458 p_mngr->clients[ILT_CLI_CDUC].first.reg = ILT_CFG_REG(CDUC, FIRST_ILT); in qed_cxt_mngr_alloc()
462 p_mngr->clients[ILT_CLI_QM].first.reg = ILT_CFG_REG(QM, FIRST_ILT); in qed_cxt_mngr_alloc()
644 ilt_clients[i].first.reg, in qed_ilt_bounds_init()
645 ilt_clients[i].first.val); in qed_ilt_bounds_init()
676 line = clients[i].first.val - p_mngr->pf_start_line; in qed_ilt_init_pf()
678 clients[i].first.val * ILT_ENTRY_IN_REGS; in qed_ilt_init_pf()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3279 struct ixgbevf_tx_buffer *first, in ixgbevf_tso() argument
3282 struct sk_buff *skb = first->skb; in ixgbevf_tso()
3300 if (first->protocol == htons(ETH_P_IP)) { in ixgbevf_tso()
3310 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3319 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3329 first->gso_segs = skb_shinfo(skb)->gso_segs; in ixgbevf_tso()
3330 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbevf_tso()
3340 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3349 struct ixgbevf_tx_buffer *first) in ixgbevf_tx_csum() argument
3351 struct sk_buff *skb = first->skb; in ixgbevf_tx_csum()
[all …]
/linux-4.4.14/security/tomoyo/
Dutil.c418 bool first = true; in tomoyo_normalize_line() local
423 if (!first) in tomoyo_normalize_line()
425 first = false; in tomoyo_normalize_line()
806 bool first = true; in tomoyo_file_matches_pattern() local
817 if (first) in tomoyo_file_matches_pattern()
821 first = false; in tomoyo_file_matches_pattern()
826 return first ? result : !result; in tomoyo_file_matches_pattern()
/linux-4.4.14/Documentation/devicetree/bindings/iommu/
Darm,smmu.txt28 - interrupts : Interrupt list, with the first #global-irqs entries
66 <0 34 4>, /* This is the first context interrupt */
72 * Two DMA controllers, the first with two StreamIDs (0xd01d
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_mmap.c451 int ll_teardown_mmaps(struct address_space *mapping, __u64 first, __u64 last) in ll_teardown_mmaps() argument
455 LASSERTF(last > first, "last %llu first %llu\n", last, first); in ll_teardown_mmaps()
458 unmap_mapping_range(mapping, first + PAGE_CACHE_SIZE - 1, in ll_teardown_mmaps()
459 last - first + 1, 0); in ll_teardown_mmaps()
/linux-4.4.14/arch/m68k/fpsp040/
Dbinstr.S9 | in d0. (This pointer must point to byte 4 of the first
23 | to force the first byte formed to have a 0 in the upper 4 bits.
116 swap %d7 |bring first digit to word d7b
117 aslw #4,%d7 |first digit in upper 4 bits d7b
128 addqw #1,%d7 |set d7a to signal first digit done
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dsamsung-hsotg.txt22 - first entry: OTG clock
24 - first entry: must be "otg"
/linux-4.4.14/Documentation/filesystems/nfs/
Didmapper.txt11 NFS will attempt to call /sbin/request-key first. If this succeeds, the
54 request-key will find the first matching line and corresponding program. In
67 description. The serialized key is first converted into a key_serial_t, and
71 determines the correct function to call by looking at the first part of the
/linux-4.4.14/drivers/pci/hotplug/
Dcpci_hotplug_core.c224 cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last) in cpci_hp_register_bus() argument
240 for (i = first; i <= last; ++i) { in cpci_hp_register_bus()
666 static int first = 1; in cpci_hp_start() local
680 status = init_slots(first); in cpci_hp_start()
681 if (first) in cpci_hp_start()
682 first = 0; in cpci_hp_start()
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Dmvebu-devbus.txt52 - devbus,acc-first-ps: Defines the time delay from the negation of
53 ALE[0] to the cycle that the first read data is sampled
65 This parameter has no affect on <acc-first-ps> parameter
66 (no affect on first data sample). Set <rd-setup-ps>
67 to a value smaller than <acc-first-ps>.
144 devbus,acc-first-ps = <124000>;
/linux-4.4.14/Documentation/filesystems/
Dbfs.txt27 this will allocate the first available loopback device (and load loop.o
35 To create the BFS image under UnixWare you need to find out first which
52 The first 4 bytes should be 0x1badface.
Dlogfs.txt16 first non-bad block contains a superblock in the first 4096 Bytes and
18 On block devices, the first 4096 Bytes of the device contain the first
125 the first 16 pointers in the first indirect block are left empty,
127 others as well) the first pointer in the first indirect block
182 fully populated table to 0, 1, 2 or 3 respectively. So the first
/linux-4.4.14/fs/ceph/
Dcache.c150 pgoff_t first; in ceph_fscache_inode_now_uncached() local
154 first = 0; in ceph_fscache_inode_now_uncached()
159 nr_pages = pagevec_lookup(&pvec, ci->vfs_inode.i_mapping, first, in ceph_fscache_inode_now_uncached()
168 first = pvec.pages[nr_pages - 1]->index + 1; in ceph_fscache_inode_now_uncached()
/linux-4.4.14/Documentation/PCI/
Dpci-iov-howto.txt31 In the first method, the device driver (PF driver) will control the
38 enables per-PF, VF enable/disable values versus the first method,
57 (a) For the first method, in the driver:
65 (a) For the first method, in the driver:
/linux-4.4.14/arch/arm/common/
Dmcpm_head.S102 mla r11, r0, r10, r11 @ r11 = cluster first man lock
114 @ Otherwise, release the first man lock and skip setup:
170 @ In the contended case, non-first men wait here for cluster setup
184 mov r0, #0 @ first (CPU) affinity level
/linux-4.4.14/fs/9p/
Dcache.c158 pgoff_t first; in v9fs_cache_inode_now_uncached() local
162 first = 0; in v9fs_cache_inode_now_uncached()
166 first, in v9fs_cache_inode_now_uncached()
174 first = pvec.pages[nr_pages - 1]->index + 1; in v9fs_cache_inode_now_uncached()
/linux-4.4.14/drivers/fmc/
Dfmc-sdb.c261 uint64_t last, first; in fmc_find_sdb_device() local
282 first = __be64_to_cpu(c->addr_first); in fmc_find_sdb_device()
284 *sz = (typeof(*sz))(last + 1 - first); in fmc_find_sdb_device()
285 return first + tree->baseaddr; in fmc_find_sdb_device()
/linux-4.4.14/drivers/hid/
Dhid-thingm.c31 unsigned first; member
38 .first = 0,
42 .first = 1,
269 rgb->num = tdev->fwinfo->first + i; in thingm_probe()
/linux-4.4.14/arch/x86/platform/uv/
Duv_nmi.c199 int first = atomic_add_unless(&hub_nmi->in_nmi, 1, 1); in uv_set_in_nmi() local
201 if (first) { in uv_set_in_nmi()
208 return first; in uv_set_in_nmi()
300 static int uv_nmi_wait_cpus(int first) in uv_nmi_wait_cpus() argument
305 if (first) { in uv_nmi_wait_cpus()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c242 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) in alloc_l2e()
333 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_get()
346 e->next = d->l2tab[hash].first; in t3_l2t_get()
347 d->l2tab[hash].first = e; in t3_l2t_get()
408 for (e = d->l2tab[hash].first; e; e = e->next) in t3_l2t_update()
/linux-4.4.14/fs/befs/
Dbtree.c342 int first, last, mid; in befs_find_key() local
368 first = 0; in befs_find_key()
370 while (last >= first) { in befs_find_key()
371 mid = (last + first) / 2; in befs_find_key()
372 befs_debug(sb, "first: %d, last: %d, mid: %d", first, last, in befs_find_key()
388 first = mid + 1; in befs_find_key()
/linux-4.4.14/drivers/i2c/busses/
Di2c-eg20t.c376 struct i2c_msg *msgs, u32 last, u32 first) in pch_i2c_writebytes() argument
398 if (first) { in pch_i2c_writebytes()
406 if (first) in pch_i2c_writebytes()
418 if (first) in pch_i2c_writebytes()
493 u32 last, u32 first) in pch_i2c_readbytes() argument
513 if (first) { in pch_i2c_readbytes()
521 if (first) in pch_i2c_readbytes()
546 if (first) in pch_i2c_readbytes()
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss.c455 struct media_entity *first = entity; in iss_pipeline_pm_power() local
470 media_entity_graph_walk_start(&graph, first); in iss_pipeline_pm_power()
472 while ((first = media_entity_graph_walk_next(&graph)) && in iss_pipeline_pm_power()
473 first != entity) in iss_pipeline_pm_power()
474 if (media_entity_type(first) != MEDIA_ENT_T_DEVNODE) in iss_pipeline_pm_power()
475 iss_pipeline_pm_power_one(first, -change); in iss_pipeline_pm_power()
1143 unsigned int first; in iss_register_subdev_group() local
1148 for (first = 1; board_info->board_info; ++board_info, first = 0) { in iss_register_subdev_group()
1169 if (first) in iss_register_subdev_group()
/linux-4.4.14/drivers/pinctrl/meson/
Dpinctrl-meson.h94 unsigned int first; member
198 .first = f, \
/linux-4.4.14/fs/notify/
Dfsnotify.c230 inode_node = srcu_dereference(to_tell->i_fsnotify_marks.first, in fsnotify()
235 vfsmount_node = srcu_dereference(mnt->mnt_fsnotify_marks.first, in fsnotify()
237 inode_node = srcu_dereference(to_tell->i_fsnotify_marks.first, in fsnotify()
/linux-4.4.14/fs/ext4/
Dblock_validity.c125 int first = 1; in debug_print_tree() local
131 printk("%s%llu-%llu", first ? "" : ", ", in debug_print_tree()
133 first = 0; in debug_print_tree()
/linux-4.4.14/arch/arm/mm/
Dnommu.c94 bool first = true; in sanity_check_meminfo_mpu() local
99 if (first) { in sanity_check_meminfo_mpu()
109 first = false; in sanity_check_meminfo_mpu()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c577 #define flag2str(flag, first) \ argument
580 seq_printf(m, "%s" #flag, first ? "" : ", "); \
584 bool first = true; in obd_import_flags2str() local
588 first = false; in obd_import_flags2str()
591 flag2str(invalid, first); in obd_import_flags2str()
592 first = false; in obd_import_flags2str()
593 flag2str(deactive, first); in obd_import_flags2str()
594 flag2str(replayable, first); in obd_import_flags2str()
595 flag2str(pingable, first); in obd_import_flags2str()
605 bool first = true; in obd_connect_seq_flags2str() local
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_trace.h259 struct i915_page_table *pt, u32 first, u32 count, u32 bits),
260 TP_ARGS(vm, pde, pt, first, count, bits),
265 __field(u32, first)
273 __entry->first = first;
274 __entry->last = first + count - 1;
283 __entry->vm, __entry->pde, __entry->last, __entry->first,
289 struct i915_page_table *pt, u32 first, u32 count, u32 bits),
290 TP_ARGS(vm, pde, pt, first, count, bits)
/linux-4.4.14/fs/xfs/
Dxfs_buf_item.c821 uint first, in xfs_buf_item_log_segment() argument
838 first_bit = first >> XFS_BLF_SHIFT; in xfs_buf_item_log_segment()
903 uint first, in xfs_buf_item_log() argument
919 if (first > end) { in xfs_buf_item_log()
923 if (first < start) in xfs_buf_item_log()
924 first = start; in xfs_buf_item_log()
928 xfs_buf_item_log_segment(first, end, in xfs_buf_item_log()
/linux-4.4.14/drivers/s390/cio/
Ddevice_pgid.c303 struct pgid *first = NULL; in pgid_analyze() local
319 if (!first) { in pgid_analyze()
320 first = pgid; in pgid_analyze()
323 if (pgid_cmp(pgid, first) != 0) in pgid_analyze()
326 if (!first) in pgid_analyze()
327 first = &channel_subsystems[0]->global_pgid; in pgid_analyze()
328 *p = first; in pgid_analyze()

123456789