/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | ni_tio.c | 752 static int ni_tio_set_clock_src(struct ni_gpct *counter, in ni_tio_set_clock_src() 1025 int ni_tio_set_gate_src_raw(struct ni_gpct *counter, in ni_tio_set_gate_src_raw() 1057 int ni_tio_set_gate_src(struct ni_gpct *counter, in ni_tio_set_gate_src() 1454 struct ni_gpct *counter = s->private; in ni_tio_insn_config() local 1608 struct ni_gpct *counter = s->private; in ni_tio_read_sw_save_reg() local 1637 struct ni_gpct *counter = s->private; in ni_tio_insn_read() local 1678 struct ni_gpct *counter = s->private; in ni_tio_insn_write() local 1723 void ni_tio_init_counter(struct ni_gpct *counter) in ni_tio_init_counter() 1764 void (*write)(struct ni_gpct *counter, in ni_gpct_device_construct() 1767 unsigned int (*read)(struct ni_gpct *counter, in ni_gpct_device_construct() [all …]
|
A D | ni_tiocmd.c | 38 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() 78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() local 102 struct ni_gpct *counter = s->private; in ni_tio_input_cmd() local 153 struct ni_gpct *counter = s->private; in ni_tio_output_cmd() local 163 struct ni_gpct *counter = s->private; in ni_tio_cmd_setup() local 206 struct ni_gpct *counter = s->private; in ni_tio_cmd() local 237 struct ni_gpct *counter = s->private; in ni_tio_cmdtest() local 332 int ni_tio_cancel(struct ni_gpct *counter) in ni_tio_cancel() 350 static int should_ack_gate(struct ni_gpct *counter) in should_ack_gate() 442 void ni_tio_acknowledge(struct ni_gpct *counter) in ni_tio_acknowledge() [all …]
|
A D | comedi_8254.c | 184 unsigned int comedi_8254_status(struct comedi_8254 *i8254, unsigned int counter) in comedi_8254_status() 203 unsigned int comedi_8254_read(struct comedi_8254 *i8254, unsigned int counter) in comedi_8254_read() 229 unsigned int counter, unsigned int val) in comedi_8254_write() 252 int comedi_8254_set_mode(struct comedi_8254 *i8254, unsigned int counter, in comedi_8254_set_mode() 278 int comedi_8254_load(struct comedi_8254 *i8254, unsigned int counter, in comedi_8254_load() 470 unsigned int counter, bool busy) in comedi_8254_set_busy()
|
/linux-6.3-rc2/drivers/counter/ |
A D | counter-core.c | 31 struct counter_device counter; member 42 struct counter_device *const counter = in counter_device_release() local 69 void *counter_priv(const struct counter_device *const counter) in counter_priv() 90 struct counter_device *counter; in counter_alloc() local 138 void counter_put(struct counter_device *counter) in counter_put() 152 int counter_add(struct counter_device *counter) in counter_add() 177 void counter_unregister(struct counter_device *const counter) in counter_unregister() 193 static void devm_counter_release(void *counter) in devm_counter_release() 198 static void devm_counter_put(void *counter) in devm_counter_put() 213 struct counter_device *counter; in devm_counter_alloc() local [all …]
|
A D | 104-quad-8.c | 136 static int quad8_signal_read(struct counter_device *counter, in quad8_signal_read() 154 static int quad8_count_read(struct counter_device *counter, in quad8_count_read() 186 static int quad8_count_write(struct counter_device *counter, in quad8_count_write() 259 static int quad8_function_read(struct counter_device *counter, in quad8_function_read() 276 static int quad8_function_write(struct counter_device *counter, in quad8_function_write() 338 static int quad8_direction_read(struct counter_device *counter, in quad8_direction_read() 367 static int quad8_action_read(struct counter_device *counter, in quad8_action_read() 498 static int quad8_watch_validate(struct counter_device *counter, in quad8_watch_validate() 573 static int quad8_polarity_read(struct counter_device *counter, in quad8_polarity_read() 1164 struct counter_device *counter = private; in quad8_irq_handler() local [all …]
|
A D | ti-ecap-capture.c | 170 static int ecap_cnt_count_read(struct counter_device *counter, in ecap_cnt_count_read() 178 static int ecap_cnt_count_write(struct counter_device *counter, in ecap_cnt_count_write() 198 static int ecap_cnt_action_read(struct counter_device *counter, in ecap_cnt_action_read() 225 static int ecap_cnt_clk_get_freq(struct counter_device *counter, in ecap_cnt_clk_get_freq() 235 static int ecap_cnt_pol_read(struct counter_device *counter, in ecap_cnt_pol_read() 251 static int ecap_cnt_pol_write(struct counter_device *counter, in ecap_cnt_pol_write() 267 static int ecap_cnt_cap_read(struct counter_device *counter, in ecap_cnt_cap_read() 276 static int ecap_cnt_cap_write(struct counter_device *counter, in ecap_cnt_cap_write() 288 static int ecap_cnt_nb_ovf_read(struct counter_device *counter, in ecap_cnt_nb_ovf_read() 298 static int ecap_cnt_nb_ovf_write(struct counter_device *counter, in ecap_cnt_nb_ovf_write() [all …]
|
A D | counter-chrdev.c | 68 struct counter_device *const counter = filp->private_data; in counter_chrdev_read() local 106 struct counter_device *const counter = filp->private_data; in counter_chrdev_poll() local 138 static int counter_set_event_node(struct counter_device *const counter, in counter_set_event_node() 195 static int counter_enable_events(struct counter_device *const counter) in counter_enable_events() 264 static int counter_add_watch(struct counter_device *const counter, in counter_add_watch() 385 struct counter_device *const counter = filp->private_data; in counter_chrdev_ioctl() local 416 struct counter_device *const counter = container_of(inode->i_cdev, in counter_chrdev_open() local 428 struct counter_device *const counter = filp->private_data; in counter_chrdev_release() local 465 int counter_chrdev_add(struct counter_device *const counter) in counter_chrdev_add() 483 void counter_chrdev_remove(struct counter_device *const counter) in counter_chrdev_remove() [all …]
|
A D | interrupt-cnt.c | 29 struct counter_device *counter = dev_id; in interrupt_cnt_isr() local 39 static int interrupt_cnt_enable_read(struct counter_device *counter, in interrupt_cnt_enable_read() 49 static int interrupt_cnt_enable_write(struct counter_device *counter, in interrupt_cnt_enable_write() 77 static int interrupt_cnt_action_read(struct counter_device *counter, in interrupt_cnt_action_read() 87 static int interrupt_cnt_read(struct counter_device *counter, in interrupt_cnt_read() 97 static int interrupt_cnt_write(struct counter_device *counter, in interrupt_cnt_write() 114 static int interrupt_cnt_function_read(struct counter_device *counter, in interrupt_cnt_function_read() 123 static int interrupt_cnt_signal_read(struct counter_device *counter, in interrupt_cnt_signal_read() 142 static int interrupt_cnt_watch_validate(struct counter_device *counter, in interrupt_cnt_watch_validate() 164 struct counter_device *counter; in interrupt_cnt_probe() local
|
A D | stm32-timer-cnt.c | 46 static int stm32_count_read(struct counter_device *counter, in stm32_count_read() 58 static int stm32_count_write(struct counter_device *counter, in stm32_count_write() 71 static int stm32_count_function_read(struct counter_device *counter, in stm32_count_function_read() 98 static int stm32_count_function_write(struct counter_device *counter, in stm32_count_function_write() 138 static int stm32_count_direction_read(struct counter_device *counter, in stm32_count_direction_read() 152 static int stm32_count_ceiling_read(struct counter_device *counter, in stm32_count_ceiling_read() 165 static int stm32_count_ceiling_write(struct counter_device *counter, in stm32_count_ceiling_write() 180 static int stm32_count_enable_read(struct counter_device *counter, in stm32_count_enable_read() 193 static int stm32_count_enable_write(struct counter_device *counter, in stm32_count_enable_write() 231 static int stm32_action_read(struct counter_device *counter, in stm32_action_read() [all …]
|
A D | ti-eqep.c | 85 struct counter_device counter; member 95 static int ti_eqep_count_read(struct counter_device *counter, in ti_eqep_count_read() 107 static int ti_eqep_count_write(struct counter_device *counter, in ti_eqep_count_write() 120 static int ti_eqep_function_read(struct counter_device *counter, in ti_eqep_function_read() 147 static int ti_eqep_function_write(struct counter_device *counter, in ti_eqep_function_write() 176 static int ti_eqep_action_read(struct counter_device *counter, in ti_eqep_action_read() 249 static int ti_eqep_position_ceiling_read(struct counter_device *counter, in ti_eqep_position_ceiling_read() 277 static int ti_eqep_position_enable_read(struct counter_device *counter, in ti_eqep_position_enable_read() 290 static int ti_eqep_position_enable_write(struct counter_device *counter, in ti_eqep_position_enable_write() 376 struct counter_device *counter; in ti_eqep_probe() local [all …]
|
A D | counter-sysfs.c | 103 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u8_show() local 135 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u8_store() local 171 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u32_show() local 236 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u32_store() local 300 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u64_show() local 328 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u64_store() local 360 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u32_show() local 382 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u32_store() local 410 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u64_show() local 442 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u64_store() local [all …]
|
A D | stm32-lptimer-cnt.c | 140 static int stm32_lptim_cnt_read(struct counter_device *counter, in stm32_lptim_cnt_read() 156 static int stm32_lptim_cnt_function_read(struct counter_device *counter, in stm32_lptim_cnt_function_read() 175 static int stm32_lptim_cnt_function_write(struct counter_device *counter, in stm32_lptim_cnt_function_write() 198 static int stm32_lptim_cnt_enable_read(struct counter_device *counter, in stm32_lptim_cnt_enable_read() 214 static int stm32_lptim_cnt_enable_write(struct counter_device *counter, in stm32_lptim_cnt_enable_write() 239 static int stm32_lptim_cnt_ceiling_read(struct counter_device *counter, in stm32_lptim_cnt_ceiling_read() 250 static int stm32_lptim_cnt_ceiling_write(struct counter_device *counter, in stm32_lptim_cnt_ceiling_write() 274 static int stm32_lptim_cnt_action_read(struct counter_device *counter, in stm32_lptim_cnt_action_read() 318 static int stm32_lptim_cnt_action_write(struct counter_device *counter, in stm32_lptim_cnt_action_write() 413 struct counter_device *counter; in stm32_lptim_cnt_probe() local
|
A D | intel-qep.c | 108 static int intel_qep_count_read(struct counter_device *counter, in intel_qep_count_read() 124 static int intel_qep_function_read(struct counter_device *counter, in intel_qep_function_read() 137 static int intel_qep_action_read(struct counter_device *counter, in intel_qep_action_read() 175 static int intel_qep_ceiling_read(struct counter_device *counter, in intel_qep_ceiling_read() 187 static int intel_qep_ceiling_write(struct counter_device *counter, in intel_qep_ceiling_write() 212 static int intel_qep_enable_read(struct counter_device *counter, in intel_qep_enable_read() 222 static int intel_qep_enable_write(struct counter_device *counter, in intel_qep_enable_write() 254 static int intel_qep_spike_filter_ns_read(struct counter_device *counter, in intel_qep_spike_filter_ns_read() 324 static int intel_qep_preset_enable_read(struct counter_device *counter, in intel_qep_preset_enable_read() 340 static int intel_qep_preset_enable_write(struct counter_device *counter, in intel_qep_preset_enable_write() [all …]
|
A D | ftm-quaddec.c | 117 static int ftm_quaddec_get_prescaler(struct counter_device *counter, in ftm_quaddec_get_prescaler() 130 static int ftm_quaddec_set_prescaler(struct counter_device *counter, in ftm_quaddec_set_prescaler() 160 static int ftm_quaddec_count_read(struct counter_device *counter, in ftm_quaddec_count_read() 174 static int ftm_quaddec_count_write(struct counter_device *counter, in ftm_quaddec_count_write() 190 static int ftm_quaddec_count_function_read(struct counter_device *counter, in ftm_quaddec_count_function_read() 199 static int ftm_quaddec_action_read(struct counter_device *counter, in ftm_quaddec_action_read() 261 struct counter_device *counter; in ftm_quaddec_probe() local
|
A D | microchip-tcb-capture.c | 69 static int mchp_tc_count_function_read(struct counter_device *counter, in mchp_tc_count_function_read() 83 static int mchp_tc_count_function_write(struct counter_device *counter, in mchp_tc_count_function_write() 145 static int mchp_tc_count_signal_read(struct counter_device *counter, in mchp_tc_count_signal_read() 165 static int mchp_tc_count_action_read(struct counter_device *counter, in mchp_tc_count_action_read() 204 static int mchp_tc_count_action_write(struct counter_device *counter, in mchp_tc_count_action_write() 239 static int mchp_tc_count_read(struct counter_device *counter, in mchp_tc_count_read() 308 struct counter_device *counter; in mchp_tc_probe() local
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | arm_dsu_pmu.h | 53 static inline void __dsu_pmu_select_counter(int counter) in __dsu_pmu_select_counter() 59 static inline u64 __dsu_pmu_read_counter(int counter) in __dsu_pmu_read_counter() 65 static inline void __dsu_pmu_write_counter(int counter, u64 val) in __dsu_pmu_write_counter() 72 static inline void __dsu_pmu_set_event(int counter, u32 event) in __dsu_pmu_set_event() 90 static inline void __dsu_pmu_disable_counter(int counter) in __dsu_pmu_disable_counter() 96 static inline void __dsu_pmu_enable_counter(int counter) in __dsu_pmu_enable_counter() 102 static inline void __dsu_pmu_counter_interrupt_enable(int counter) in __dsu_pmu_counter_interrupt_enable() 108 static inline void __dsu_pmu_counter_interrupt_disable(int counter) in __dsu_pmu_counter_interrupt_disable()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | counters.c | 146 struct rdma_counter *counter; in alloc_and_bind() local 207 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free() 243 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp() local 282 struct rdma_counter *counter = NULL; in rdma_get_counter_auto_mode() local 311 struct rdma_counter *counter; in counter_release() local 327 struct rdma_counter *counter; in rdma_counter_bind_qp_auto() local 363 struct rdma_counter *counter = qp->counter; in rdma_counter_unbind_qp() local 397 struct rdma_counter *counter; in get_running_counters_hwstat_sum() local 468 struct rdma_counter *counter; in rdma_get_counter_by_id() local 488 struct rdma_counter *counter; in rdma_counter_bind_qpn() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_counter.c | 50 static void prestera_counter_lock(struct prestera_counter *counter) in prestera_counter_lock() 55 static void prestera_counter_unlock(struct prestera_counter *counter) in prestera_counter_unlock() 89 prestera_counter_block_lookup_not_full(struct prestera_counter *counter, in prestera_counter_block_lookup_not_full() 141 prestera_counter_block_get(struct prestera_counter *counter, u32 client) in prestera_counter_block_get() 199 static void prestera_counter_block_put(struct prestera_counter *counter, in prestera_counter_block_put() 251 int prestera_counter_get(struct prestera_counter *counter, u32 client, in prestera_counter_get() 284 void prestera_counter_put(struct prestera_counter *counter, in prestera_counter_put() 341 struct prestera_counter *counter = in prestera_counter_stats_work() local 417 int prestera_counter_stats_get(struct prestera_counter *counter, in prestera_counter_stats_get() 439 struct prestera_counter *counter; in prestera_counter_init() local [all …]
|
/linux-6.3-rc2/mm/ |
A D | page_counter.c | 49 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages) in page_counter_cancel() 70 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages) in page_counter_charge() 97 bool page_counter_try_charge(struct page_counter *counter, in page_counter_try_charge() 153 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages) in page_counter_uncharge() 171 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_max() 210 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_min() 227 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages) in page_counter_set_low()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fs_counters.c | 114 struct mlx5_fc *counter; in mlx5_fc_counters_lookup_next() local 130 struct mlx5_fc *counter) in mlx5_fc_stats_insert() 138 struct mlx5_fc *counter) in mlx5_fc_stats_remove() 185 struct mlx5_fc *counter = first; in mlx5_fc_stats_query_counter_range() local 281 struct mlx5_fc *counter = NULL, *last = NULL, *tmp; in mlx5_fc_stats_work() local 319 struct mlx5_fc *counter; in mlx5_fc_single_alloc() local 338 struct mlx5_fc *counter; in mlx5_fc_acquire() local 400 u32 mlx5_fc_id(struct mlx5_fc *counter) in mlx5_fc_id() 461 struct mlx5_fc *counter; in mlx5_cleanup_fc_stats() local 487 u64 mlx5_fc_query_lastuse(struct mlx5_fc *counter) in mlx5_fc_query_lastuse() [all …]
|
/linux-6.3-rc2/arch/x86/kernel/cpu/ |
A D | perfctr-watchdog.c | 110 unsigned int counter; in reserve_perfctr_nmi() local 125 unsigned int counter; in release_perfctr_nmi() local 138 unsigned int counter; in reserve_evntsel_nmi() local 153 unsigned int counter; in release_evntsel_nmi() local
|
/linux-6.3-rc2/include/linux/ |
A D | page_counter.h | 47 static inline void page_counter_init(struct page_counter *counter, in page_counter_init() 55 static inline unsigned long page_counter_read(struct page_counter *counter) in page_counter_read() 69 static inline void page_counter_set_high(struct page_counter *counter, in page_counter_set_high() 79 static inline void page_counter_reset_watermark(struct page_counter *counter) in page_counter_reset_watermark()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
A D | timed_ctrl.c | 28 hrt_data counter, in timed_ctrl_snd_commnd() 49 hrt_data counter, in timed_ctrl_snd_sp_commnd() 65 hrt_data counter, in timed_ctrl_snd_gpio_commnd()
|
/linux-6.3-rc2/drivers/perf/ |
A D | fsl_imx8_ddr_perf.c | 347 static void ddr_perf_free_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_free_counter() 352 static u32 ddr_perf_read_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_read_counter() 415 int counter, bool enable) in ddr_perf_counter_enable() 438 static bool ddr_perf_counter_overflow(struct ddr_pmu *pmu, int counter) in ddr_perf_counter_overflow() 447 static void ddr_perf_counter_clear(struct ddr_pmu *pmu, int counter) in ddr_perf_counter_clear() 465 int counter = hwc->idx; in ddr_perf_event_update() local 492 int counter = hwc->idx; in ddr_perf_event_start() local 505 int counter; in ddr_perf_event_add() local 546 int counter = hwc->idx; in ddr_perf_event_stop() local 558 int counter = hwc->idx; in ddr_perf_event_del() local
|
/linux-6.3-rc2/tools/perf/util/ |
A D | bpf_counter.c | 40 struct bpf_counter *counter; in bpf_counter_alloc() local 50 struct bpf_counter *counter, *tmp; in bpf_program_profiler__destroy() local 105 struct bpf_counter *counter; in bpf_program_profiler_load_one() local 200 struct bpf_counter *counter; in bpf_program_profiler__enable() local 216 struct bpf_counter *counter; in bpf_program_profiler__disable() local 232 struct bpf_counter *counter; in bpf_program_profiler__read() local 277 struct bpf_counter *counter; in bpf_program_profiler__install_pe() local
|