Searched defs:counter (Results 51 - 75 of 120) sorted by relevance

12345

/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h232 u16 counter; /* Arbel only */ member in struct:mthca_srq
/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c79 u32 counter; /* sdma pkts queued counter for this entry */ member in struct:qib_user_sdma_pkt
122 u32 counter; member in struct:qib_user_sdma_queue
192 pq->counter = 0;
777 /* free a packet list -- return counter value of last packet */
821 u32 counter = pq->counter; local
971 pkt->counter = counter;
1012 counter
1084 u32 counter; local
[all...]
/drivers/media/dvb-frontends/
H A Dmb86a20s.c631 "%s: layer %c bitrate: %d kbps; counter = %d (0x%06x)\n",
774 /* BER/PER counter reset */
779 /* CNR counter reset */
791 /* MER counter reset */
896 "%s: updating layer %c preBER counter to %d.\n",
902 /* Update counter for this layer */
934 /* Reset counter to collect new data */
953 u32 counter, collect_rate; local
999 counter = rc << 8;
1006 counter |
[all...]
H A Dstv0367.c1593 u8 /*constell,*/ counter; local
1789 for (counter = 0; counter < abs(timing_offset); counter++) {
/drivers/media/parport/
H A Dpms.c107 int counter = 0; local
113 if (counter++ == 256)
117 if (counter++ == 256)
122 counter = 0;
124 if (counter++ == 256)
128 if (counter++ == 256)
/drivers/media/pci/ttpci/
H A Dav7110_av.c91 u8 *counter, struct dvb_demux_feed *feed);
582 p->counter = 0;
592 // p->counter = 0;
691 p_to_t(p->pes, (TS_SIZE - 4), pid, &p->counter, p->feed);
712 p_to_t(p->pes, p->pos, pid, &p->counter, p->feed);
722 p_to_t(buf + c, c2 - c, pid, &p->counter, p->feed);
732 p_to_t(buf + c, l, pid, &p->counter, p->feed);
741 static int write_ts_header2(u16 pid, u8 *counter, int pes_start, u8 *buf, u8 length) argument
755 tshead[3] |= ((*counter)++ & 0x0F);
776 static void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter, argument
[all...]
/drivers/net/ethernet/altera/
H A Daltera_tse_main.c855 int counter; local
863 counter = 0;
864 while (counter++ < ALTERA_TSE_SW_RESET_WATCHDOG_CNTR) {
871 if (counter >= ALTERA_TSE_SW_RESET_WATCHDOG_CNTR) {
/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c128 u32 act_nr_of_entries, act_pages, counter; local
158 for (counter = 0; counter < cq->attr.nr_pages; counter++) {
170 pr_err("register_rpage_cq failed ehea_cq=%p hret=%llx counter=%i act_pages=%i\n",
171 cq, hret, counter, cq->attr.nr_pages);
175 if (counter == (cq->attr.nr_pages - 1)) {
/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c626 "TKIP counter measure used",
771 u32 *counter; local
776 counter = ((u32 *) ep_st) + (offset / 4);
777 len += scnprintf(buf + len, buf_len - len, " %u", *counter);
/drivers/net/wireless/rtlwifi/rtl8821ae/
H A Dfw.c150 u32 counter = 0; local
155 } while ((counter++ < FW_8821AE_POLLING_TIMEOUT_COUNT) &&
158 if (counter >= FW_8821AE_POLLING_TIMEOUT_COUNT) {
175 counter = 0;
187 } while (counter++ < FW_8821AE_POLLING_TIMEOUT_COUNT);
/drivers/s390/scsi/
H A Dzfcp_def.h134 u64 counter; member in struct:latency_cont
246 * @erp_counter: zfcp erp counter for this LUN
/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c626 static int counter; local
636 counter++));
2587 * the FW is still live, in which case the outstanding commands counter mut go
2620 // pending commands counter to go down to 0. If it doesn't, let the
2912 // We may need to re-calibrate the counter
/drivers/staging/comedi/drivers/
H A Dni_tio.c33 originally based on the counter code from ni_660x.c and
183 static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter) argument
185 unsigned cidx = counter->counter_index;
187 write_register(counter, GI_RESET(cidx), NITIO_RESET_REG(cidx));
190 static uint64_t ni_tio_clock_period_ps(const struct ni_gpct *counter, argument
213 return counter->clock_period_ps;
232 static unsigned ni_tio_clock_src_modifiers(const struct ni_gpct *counter) argument
234 struct ni_gpct_device *counter_dev = counter->counter_dev;
235 unsigned cidx = counter->counter_index;
237 ni_tio_get_soft_copy(counter, NITIO_CNT_MODE_RE
250 ni_m_series_clock_src_select(const struct ni_gpct *counter) argument
315 ni_660x_clock_src_select(const struct ni_gpct *counter) argument
372 ni_tio_generic_clock_src_select(const struct ni_gpct *counter) argument
384 ni_tio_set_sync_mode(struct ni_gpct *counter, int force_alt_sync) argument
428 ni_tio_set_counter_mode(struct ni_gpct *counter, unsigned mode) argument
488 ni_tio_arm(struct ni_gpct *counter, int arm, unsigned start_trigger) argument
654 ni_tio_set_source_subselect(struct ni_gpct *counter, unsigned int clock_source) argument
682 ni_tio_set_clock_src(struct ni_gpct *counter, unsigned int clock_source, unsigned int period_ns) argument
730 ni_tio_get_clock_src(struct ni_gpct *counter, unsigned int *clock_source, unsigned int *period_ns) argument
742 ni_660x_set_gate(struct ni_gpct *counter, unsigned int gate_source) argument
783 ni_m_set_gate(struct ni_gpct *counter, unsigned int gate_source) argument
825 ni_660x_set_gate2(struct ni_gpct *counter, unsigned int gate_source) argument
871 ni_m_set_gate2(struct ni_gpct *counter, unsigned int gate_source) argument
895 ni_tio_set_gate_src(struct ni_gpct *counter, unsigned gate_index, unsigned int gate_source) argument
961 ni_tio_set_other_src(struct ni_gpct *counter, unsigned index, unsigned int source) argument
1106 ni_tio_get_gate_src(struct ni_gpct *counter, unsigned gate_index, unsigned int *gate_source) argument
1176 struct ni_gpct *counter = s->private; local
1222 struct ni_gpct *counter = s->private; local
1251 struct ni_gpct *counter = s->private; local
1274 ni_tio_next_load_register(struct ni_gpct *counter) argument
1290 struct ni_gpct *counter = s->private; local
1331 ni_tio_init_counter(struct ni_gpct *counter) argument
1370 ni_gpct_device_construct(struct comedi_device *dev, void (*write_register)(struct ni_gpct *counter, unsigned bits, enum ni_gpct_register reg), unsigned (*read_register)(struct ni_gpct *counter, enum ni_gpct_register reg), enum ni_gpct_variant variant, unsigned num_counters) argument
1380 struct ni_gpct *counter; local
[all...]
H A Dni_tio_internal.h3 Header file for NI general purpose counter support code (ni_tio.c and
159 static inline void write_register(struct ni_gpct *counter, unsigned bits, argument
163 counter->counter_dev->write_register(counter, bits, reg);
166 static inline unsigned read_register(struct ni_gpct *counter, argument
170 return counter->counter_dev->read_register(counter, reg);
190 static inline void ni_tio_set_bits_transient(struct ni_gpct *counter, argument
196 struct ni_gpct_device *counter_dev = counter->counter_dev;
203 write_register(counter,
214 ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register register_index, unsigned bit_mask, unsigned bit_values) argument
226 ni_tio_get_soft_copy(const struct ni_gpct *counter, enum ni_gpct_register register_index) argument
[all...]
H A Dquatech_daqp_cs.c285 int counter = 10000; local
316 while (--counter
319 if (!counter) {
347 /* This function converts ns nanoseconds to a counter value suitable
349 * which with its 24-bit counter, allows values up to 84 seconds.
459 int counter; local
491 counter = daqp_ns_to_timer(&cmd->convert_arg, cmd->flags);
492 outb(counter & 0xff, dev->iobase + DAQP_PACER_LOW);
493 outb((counter >> 8) & 0xff, dev->iobase + DAQP_PACER_MID);
494 outb((counter >> 1
[all...]
/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_cb.c525 static int counter; local
527 counter++; /* exponential backoff warnings */
528 if ((counter & (-counter)) == counter)
530 counter, conn, atomic_read(&libcfs_kmemory));
/drivers/staging/media/lirc/
H A Dlirc_serial.c30 * - for systems with the rdtsc instruction and the clock counter, a
31 * send_pule that times the pulses directly using the counter.
610 int counter, dcd; local
621 counter = 0;
623 counter++;
625 if (counter > RS_ISR_PASS_LIMIT) {
/drivers/usb/gadget/udc/
H A Dm66592-udc.c390 int *counter; local
406 counter = &m66592->isochronous;
410 counter = &m66592->bulk;
422 counter = &m66592->interrupt;
431 counter = &m66592->isochronous;
453 (*counter)++;
454 if ((counter == &m66592->isochronous) && info.type == M66592_BULK)
H A Dr8a66597-udc.c459 unsigned char *counter; local
477 counter = &r8a66597->isochronous;
481 counter = &r8a66597->bulk;
494 counter = &r8a66597->interrupt;
504 counter = &r8a66597->isochronous;
527 (*counter)++;
528 if ((counter == &r8a66597->isochronous) && info.type == R8A66597_BULK)
/drivers/usb/host/
H A Dimx21-hcd.c127 static inline int wrap_frame(int counter) argument
129 return counter & 0xFFFF;
/drivers/usb/renesas_usbhs/
H A Dmod_host.c88 unsigned int counter; /* pipe attach counter */ member in struct:usbhsh_ep
329 uep->counter++;
357 } else if (1 == uep->counter--) { /* last user */
402 uep->counter = 0;
/drivers/crypto/qat/qat_common/
H A Dicp_qat_hw.h133 __be32 counter; member in struct:icp_qat_hw_auth_counter
/drivers/infiniband/hw/nes/
H A Dnes_hw.c1309 u32 counter = 0; local
1319 counter = 0;
1322 if (counter++ > 100) {
1365 u32 counter = 0; local
1448 counter = 0;
1453 if (counter++ > 150) {
1463 counter = 0;
1467 if (counter++ > 300) {
1470 counter = 0;
1501 counter
1681 u32 counter; local
2150 u32 counter; local
[all...]
H A Dnes_verbs.c1122 /* u32 counter = 0; */
1132 /* int counter; */
2933 /* u32 counter; */
3273 u32 counter; local
3521 counter = min(wqe_count, ((u32)255));
3522 wqe_count -= counter;
3524 (counter << 24) | 0x00800000 | nesqp->hwqp.qp_id);
3553 u32 counter; local
3615 counter = min(wqe_count, ((u32)255));
3616 wqe_count -= counter;
[all...]
/drivers/isdn/hisax/
H A Dst5481.h63 #define IN_D_COUNTER 0x36 /* D receive channel fifo counter */
64 #define OUT_D_COUNTER 0x37 /* D transmit channel fifo counter */
65 #define IN_B1_COUNTER 0x38 /* B1 receive channel fifo counter */
66 #define OUT_B1_COUNTER 0x39 /* B1 transmit channel fifo counter */
67 #define IN_B2_COUNTER 0x3a /* B2 receive channel fifo counter */
68 #define OUT_B2_COUNTER 0x3b /* B2 transmit channel fifo counter */
124 #define IN_COUNTER_ZEROED 0x02 /* In down-counter reached 0 */
125 #define OUT_COUNTER_ZEROED 0x01 /* Out down-counter reached 0 */
360 unsigned char ep, counter; member in struct:st5481_in

Completed in 522 milliseconds

12345