/linux-master/drivers/pwm/ |
H A D | pwm-vt8500.c | 61 int loops = msecs_to_loops(10); local 64 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) 67 if (unlikely(!loops))
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 2418 link_diag_test_cmd->loops);
|
H A D | lpfc_bsg.h | 85 uint32_t loops; member in struct:sli4_link_diag
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 925 int ret, loops = 0; local 929 while ((qla82xx_rom_lock(ha) != 0) && (loops < 50000)) { 932 loops++; 934 if (loops >= 50000) { 1034 int loops = 0; local 1038 while ((qla82xx_rom_lock(ha) != 0) && (loops < 50000)) { 1041 loops++; 1043 if (loops >= 50000) {
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 947 int ret, loops = 0; local 949 while ((qla4_82xx_rom_lock(ha) != 0) && (loops < 50000)) { 951 loops++; 953 if (loops >= 50000) { 1578 int loops = 0; local 1585 while ((state != PHAN_PEG_RCV_INITIALIZED) && (loops < 30000)) { 1592 loops++; 1595 if (loops >= 30000) { 3643 int loops = 0; local 3644 while ((qla4_82xx_rom_lock(ha) != 0) && (loops < 5000 [all...] |
/linux-master/drivers/spi/ |
H A D | spi-altera-dfl.c | 53 int loops; local 58 loops = 0; 60 (loops++ < INDIRECT_TIMEOUT)) 63 if (loops >= INDIRECT_TIMEOUT) { 64 pr_err("%s timed out %d\n", __func__, loops); 79 int loops; local 84 loops = 0; 86 (loops++ < INDIRECT_TIMEOUT)) 89 if (loops >= INDIRECT_TIMEOUT) { 90 pr_err("%s timed out %d\n", __func__, loops); [all...] |
H A D | spi-cavium.c | 19 unsigned int loops = 0; local 22 if (loops++)
|
H A D | spi-fsi.c | 301 int loops; local 320 loops = 0; 323 if (loops++ && time_after(jiffies, end)) 339 loops = 0; 342 if (loops++ && time_after(jiffies, end)) 364 int loops = 0; local 377 if (loops++ && time_after(jiffies, end))
|
H A D | spi-s3c64xx.c | 230 unsigned long loops; local 245 loops = msecs_to_loops(1); 248 } while (TX_FIFO_LVL(val, sdd) && loops--); 250 if (loops == 0) 254 loops = msecs_to_loops(1); 261 } while (loops--); 263 if (loops == 0) 620 int loops; local 658 * size, calculate the loops and read the fifo as many times. 659 * loops [all...] |
/linux-master/drivers/tty/serial/ |
H A D | dz.c | 812 int loops = 10000; local 835 } while (--loops); 837 if (loops) /* Cannot send otherwise. */
|
H A D | ip22zilog.c | 994 int loops = ZS_PUT_CHAR_MAX_DELAY; local 1006 } while (--loops);
|
H A D | sb1250-duart.c | 196 int loops = 10000; local 198 while (sbd_receive_ready(sport) && --loops) 200 return loops; 210 int loops = 10000; local 212 while (!sbd_transmit_ready(sport) && --loops) 214 return loops; 224 int loops = 10000; local 226 while (!sbd_transmit_empty(sport) && --loops) 228 return loops;
|
H A D | sunzilog.c | 1129 int loops = ZS_PUT_CHAR_MAX_DELAY; local 1141 } while (--loops);
|
H A D | vt8500_serial.c | 284 unsigned int loops = 1000; local 292 while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops) 343 unsigned int loops = 1000; local 398 && --loops)
|
H A D | zs.c | 230 int loops = 10000; local 232 while ((read_zsreg(zport, R0) & Rx_CH_AV) && --loops) 234 return loops; 240 int loops = 10000; local 242 while (!(read_zsreg(zport, R0) & Tx_BUF_EMP) && --loops) { 247 return loops; 253 int loops = 10000; local 255 while (!(read_zsreg(zport, R1) & ALL_SNT) && --loops) { 260 return loops;
|
/linux-master/drivers/usb/early/ |
H A D | ehci-dbgp.c | 294 int size, int loops) 314 ret = dbgp_wait_until_done(ctrl, loops); 293 dbgp_bulk_read(unsigned devnum, unsigned endpoint, void *data, int size, int loops) argument
|
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 422 u32 state, reg, loops; local 431 for (loops = 0; loops < 1000; loops++) { 439 if (loops >= 1000)
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | mv_u3d_core.c | 691 unsigned int loops; local 727 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); 734 if (loops == 0) { 740 loops--; 749 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); 756 if (loops == 0) { 762 loops--; 1062 unsigned int loops; local 1074 loops = LOOPS(MV_U3D_RESET_TIMEOUT); 1076 if (loops [all...] |
H A D | mv_udc_core.c | 257 unsigned int loops; local 277 loops = LOOPS(READSAFE_TIMEOUT); 298 loops--; 299 if (loops == 0) { 625 unsigned int loops; local 644 loops = LOOPS(EPSTATUS_TIMEOUT); 648 if (loops == 0) { 676 loops--; 1005 unsigned int loops; local 1017 loops 1859 unsigned int loops; local [all...] |
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 1522 int loops, ret, caps = 0; local 1540 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; 1541 while (pos && loops--) { 1615 int loops, ret, ecaps = 0; local 1622 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; 1624 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) {
|
/linux-master/drivers/video/fbdev/ |
H A D | carminefb.c | 435 u32 loops; local 487 for (loops = 0; loops < CARMINE_DCTL_INIT_WAIT_LIMIT; loops++) { 498 if (loops >= CARMINE_DCTL_INIT_WAIT_LIMIT) {
|
H A D | wmt_ge_rops.c | 115 int loops = 5000000; local 116 while ((readl(regbase + GE_STATUS_OFF) & 4) && --loops) 118 return loops > 0 ? 0 : -EBUSY;
|
/linux-master/fs/btrfs/ |
H A D | block-group.c | 3318 int loops = 0; local 3448 if (!ret && loops == 0) { 3449 loops++;
|
H A D | extent_io.c | 336 int loops = 0; local 383 if (!loops) { 385 loops = 1;
|
H A D | space-info.c | 81 * space_info->total_bytes. This loops through the ->priority_tickets and 605 int loops; local 622 * flushing loops and hope for the best. Delalloc will expand 642 loops = 0; 643 while ((delalloc_bytes || ordered_bytes) && loops < 3) { 689 loops++; 1160 int loops = 0; local 1177 loops++; 1238 if (loops == 1 && !space_info->reclaim_size)
|