Home
last modified time | relevance | path

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

12345678910>>...142

/linux-6.12.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()
215 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
235 struct f_loopback *loop = ep->driver_data; in loopback_complete() local
236 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
241 if (ep == loop->out_ep) { in loopback_complete()
[all …]
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-rsa.c77 int loop; in starfive_rsa_montgomery_form() local
86 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
87 writel(mod[opsize - loop], cryp->base + STARFIVE_PKA_CANR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
104 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
105 writel(in[opsize - loop], cryp->base + STARFIVE_PKA_CAAR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
109 for (loop = 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
110 writel(0, cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
139 for (loop = 0; loop <= count; loop++) in starfive_rsa_montgomery_form()
140 writel(in[count - loop], cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
143 for (loop = count + 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
[all …]
/linux-6.12.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-6.12.1/tools/testing/selftests/bpf/progs/
Dverifier_loops1.c9 __description("bounded loop, count to 4")
22 __description("bounded loop, count to 20")
35 __description("bounded loop, count from positive unknown to 4")
51 __description("bounded loop, count from totally unknown to 4")
66 __description("bounded loop, count to 4 with equality")
79 __description("bounded loop, start in the middle")
94 __description("bounded loop containing a forward jump")
108 __description("bounded loop that jumps out rather than in")
125 __description("infinite loop after a conditional jump")
166 __description("infinite loop in two jumps")
[all …]
Dverifier_cfg.c59 __description("loop (back-edge)")
86 __description("conditional loop")
87 __failure __msg("infinite loop detected")
101 __description("conditional loop (2)")
123 __description("unconditional loop after conditional jump")
124 __failure __msg("infinite loop detected")
148 __description("unconditional loop after conditional jump")
149 /* infinite loop is detected *after* check_cfg() */
150 __failure __msg("infinite loop detected")
Dbpf_compiler.h8 #define __pragma_loop_unroll DO_PRAGMA_(clang loop unroll(enable))
11 same impact than the loop-unroll-enable pragma above. */
16 #define __pragma_loop_unroll_count(N) DO_PRAGMA_(clang loop unroll_count(N))
22 #define __pragma_loop_unroll_full DO_PRAGMA_(clang loop unroll(full))
28 #define __pragma_loop_no_unroll DO_PRAGMA_(clang loop unroll(disable))
/linux-6.12.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-6.12.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-6.12.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-6.12.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-6.12.1/fs/afs/
Dcmservice.c237 int ret, loop; in afs_deliver_cb_callback() local
282 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
372 unsigned loop; in afs_deliver_cb_init_call_back_state3() local
411 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3()
412 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
487 unsigned loop; in afs_deliver_cb_probe_uuid() local
524 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
525 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
545 int loop; in SRXAFSCB_TellMeAboutYourself() local
570 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
[all …]
/linux-6.12.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-6.12.1/include/linux/dma/
Dti-cppi5.h152 * 0x1ff indicates perpetual loop, infinite reload until the channel is stopped
700 * @CPPI5_TR_TRIGGER_TYPE_ICNT1_DEC: The second inner most loop (ICNT1) will
702 * @CPPI5_TR_TRIGGER_TYPE_ICNT2_DEC: The third inner most loop (ICNT2) will
704 * @CPPI5_TR_TRIGGER_TYPE_ICNT3_DEC: The outer most loop (ICNT3) will be
722 * @icnt0: Total loop iteration count for level 0 (innermost)
736 * @icnt0: Total loop iteration count for level 0 (innermost)
737 * @icnt1: Total loop iteration count for level 1
739 * @dim1: Signed dimension for loop level 1
752 * @icnt0: Total loop iteration count for level 0 (innermost)
753 * @icnt1: Total loop iteration count for level 1
[all …]
/linux-6.12.1/arch/xtensa/include/asm/
Dasmmacro.h33 * cond true condition (used in loop'cond')
37 * restart loop. 'as' register must not have been modified!
47 * loop for given size as immediate
54 loop \at, 99f
63 * loop for given size in register
77 loop\cond \at, 99f
102 * loop from ar to as
113 loop \at, 99f
121 * restart loop. registers must be unchanged
127 loop \as, 99f
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dmap_in_map.c14 int loop, err; member
27 int loop = ctx->loop, err = 0; in update_map_fn() local
33 while (loop-- > 0) { in update_map_fn()
58 int loop = ctx->loop; in access_map_fn() local
64 while (loop-- > 0) { in access_map_fn()
108 ctx.loop = 4; in test_map_in_map_access()
Dbpf_verif_scale.c115 /* partial unroll. llvm will unroll loop ~150 times. in test_verif_scale_pyperf600()
116 * C loop count -> 600. in test_verif_scale_pyperf600()
117 * Asm loop count -> 4. in test_verif_scale_pyperf600()
118 * 16k insns in loop body. in test_verif_scale_pyperf600()
133 * C loop count -> 600. in test_verif_scale_pyperf600_nounroll()
134 * ASM loop count -> 600. in test_verif_scale_pyperf600_nounroll()
135 * ~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-6.12.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 …]
/linux-6.12.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()
504 int loop; in create_elf_fdpic_tables() local
689 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
703 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
744 int loop, ret; in elf_fdpic_map_file() local
748 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
749 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
784 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
800 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
[all …]
/linux-6.12.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-6.12.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-6.12.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-6.12.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
/linux-6.12.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-6.12.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

12345678910>>...142