Home
last modified time | relevance | path

Searched refs:ndata (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/drivers/clk/samsung/
Dclk-cpu.c151 static int exynos_cpuclk_pre_rate_change(struct clk_notifier_data *ndata, in exynos_cpuclk_pre_rate_change() argument
161 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_pre_rate_change()
190 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos_cpuclk_pre_rate_change()
191 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos_cpuclk_pre_rate_change()
228 static int exynos_cpuclk_post_rate_change(struct clk_notifier_data *ndata, in exynos_cpuclk_post_rate_change() argument
238 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_post_rate_change()
279 static int exynos5433_cpuclk_pre_rate_change(struct clk_notifier_data *ndata, in exynos5433_cpuclk_pre_rate_change() argument
289 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change()
312 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change()
313 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos5433_cpuclk_pre_rate_change()
[all …]
/linux-4.19.296/drivers/clk/rockchip/
Dclk-cpu.c124 struct clk_notifier_data *ndata) in rockchip_cpuclk_pre_rate_change() argument
132 rate = rockchip_get_cpuclk_settings(cpuclk, ndata->new_rate); in rockchip_cpuclk_pre_rate_change()
135 __func__, ndata->new_rate); in rockchip_cpuclk_pre_rate_change()
149 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change()
151 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change()
166 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change()
187 struct clk_notifier_data *ndata) in rockchip_cpuclk_post_rate_change() argument
193 rate = rockchip_get_cpuclk_settings(cpuclk, ndata->new_rate); in rockchip_cpuclk_post_rate_change()
196 __func__, ndata->new_rate); in rockchip_cpuclk_post_rate_change()
202 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change()
[all …]
Dclk-mmc-phase.c171 struct clk_notifier_data *ndata = data; in rockchip_mmc_clk_rate_notify() local
187 if (ndata->old_rate <= ndata->new_rate) in rockchip_mmc_clk_rate_notify()
Dclk.c148 struct clk_notifier_data *ndata = data; in rockchip_clk_frac_notifier_cb() local
154 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_clk_frac_notifier_cb()
/linux-4.19.296/fs/ocfs2/dlm/
Ddlmrecovery.c254 struct dlm_reco_node_data *ndata; in dlm_print_reco_node_status() local
262 list_for_each_entry(ndata, &dlm->reco.node_data, list) { in dlm_print_reco_node_status()
264 switch (ndata->state) { in dlm_print_reco_node_status()
291 dlm->name, ndata->node_num, st); in dlm_print_reco_node_status()
561 struct dlm_reco_node_data *ndata; in dlm_remaster_locks() local
579 list_for_each_entry(ndata, &dlm->reco.node_data, list) { in dlm_remaster_locks()
580 BUG_ON(ndata->state != DLM_RECO_NODE_DATA_INIT); in dlm_remaster_locks()
581 ndata->state = DLM_RECO_NODE_DATA_REQUESTING; in dlm_remaster_locks()
584 ndata->node_num); in dlm_remaster_locks()
586 if (ndata->node_num == dlm->node_num) { in dlm_remaster_locks()
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-cadence.c772 struct clk_notifier_data *ndata = data; in cdns_i2c_clk_notifier_cb() local
781 unsigned long input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb()
794 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
795 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb()
800 id->input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb()
802 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb()
803 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb()
807 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
808 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
Di2c-rk3x.c929 struct clk_notifier_data *ndata = data; in rk3x_i2c_clk_notifier_cb() local
940 if (i2c->soc_data->calc_timings(ndata->new_rate, &i2c->t, in rk3x_i2c_clk_notifier_cb()
945 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
946 rk3x_i2c_adapt_div(i2c, ndata->new_rate); in rk3x_i2c_clk_notifier_cb()
951 if (ndata->new_rate < ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
952 rk3x_i2c_adapt_div(i2c, ndata->new_rate); in rk3x_i2c_clk_notifier_cb()
956 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
957 rk3x_i2c_adapt_div(i2c, ndata->old_rate); in rk3x_i2c_clk_notifier_cb()
Di2c-imx.c534 struct clk_notifier_data *ndata = data; in i2c_imx_clk_notifier_call() local
540 i2c_imx_set_clk(i2c_imx, ndata->new_rate); in i2c_imx_clk_notifier_call()
/linux-4.19.296/fs/gfs2/
Drgrp.c2371 unsigned int ndata; in gfs2_alloc_blocks() local
2397 ndata = *nblocks; in gfs2_alloc_blocks()
2399 ndata--; in gfs2_alloc_blocks()
2402 ip->i_goal = block + ndata - 1; in gfs2_alloc_blocks()
/linux-4.19.296/include/uapi/linux/
Dkvm.h348 __u32 ndata; member