/drivers/media/dvb-frontends/ |
H A D | tda1004x.c | 328 /* clear code counter */ 1130 int counter; local 1135 counter = 0; 1140 while (counter++ < 5) {
|
/drivers/media/pci/ttpci/ |
H A D | av7110.h | 57 u8 counter; member in struct:av7110_p2t
|
/drivers/media/platform/exynos4-is/ |
H A D | mipi-csis.c | 144 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 D | winbond-cir.c | 151 /* 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 D | pch_can.c | 247 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 D | bmac.c | 823 register unsigned int counter, cur = curval, next = nxtval; local 830 for (counter = 0; counter < 16; ++counter) {
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 340 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 D | smsc9420.c | 1038 u32 counter = smsc9420_reg_read(pd, MISS_FRAME_CNTR); local 1040 (counter & 0x0000FFFF) + ((counter >> 17) & 0x000003FF);
|
/drivers/net/hamradio/ |
H A D | yam.c | 745 int counter = 100; local 768 if (--counter <= 0) {
|
/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 2250 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 D | usb.c | 302 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 D | 3945.c | 410 /* 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 D | 3945.h | 71 s32 counter; member in struct:il3945_rate_scale_data
|
/drivers/net/wireless/iwlwifi/dvm/ |
H A D | rs.h | 299 s32 counter; /* number of frames attempted */ member in struct:iwl_rate_scale_data
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | rs.h | 259 s32 counter; /* number of frames attempted */ member in struct:iwl_rate_scale_data
|
/drivers/parport/ |
H A D | parport_ip32.c | 1507 unsigned int counter; local 1510 for (counter = 0; counter < 40; counter++) {
|
/drivers/s390/block/ |
H A D | dasd.c | 689 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 D | megaraid.c | 1122 * 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 D | ni_660x.c | 18 * 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 D | service.c | 1394 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 D | rtw_security.c | 43 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 D | rtl871x_security.c | 66 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 D | rtw_security.c | 39 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 D | rtl8723a_hal_init.c | 116 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 D | cm.c | 118 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...] |