/drivers/net/wireless/prism54/ |
H A D | isl_38xx.c | 115 u32 counter = 0; local 146 counter++; 157 "%08li.%08li Device asleep counter %i\n", 159 counter);
|
H A D | islpci_dev.c | 555 unsigned counter; local 573 for (counter = 0; counter < ISL38XX_CB_QCOUNT; counter++) { 574 cb->driver_curr_frag[counter] = cpu_to_le32(0); 575 cb->device_curr_frag[counter] = cpu_to_le32(0); 579 for (counter = 0; counter < ISL38XX_CB_MGMT_QSIZE; counter++) { 580 isl38xx_fragment *frag = &cb->rx_data_mgmt[counter]; 627 int counter; local 732 int counter; local [all...] |
/drivers/misc/ |
H A D | uid_stat.c | 55 atomic_t *counter = m->private; local 57 bytes = (unsigned int) (atomic_read(counter) + INT_MIN);
|
H A D | phantom.c | 51 atomic_t counter; member in struct:phantom_device 71 atomic_set(&dev->counter, 0); 176 atomic_set(&dev->counter, 0); 237 atomic_set(&dev->counter, 0); 264 pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter)); 269 else if (atomic_read(&dev->counter)) 272 pr_debug("phantom_poll end: %x/%d\n", mask, atomic_read(&dev->counter)); 317 atomic_inc(&dev->counter);
|
/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 39 int counter; local 47 counter = 0; 48 while (counter++ < ALTERA_TSE_SW_RESET_WATCHDOG_CNTR) { 55 if (counter >= ALTERA_TSE_SW_RESET_WATCHDOG_CNTR) 69 counter = 0; 70 while (counter++ < ALTERA_TSE_SW_RESET_WATCHDOG_CNTR) { 77 if (counter >= ALTERA_TSE_SW_RESET_WATCHDOG_CNTR)
|
/drivers/staging/unisys/visorutil/ |
H A D | charqueue.c | 115 int rc, counter = 0, c; local 127 counter++; 129 rc = counter;
|
/drivers/atm/ |
H A D | idt77105.c | 59 * `counter' is one of the IDT77105_CTRSEL_* constants. 61 static u16 get_counter(struct atm_dev *dev, int counter) argument 65 /* write the counter bit into PHY register 6 */ 66 PUT(counter, CTRSEL);
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_cq.c | 129 u32 counter; local 202 for (counter = 0; counter < param.act_pages; counter++) { 224 "ehca_cq=%p cq_num=%x h_ret=%lli counter=%i " 226 h_ret, counter, param.act_pages); 231 if (counter == (param.act_pages - 1)) { 245 "counter=%i act_pages=%i", 247 h_ret, counter, param.act_pages);
|
H A D | ehca_sqp.c | 71 int counter; local 105 for (counter = 0; 107 counter < ehca_port_act_time; 108 counter++) { 114 if (counter == ehca_port_act_time) {
|
/drivers/platform/x86/ |
H A D | dell-smo8800.c | 30 atomic_t counter; /* count after last read */ member in struct:smo8800_device 41 atomic_inc(&smo8800->counter); 98 atomic_set(&smo8800->counter, 0); 100 (data = atomic_xchg(&smo8800->counter, 0))); 127 atomic_set(&smo8800->counter, 0);
|
/drivers/staging/rtl8188eu/hal/ |
H A D | fw.c | 148 u32 counter = 0; local 155 } while (counter++ < POLLING_READY_TIMEOUT_COUNT); 157 if (counter >= POLLING_READY_TIMEOUT_COUNT) { 167 counter = 0; 178 } while (counter++ < POLLING_READY_TIMEOUT_COUNT);
|
/drivers/thunderbolt/ |
H A D | switch.c | 165 * tb_port_clear_counter() - clear a counter in TB_CFG_COUNTER 169 int tb_port_clear_counter(struct tb_port *port, int counter) argument 172 tb_port_info(port, "clearing counter %d\n", counter); 173 return tb_port_write(port, zero, TB_CFG_COUNTERS, 3 * counter, 3);
|
/drivers/clocksource/ |
H A D | arm_global_timer.c | 57 * 1. Read the upper 32-bit timer counter register 58 * 2. Read the lower 32-bit timer counter register 59 * 3. Read the upper 32-bit timer counter register again. If the value is 61 * Otherwise the 64-bit timer counter value is correct. 65 u64 counter; local 76 counter = upper; 77 counter <<= 32; 78 counter |= lower; 79 return counter; 92 u64 counter local [all...] |
/drivers/crypto/ |
H A D | geode-aes.c | 50 u32 counter = AES_OP_TIMEOUT; local 62 } while (!(status & AES_INTRA_PENDING) && --counter); 66 return counter ? 0 : 1;
|
/drivers/input/joystick/ |
H A D | walkera0701.c | 54 int counter; member in struct:walkera_dev 138 w->counter = NO_SYNC; 142 if (w->counter < NO_SYNC) { 145 w->buf[w->counter] = 8; 148 w->buf[w->counter] = 0; 150 if (w->counter == 24) { /* full frame */ 152 w->counter = NO_SYNC; 154 w->counter = 0; 160 w->buf[w->counter++] |= (pulse_time & 7); 162 w->counter [all...] |
/drivers/media/rc/ |
H A D | ir-rx51.c | 98 int counter; local 103 counter = omap_dm_timer_read_counter(lirc_rx51->pulse_timer); 105 counter = lirc_rx51->match; 107 counter += (u32)(lirc_rx51->fclk_khz * usec / (1000)); 108 omap_dm_timer_set_match(lirc_rx51->pulse_timer, 1, counter); 112 counter)) {
|
/drivers/net/wireless/rtlwifi/rtl8723com/ |
H A D | fw_common.c | 203 u32 counter = 0; local 208 } while ((counter++ < max_count) && 211 if (counter >= max_count) { 226 counter = 0; 240 } while (counter++ < max_count);
|
/drivers/staging/comedi/drivers/ |
H A D | ni_tiocmd.c | 52 static void ni_tio_configure_dma(struct ni_gpct *counter, argument 55 struct ni_gpct_device *counter_dev = counter->counter_dev; 56 unsigned cidx = counter->counter_index; 69 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(cidx), mask, bits); 83 ni_tio_set_bits(counter, NITIO_DMA_CFG_REG(cidx), mask, bits); 92 struct ni_gpct *counter = s->private; local 100 spin_lock_irqsave(&counter->lock, flags); 101 if (counter->mite_chan) 102 mite_dma_arm(counter->mite_chan); 105 spin_unlock_irqrestore(&counter 116 struct ni_gpct *counter = s->private; local 157 struct ni_gpct *counter = s->private; local 173 struct ni_gpct *counter = s->private; local 198 struct ni_gpct *counter = s->private; local 229 struct ni_gpct *counter = s->private; local 297 ni_tio_cancel(struct ni_gpct *counter) argument 318 should_ack_gate(struct ni_gpct *counter) argument 345 ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, int *gate_error, int *tc_error, int *perm_stale_data, int *stale_data) argument 409 ni_tio_acknowledge(struct ni_gpct *counter) argument 415 ni_tio_handle_interrupt(struct ni_gpct *counter, struct comedi_subdevice *s) argument 463 ni_tio_set_mite_channel(struct ni_gpct *counter, struct mite_channel *mite_chan) argument [all...] |
/drivers/usb/phy/ |
H A D | phy-rcar-usb.c | 69 int counter; member in struct:rcar_usb_phy_priv 95 if (priv->counter++ == 0) { 173 if (priv->counter-- == 1) /* last user */ 212 priv->counter = 0;
|
/drivers/watchdog/ |
H A D | sirfsoc_wdt.c | 44 u32 counter, match; local 49 counter = readl(wdt_base + SIRFSOC_TIMER_COUNTER_LO); 53 time_left = match - counter; 60 u32 counter, timeout_ticks; local 70 counter = readl(wdt_base + SIRFSOC_TIMER_LATCHED_LO); 72 counter += timeout_ticks; 74 writel(counter, wdt_base +
|
/drivers/infiniband/hw/nes/ |
H A D | nes_utils.c | 62 u32 counter; local 67 for (counter = 0; counter < NES_PAU_COUNTER; counter++) { 75 if (counter == NES_PAU_COUNTER) { 416 u32 counter; local 420 for (counter = 0; counter < 100 ; counter++) { 443 u32 counter; local 477 u32 counter; local 522 u32 counter; local [all...] |
/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 265 u8 buf, stopval, counter = 0; local 284 while (counter < 20) { 289 counter++; 309 u8 counter = 0; local 324 while (counter < 20) { 329 counter++;
|
/drivers/mtd/devices/ |
H A D | pmc551.c | 363 u8 bcmd, counter; local 374 counter = 0; 381 counter = 0; 383 while (counter++ < 100) { 386 counter = 0; 388 while (counter++ < 100) { 482 if (counter++ > 100) 499 counter = 0; 502 if (counter++ > 100) 514 counter [all...] |
/drivers/mtd/nand/ |
H A D | fsl_elbc_nand.c | 77 unsigned int counter; /* counter for the initializations */ member in struct:fsl_elbc_fcm_ctrl 867 elbc_fcm_ctrl->counter++; 934 elbc_fcm_ctrl->counter--; 935 if (!elbc_fcm_ctrl->counter) {
|
/drivers/net/ethernet/sfc/ |
H A D | qt202x_phy.c | 83 int counter; local 87 counter = ((reg >> PCS_FW_HEARTB_LBN) & 90 old_counter = counter; 91 else if (counter != old_counter)
|