Searched defs:counter (Results 76 - 100 of 120) sorted by relevance

12345

/drivers/media/dvb-frontends/
H A Dtda1004x.c328 /* clear code counter */
1130 int counter; local
1135 counter = 0;
1140 while (counter++ < 5) {
/drivers/media/pci/ttpci/
H A Dav7110.h57 u8 counter; member in struct:av7110_p2t
/drivers/media/platform/exynos4-is/
H A Dmipi-csis.c144 unsigned int counter; member in struct:s5pcsis_event
471 state->events[i].counter = 0;
483 if (state->events[i].counter > 0 || debug)
486 state->events[i].counter);
720 state->events[i].counter++;
723 state->events[i].counter);
/drivers/media/rc/
H A Dwinbond-cir.c151 /* Enable carrier counter */
153 /* Reset carrier counter */
341 unsigned counter = inb(data->ebase + WBCIR_REG_ECEIR_CNT_LO) | local
344 if (counter > 0 && counter < 0xffff) {
348 ev.carrier = DIV_ROUND_CLOSEST(counter * 1000000u,
354 /* reset and restart the counter */
/drivers/net/can/
H A Dpch_can.c247 int counter = PCH_COUNTER_LIMIT; local
251 while (counter) {
255 counter--;
258 if (!counter)
1052 int counter = PCH_COUNTER_LIMIT; local
1064 while (counter) {
1068 counter--;
1071 if (!counter)
/drivers/net/ethernet/apple/
H A Dbmac.c823 register unsigned int counter, cur = curval, next = nxtval; local
830 for (counter = 0; counter < 16; ++counter) {
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c340 atomic_t *counter)
356 atomic_set(counter, cnt);
912 /* DQ usage counter */
915 "DQ VF usage counter timed out",
338 bnx2x_vf_vlan_credit(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *obj, atomic_t *counter) argument
/drivers/net/ethernet/smsc/
H A Dsmsc9420.c1038 u32 counter = smsc9420_reg_read(pd, MISS_FRAME_CNTR); local
1040 (counter & 0x0000FFFF) + ((counter >> 17) & 0x000003FF);
/drivers/net/hamradio/
H A Dyam.c745 int counter = 100; local
768 if (--counter <= 0) {
/drivers/net/wireless/ath/ath5k/
H A Dbase.c2250 unsigned int counter = 1000; local
2364 } while (ath5k_hw_is_intr_pending(ah) && --counter > 0);
2375 if (unlikely(!counter))
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dusb.c302 struct list_head *q, int *counter)
313 if (counter)
314 (*counter)--;
322 int *counter)
327 if (counter)
328 (*counter)++;
301 brcmf_usb_deq(struct brcmf_usbdev_info *devinfo, struct list_head *q, int *counter) argument
320 brcmf_usb_enq(struct brcmf_usbdev_info *devinfo, struct list_head *q, struct brcmf_usbreq *req, int *counter) argument
/drivers/net/wireless/iwlegacy/
H A D3945.c410 /* reset accumulative stats for "no-counter" type stats */
658 int counter; local
661 counter = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags));
662 if (counter > NUM_TFD_CHUNKS) {
663 IL_ERR("Too many chunks: %i\n", counter);
669 if (counter)
676 for (i = 1; i < counter; i++)
H A D3945.h71 s32 counter; member in struct:il3945_rate_scale_data
/drivers/net/wireless/iwlwifi/dvm/
H A Drs.h299 s32 counter; /* number of frames attempted */ member in struct:iwl_rate_scale_data
/drivers/net/wireless/iwlwifi/mvm/
H A Drs.h259 s32 counter; /* number of frames attempted */ member in struct:iwl_rate_scale_data
/drivers/parport/
H A Dparport_ip32.c1507 unsigned int counter; local
1510 for (counter = 0; counter < 40; counter++) {
/drivers/s390/block/
H A Ddasd.c689 unsigned int counter; local
693 counter = 0;
696 if (++counter >= 31)
700 dasd_global_profile_data.dasd_io_nr_req[counter]++;
702 dasd_global_profile_data.dasd_read_nr_req[counter]++;
707 block->profile.data->dasd_io_nr_req[counter]++;
709 block->profile.data->dasd_read_nr_req[counter]++;
720 counter = 1; /* request is not yet queued on the start device */
722 if (++counter >= 31)
727 device->profile.data->dasd_io_nr_req[counter]
[all...]
/drivers/scsi/
H A Dmegaraid.c1122 * Increment the pending queue counter
1295 * decrement the pending queue counter
1372 * decrement the pending queue counter
1515 * Maintain an error counter for the logical drive.
1706 long counter; local
1708 for (counter = 0; counter < 10000; counter++) {
4451 * Reset the pending commands counter
/drivers/staging/comedi/drivers/
H A Dni_660x.c18 * Description: National Instruments 660x counter/timer boards
306 /* kind of ENABLE for the second counter */
623 static void ni_gpct_write_register(struct ni_gpct *counter, unsigned bits, argument
626 struct comedi_device *dev = counter->counter_dev->dev;
628 unsigned chip = counter->chip_index;
633 static unsigned ni_gpct_read_register(struct ni_gpct *counter, argument
636 struct comedi_device *dev = counter->counter_dev->dev;
638 unsigned chip = counter->chip_index;
646 *counter)
648 unsigned chip = counter
643 mite_ring(struct ni_660x_private *priv, struct ni_gpct *counter) argument
653 ni_660x_set_dma_channel(struct comedi_device *dev, unsigned mite_channel, struct ni_gpct *counter) argument
673 ni_660x_unset_dma_channel(struct comedi_device *dev, unsigned mite_channel, struct ni_gpct *counter) argument
693 ni_660x_request_mite_channel(struct comedi_device *dev, struct ni_gpct *counter, enum comedi_io_direction direction) argument
718 ni_660x_release_mite_channel(struct comedi_device *dev, struct ni_gpct *counter) argument
737 struct ni_gpct *counter = s->private; local
753 struct ni_gpct *counter = s->private; local
780 struct ni_gpct *counter = s->private; local
811 struct ni_gpct *counter = s->private; local
825 struct ni_gpct *counter = s->private; local
[all...]
/drivers/staging/lustre/lustre/ptlrpc/
H A Dservice.c1394 int first, counter = 0; local
1445 counter++;
1458 "replies\n", first, at_extra, counter);
1467 counter, svcpt->scp_nreqs_incoming,
2277 int counter = 0, rc = 0; local
2390 if (counter++ < 100)
2392 counter = 0;
/drivers/staging/rtl8188eu/core/
H A Drtw_security.c43 u32 counter; local
47 for (counter = 0; counter < 256; counter++)
48 state[counter] = (u8)counter;
51 for (counter = 0; counter < 256; counter++) {
52 t = state[counter];
[all...]
/drivers/staging/rtl8712/
H A Drtl871x_security.c66 u32 counter; local
71 for (counter = 0; counter < 256; counter++)
72 state[counter] = (u8)counter;
75 for (counter = 0; counter < 256; counter++) {
76 t = state[counter];
[all...]
/drivers/staging/rtl8723au/core/
H A Drtw_security.c39 u32 counter; local
44 for (counter = 0; counter < 256; counter++)
45 state[counter] = (u8)counter;
48 for (counter = 0; counter < 256; counter++)
50 t = state[counter];
[all...]
/drivers/staging/rtl8723au/hal/
H A Drtl8723a_hal_init.c116 u32 counter = 0; local
124 } while (counter++ < POLLING_READY_TIMEOUT_COUNT);
126 if (counter >= POLLING_READY_TIMEOUT_COUNT) {
142 counter = 0;
153 } while (counter++ < POLLING_READY_TIMEOUT_COUNT);
350 /* Init H2C counter. by tynli. 2009.12.09. */
/drivers/infiniband/core/
H A Dcm.c118 atomic_long_t counter[CM_ATTR_COUNT]; member in struct:cm_counter_group
1402 counter[CM_REQ_COUNTER]);
1789 counter[CM_REP_COUNTER]);
1956 counter[CM_RTU_COUNTER]);
2139 counter[CM_DREQ_COUNTER]);
2164 counter[CM_DREQ_COUNTER]);
2178 counter[CM_DREQ_COUNTER]);
2546 counter[CM_MRA_COUNTER]);
2554 counter[CM_MRA_COUNTER]);
2716 counter[CM_LAP_COUNTE
[all...]

Completed in 519 milliseconds

12345