Home
last modified time | relevance | path

Searched refs:counter_priv (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/counter/
H A Dti-ecap-capture.c102 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_get_evmode()
114 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_set_evmode()
123 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_enable()
138 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_disable()
151 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_count_get_val()
163 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_count_set_val()
228 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_clk_get_freq()
239 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_pol_read()
255 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_pol_write()
291 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_nb_ovf_read()
[all …]
H A D104-quad-8.c238 struct quad8 *const priv = counter_priv(counter); in quad8_count_read()
286 struct quad8 *const priv = counter_priv(counter); in quad8_count_write()
349 struct quad8 *const priv = counter_priv(counter); in quad8_function_read()
366 struct quad8 *const priv = counter_priv(counter); in quad8_function_write()
444 struct quad8 *const priv = counter_priv(counter); in quad8_action_read()
506 struct quad8 *const priv = counter_priv(counter); in quad8_events_configure()
612 struct quad8 *const priv = counter_priv(counter); in quad8_index_polarity_set()
675 struct quad8 *const priv = counter_priv(counter); in quad8_synchronous_mode_set()
736 struct quad8 *const priv = counter_priv(counter); in quad8_count_mode_write()
782 struct quad8 *const priv = counter_priv(counter); in quad8_count_enable_write()
[all …]
H A Dstm32-lptimer-cnt.c143 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_read()
160 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_function_read()
179 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_function_write()
202 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_enable_read()
218 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_enable_write()
243 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_ceiling_read()
254 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_ceiling_write()
279 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_action_read()
323 struct stm32_lptim_cnt *const priv = counter_priv(counter); in stm32_lptim_cnt_action_write()
423 priv = counter_priv(counter); in stm32_lptim_cnt_probe()
H A Dstm32-timer-cnt.c49 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_read()
61 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_write()
75 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_function_read()
102 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_function_write()
142 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_direction_read()
155 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_ceiling_read()
168 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_ceiling_write()
183 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_enable_read()
196 struct stm32_timer_cnt *const priv = counter_priv(counter); in stm32_count_enable_write()
329 priv = counter_priv(counter); in stm32_timer_cnt_probe()
H A Dinterrupt-cnt.c30 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_isr()
42 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_enable_read()
52 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_enable_write()
90 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_read()
100 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_write()
127 struct interrupt_cnt_priv *priv = counter_priv(counter); in interrupt_cnt_signal_read()
171 priv = counter_priv(counter); in interrupt_cnt_probe()
H A Drz-mtu3-cnt.c99 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_get_ch()
107 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_is_counter_invalid()
161 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_read()
183 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_write()
236 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_function_read()
254 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_function_write()
295 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_direction_read()
319 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_ceiling_read()
350 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_ceiling_write()
478 struct rz_mtu3_cnt *const priv = counter_priv(counter); in rz_mtu3_count_enable_read()
[all …]
H A Di8254.c60 struct i8254 *const priv = counter_priv(counter); in i8254_count_read()
101 struct i8254 *const priv = counter_priv(counter); in i8254_action_read()
128 struct i8254 *const priv = counter_priv(counter); in i8254_count_ceiling_read()
160 const struct i8254 *const priv = counter_priv(counter); in i8254_count_mode_read()
191 struct i8254 *const priv = counter_priv(counter); in i8254_count_mode_write()
235 struct i8254 *const priv = counter_priv(counter); in i8254_count_floor_read()
261 const struct i8254 *const priv = counter_priv(counter); in i8254_count_preset_read()
271 struct i8254 *const priv = counter_priv(counter); in i8254_count_preset_write()
419 priv = counter_priv(counter); in devm_i8254_regmap_register()
H A Dintel-qep.c111 struct intel_qep *const qep = counter_priv(counter); in intel_qep_count_read()
178 struct intel_qep *qep = counter_priv(counter); in intel_qep_ceiling_read()
190 struct intel_qep *qep = counter_priv(counter); in intel_qep_ceiling_write()
215 struct intel_qep *qep = counter_priv(counter); in intel_qep_enable_read()
225 struct intel_qep *qep = counter_priv(counter); in intel_qep_enable_write()
258 struct intel_qep *qep = counter_priv(counter); in intel_qep_spike_filter_ns_read()
279 struct intel_qep *qep = counter_priv(counter); in intel_qep_spike_filter_ns_write()
328 struct intel_qep *qep = counter_priv(counter); in intel_qep_preset_enable_read()
343 struct intel_qep *qep = counter_priv(counter); in intel_qep_preset_enable_write()
403 qep = counter_priv(counter); in intel_qep_probe()
H A Dmicrochip-tcb-capture.c72 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_function_read()
86 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_function_write()
148 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_signal_read()
169 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_action_read()
208 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_action_write()
241 struct mchp_tc_data *const priv = counter_priv(counter); in mchp_tc_count_read()
318 priv = counter_priv(counter); in mchp_tc_probe()
H A Dftm-quaddec.c120 struct ftm_quaddec *ftm = counter_priv(counter); in ftm_quaddec_get_prescaler()
133 struct ftm_quaddec *ftm = counter_priv(counter); in ftm_quaddec_set_prescaler()
164 struct ftm_quaddec *const ftm = counter_priv(counter); in ftm_quaddec_count_read()
178 struct ftm_quaddec *const ftm = counter_priv(counter); in ftm_quaddec_count_write()
271 ftm = counter_priv(counter); in ftm_quaddec_probe()
H A Dcounter-core.c69 void *counter_priv(const struct counter_device *const counter) in counter_priv() function
76 EXPORT_SYMBOL_NS_GPL(counter_priv, COUNTER);
H A Dti-eqep.c92 return counter_priv(counter); in ti_eqep_count_from_counter()
384 priv = counter_priv(counter); in ti_eqep_probe()
/openbmc/linux/include/linux/
H A Dcounter.h401 void *counter_priv(const struct counter_device *const counter) __attribute_const__;