Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 150) sorted by relevance

123456

/linux-2.6.39/drivers/staging/comedi/drivers/
Dni_tiocmd.c58 static void ni_tio_configure_dma(struct ni_gpct *counter, short enable, in ni_tio_configure_dma()
104 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local
124 static int ni_tio_input_cmd(struct ni_gpct *counter, struct comedi_async *async) in ni_tio_input_cmd()
172 static int ni_tio_output_cmd(struct ni_gpct *counter, in ni_tio_output_cmd()
185 static int ni_tio_cmd_setup(struct ni_gpct *counter, struct comedi_async *async) in ni_tio_cmd_setup()
213 int ni_tio_cmd(struct ni_gpct *counter, struct comedi_async *async) in ni_tio_cmd()
237 int ni_tio_cmdtest(struct ni_gpct *counter, struct comedi_cmd *cmd) in ni_tio_cmdtest()
343 int ni_tio_cancel(struct ni_gpct *counter) in ni_tio_cancel()
365 static int should_ack_gate(struct ni_gpct *counter) in should_ack_gate()
393 void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, int *gate_error, in ni_tio_acknowledge_and_confirm()
[all …]
Dni_tio.c294 struct ni_gpct_device *ni_gpct_device_construct(struct comedi_device *dev, in ni_gpct_device_construct()
364 static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter) in ni_tio_reset_count_and_disarm()
370 void ni_tio_init_counter(struct ni_gpct *counter) in ni_tio_init_counter()
425 static unsigned int ni_tio_counter_status(struct ni_gpct *counter) in ni_tio_counter_status()
439 static void ni_tio_set_sync_mode(struct ni_gpct *counter, int force_alt_sync) in ni_tio_set_sync_mode()
477 static int ni_tio_set_counter_mode(struct ni_gpct *counter, unsigned mode) in ni_tio_set_counter_mode()
544 int ni_tio_arm(struct ni_gpct *counter, int arm, unsigned start_trigger) in ni_tio_arm()
717 static void ni_tio_set_source_subselect(struct ni_gpct *counter, in ni_tio_set_source_subselect()
746 static int ni_tio_set_clock_src(struct ni_gpct *counter, in ni_tio_set_clock_src()
807 static unsigned ni_tio_clock_src_modifiers(const struct ni_gpct *counter) in ni_tio_clock_src_modifiers()
[all …]
Dni_660x.c807 static void ni_gpct_write_register(struct ni_gpct *counter, unsigned bits, in ni_gpct_write_register()
816 static unsigned ni_gpct_read_register(struct ni_gpct *counter, in ni_gpct_read_register()
828 *counter) in mite_ring()
835 struct ni_gpct *counter) in ni_660x_set_dma_channel()
855 struct ni_gpct *counter) in ni_660x_unset_dma_channel()
872 struct ni_gpct *counter, in ni_660x_request_mite_channel()
897 struct ni_gpct *counter) in ni_660x_release_mite_channel()
916 struct ni_gpct *counter = subdev_to_counter(s); in ni_660x_cmd() local
934 struct ni_gpct *counter = subdev_to_counter(s); in ni_660x_cmdtest() local
941 struct ni_gpct *counter = subdev_to_counter(s); in ni_660x_cancel() local
Dni_tio_internal.h697 static inline void write_register(struct ni_gpct *counter, unsigned bits, in write_register()
704 static inline unsigned read_register(struct ni_gpct *counter, in read_register()
730 static inline void ni_tio_set_bits_transient(struct ni_gpct *counter, in ni_tio_set_bits_transient()
753 static inline void ni_tio_set_bits(struct ni_gpct *counter, in ni_tio_set_bits()
765 static inline unsigned ni_tio_get_soft_copy(const struct ni_gpct *counter, in ni_tio_get_soft_copy()
/linux-2.6.39/kernel/
Dres_counter.c17 void res_counter_init(struct res_counter *counter, struct res_counter *parent) in res_counter_init()
25 int res_counter_charge_locked(struct res_counter *counter, unsigned long val) in res_counter_charge_locked()
38 int res_counter_charge(struct res_counter *counter, unsigned long val, in res_counter_charge()
69 void res_counter_uncharge_locked(struct res_counter *counter, unsigned long val) in res_counter_uncharge_locked()
77 void res_counter_uncharge(struct res_counter *counter, unsigned long val) in res_counter_uncharge()
93 res_counter_member(struct res_counter *counter, int member) in res_counter_member()
112 ssize_t res_counter_read(struct res_counter *counter, int member, in res_counter_read()
130 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64()
142 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64()
171 int res_counter_write(struct res_counter *counter, int member, in res_counter_write()
/linux-2.6.39/arch/x86/kernel/cpu/
Dperfctr-watchdog.c94 int avail_to_resrv_perfctr_nmi_bit(unsigned int counter) in avail_to_resrv_perfctr_nmi_bit()
104 unsigned int counter; in reserve_perfctr_nmi() local
119 unsigned int counter; in release_perfctr_nmi() local
132 unsigned int counter; in reserve_evntsel_nmi() local
147 unsigned int counter; in release_evntsel_nmi() local
/linux-2.6.39/arch/sh/kernel/cpu/
Dhwblk.c12 int area, int counter, int value, int goal) in hwblk_area_mod_cnt()
27 int counter, int value, int goal) in __hwblk_mod_cnt()
39 int counter, int value, int goal) in hwblk_mod_cnt()
48 void hwblk_cnt_inc(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_inc()
53 void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_dec()
/linux-2.6.39/tools/perf/
Dbuiltin-stat.c199 static int read_counter_aggr(struct perf_evsel *counter) in read_counter_aggr()
234 static int read_counter(struct perf_evsel *counter) in read_counter()
259 struct perf_evsel *counter; in run_perf_stat() local
469 static void print_counter_aggr(struct perf_evsel *counter) in print_counter_aggr()
518 static void print_counter(struct perf_evsel *counter) in print_counter()
562 struct perf_evsel *counter; in print_stat() local
/linux-2.6.39/drivers/net/wireless/prism54/
Dislpci_dev.c555 unsigned counter; in islpci_reset() local
627 int counter; in islpci_alloc_memory() local
732 int counter; in islpci_free_memory() local
/linux-2.6.39/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c167 void cvmx_l2c_config_perf(uint32_t counter, enum cvmx_l2c_event event, in cvmx_l2c_config_perf()
231 uint64_t cvmx_l2c_read_perf(uint32_t counter) in cvmx_l2c_read_perf()
238 uint64_t counter = 0; in cvmx_l2c_read_perf() local
248 uint64_t counter = 0; in cvmx_l2c_read_perf() local
258 uint64_t counter = 0; in cvmx_l2c_read_perf() local
269 uint64_t counter = 0; in cvmx_l2c_read_perf() local
/linux-2.6.39/arch/arm/kernel/
Dperf_event_xscale.c185 enum xscale_counters counter) in xscale1_pmnc_counter_has_overflowed()
378 xscale1pmu_read_counter(int counter) in xscale1pmu_read_counter()
398 xscale1pmu_write_counter(int counter, u32 val) in xscale1pmu_write_counter()
517 enum xscale_counters counter) in xscale2_pmnc_counter_has_overflowed()
728 xscale2pmu_read_counter(int counter) in xscale2pmu_read_counter()
754 xscale2pmu_write_counter(int counter, u32 val) in xscale2pmu_write_counter()
Dperf_event_v6.c356 enum armv6_counters counter) in armv6_pmcr_counter_has_overflowed()
373 armv6pmu_read_counter(int counter) in armv6pmu_read_counter()
390 armv6pmu_write_counter(int counter, in armv6pmu_write_counter()
/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes_utils.c390 u32 counter; in nes_write_1G_phy_reg() local
417 u32 counter; in nes_read_1G_phy_reg() local
451 u32 counter; in nes_write_10G_phy_reg() local
496 u32 counter; in nes_read_10G_phy_reg() local
/linux-2.6.39/arch/x86/oprofile/
Dop_x86_model.h60 static inline void op_x86_warn_in_use(int counter) in op_x86_warn_in_use()
75 static inline void op_x86_warn_reserved(int counter) in op_x86_warn_reserved()
/linux-2.6.39/tools/perf/util/
Dtop.c24 int counter; in sym_weight() local
72 struct perf_evsel *counter; in perf_top__header_snprintf() local
/linux-2.6.39/arch/mn10300/kernel/
Dprofile-low.S24 counter: label
/linux-2.6.39/arch/parisc/include/asm/
Dspinlock_types.h16 volatile int counter; member
/linux-2.6.39/arch/microblaze/include/asm/
Dmodule.h29 typedef struct { volatile int counter; } module_t; member
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_user_sdma.c58 u32 counter; /* sdma pkts queued counter for this entry */ member
90 u32 counter; member
163 u32 counter, size_t offset, in ipath_user_sdma_init_header()
409 u32 counter = pq->counter; in ipath_user_sdma_queue_pkts() local
587 u32 counter; in ipath_user_sdma_queue_clean() local
/linux-2.6.39/arch/sparc/include/asm/
Dcpudata_32.h18 unsigned int counter; member
/linux-2.6.39/drivers/net/tulip/
Dxircom_cb.c741 int counter; in activate_receiver() local
797 int counter; in deactivate_receiver() local
833 int counter; in activate_transmitter() local
888 int counter; in deactivate_transmitter() local
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_user_sdma.c57 u32 counter; /* sdma pkts queued counter for this entry */ member
89 u32 counter; member
162 u32 counter, size_t offset, in qib_user_sdma_init_header()
411 u32 counter = pq->counter; in qib_user_sdma_queue_pkts() local
589 u32 counter; in qib_user_sdma_queue_clean() local
/linux-2.6.39/arch/avr32/kernel/
Dtime.c33 static struct clocksource counter = { variable
/linux-2.6.39/arch/mips/oprofile/
Dop_model_mipsxx.c129 unsigned int counter[4]; member
219 unsigned int counter; in mipsxx_perfcount_handler() local
/linux-2.6.39/net/dccp/ccids/lib/
Dloss_interval.h47 u8 counter; member

123456