Searched refs:ndata (Results 1 – 6 of 6) sorted by relevance
/drivers/clocksource/ |
D | cadence_ttc_timer.c | 233 struct clk_notifier_data *ndata = data; in ttc_rate_change_clocksource_cb() local 244 if (ndata->new_rate > ndata->old_rate) { in ttc_rate_change_clocksource_cb() 245 factor = DIV_ROUND_CLOSEST(ndata->new_rate, in ttc_rate_change_clocksource_cb() 246 ndata->old_rate); in ttc_rate_change_clocksource_cb() 247 rate_low = ndata->old_rate; in ttc_rate_change_clocksource_cb() 248 rate_high = ndata->new_rate; in ttc_rate_change_clocksource_cb() 250 factor = DIV_ROUND_CLOSEST(ndata->old_rate, in ttc_rate_change_clocksource_cb() 251 ndata->new_rate); in ttc_rate_change_clocksource_cb() 252 rate_low = ndata->new_rate; in ttc_rate_change_clocksource_cb() 253 rate_high = ndata->old_rate; in ttc_rate_change_clocksource_cb() [all …]
|
/drivers/clk/rockchip/ |
D | clk-cpu.c | 123 struct clk_notifier_data *ndata) in rockchip_cpuclk_pre_rate_change() argument 138 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change() 140 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change() 155 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change() 172 struct clk_notifier_data *ndata) in rockchip_cpuclk_post_rate_change() argument 177 rate = rockchip_get_cpuclk_settings(cpuclk, ndata->new_rate); in rockchip_cpuclk_post_rate_change() 180 __func__, ndata->new_rate); in rockchip_cpuclk_post_rate_change() 186 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change() 201 if (ndata->old_rate > ndata->new_rate) in rockchip_cpuclk_post_rate_change() 217 struct clk_notifier_data *ndata = data; in rockchip_cpuclk_notifier_cb() local [all …]
|
/drivers/i2c/busses/ |
D | i2c-cadence.c | 683 struct clk_notifier_data *ndata = data; in cdns_i2c_clk_notifier_cb() local 692 unsigned long input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb() 705 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 706 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb() 711 id->input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb() 713 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb() 714 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb() 718 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 719 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
|
/drivers/tty/serial/ |
D | xilinx_uartps.c | 418 struct clk_notifier_data *ndata = data; in cdns_uart_clk_notifier_cb() local 436 if (!cdns_uart_calc_baud_divs(ndata->new_rate, cdns_uart->baud, in cdns_uart_clk_notifier_cb() 462 port->uartclk = ndata->new_rate; in cdns_uart_clk_notifier_cb()
|
/drivers/net/wireless/mwifiex/ |
D | fw.h | 892 __le16 ndata; member 900 __le16 ndata; member
|
D | sta_cmd.c | 46 cmd->params.rssi_info.ndata = cpu_to_le16(priv->data_avg_factor); in mwifiex_cmd_802_11_rssi_info()
|