/linux/tools/perf/util/ |
H A D | mutex.c | 87 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 D | mutex.h | 96 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 D | assert_support.h | 21 #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 D | clk-device.c | 65 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 D | sp.c | 26 const bool cnd) in cnd_sp_irq_enable() argument 28 if (cnd) { in cnd_sp_irq_enable()
|
H A D | isp.c | 29 const bool cnd) in cnd_isp_irq_enable() argument 31 if (cnd) { in cnd_isp_irq_enable()
|
H A D | event_fifo_private.h | 36 const bool cnd) in cnd_event_wait_for() argument 38 if (cnd) { in cnd_event_wait_for()
|
H A D | input_system.c | 145 const bool cnd) in receiver_port_enable() argument 150 if (cnd) { in receiver_port_enable()
|
/linux/drivers/clk/qcom/ |
H A D | clk-cbf-8996.c | 172 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 D | clk-cpu-8996.c | 550 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 D | mips-gic-timer.c | 125 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 D | event_fifo_public.h | 40 const bool cnd);
|
H A D | isp_public.h | 31 const bool cnd);
|
H A D | sp_public.h | 31 const bool cnd);
|
/linux/arch/arm/kernel/ |
H A D | smp_twd.c | 114 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 D | pll.c | 308 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 D | isp2400_input_system_public.h | 51 const bool cnd);
|
/linux/drivers/tty/serial/ |
H A D | sifive.c | 596 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 D | clk-master.c | 253 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 D | rzg2l-cpg.c | 179 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 D | tegra20-emc.c | 328 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 D | tegra30-emc.c | 859 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 D | clk.c | 1850 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()
|