Home
last modified time | relevance | path

Searched refs:cnd (Results 1 – 23 of 23) sorted by relevance

/linux/tools/perf/util/
H A Dmutex.c87 CHECK_ERR(pthread_cond_init(&cnd->cond, &attr)); in __cond_init()
91 void cond_init(struct cond *cnd) in cond_init() argument
93 __cond_init(cnd, /*pshared=*/false); in cond_init()
96 void cond_init_pshared(struct cond *cnd) in cond_init_pshared() argument
98 __cond_init(cnd, /*pshared=*/true); in cond_init_pshared()
101 void cond_destroy(struct cond *cnd) in cond_destroy() argument
103 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); in cond_destroy()
111 void cond_signal(struct cond *cnd) in cond_signal() argument
113 CHECK_ERR(pthread_cond_signal(&cnd->cond)); in cond_signal()
116 void cond_broadcast(struct cond *cnd) in cond_broadcast() argument
[all …]
H A Dmutex.h96 void cond_init(struct cond *cnd);
101 void cond_init_pshared(struct cond *cnd);
102 void cond_destroy(struct cond *cnd);
104 void cond_wait(struct cond *cnd, struct mutex *mtx) EXCLUSIVE_LOCKS_REQUIRED(mtx);
105 void cond_signal(struct cond *cnd);
106 void cond_broadcast(struct cond *cnd);
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dassert_support.h21 #define CT_ASSERT(cnd) ((void)sizeof(char[(cnd) ? 1 : -1])) argument
32 #define assert(cnd) \ argument
34 if (!(cnd)) \
43 #define OP___assert(cnd) assert(cnd) argument
/linux/drivers/clk/tegra/
H A Dclk-device.c65 struct clk_notifier_data *cnd = data; in tegra_clock_change_notify() local
74 if (cnd->new_rate > cnd->old_rate) in tegra_clock_change_notify()
75 err = tegra_clock_set_pd_state(clk_dev, cnd->new_rate); in tegra_clock_change_notify()
79 err = tegra_clock_set_pd_state(clk_dev, cnd->old_rate); in tegra_clock_change_notify()
83 if (cnd->new_rate < cnd->old_rate) in tegra_clock_change_notify()
84 err = tegra_clock_set_pd_state(clk_dev, cnd->new_rate); in tegra_clock_change_notify()
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dsp.c26 const bool cnd) in cnd_sp_irq_enable() argument
28 if (cnd) { in cnd_sp_irq_enable()
H A Disp.c29 const bool cnd) in cnd_isp_irq_enable() argument
31 if (cnd) { in cnd_isp_irq_enable()
H A Devent_fifo_private.h36 const bool cnd) in cnd_event_wait_for() argument
38 if (cnd) { in cnd_event_wait_for()
H A Dinput_system.c145 const bool cnd) in receiver_port_enable() argument
150 if (cnd) { in receiver_port_enable()
/linux/drivers/clk/qcom/
H A Dclk-cbf-8996.c172 struct clk_notifier_data *cnd = data; in cbf_clk_notifier_cb() local
184 if (cnd->old_rate > DIV_THRESHOLD && in cbf_clk_notifier_cb()
185 cnd->new_rate < DIV_THRESHOLD) in cbf_clk_notifier_cb()
190 if (cnd->new_rate < DIV_THRESHOLD && in cbf_clk_notifier_cb()
191 cnd->old_rate > DIV_THRESHOLD) in cbf_clk_notifier_cb()
H A Dclk-cpu-8996.c550 struct clk_notifier_data *cnd = data; in cpu_clk_notifier_cb() local
564 if (cnd->new_rate < DIV_2_THRESHOLD && in cpu_clk_notifier_cb()
565 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb()
571 if (cnd->new_rate < DIV_2_THRESHOLD && in cpu_clk_notifier_cb()
572 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb()
/linux/drivers/clocksource/
H A Dmips-gic-timer.c125 struct clk_notifier_data *cnd = data; in gic_clk_notifier() local
129 on_each_cpu(gic_update_frequency, (void *)cnd->new_rate, 1); in gic_clk_notifier()
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Devent_fifo_public.h40 const bool cnd);
H A Disp_public.h31 const bool cnd);
H A Dsp_public.h31 const bool cnd);
/linux/arch/arm/kernel/
H A Dsmp_twd.c114 struct clk_notifier_data *cnd = data; in twd_rate_change() local
123 (void *)&cnd->new_rate, 1); in twd_rate_change()
/linux/drivers/clk/davinci/
H A Dpll.c308 struct clk_notifier_data *cnd = data; in davinci_pllen_rate_change() local
309 struct clk_hw *hw = __clk_get_hw(cnd->clk); in davinci_pllen_rate_change()
642 struct clk_notifier_data *cnd = data; in davinci_pll_sysclk_rate_change() local
643 struct clk_hw *hw = __clk_get_hw(clk_get_parent(cnd->clk)); in davinci_pll_sysclk_rate_change()
/linux/drivers/staging/media/atomisp/pci/
H A Disp2400_input_system_public.h51 const bool cnd);
/linux/drivers/tty/serial/
H A Dsifive.c596 struct clk_notifier_data *cnd = data; in sifive_serial_clk_notifier() local
619 if (event == POST_RATE_CHANGE && ssp->port.uartclk != cnd->new_rate) { in sifive_serial_clk_notifier()
620 ssp->port.uartclk = cnd->new_rate; in sifive_serial_clk_notifier()
/linux/drivers/clk/at91/
H A Dclk-master.c253 struct clk_notifier_data *cnd = data; in clk_master_div_notifier_fn() local
286 cnd->old_rate * characteristics->divisors[div], in clk_master_div_notifier_fn()
304 new_parent_rate = cnd->new_rate * characteristics->divisors[div]; in clk_master_div_notifier_fn()
/linux/drivers/clk/renesas/
H A Drzg2l-cpg.c179 struct clk_notifier_data *cnd = data; in rzg2l_cpg_sd_clk_mux_notifier() local
180 struct clk_hw *hw = __clk_get_hw(cnd->clk); in rzg2l_cpg_sd_clk_mux_notifier()
189 if (event != PRE_RATE_CHANGE || (cnd->new_rate / MEGA == 266)) in rzg2l_cpg_sd_clk_mux_notifier()
222 struct clk_notifier_data *cnd = data; in rzg3s_cpg_div_clk_notifier() local
223 struct clk_hw *hw = __clk_get_hw(cnd->clk); in rzg3s_cpg_div_clk_notifier()
234 div_hw_data->invalid_rate % cnd->new_rate) in rzg3s_cpg_div_clk_notifier()
/linux/drivers/memory/tegra/
H A Dtegra20-emc.c328 struct clk_notifier_data *cnd = data; in tegra_emc_clk_change_notify() local
333 err = emc_prepare_timing_change(emc, cnd->new_rate); in tegra_emc_clk_change_notify()
337 err = emc_prepare_timing_change(emc, cnd->old_rate); in tegra_emc_clk_change_notify()
H A Dtegra30-emc.c859 struct clk_notifier_data *cnd = data; in emc_clk_change_notify() local
869 err = emc_prepare_timing_change(emc, cnd->new_rate); in emc_clk_change_notify()
874 err = emc_unprepare_timing_change(emc, cnd->old_rate); in emc_clk_change_notify()
878 err = emc_complete_timing_change(emc, cnd->new_rate); in emc_clk_change_notify()
/linux/drivers/clk/
H A Dclk.c1850 struct clk_notifier_data cnd; in __clk_notify() local
1853 cnd.old_rate = old_rate; in __clk_notify()
1854 cnd.new_rate = new_rate; in __clk_notify()
1858 cnd.clk = cn->clk; in __clk_notify()
1860 &cnd); in __clk_notify()