/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | mutex.c | 79 static void __cond_init(struct cond *cnd, bool pshared) in __cond_init() argument 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() 106 void cond_wait(struct cond *cnd, struct mutex *mtx) in cond_wait() argument 108 CHECK_ERR(pthread_cond_wait(&cnd in cond_wait() 111 cond_signal(struct cond *cnd) cond_signal() argument 116 cond_broadcast(struct cond *cnd) 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);
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | assert_support.h | 44 #define CT_ASSERT(cnd) ((void)sizeof(char[(cnd) ? 1 : -1])) 50 * #define assert(cnd) BUG_ON(cnd) 54 #define assert(cnd) \ 56 if (!(cnd)) \ 64 #define OP___assert(cnd) assert(cnd)
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | assert_support.h | 44 #define CT_ASSERT(cnd) ((void)sizeof(char[(cnd) ? 1 : -1])) 50 * #define assert(cnd) BUG_ON(cnd) 54 #define assert(cnd) \ 56 if (!(cnd)) \ 64 #define OP___assert(cnd) assert(cnd)
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | clk-cbf-8996.c | 183 struct clk_notifier_data *cnd = data; in cbf_clk_notifier_cb() local 195 if (cnd->old_rate > DIV_THRESHOLD && in cbf_clk_notifier_cb() 196 cnd->new_rate < DIV_THRESHOLD) in cbf_clk_notifier_cb() 201 if (cnd->new_rate < DIV_THRESHOLD && in cbf_clk_notifier_cb() 202 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()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | event_fifo_private.h | 36 const bool cnd) 38 if (cnd) {
|
H A D | sp.c | 26 const bool cnd) in cnd_sp_irq_enable() 28 if (cnd) { in cnd_sp_irq_enable() 24 cnd_sp_irq_enable( const sp_ID_t ID, const bool cnd) cnd_sp_irq_enable() argument
|
H A D | isp.c | 29 const bool cnd) in cnd_isp_irq_enable() 31 if (cnd) { in cnd_isp_irq_enable() 27 cnd_isp_irq_enable( const isp_ID_t ID, const bool cnd) cnd_isp_irq_enable() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | event_fifo_private.h | 36 const bool cnd) 38 if (cnd) {
|
H A D | sp.c | 26 const bool cnd) in cnd_sp_irq_enable() 28 if (cnd) { in cnd_sp_irq_enable() 24 cnd_sp_irq_enable( const sp_ID_t ID, const bool cnd) cnd_sp_irq_enable() argument
|
H A D | isp.c | 29 const bool cnd) in cnd_isp_irq_enable() 31 if (cnd) { in cnd_isp_irq_enable() 27 cnd_isp_irq_enable( const isp_ID_t ID, const bool cnd) cnd_isp_irq_enable() argument
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | event_fifo_public.h | 34 \param cnd[in] predicate 36 \return none, if(cnd) dequeue(event_queue[ID]) 40 const bool cnd);
|
H A D | isp_public.h | 25 \param cnd[in] predicate 27 \return none, if(cnd) enable(ISP[ID].irq) else disable(ISP[ID].irq) 31 const bool cnd);
|
H A D | sp_public.h | 28 \param cnd[in] predicate 30 \return none, if(cnd) enable(SP[ID].irq) else disable(SP[ID].irq) 34 const bool cnd);
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | event_fifo_public.h | 34 \param cnd[in] predicate 36 \return none, if(cnd) dequeue(event_queue[ID]) 40 const bool cnd);
|
H A D | isp_public.h | 25 \param cnd[in] predicate 27 \return none, if(cnd) enable(ISP[ID].irq) else disable(ISP[ID].irq) 31 const bool cnd);
|
H A D | sp_public.h | 28 \param cnd[in] predicate 30 \return none, if(cnd) enable(SP[ID].irq) else disable(SP[ID].irq) 34 const bool cnd);
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | mips-gic-timer.c | 129 struct clk_notifier_data *cnd = data; in gic_clk_notifier() local 133 on_each_cpu(gic_update_frequency, (void *)cnd->new_rate, 1); in gic_clk_notifier()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | mips-gic-timer.c | 124 struct clk_notifier_data *cnd = data; in gic_clk_notifier() local 128 on_each_cpu(gic_update_frequency, (void *)cnd->new_rate, 1); in gic_clk_notifier()
|
/kernel/linux/linux-5.10/drivers/clk/davinci/ |
H A D | pll.c | 309 struct clk_notifier_data *cnd = data; in davinci_pllen_rate_change() local 310 struct clk_hw *hw = __clk_get_hw(cnd->clk); in davinci_pllen_rate_change() 643 struct clk_notifier_data *cnd = data; in davinci_pll_sysclk_rate_change() local 644 struct clk_hw *hw = __clk_get_hw(clk_get_parent(cnd->clk)); in davinci_pll_sysclk_rate_change()
|
/kernel/linux/linux-6.6/drivers/clk/davinci/ |
H A D | pll.c | 309 struct clk_notifier_data *cnd = data; in davinci_pllen_rate_change() local 310 struct clk_hw *hw = __clk_get_hw(cnd->clk); in davinci_pllen_rate_change() 643 struct clk_notifier_data *cnd = data; in davinci_pll_sysclk_rate_change() local 644 struct clk_hw *hw = __clk_get_hw(clk_get_parent(cnd->clk)); in davinci_pll_sysclk_rate_change()
|