/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/ |
H A D | rockchip_opp_select.h | 46 void rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, 49 int rockchip_adjust_power_scale(struct device *dev, int scale); 96 int *scale, int *volt_sel) in rockchip_get_scale_volt_sel() 105 static inline int rockchip_adjust_power_scale(struct device *dev, int scale) in rockchip_adjust_power_scale() argument 95 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument
|
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/ |
H A D | rockchip_opp_select.h | 59 int *scale, int *volt_sel); 62 int rockchip_adjust_power_scale(struct device *dev, int scale); 127 int bin, int process, int *scale, in rockchip_get_scale_volt_sel() 139 static inline int rockchip_adjust_power_scale(struct device *dev, int scale) in rockchip_adjust_power_scale() argument 125 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument
|
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/ |
H A D | pwm_bl.c | 30 unsigned int scale;
member 109 do_div(duty_cycle, pb->scale);
in compute_duty_cycle() 154 #define PWM_LUMINANCE_SCALE (1 << PWM_LUMINANCE_SHIFT) /* luminance scale */
177 * as a fixed-point number in scale
in cie1931() 564 if (data->levels[i] > pb->scale) {
in pwm_backlight_probe() 565 pb->scale = data->levels[i];
in pwm_backlight_probe() 570 props.scale = BACKLIGHT_SCALE_LINEAR;
in pwm_backlight_probe() 572 props.scale = BACKLIGHT_SCALE_NON_LINEAR;
in pwm_backlight_probe() 593 if (data->levels[i] > pb->scale) {
in pwm_backlight_probe() 594 pb->scale in pwm_backlight_probe() [all...] |
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | topology.h | 16 unsigned long max, unsigned long *scale), 17 TP_ARGS(cpus, freq, max, scale));
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | pwm.h | 193 * @scale: target scale of the relative duty cycle 203 static inline unsigned int pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) in pwm_get_relative_duty_cycle() argument 209 return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, state->period); in pwm_get_relative_duty_cycle() 216 * @scale: scale in which @duty_cycle is expressed 227 * This functions returns -EINVAL if @duty_cycle and/or @scale are 228 * inconsistent (@scale == 0 or @duty_cycle > @scale). 230 static inline int pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, unsigned int scale) in pwm_set_relative_duty_cycle() argument [all...] |
H A D | memblock.h | 523 int scale, int flags, unsigned int *_hash_shift, unsigned int *_hash_mask,
|
/device/soc/hisilicon/common/platform/mmc/himci_v200/proc/ |
H A D | himci_proc.c | 124 uint32_t scale = 0; in ProcAnalyzeClockScale() local 130 if (tmp > 0 && scale < (CLOCK_UINT_MAX_NUM - 1)) { in ProcAnalyzeClockScale() 132 scale++; in ProcAnalyzeClockScale() 135 return scale; in ProcAnalyzeClockScale()
|
/device/soc/hisilicon/common/platform/mmc/sdhci/proc/ |
H A D | sdhci_proc.c | 123 uint32_t scale = 0; in ProcAnalyzeClockScale() local 129 if (tmp > 0 && scale < (CLOCK_UINT_MAX_NUM - 1)) { in ProcAnalyzeClockScale() 131 scale++; in ProcAnalyzeClockScale() 134 return scale; in ProcAnalyzeClockScale()
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_opp_select.c | 673 dev_info(dev, "leakage-scale=%d\n", *scale_sel);
in rockchip_of_get_lkg_sel() 766 dev_info(dev, "pvtm-scale=%d\n", *scale_sel);
in rockchip_of_get_pvtm_sel() 781 dev_info(dev, "bin-scale=%d\n", *scale_sel);
in rockchip_of_get_bin_sel() 859 void rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale,
in rockchip_get_scale_volt_sel() argument 877 if (scale) {
in rockchip_get_scale_volt_sel() 878 *scale = max3(lkg_scale, pvtm_scale, bin_scale);
in rockchip_get_scale_volt_sel() 1050 int rockchip_adjust_power_scale(struct device *dev, int scale)
in rockchip_adjust_power_scale() argument 1067 of_property_read_u32(np, "rockchip,avs-scale", &avs_scale);
in rockchip_adjust_power_scale() 1091 target_scale = max(irdrop_scale, scale);
in rockchip_adjust_power_scale() 1095 dev_dbg(dev, "target_scale=%d, irdrop_scale=%d, scale in rockchip_adjust_power_scale() 1146 int scale = 0, volt_sel = -EINVAL; rockchip_init_opp_table() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_opp_select.c | 695 dev_info(dev, "leakage-scale=%d\n", *scale_sel); in rockchip_of_get_lkg_sel() 784 dev_info(dev, "pvtm-scale=%d\n", *scale_sel); in rockchip_of_get_pvtm_sel() 799 dev_info(dev, "bin-scale=%d\n", *scale_sel); in rockchip_of_get_bin_sel() 876 int *scale, int *volt_sel) in rockchip_get_scale_volt_sel() 895 if (scale) in rockchip_get_scale_volt_sel() 896 *scale = max3(lkg_scale, pvtm_scale, bin_scale); in rockchip_get_scale_volt_sel() 1058 int rockchip_adjust_power_scale(struct device *dev, int scale) in rockchip_adjust_power_scale() argument 1075 of_property_read_u32(np, "rockchip,avs-scale", &avs_scale); in rockchip_adjust_power_scale() 1095 target_scale = max(irdrop_scale, scale); in rockchip_adjust_power_scale() 1098 dev_dbg(dev, "target_scale=%d, irdrop_scale=%d, scale in rockchip_adjust_power_scale() 874 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument 1150 int scale = 0, volt_sel = -EINVAL; rockchip_init_opp_table() local [all...] |
H A D | clk.h | 1175 int rockchip_pll_clk_scale_to_rate(struct clk *clk, unsigned int scale);
|
/device/soc/rockchip/common/vendor/drivers/cpufreq/ |
H A D | rockchip-cpufreq.c | 44 int scale; member 460 rockchip_get_scale_volt_sel(dev, "cpu_leakage", reg_name, bin, process, &cluster->scale, &volt_sel); in rockchip_cpufreq_cluster_init() 506 rockchip_adjust_power_scale(dev, cluster->scale); in rockchip_cpufreq_adjust_power_scale()
|
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
H A D | clk.c | 171 unsigned long scale; in rockchip_fractional_approximation() local 211 * by (scale - fd->nwidth) bits. in rockchip_fractional_approximation() 213 scale = fls_long(*parent_rate / rate - 1); in rockchip_fractional_approximation() 214 if (scale > fd->nwidth) { in rockchip_fractional_approximation() 215 rate <<= scale - fd->nwidth; in rockchip_fractional_approximation()
|
H A D | clk-pll.c | 142 int rockchip_pll_clk_scale_to_rate(struct clk *clk, unsigned int scale) in rockchip_pll_clk_scale_to_rate() argument 160 if (i == scale) { in rockchip_pll_clk_scale_to_rate()
|
H A D | clk.h | 751 int rockchip_pll_clk_scale_to_rate(struct clk *clk, unsigned int scale);
|
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/ |
H A D | rockchip-cpufreq.c | 49 int scale; member 504 &cluster->scale, &volt_sel); in rockchip_cpufreq_cluster_init() 550 rockchip_adjust_power_scale(dev, cluster->scale); in rockchip_cpufreq_adjust_power_scale()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/include/ |
H A D | hifb_vou_drv.h | 107 hi_bool scale;
member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_mgmt_sta.c | 248 hi_u8 scale = 0; in hmac_dbac_get_scale_by_bw() local 251 scale = 2; /* 5M是4倍,对应位移数2 */ in hmac_dbac_get_scale_by_bw() 253 scale = 1; /* 10M是2倍,对应位移数1 */ in hmac_dbac_get_scale_by_bw() 255 scale = 0; in hmac_dbac_get_scale_by_bw() 257 return scale; in hmac_dbac_get_scale_by_bw()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
H A D | hifb_blit.c | 356 option->resize = opt->scale;
in drv_blit_option_init()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
H A D | tde_osictl_k.c | 248 hi_s32 zme_hphase; /* the start phase of horizontal scale */ 249 hi_s32 zme_vphase; /* the start phase of vertical scale */ 2209 /* 4096 the left few point need mirror pixels when scale */ in tde_osi_get_hupdate_info() 2213 /* 4096 3 the left few point not need mirror pixels when scale */ in tde_osi_get_hupdate_info() 2230 /* the right few point need mirror pixels when scale */ in tde_osi_get_hupdate_info() 2233 /* the right few point need mirror pixels when scale */ in tde_osi_get_hupdate_info() 2286 /* the up few point need mirror pixels when scale */ in tde_osi_get_vupdate_info() 2290 /* the up few point not need mirror pixels when scale */ in tde_osi_get_vupdate_info() 2307 /* the down few point need mirror pixels when scale */ in tde_osi_get_vupdate_info() 2310 /* the down few point not need mirror pixels when scale */ in tde_osi_get_vupdate_info() 2359 hi_bool scale = HI_FALSE; tde_osi_src2_filter_opt() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/ |
H A D | clk.h | 1175 int rockchip_pll_clk_scale_to_rate(struct clk *clk, unsigned int scale);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/ |
H A D | hifb_main.c | 4093 blit_opt->scale = HI_TRUE; 4311 blit_opt->scale = HI_TRUE; 4408 if (blit_opt->scale == HI_TRUE) { 4695 if (blit_opt->scale == HI_TRUE) { 5575 when layer %d don't scale\n", *width, *height, 7974 when layer %u don't scale\n", layer_info->u32DisplayWidth, layer_info->u32DisplayHeight,
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | fair.c | 2276 * Prepare to scale scan period relative to the current period. in update_task_scan_period() 5494 pr_warn_ratelimited("cfs_period_timer[cpu%d]: period too short, but cannot scale up without losing " in sched_cfs_period_timer() 6932 * is already enough to scale the EM reported power in compute_energy() 7374 int scale = cfs_rq->nr_running >= sched_nr_latency; in check_preempt_wakeup() local 7391 if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) { in check_preempt_wakeup() 7454 if (sched_feat(LAST_BUDDY) && scale && entity_is_task(se)) { in check_preempt_wakeup() 10435 /* scale ms to jiffies */ in get_sd_balance_interval()
|