| /linux/tools/perf/util/ |
| H A D | mutex.c | 156 static void __cond_init(struct cond *cnd, bool pshared) 164 CHECK_ERR(pthread_cond_init(&cnd->cond, &attr)); 168 void cond_init(struct cond *cnd) 170 __cond_init(cnd, /*pshared=*/false); 173 void cond_init_pshared(struct cond *cnd) 175 __cond_init(cnd, /*pshared=*/true); 178 void cond_destroy(struct cond *cnd) 180 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); 183 void cond_wait(struct cond *cnd, struct mutex *mtx) 186 pthread_cond_wait(&cnd 85 __cond_init(struct cond * cnd,bool pshared) __cond_init() argument 97 cond_init(struct cond * cnd) cond_init() argument 102 cond_init_pshared(struct cond * cnd) cond_init_pshared() argument 107 cond_destroy(struct cond * cnd) cond_destroy() argument 112 cond_wait(struct cond * cnd,struct mutex * mtx) cond_wait() argument 117 cond_signal(struct cond * cnd) cond_signal() argument 122 cond_broadcast(struct cond * cnd) cond_broadcast() argument [all...] |
| H A D | mutex.h | 159 void cond_init(struct cond *cnd); 164 void cond_init_pshared(struct cond *cnd); 165 void cond_destroy(struct cond *cnd); 167 void cond_wait(struct cond *cnd, struct mutex *mtx) EXCLUSIVE_LOCKS_REQUIRED(mtx); 168 void cond_signal(struct cond *cnd); 169 void cond_broadcast(struct cond *cnd);
|
| /linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
| H A D | assert_support.h | 12 #define CT_ASSERT(cnd) ((void)sizeof(char[(cnd) ? 1 : -1])) argument 23 #define assert(cnd) \ argument 25 if (!(cnd)) \ 34 #define OP___assert(cnd) assert(cnd) argument
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-device.c | 64 struct clk_notifier_data *cnd = data; in tegra_clock_change_notify() local 73 if (cnd->new_rate > cnd->old_rate) in tegra_clock_change_notify() 74 err = tegra_clock_set_pd_state(clk_dev, cnd->new_rate); in tegra_clock_change_notify() 78 err = tegra_clock_set_pd_state(clk_dev, cnd->old_rate); in tegra_clock_change_notify() 82 if (cnd->new_rate < cnd->old_rate) in tegra_clock_change_notify() 83 err = tegra_clock_set_pd_state(clk_dev, cnd->new_rate); in tegra_clock_change_notify()
|
| /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 | 549 struct clk_notifier_data *cnd = data; in cpu_clk_notifier_cb() local 563 if (cnd->new_rate < DIV_2_THRESHOLD && in cpu_clk_notifier_cb() 564 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb() 570 if (cnd->new_rate < DIV_2_THRESHOLD && in cpu_clk_notifier_cb() 571 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb()
|
| /linux/drivers/clk/davinci/ |
| H A D | pll.c | 307 struct clk_notifier_data *cnd = data; in davinci_pllen_rate_change() local 308 struct clk_hw *hw = __clk_get_hw(cnd->clk); in davinci_pllen_rate_change() 641 struct clk_notifier_data *cnd = data; in davinci_pll_sysclk_rate_change() local 642 struct clk_hw *hw = __clk_get_hw(clk_get_parent(cnd->clk)); in davinci_pll_sysclk_rate_change()
|
| /linux/drivers/tty/serial/ |
| H A D | sifive.c | 604 struct clk_notifier_data *cnd = data; in sifive_serial_clk_notifier() local 627 if (event == POST_RATE_CHANGE && ssp->port.uartclk != cnd->new_rate) { in sifive_serial_clk_notifier() 628 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 | 251 struct clk_notifier_data *cnd = data; in rzg2l_cpg_sd_clk_mux_notifier() 252 struct clk_hw *hw = __clk_get_hw(cnd->clk); in rzg2l_cpg_sd_clk_mux_notifier() 261 if (event != PRE_RATE_CHANGE || (cnd->new_rate / MEGA == 266)) in rzg3s_cpg_div_clk_notifier() 294 struct clk_notifier_data *cnd = data; in rzg3s_cpg_div_clk_notifier() 295 struct clk_hw *hw = __clk_get_hw(cnd->clk); in rzg3s_cpg_div_clk_notifier() 306 div_hw_data->invalid_rate % cnd->new_rate) 220 struct clk_notifier_data *cnd = data; rzg2l_cpg_sd_clk_mux_notifier() local 263 struct clk_notifier_data *cnd = data; rzg3s_cpg_div_clk_notifier() local
|
| /linux/drivers/clk/ |
| H A D | clk.c | 1900 struct clk_notifier_data cnd; in __clk_notify() 1903 cnd.old_rate = old_rate; in __clk_notify() 1904 cnd.new_rate = new_rate; in __clk_notify() 1908 cnd.clk = cn->clk; in __clk_notify() 1910 &cnd); in __clk_notify() 1898 struct clk_notifier_data cnd; __clk_notify() local
|