/openbmc/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 …]
|
/openbmc/qemu/docs/devel/ |
H A D | multiple-iothreads.rst | 14 The main loop and ``IOThread``\ s 17 event loop. The VNC server and the QMP monitor are both processed from the 18 same event loop, which monitors their file descriptors until they become 21 The default event loop is called the main loop (see ``main-loop.c``). It is 22 possible to create additional event loop threads using 25 Side note: The main loop and ``IOThread`` are both event loops but their code is 31 ``IOThread``\ s allow the user to control the placement of work. The main loop is a 33 several ``IOThread``\ s instead of just one main loop. When set up correctly this 36 The main loop is also deeply associated with the BQL, which is a 37 scalability bottleneck in itself. vCPU threads and the main loop use the BQL [all …]
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 94 int loop; in starfive_rsa_montgomery_form() local 103 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form() 104 writel(mod[opsize - loop], cryp->base + STARFIVE_PKA_CANR_OFFSET + loop * 4); in starfive_rsa_montgomery_form() 122 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form() 123 writel(in[opsize - loop], cryp->base + STARFIVE_PKA_CAAR_OFFSET + loop * 4); in starfive_rsa_montgomery_form() 127 for (loop = 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form() 128 writel(0, cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form() 159 for (loop = 0; loop <= count; loop++) in starfive_rsa_montgomery_form() 160 writel(in[count - loop], cryp->base + STARFIVE_PKA_CAER_OFFSET + loop * 4); in starfive_rsa_montgomery_form() 163 for (loop = count + 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form() [all …]
|
/openbmc/u-boot/include/ |
H A D | mpc8xx.h | 284 #define MCR_MLCF(n) (((n)&0xF)<<8) /* Memory Command Loop Count Field */ 315 #define MAMR_RLFA_MSK 0x00000F00 /* Read Loop Field A mask */ 316 #define MAMR_RLFA_1X 0x00000100 /* The Read Loop is executed 1 time */ 317 #define MAMR_RLFA_2X 0x00000200 /* The Read Loop is executed 2 times */ 318 #define MAMR_RLFA_3X 0x00000300 /* The Read Loop is executed 3 times */ 319 #define MAMR_RLFA_4X 0x00000400 /* The Read Loop is executed 4 times */ 320 #define MAMR_RLFA_5X 0x00000500 /* The Read Loop is executed 5 times */ 321 #define MAMR_RLFA_6X 0x00000600 /* The Read Loop is executed 6 times */ 322 #define MAMR_RLFA_7X 0x00000700 /* The Read Loop is executed 7 times */ 323 #define MAMR_RLFA_8X 0x00000800 /* The Read Loop is executed 8 times */ [all …]
|
/openbmc/phosphor-objmgr/libmapper/ |
H A D | app.c | 25 static void quit(int r, void* loop) in quit() argument 27 sd_event_exit((sd_event*)loop, r); in quit() 34 sd_event* loop = NULL; in wait_main() local 47 * GetObject call may fail with a timeout and cause the event loop to exit. in wait_main() 62 r = sd_event_default(&loop); in wait_main() 65 fprintf(stderr, "Error obtaining event loop: %s\n", strerror(-r)); in wait_main() 70 r = sd_bus_attach_event(conn, loop, SD_EVENT_PRIORITY_NORMAL); in wait_main() 75 "bus to event loop: %s\n", in wait_main() 80 r = mapper_wait_async(conn, loop, argv + 2, quit, loop, &wait); in wait_main() 87 r = sd_event_loop(loop); in wait_main() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | main-loop.h | 30 #include "sysemu/event-loop-base.h" 34 #define TYPE_MAIN_LOOP "main-loop" 43 * qemu_init_main_loop: Set up the process so that it can run the main loop. 47 * main one should block signals that are trapped by the main loop. 58 * main_loop_wait: Run one iteration of the main loop. 61 * one actually occurs. The main loop usually consists of a loop that 64 * Main loop services include file descriptor callbacks, bottom halves 70 * case, the coroutine actually should be started from within the main loop, 71 * so that the main loop can run whenever the coroutine yields. To do this, 72 * you can use a bottom half to enter the coroutine as soon as the main loop [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/ |
H A D | serv.py | 147 def start(self, loop): argument 148 self.server = loop.run_until_complete( 192 def start(self, loop): argument 197 self.server = loop.run_until_complete( 225 def start(self, loop): argument 228 self.server = loop.run_until_complete( 270 self.loop = None 319 tasks = self.server.start(self.loop) 325 self.loop.create_task(self.stop()) 329 self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler) [all …]
|
H A D | client.py | 210 self.loop = asyncio.new_event_loop() 212 # Override any pre-existing loop. 220 asyncio.set_event_loop(self.loop) 230 return self.loop.run_until_complete(downcall(*args, **kwargs)) 240 self.loop.run_until_complete(self.client.connect_unix(path)) 241 self.loop.run_until_complete(self.client.connect()) 252 self.loop.run_until_complete(self.client.close()) 255 if self.loop: 256 self.loop.run_until_complete(self.client.close()) 257 self.loop.run_until_complete(self.loop.shutdown_asyncgens()) [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | sync_manager_main.cpp | 18 sd_event* loop = nullptr; in main() local 19 sd_event_default(&loop); in main() 28 phosphor::software::manager::SyncWatch watch(*loop, syncCallback); in main() 29 bus.attach_event(loop, SD_EVENT_PRIORITY_NORMAL); in main() 30 sd_event_loop(loop); in main() 34 lg2::error("Error in event loop: {ERROR}", "ERROR", e); in main() 35 sd_event_unref(loop); in main() 39 sd_event_unref(loop); in main()
|
H A D | image_manager_main.cpp | 17 sd_event* loop = nullptr; in main() local 18 sd_event_default(&loop); in main() 27 loop, std::bind(std::mem_fn(&Manager::processImage), &imageManager, in main() 29 bus.attach_event(loop, SD_EVENT_PRIORITY_NORMAL); in main() 30 sd_event_loop(loop); in main() 34 lg2::error("Error in event loop: {ERROR}", "ERROR", e); in main() 38 sd_event_unref(loop); in main()
|
/openbmc/linux/drivers/soc/fsl/qbman/ |
H A D | qman_test_stash.c | 68 * 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 …]
|
/openbmc/skeleton/op-pwrctl/pgood_wait/ |
H A D | pgood_wait.c | 28 static void quit(int r, void *loop) in quit() argument 30 sd_event_exit((sd_event *)loop, r); in quit() 37 sd_event *loop = user; in callback() local 46 quit(r, loop); in callback() 55 quit(r, loop); in callback() 69 quit(r, loop); in callback() 76 quit(0, loop); in callback() 171 sd_event *loop = NULL; in main() local 211 r = sd_event_default(&loop); in main() 214 fprintf(stderr, "Error obtaining event loop: %s\n", in main() [all …]
|
/openbmc/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
|
/openbmc/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 …]
|
/openbmc/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
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | item_updater_main.cpp | 56 auto loop = sdeventplus::Event::get_default(); in main() local 58 bus.attach_event(loop.get(), SD_EVENT_PRIORITY_NORMAL); in main() 81 // subcommandContext allows program subcommand callbacks to add loop event in main() 83 // without the loop event callback being destroyed until the loop event in main() 84 // callback has a chance to run and instruct the loop to exit. in main() 89 ->callback([&bus, &loop, &subcommandContext, extensionMap]() { in main() 97 std::move(logCallback), loop)); in main() 103 ->callback([&bus, &loop, &subcommandContext, extensionMap]() { in main() 108 loop); in main() 124 auto rc = loop.loop(); in main()
|
/openbmc/sdeventplus/src/sdeventplus/ |
H A D | event.hpp | 108 * @return Positive value if the event loop should continue 109 * 0 value if the event loop should exit 113 /** @brief Runs a single iteration of the event loop 122 /** @brief Run the event loop to completion 125 * @return Exit status of the event loop from exit() 127 int loop() const; 129 /** @brief Sets the exit code for the loop and notifies 130 * the event loop it should terminate 137 /** @brief Gets the exit code for the event loop 144 /** @brief Get the status of the event loop watchdog [all …]
|
/openbmc/linux/fs/afs/ |
H A D | cmservice.c | 236 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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | util.py | 71 possible. If they go unhandled, they will cause termination of the loop. 88 loop: Optional[asyncio.AbstractEventLoop] = None 94 :param loop: Optionally, the loop to create the task in. 99 if loop is not None: 100 return loop.create_task(coro) 104 return asyncio.ensure_future(coro, loop=loop) 163 loop = asyncio.get_event_loop() 164 loop.set_debug(debug) 165 ret = loop.run_until_complete(coro) 166 loop.close()
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_loop.S | 3 test_suite loop 7 test loop 10 loop a3, 1f 18 loop a2, 1f 28 loop a3, 1f 38 loop a3, 1f 70 loop a3, 1f
|