Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/Linux-v6.6/drivers/usb/gadget/function/
Df_loopback.c169 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()
250 ep = loop->in_ep; in loopback_complete()
[all …]
/Linux-v6.6/drivers/crypto/starfive/
Djh7110-rsa.c95 int loop; in starfive_rsa_montgomery_form() local
104 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
105 writel(mod[opsize - loop], cryp->base + STARFIVE_PKA_CANR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
123 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
124 writel(in[opsize - loop], cryp->base + STARFIVE_PKA_CAAR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
128 for (loop = 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
129 writel(0, cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
160 for (loop = 0; loop <= count; loop++) in starfive_rsa_montgomery_form()
161 writel(in[count - loop], cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
164 for (loop = count + 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
[all …]
/Linux-v6.6/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.6/drivers/soc/fsl/qbman/
Dqman_test_stash.c215 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
329 for (loop = 0; loop < HP_PER_CPU; loop++) { in create_per_cpu_handlers()
346 struct list_head *loop, *tmp; in destroy_per_cpu_handlers() local
352 list_for_each_safe(loop, tmp, &hp_cpu->handlers) { in destroy_per_cpu_handlers()
354 struct hp_handler *handler = list_entry(loop, struct hp_handler, in destroy_per_cpu_handlers()
[all …]
Dbman_test.c40 int loop = 1; in test_init() local
42 while (loop--) in test_init()
/Linux-v6.6/fs/afs/
Dcmservice.c236 int ret, loop; in afs_deliver_cb_callback() local
281 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
371 unsigned loop; in afs_deliver_cb_init_call_back_state3() local
410 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_init_call_back_state3()
411 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
486 unsigned loop; in afs_deliver_cb_probe_uuid() local
523 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
524 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
544 int loop; in SRXAFSCB_TellMeAboutYourself() local
569 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
[all …]
/Linux-v6.6/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()
791 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
807 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
[all …]
/Linux-v6.6/lib/
Dbuild_OID_registry57 for (my $loop = 2; $loop <= $#components; $loop++) {
58 my $c = $components[$loop];
97 for (my $loop = 2; $loop <= $#components; $loop++) {
98 my $c = $components[$loop];
/Linux-v6.6/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.6/kernel/locking/
Dqspinlock_paravirt.h267 pv_wait_early(struct pv_node *prev, int loop) in pv_wait_early() argument
269 if ((loop & PV_PREV_CHECK_MASK) != 0) in pv_wait_early()
297 int loop; in pv_wait_node() local
301 for (wait_early = false, loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_node()
304 if (pv_wait_early(pp, loop)) { in pv_wait_node()
408 int loop; in pv_wait_head_or_lock() local
434 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head_or_lock()
/Linux-v6.6/tools/testing/selftests/bpf/map_tests/
Dtask_storage_map.c24 int loop; member
36 while (!ctx->stop && i++ < ctx->loop) in lookup_fn()
54 unsigned int i, nr = 256, loop = 8192, cpu = 0; in test_task_storage_map_stress_lookup() local
70 loop = atoi(cfg); in test_task_storage_map_stress_lookup()
99 ctx.loop = loop; in test_task_storage_map_stress_lookup()
/Linux-v6.6/crypto/asymmetric_keys/
Dverify_pefile.c249 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local
278 for (loop = 1; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
279 for (i = 0; i < loop; i++) { in pefile_digest_pe_contents()
281 &ctx->secs[loop]) > 0) { in pefile_digest_pe_contents()
283 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents()
287 canon[i] = loop; in pefile_digest_pe_contents()
291 for (loop = 0; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
292 i = canon[loop]; in pefile_digest_pe_contents()
/Linux-v6.6/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.6/drivers/pci/hotplug/
Dcpqphp_nvram.c229 u8 loop; in store_HRT() local
292 loop = 0; in store_HRT()
295 loop++; in store_HRT()
311 p_ev_ctrl->mem_avail = loop; in store_HRT()
317 loop = 0; in store_HRT()
320 loop++; in store_HRT()
336 p_ev_ctrl->p_mem_avail = loop; in store_HRT()
342 loop = 0; in store_HRT()
345 loop++; in store_HRT()
361 p_ev_ctrl->io_avail = loop; in store_HRT()
[all …]
Dcpqphp_core.c163 int loop; in pci_print_IRQ_route() local
169 for (loop = 0; loop < len; ++loop) { in pci_print_IRQ_route()
170 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
171 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
172 tslot = cpqhp_routing_table->slots[loop].slot; in pci_print_IRQ_route()
311 long loop; in get_slot_mapping() local
320 for (loop = 0; loop < len; ++loop) { in get_slot_mapping()
321 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
322 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
323 tslot = cpqhp_routing_table->slots[loop].slot; in get_slot_mapping()
[all …]
Dibmphp_core.c116 int loop; in ibmphp_init_devno() local
132 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno()
133 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
134 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno()
152 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
154 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno()
156 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno()
158 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno()
161 rtable->slots[loop].irq[0].link); in ibmphp_init_devno()
[all …]
/Linux-v6.6/drivers/watchdog/
Dimx7ulp_wdt.c132 u32 loop = RETRY_MAX; in imx7ulp_wdt_enable() local
137 } while (--loop > 0 && ((!!(val & WDOG_CS_EN)) != enable || ret)); in imx7ulp_wdt_enable()
139 if (loop == 0) in imx7ulp_wdt_enable()
191 u32 loop = RETRY_MAX; in imx7ulp_wdt_set_timeout() local
196 } while (--loop > 0 && (val != toval || ret)); in imx7ulp_wdt_set_timeout()
198 if (loop == 0) in imx7ulp_wdt_set_timeout()
283 u32 loop = RETRY_MAX; in imx7ulp_wdt_init() local
293 } while (--loop > 0 && (cs != val || toval != timeout || ret)); in imx7ulp_wdt_init()
295 if (loop == 0) in imx7ulp_wdt_init()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dhtab_reuse.c11 int loop; member
25 while (i++ < ctx->loop && !ctx->stop) { in htab_lookup_fn()
42 while (i++ < ctx->loop && !ctx->stop) { in htab_update_fn()
75 ctx.loop = 500; in test_htab_reuse()
/Linux-v6.6/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.6/drivers/net/can/
Dvcan.c90 int loop; in vcan_tx() local
100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
106 if (loop) { in vcan_tx()
119 if (loop) { in vcan_tx()
/Linux-v6.6/drivers/nvme/target/
DMakefile6 obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o
17 nvme-loop-y += loop.o
/Linux-v6.6/drivers/gpu/drm/gma500/
Dintel_gmbus.c277 u32 val, loop = 0; in gmbus_xfer() local
289 } while (--len && ++loop < 4); in gmbus_xfer()
292 u32 val, loop; in gmbus_xfer() local
294 val = loop = 0; in gmbus_xfer()
296 val |= *buf++ << (8 * loop); in gmbus_xfer()
297 } while (--len && ++loop < 4); in gmbus_xfer()
315 val = loop = 0; in gmbus_xfer()
317 val |= *buf++ << (8 * loop); in gmbus_xfer()
318 } while (--len && ++loop < 4); in gmbus_xfer()
/Linux-v6.6/samples/vfs/
Dtest-statx.c152 int loop, byte; in dump_statx() local
171 for (loop = 7; loop >= 0; loop--) { in dump_statx()
172 int bit = byte + loop; in dump_statx()
/Linux-v6.6/arch/alpha/lib/
Dev6-clear_user.S86 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)
140 subq $1, 16, $4 # .. .. E .. : Forward calculation - repeat the loop?
152 subq $0, 168, $5 # E : U L L U : two trips through the loop left?
198 # so we will use $0 as the loop counter
/Linux-v6.6/drivers/usb/usbip/
Dusbip_common.c410 int loop; in urb_to_usbip() local
412 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in urb_to_usbip()
413 if (flags & flag_map[loop].urb_flag) in urb_to_usbip()
414 map_flags |= flag_map[loop].usbip_flag; in urb_to_usbip()
423 int loop; in usbip_to_urb() local
425 for (loop = 0; loop < NUM_USBIP_FLAGS; loop++) { in usbip_to_urb()
426 if (flags & flag_map[loop].usbip_flag) in usbip_to_urb()
427 map_flags |= flag_map[loop].urb_flag; in usbip_to_urb()

12345678910>>...21