/linux/drivers/usb/gadget/function/ |
H A D | f_loopback.c | 150 [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/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.h | 400 * 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/tools/testing/selftests/bpf/progs/ |
H A D | verifier_loops1.c | 9 __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 …]
|
H A D | verifier_cfg.c | 59 __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")
|
H A D | bpf_compiler.h | 8 #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/fs/ramfs/ |
H A D | file-nommu.c | 64 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/Documentation/hwmon/ |
H A D | g762.rst | 5 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/Documentation/ABI/testing/ |
H A D | sysfs-block-loop | 1 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/arch/parisc/kernel/ |
H A D | pacache.S | 75 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/tools/testing/selftests/bpf/prog_tests/ |
H A D | free_timer.c | 14 int loop; member 42 int loop, fd, err; in overwrite_timer_fn() local 57 loop = ctx->loop; in overwrite_timer_fn() 58 while (loop-- > 0) { in overwrite_timer_fn() 81 int loop, fd, err; in start_timer_fn() local 96 loop = ctx->loop; in start_timer_fn() 97 while (loop-- > 0) { in start_timer_fn() 143 ctx.loop = 10; in test_free_timer()
|
H A D | bpf_verif_scale.c | 115 /* 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/include/linux/dma/ |
H A D | ti-cppi5.h | 152 * 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/include/linux/ |
H A D | unroll.h | 19 * unrolled - loop attributes to ask the compiler to unroll it 27 * // loop body without cross-iteration dependencies 40 __pick_unrolled(clang loop unroll(enable), /* nothing */) 42 /* Unroll each @n iterations of the loop */ 44 __pick_unrolled(clang loop unroll_count(n), GCC unroll n) 46 /* Unroll the whole loop */ 48 __pick_unrolled(clang loop unroll(full), GCC unroll 65534) 50 /* Never unroll the loop */ 52 __pick_unrolled(clang loop unroll(disable), GCC unroll 1)
|
H A D | hashtable.h | 122 * @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/arch/xtensa/include/asm/ |
H A D | asmmacro.h | 33 * 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/arch/alpha/lib/ |
H A D | ev6-memset.S | 19 * 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 …]
|
H A D | ev6-clear_user.S | 25 * 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 …]
|
H A D | ev6-copy_user.S | 60 * 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/fs/ |
H A D | binfmt_elf_fdpic.c | 143 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 698 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables() 712 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables() 753 int loop, ret; in elf_fdpic_map_file() local 757 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file() 758 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file() 793 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 809 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 86 * 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/include/uapi/linux/ |
H A D | loop.h | 14 * 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/arch/m68k/fpsp040/ |
H A D | binstr.S | 25 | 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/drivers/pcmcia/ |
H A D | pcmcia_cis.c | 29 * @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/drivers/block/ |
H A D | Kconfig | 149 drive partitions, CD-ROM drives or floppy drives. The loop devices 157 root file system inside a DOS FAT file using this loop device 160 To use the loop device, you need the losetup utility, found in the 164 The loop device driver can also be used to "hide" a file system in 170 Note that this loop device has nothing to do with the loopback 174 module will be called loop. 179 int "Number of loop devices to pre-create at init time" 183 Static number of loop devices to be unconditionally pre-created 187 line or with module-parameter loop.max_loop. 190 is used, it can be set to 0, since needed loop devices can be [all …]
|
/linux/arch/arc/lib/ |
H A D | memcpy-archs.S | 50 ;; 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
|