Home
last modified time | relevance | path

Searched full:loop (Results 1 – 25 of 2769) sorted by relevance

12345678910>>...111

/Linux-v6.1/drivers/usb/gadget/function/
Df_loopback.c150 [0].s = "loop input to output",
169 struct f_loopback *loop = func_to_loop(f); in loopback_bind() local
187 loop->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_source_desc); in loopback_bind()
188 if (!loop->in_ep) { in loopback_bind()
195 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); in loopback_bind()
196 if (!loop->out_ep) in loopback_bind()
217 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
237 struct f_loopback *loop = ep->driver_data; in loopback_complete() local
238 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
243 if (ep == loop->out_ep) { in loopback_complete()
[all …]
/Linux-v6.1/drivers/media/test-drivers/vidtv/
Dvidtv_psi.h400 * vidtv_psi_sdt_service_assign - Assigns the service loop to the SDT.
402 * @service: The service loop (one or more services)
404 * This will free the previous service loop in the table.
405 * This will assign ownership of the service loop to the table, i.e. the table
406 * will free this service loop when a call to its destroy function is made.
413 * vidtv_psi_desc_assign - Assigns a descriptor loop at some point
414 * @to: Where to assign this descriptor loop to
415 * @desc: The descriptor loop that will be assigned.
417 * This will free the loop in 'to', if any.
423 * vidtv_pmt_desc_assign - Assigns a descriptor loop at some point in a PMT section.
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/verifier/
Dloops1.c2 "bounded loop, count to 4",
14 "bounded loop, count to 20",
25 "bounded loop, count from positive unknown to 4",
38 "bounded loop, count from totally unknown to 4",
49 "bounded loop, count to 4 with equality",
60 "bounded loop, start in the middle",
74 "bounded loop containing a forward jump",
87 "bounded loop that jumps out rather than in",
100 "infinite loop after a conditional jump",
130 "infinite loop in two jumps",
[all …]
/Linux-v6.1/drivers/soc/fsl/qbman/
Dqman_test_stash.c68 * hp_cpu's 'iterator' to point to its first handler. With each loop,
70 * and advance the iterator for the next loop. This includes a final fixup,
75 * hp_cpu's 'iterator' to point to its first handler. With each loop,
76 * initialise FQ objects and advance the iterator for the next loop.
215 int loop; in allocate_frame_data() local
229 for (loop = 0; loop < HP_NUM_WORDS; loop++) { in allocate_frame_data()
230 frame_ptr[loop] = lfsr; in allocate_frame_data()
257 int loop; in process_frame_data() local
264 for (loop = 0; loop < HP_NUM_WORDS; loop++, p++) { in process_frame_data()
320 int loop; in create_per_cpu_handlers() local
[all …]
/Linux-v6.1/fs/ramfs/
Dfile-nommu.c64 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
95 for (loop = npages; loop < xpages; loop++) in ramfs_nommu_expand_for_mapping()
96 __free_page(pages + loop); in ramfs_nommu_expand_for_mapping()
104 for (loop = 0; loop < npages; loop++) { in ramfs_nommu_expand_for_mapping()
105 struct page *page = pages + loop; in ramfs_nommu_expand_for_mapping()
107 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping()
123 while (loop < npages) in ramfs_nommu_expand_for_mapping()
124 __free_page(pages + loop++); in ramfs_nommu_expand_for_mapping()
206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local
239 for (loop = 0; loop < nr_folios; loop++) { in ramfs_nommu_get_unmapped_area()
[all …]
/Linux-v6.1/Documentation/hwmon/
Dg762.rst5 and performs closed-loop or open-loop control of the fan speed. Two
25 set desired fan speed. This only makes sense in closed-loop
44 in closed-loop control mode, if fan RPM value is 25% out
50 speed control (open-loop) via pwm1 described below, 2 for
51 automatic fan speed control (closed-loop) via fan1_target
58 get or set PWM fan control value in open-loop mode. This is an
63 when current fan speed control mode is open-loop ('pwm1_enable' set to 1),
65 entry (0 stops the fan, 255 makes it run at full speed). In closed-loop mode
67 the chip via 'fan1_target'. In closed-loop mode, the target speed is compared
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-block-loop1 What: /sys/block/loopX/loop/autoclear
10 What: /sys/block/loopX/loop/backing_file
15 (RO) The path of the backing file that the loop device maps its
18 What: /sys/block/loopX/loop/offset
25 What: /sys/block/loopX/loop/sizelimit
33 What: /sys/block/loopX/loop/partscan
40 per loop device during its setup by setting LO_FLAGS_PARTSCAN in
44 What: /sys/block/loopX/loop/dio
/Linux-v6.1/fs/afs/
Dcmservice.c234 int ret, loop; in afs_deliver_cb_callback() local
279 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
369 unsigned loop; in afs_deliver_cb_init_call_back_state3() local
408 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3()
409 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
484 unsigned loop; in afs_deliver_cb_probe_uuid() local
521 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
522 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
542 int loop; in SRXAFSCB_TellMeAboutYourself() local
567 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
[all …]
/Linux-v6.1/arch/parisc/kernel/
Dpacache.S75 movb,<,n %arg3, %r31, fitdone /* If loop < 0, skip */
78 fitmanyloop: /* Loop if LOOP >= 2 */
81 copy %arg2, %r29 /* Init middle loop count */
83 fitmanymiddle: /* Loop if LOOP >= 2 */
84 addib,COND(>) -1, %r31, fitmanymiddle /* Adjusted inner loop decr */
87 addib,COND(>) -1, %r29, fitmanymiddle /* Middle loop decr */
88 copy %arg3, %r31 /* Re-init inner loop count */
91 addib,COND(<=),n -1, %r22, fitdone /* Outer loop count decr */
93 fitoneloop: /* Loop if LOOP = 1 */
96 copy %arg2, %r29 /* init middle loop count */
[all …]
/Linux-v6.1/include/linux/dma/
Dti-cppi5.h152 * 0x1ff indicates perpetual loop, infinite reload until the channel is stopped
699 * @CPPI5_TR_TRIGGER_TYPE_ICNT1_DEC: The second inner most loop (ICNT1) will
701 * @CPPI5_TR_TRIGGER_TYPE_ICNT2_DEC: The third inner most loop (ICNT2) will
703 * @CPPI5_TR_TRIGGER_TYPE_ICNT3_DEC: The outer most loop (ICNT3) will be
721 * @icnt0: Total loop iteration count for level 0 (innermost)
735 * @icnt0: Total loop iteration count for level 0 (innermost)
736 * @icnt1: Total loop iteration count for level 1
738 * @dim1: Signed dimension for loop level 1
751 * @icnt0: Total loop iteration count for level 0 (innermost)
752 * @icnt1: Total loop iteration count for level 1
[all …]
/Linux-v6.1/arch/xtensa/include/asm/
Dasmmacro.h32 * cond true condition (used in loop'cond')
36 * restart loop. 'as' register must not have been modified!
46 * loop for given size as immediate
53 loop \at, 99f
62 * loop for given size in register
76 loop\cond \at, 99f
101 * loop from ar to as
112 loop \at, 99f
120 * restart loop. registers must be unchanged
126 loop \as, 99f
[all …]
/Linux-v6.1/arch/alpha/lib/
Dev6-memset.S19 * however the loop has been unrolled to enable better memory throughput,
23 * A future enhancement might be to put in a byte store loop for really
119 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
126 * through unrolled loop. Do a quad at a time to get us 0mod64
154 * Assumes the wh64 needs to be for 2 trips through the loop in the future
156 * through the loop, and if there are less than two trips left, the target
178 subq $3, 16, $2 # E : Repeat the loop at least once more?
193 * Simple loop for trailing quadwords, or for small amounts
194 * of data (where we can't use an unrolled loop and wh64)
297 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
[all …]
Dev6-clear_user.S25 * it's going to be worth the effort to hand-unroll a big loop, and use wh64.
80 * values upon initial entry to the loop
86 subq $1, 16, $4 # .. .. .. E : If < 16, we can not use the huge loop
87 and $16, 0x3f, $2 # .. .. E .. : Forward work for huge loop
88 subq $2, 0x40, $3 # .. E .. .. : bias counter (huge loop)
93 * going to be able to use the large block clear loop at least once.
124 * staggered fashion, we can still do this loop in 5 fetches
127 * Assumes the wh64 needs to be for 2 trips through the loop in the future
129 * through the loop, and if there are less than two trips left, the target
140 subq $1, 16, $4 # .. .. E .. : Forward calculation - repeat the loop?
[all …]
Dev6-copy_user.S60 * This loop aligns the destination a byte at a time
61 * We know we have at least one trip through this loop
71 * which allows us zero dependencies within either quadpack in the loop
84 bic $0,7,$4 # .. .. E .. : number bytes as a quadword loop
93 /* Misaligned quadword loop - not unrolled. Leave it that way. */
115 /* We know we have at least one trip through the byte loop */
120 /* Do the trailing byte loop load, then hop into the store part of the loop */
124 * Based upon the usage context, it's worth the effort to unroll this loop
142 * unroll this to be an 8x loop (which would enable us to use the wh64
194 * For small copies (or the tail of a larger copy), do a very simple byte loop.
[all …]
/Linux-v6.1/fs/
Dbinfmt_elf_fdpic.c143 int retval, loop; in elf_fdpic_fetch_phdrs() local
162 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
507 int loop; in create_elf_fdpic_tables() local
696 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
710 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
751 int loop, ret; in elf_fdpic_map_file() local
755 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
756 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
795 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
811 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
[all …]
/Linux-v6.1/include/uapi/linux/
Dloop.h14 * Loop flags
69 * struct loop_config - Complete configuration for a loop device.
70 * @fd: fd of the file to be used as a backing file for the loop device.
72 * @info: struct loop_info64 to configure the loop device with.
75 * atomically setup and configure all loop device parameters at once.
85 * Loop filter types
116 /* /dev/loop-control interface */
/Linux-v6.1/arch/m68k/fpsp040/
Dbinstr.S25 | A2. Beginning of the loop:
43 | A7. Decrement d6 (LEN counter) and repeat the loop until zero.
81 | A2. Copy d2:d3 to d4:d5. Start loop.
83 loop: label
113 tstw %d7 |if zero, store digit & to loop
122 dbf %d0,loop |do loop some more!
129 dbf %d0,loop |do loop some more!
/Linux-v6.1/drivers/macintosh/
Dwindfarm_pm121.c86 * dependencies, we must trigger HD loop before OD loop before CPU
87 * loop.
91 * HD Fan control loop.
113 * OD Fan control loop.
135 * GPU Fan control loop.
157 * KODIAK (aka northbridge) Fan control loop.
179 * CPU Fan control loop.
185 * CPU Slew control loop.
238 /* Set to kick the control loop into life */
248 /* All sys loops. Note the HD before the OD loop in order to have it
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_verif_scale.c121 /* partial unroll. llvm will unroll loop ~150 times. in test_verif_scale_pyperf600()
122 * C loop count -> 600. in test_verif_scale_pyperf600()
123 * Asm loop count -> 4. in test_verif_scale_pyperf600()
124 * 16k insns in loop body. in test_verif_scale_pyperf600()
139 * C loop count -> 600. in test_verif_scale_pyperf600_nounroll()
140 * ASM loop count -> 600. in test_verif_scale_pyperf600_nounroll()
141 * ~110 insns in loop body. in test_verif_scale_pyperf600_nounroll()
179 /* partial unroll. 19k insn in a loop. in test_verif_scale_strobemeta()
/Linux-v6.1/include/linux/
Dhashtable.h122 * @bkt: integer to use as bucket loop cursor
123 * @obj: the type * to use as a loop cursor for each entry
134 * @bkt: integer to use as bucket loop cursor
135 * @obj: the type * to use as a loop cursor for each entry
147 * @bkt: integer to use as bucket loop cursor
149 * @obj: the type * to use as a loop cursor for each entry
161 * @obj: the type * to use as a loop cursor for each entry
172 * @obj: the type * to use as a loop cursor for each entry
184 * @obj: the type * to use as a loop cursor for each entry
199 * @obj: the type * to use as a loop cursor for each entry
Dprocessor.h9 * spin_begin is used before beginning a busy-wait loop, and must be paired
10 * with spin_end when the loop is exited. spin_cpu_relax must be called
11 * within the loop.
13 * The loop body should be as small and fast as possible, on the order of
25 * tested within the loop body.
/Linux-v6.1/drivers/pcmcia/
Dpcmcia_cis.c29 * @function: the device function we loop for
68 * pccard_loop_tuple() - loop over tuples in the CIS
70 * @function: the device function we loop for
80 * returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
248 * pcmcia_loop_config() - loop over configuration options
249 * @p_dev: the struct pcmcia_device which we need to loop for.
302 struct pcmcia_loop_mem *loop = priv; in pcmcia_do_loop_tuple() local
304 return loop->loop_tuple(loop->p_dev, tuple, loop->priv_data); in pcmcia_do_loop_tuple()
308 * pcmcia_loop_tuple() - loop over tuples in the CIS
309 * @p_dev: the struct pcmcia_device which we need to loop for.
[all …]
/Linux-v6.1/arch/arc/lib/
Dmemcpy-archs.S50 ;; LOOP BEGIN
64 ;; LOOP START
78 ;; LOOP START
107 ;; LOOP START
132 ;; LOOP START
150 ;; LOOP START
173 ;; LOOP START
190 ;; LOOP START
213 ;; LOOP START
/Linux-v6.1/arch/arm64/include/asm/
Dpercpu.h70 unsigned int loop; \
77 " stxr" #sfx "\t%w[loop], %" #w "[tmp], %[ptr]\n" \
78 " cbnz %w[loop], 1b", \
82 : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \
91 unsigned int loop; \
98 " stxr" #sfx "\t%w[loop], %" #w "[ret], %[ptr]\n" \
99 " cbnz %w[loop], 1b", \
104 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
/Linux-v6.1/tools/include/linux/
Dlist.h416 * @pos: the &struct list_head to use as a loop cursor.
424 * @pos: the &struct list_head to use as a loop cursor.
432 * @pos: the &struct list_head to use as a loop cursor.
442 * @pos: the &struct list_head to use as a loop cursor.
453 * @pos: the type * to use as a loop cursor.
464 * @pos: the type * to use as a loop cursor.
486 * @pos: the type * to use as a loop cursor.
500 * @pos: the type * to use as a loop cursor.
514 * @pos: the type * to use as a loop cursor.
526 * @pos: the type * to use as a loop cursor.
[all …]

12345678910>>...111