/drivers/usb/gadget/function/ |
D | f_loopback.c | 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() 252 ep = loop->in_ep; in loopback_complete() [all …]
|
/drivers/soc/fsl/qbman/ |
D | qman_test_stash.c | 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 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 …]
|
D | qman_test_api.c | 108 unsigned int loop; in do_enqueues() local 111 for (loop = 0; loop < NUM_ENQUEUES; loop++) { in do_enqueues()
|
D | bman_test.c | 40 int loop = 1; in test_init() local 42 while (loop--) in test_init()
|
D | qman_test.c | 39 int loop = 1; in test_init() local 42 while (loop--) { in test_init()
|
/drivers/gpu/drm/i915/ |
D | i915_gem_ww.h | 15 unsigned short loop; member 26 ww->loop = 0; in __i915_gem_ww_fini() 30 ww->loop = 1; in __i915_gem_ww_fini() 33 if (!ww->loop) in __i915_gem_ww_fini() 43 ww->loop = 1; in __i915_gem_ww_init() 47 for (__i915_gem_ww_init(_ww, _intr); (_ww)->loop; \
|
/drivers/pci/hotplug/ |
D | cpqphp_nvram.c | 229 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 …]
|
D | cpqphp_core.c | 163 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 …]
|
D | ibmphp_core.c | 124 int loop; in ibmphp_init_devno() local 140 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno() 141 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno() 142 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno() 143 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno() 160 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno() 162 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno() 164 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno() 166 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno() 169 rtable->slots[loop].irq[0].link); in ibmphp_init_devno() [all …]
|
/drivers/gpu/drm/gma500/ |
D | intel_gmbus.c | 277 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()
|
/drivers/net/can/ |
D | vcan.c | 90 int loop; in vcan_tx() local 99 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx() 103 if (loop) { in vcan_tx() 116 if (loop) { in vcan_tx()
|
/drivers/nvme/target/ |
D | Makefile | 6 obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o 16 nvme-loop-y += loop.o
|
/drivers/usb/early/ |
D | ehci-dbgp.c | 195 static int dbgp_wait_until_done(unsigned ctrl, int loop) in dbgp_wait_until_done() argument 215 if (ret == -DBGP_ERR_BAD && --loop > 0) in dbgp_wait_until_done() 229 if (--loop > 0) in dbgp_wait_until_done() 429 int loop; in dbgp_ehci_startup() local 449 loop = 1000; in dbgp_ehci_startup() 455 } while (--loop > 0); in dbgp_ehci_startup() 457 if (!loop) { in dbgp_ehci_startup() 467 int loop = 250 * 1000; in dbgp_ehci_controller_reset() local 476 } while ((cmd & CMD_RESET) && (--loop > 0)); in dbgp_ehci_controller_reset() 478 if (!loop) { in dbgp_ehci_controller_reset() [all …]
|
/drivers/firmware/arm_scmi/ |
D | base.c | 176 int ret, loop; in scmi_base_implementation_list_get() local 205 for (loop = 0; loop < loop_num_ret; loop++) in scmi_base_implementation_list_get() 206 protocols_imp[tot_num_ret + loop] = *(list + loop); in scmi_base_implementation_list_get()
|
/drivers/pcmcia/ |
D | pcmcia_cis.c | 301 struct pcmcia_loop_mem *loop = priv; in pcmcia_do_loop_tuple() local 303 return loop->loop_tuple(loop->p_dev, tuple, loop->priv_data); in pcmcia_do_loop_tuple() 324 struct pcmcia_loop_mem loop = { in pcmcia_loop_tuple() local 330 &loop, pcmcia_do_loop_tuple); in pcmcia_loop_tuple()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 374 u_int32_t loop; in matroxfb_cfb4_clear() local 376 for (loop = height; loop > 0; loop --) { in matroxfb_cfb4_clear() 383 u_int32_t loop; in matroxfb_cfb4_clear() local 385 for (loop = height; loop > 0; loop --) { in matroxfb_cfb4_clear()
|
/drivers/gpu/drm/ast/ |
D | ast_post.c | 227 u32 patcnt, loop; in cbrscan_ast2150() local 231 for (loop = 0; loop < CBR_PASSNUM_AST2150; loop++) { in cbrscan_ast2150() 235 if (loop == CBR_PASSNUM_AST2150) in cbrscan_ast2150() 537 u32 data, data2, patcnt, loop; in cbr_scan() local 542 for (loop = 0; loop < CBR_PASSNUM2; loop++) { in cbr_scan() 550 if (loop == CBR_PASSNUM2) in cbr_scan() 572 u32 data, data2, patcnt, loop; in cbr_scan2() local 577 for (loop = 0; loop < CBR_PASSNUM2; loop++) { in cbr_scan2() 585 if (loop == CBR_PASSNUM2) in cbr_scan2() 602 u32 patcnt, loop; in cbr_scan3() local [all …]
|
/drivers/video/fbdev/via/ |
D | accel.c | 506 int loop = 0; in viafb_wait_engine_idle() local 518 VIA_VR_QUEUE_BUSY) && (loop < MAXLOOP)) { in viafb_wait_engine_idle() 519 loop++; in viafb_wait_engine_idle() 526 while ((readl(engine + VIA_REG_STATUS) & mask) && (loop < MAXLOOP)) { in viafb_wait_engine_idle() 527 loop++; in viafb_wait_engine_idle() 531 if (loop >= MAXLOOP) in viafb_wait_engine_idle()
|
/drivers/input/joystick/ |
D | analog.c | 109 int loop; member 172 ktime_t time[4], start, loop, now; in analog_cooked_read() local 178 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000; in analog_cooked_read() 191 loop = now; in analog_cooked_read() 199 if ((last ^ this) && (ktime_sub(now, loop) < loopout)) { in analog_cooked_read() 213 port->axes[j] = ((u32)ktime_sub(time[i], start) << ANALOG_FUZZ_BITS) / port->loop; in analog_cooked_read() 332 port->loop = tx / 50; in analog_calibrate_timer() 533 port->fuzz = (NSEC_PER_MSEC * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; in analog_init_port()
|
/drivers/gpu/drm/i915/display/ |
D | intel_gmbus.c | 427 u32 val, loop = 0; in gmbus_xfer_read_chunk() local 440 } while (--len && ++loop < 4); in gmbus_xfer_read_chunk() 493 u32 val, loop; in gmbus_xfer_write_chunk() local 495 val = loop = 0; in gmbus_xfer_write_chunk() 496 while (len && loop < 4) { in gmbus_xfer_write_chunk() 497 val |= *buf++ << (8 * loop++); in gmbus_xfer_write_chunk() 507 val = loop = 0; in gmbus_xfer_write_chunk() 509 val |= *buf++ << (8 * loop); in gmbus_xfer_write_chunk() 510 } while (--len && ++loop < 4); in gmbus_xfer_write_chunk()
|
/drivers/iio/trigger/ |
D | Kconfig | 49 tristate "A kthread based hammering loop trigger" 54 Uses a tight loop in a kthread. Will only work with lower half only 58 module will be called iio-trig-loop.
|
/drivers/net/ethernet/microchip/ |
D | enc28j60.c | 1126 int intflags, loop; in enc28j60_irq_work_handler() local 1132 loop = 0; in enc28j60_irq_work_handler() 1136 loop++; in enc28j60_irq_work_handler() 1139 loop); in enc28j60_irq_work_handler() 1144 loop++; in enc28j60_irq_work_handler() 1147 loop); in enc28j60_irq_work_handler() 1156 loop++; in enc28j60_irq_work_handler() 1159 loop); in enc28j60_irq_work_handler() 1178 loop++; in enc28j60_irq_work_handler() 1181 loop); in enc28j60_irq_work_handler() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | soc15_common.h | 81 uint32_t loop = adev->usec_timeout; \ 85 loop = adev->usec_timeout; \ 90 loop--; \ 91 if (!loop) { \
|
/drivers/media/pci/tw68/ |
D | tw68-core.c | 190 int loop; in tw68_irq() local 196 for (loop = 0; loop < 10; loop++) { in tw68_irq()
|
/drivers/media/dvb-frontends/ |
D | mb86a16.c | 944 static int SEQ_set(struct mb86a16_state *state, unsigned char loop) in SEQ_set() argument 947 if (mb86a16_write(state, 0x32, 0x02 | (loop << 2)) < 0) { in SEQ_set() 1023 int loop; in mb86a16_set_fe() local 1110 loop = 1; in mb86a16_set_fe() 1113 while (loop == 1) { in mb86a16_set_fe() 1119 loop = 0; in mb86a16_set_fe() 1124 loop = 0; in mb86a16_set_fe() 1128 loop = 1; in mb86a16_set_fe() 1131 while (loop == 1) { in mb86a16_set_fe() 1137 loop = 0; in mb86a16_set_fe() [all …]
|