/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | pwm.h | 18 * period 21 * period 30 * @period: reference period 42 u64 period; member 53 * @period: PWM period (in nanoseconds) 59 u64 period; member 112 static inline void pwm_set_period(struct pwm_device *pwm, u64 period) in pwm_set_period() argument 115 pwm->state.period in pwm_set_period() 302 unsigned int period; global() member 549 unsigned int period; global() member [all...] |
/device/soc/hisilicon/common/platform/pwm/ |
H A D | pwm_hi35xx.c | 100 if (config->period < PWM_MIN_PERIOD) { in HiPwmSetConfig() 101 HDF_LOGE("%s: period %u is not support, min period %d", __func__, config->period, PWM_MIN_PERIOD); in HiPwmSetConfig() 105 if (config->duty < 1 || config->duty > config->period) { in HiPwmSetConfig() 106 HDF_LOGE("%s: duty %u is not support, duty must in [1, period = %u].", in HiPwmSetConfig() 107 __func__, config->duty, config->period); in HiPwmSetConfig() 116 if (pwm->cfg.period != config->period) { in HiPwmSetConfig() 117 HiPwmSetPeriod(hp->reg, config->period); in HiPwmSetConfig() [all...] |
H A D | pwm_hi35xx.h | 90 static inline void HiPwmSetPeriod(struct HiPwmRegs *reg, uint32_t period) in HiPwmSetPeriod() argument 92 reg->cfg0 = period / PWM_CLK_PERIOD; in HiPwmSetPeriod()
|
/device/soc/rockchip/common/sdk_linux/drivers/pwm/ |
H A D | pwm-rockchip.c | 55 unsigned long period;
member 88 tmp = readl_relaxed(pc->base + pc->data->regs.period);
in rockchip_pwm_get_state() 90 state->period = DIV_ROUND_CLOSEST_ULL(tmp, pc->clk_rate);
in rockchip_pwm_get_state() 111 unsigned long period, duty;
in rockchip_pwm_config() local 117 * Since period and duty cycle registers have a width of 32
in rockchip_pwm_config() 118 * bits, every possible input period can be obtained using the
in rockchip_pwm_config() 121 div = (u64)pc->clk_rate * state->period;
in rockchip_pwm_config() 122 period = DIV_ROUND_CLOSEST_ULL(div, pc->data->prescaler * NSEC_PER_SEC);
in rockchip_pwm_config() 129 * Lock the period and duty of previous configuration, then
in rockchip_pwm_config() 130 * change the duty and period, tha in rockchip_pwm_config() [all...] |
H A D | sysfs.c | 43 return sprintf(buf, "%llu\n", state.period); in period_show() 61 state.period = val; in period_store() 236 return sprintf(buf, "%u %u\n", result.period, result.duty_cycle); in capture_show() 239 static DEVICE_ATTR_RW(period);
|
/device/soc/rockchip/common/vendor/drivers/input/ |
H A D | rockchip_pwm_remotectl.c | 73 unsigned long period;
member 188 if ((ddata->period > RK_PWM_TIME_PRE_MIN) && (ddata->period < RK_PWM_TIME_PRE_MAX)) {
in rk_pwm_remotectl_do_something() 198 if ((ddata->period > RK_PWM_TIME_BIT1_MIN) && (ddata->period < RK_PWM_TIME_BIT1_MAX)) {
in rk_pwm_remotectl_do_something() 221 if ((ddata->period > RK_PWM_TIME_BIT1_MIN) && (ddata->period < RK_PWM_TIME_BIT1_MAX)) {
in rk_pwm_remotectl_do_something() 244 DBG("S=%ld\n", ddata->period);
in rk_pwm_remotectl_do_something() 245 if ((ddata->period > RK_PWM_TIME_RPT_MIN) && (ddata->period < RK_PWM_TIME_RPT_MA in rk_pwm_remotectl_do_something() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/ |
H A D | rockchip_pwm_remotectl.c | 76 unsigned long period; member 199 if ((ddata->period > RK_PWM_TIME_PRE_MIN) && in rk_pwm_remotectl_do_something() 200 (ddata->period < RK_PWM_TIME_PRE_MAX)) { in rk_pwm_remotectl_do_something() 210 if ((ddata->period > RK_PWM_TIME_BIT1_MIN) && in rk_pwm_remotectl_do_something() 211 (ddata->period < RK_PWM_TIME_BIT1_MAX)) in rk_pwm_remotectl_do_something() 232 if ((ddata->period > RK_PWM_TIME_BIT1_MIN) && in rk_pwm_remotectl_do_something() 233 (ddata->period < RK_PWM_TIME_BIT1_MAX)) in rk_pwm_remotectl_do_something() 256 DBG("S=%ld\n", ddata->period); in rk_pwm_remotectl_do_something() 257 if ((ddata->period > RK_PWM_TIME_RPT_MIN) && in rk_pwm_remotectl_do_something() 258 (ddata->period < RK_PWM_TIME_RPT_MA in rk_pwm_remotectl_do_something() [all...] |
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
H A D | pwm.h | 51 uint32_t period; /* unit:ns 1ns~4.29s:1Ghz~0.23hz */ member 52 uint32_t pulse; /* unit:ns (pulse<=period) */ 63 uint32_t period; member
|
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/ |
H A D | pwm_bl.c | 108 duty_cycle *= state.period - lth;
in compute_duty_cycle() 200 unsigned int period)
in pwm_backlight_brightness_default() 210 data->max_brightness = min((int)DIV_ROUND_UP(period, fls(period)), 0x1000);
in pwm_backlight_brightness_default() 219 retval = cie1931((i * PWM_LUMINANCE_SCALE) / data->max_brightness) * period;
in pwm_backlight_brightness_default() 383 unsigned int period)
in pwm_backlight_brightness_default() 539 * period, parsed from the DT, in the PWM device. For the non-DT case,
in pwm_backlight_probe() 540 * set the period from platform data if it has not already been set
in pwm_backlight_probe() 543 if (!state.period && (data->pwm_period_ns > 0)) {
in pwm_backlight_probe() 544 state.period in pwm_backlight_probe() 199 pwm_backlight_brightness_default(struct device *dev, struct platform_pwm_backlight_data *data, unsigned int period) pwm_backlight_brightness_default() argument 382 pwm_backlight_brightness_default(struct device *dev, struct platform_pwm_backlight_data *data, unsigned int period) pwm_backlight_brightness_default() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | hi_gv_app.h | 80 HI_S32 HI_GV_SetSWVsyncPeriod(HI_S64 period); 82 HI_S32 HI_GV_GetSWVsyncPeriod(HI_S64 *period);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_tsensor.h | 77 CNcomment:period仅当mode为HI_TSENSOR_MODE_16_POINTS_SINGLE有效, period范围: period * 31.25us > 16 * 192us; 83 * @param period [IN] type #hi_u16,Acquisition period, it is the multiple of 2 ms. 92 hi_u32 hi_tsensor_start(hi_tsensor_mode mode, hi_u16 period); 329 * collection period is short. In HI_TSENSOR_MODE_16_POINTS_LOOP and HI_TSENSOR_MODE_1_POINT_LOOP modes, 332 * period can be set to avoid this problem, however, if the value of period is too large, the temperature 337 HI_TSENSOR_MODE_16_POINTS_SINGLE模式虽然可以通过设置较大的period来避免这个问题,但过大的perio [all...] |
H A D | hi_wifi_api.h | 1127 * @param period [IN] Type #unsigned int reconnect period in seconds, range:[1-65535]. 1139 unsigned int period, unsigned int max_try_count); 1399 * @param beacon_period [IN] Type #int beacon period in milliseconds, range(33ms~1000ms), default(100ms) 1418 * @param dtim_period [IN] Type #int, dtim period , range(1~30), default(2)
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | core.c | 81 * period over which we measure -rt task CPU usage in us. 89 * part of the period that we allow rt tasks to run in us. 132 * p->dl.dl_{runtime, deadline, period, flags, bw, density} 3688 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() argument 3699 if (period == 0) { in to_ratio() 3703 return div64_u64(runtime << BW_SHIFT, period); in to_ratio() 8648 * Relies on the RCU grace period between css_released() and this. in cpu_cgroup_css_free() 8963 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime); 8965 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth() argument 8975 * Ensure we have at some amount of bandwidth every period in tg_set_cfs_bandwidth() 9059 u64 quota, period; tg_set_cfs_quota() local 9089 u64 quota, period; tg_set_cfs_period() local 9137 u64 period, quota; global() member 9147 u64 quota, period; normalize_cfs_quota() local 9199 __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) __cfs_schedulable() argument 9419 cpu_period_quota_print(struct seq_file *sf, long period, long quota) cpu_period_quota_print() argument 9467 u64 period = tg_get_cfs_period(tg); cpu_max_write() local [all...] |
H A D | rt.c | 53 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth() argument 55 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth() 76 * not reset the period. If a deadline task was running in start_rt_bandwidth() 79 * to update the period. in start_rt_bandwidth() 740 * spare time, but no more than our period. in do_balance_runtime() 2915 u64 period, runtime; in tg_rt_schedulable() local 2917 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable() 2921 period = d->rt_period; in tg_rt_schedulable() 2926 * Cannot have more runtime than the period. in tg_rt_schedulable() 2928 if (runtime > period in tg_rt_schedulable() 2970 __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) __rt_schedulable() argument [all...] |
H A D | fair.c | 718 * The idea is to set a period in which each task runs once. 721 * this period because otherwise the slices get too small. 735 * We calculate the wall-time slice from the period by taking a part 1081 * Mark the end of the wait period if dequeueing a in update_stats_dequeue() 1106 * We are starting a new run period: in update_stats_curr_start() 1117 * Approximate time to scan a full NUMA task in ms. The task scan period is 1209 unsigned long period = smin; in task_scan_start() local 1212 /* Scale the maximum scan period with the amount of shared memory. */ in task_scan_start() 1219 period *= refcount_read(&ng->refcount); in task_scan_start() 1220 period * in task_scan_start() 1242 unsigned long period = smax; task_scan_max() local 2327 numa_get_avg_runtime(struct task_struct *p, u64 *period) numa_get_avg_runtime() argument 2453 u64 runtime, period; task_numa_placement() local 3021 u64 period, now; task_tick_numa() local [all...] |
H A D | sched.h | 226 * Single value that denotes runtime == period, ie unlimited time. 428 ktime_t period; member 1279 * By default the decay is the default pelt decay period. 1280 * The decay shift can change the decay period in 1282 * Decay shift Decay period(ms) 2043 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime); 2046 extern void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime); 2055 unsigned long to_ratio(u64 period, u64 runtime);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
H A D | at_wifi.c | 903 hi_u32 period = RECONN_PERIOD_MIN; in cmd_set_reconn() local 923 period = (hi_u32)atoi(argv[1]); /* argc 1 */ in cmd_set_reconn() 932 if (seconds < RECONN_TIMEOUT_MIN || period < RECONN_PERIOD_MIN || period > RECONN_PERIOD_MAX || in cmd_set_reconn() 937 hi_s32 ret = hi_wifi_sta_set_reconnect_policy(enable, seconds, period, max_try_count); in cmd_set_reconn()
|
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 128 struct timespec64 period; member
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
H A D | stmmac.h | 128 struct timespec64 period; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_wifi_api.h | 1121 * @param period [IN] Type #unsigned int reconnect period in seconds, range:[1-65535]. 1133 int hi_wifi_sta_set_reconnect_policy(int enable, unsigned int seconds, unsigned int period, unsigned int max_try_count); 1283 * @param beacon_period [IN] Type #int beacon period in milliseconds, range(33ms~1000ms), default(100ms) 1303 * @param dtim_period [IN] Type #int, dtim period , range(1~30), default(2)
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_config.h | 361 int dhd_conf_mkeep_alive(dhd_pub_t *dhd, int ifidx, int id, int period,
|
H A D | wl_android_ext.c | 5613 int ret = -1, i, ifidx, id, period=-1; in wl_ext_mkeep_alive() local 5629 sscanf(data, "%d %d %s", &id, &period, packet); in wl_ext_mkeep_alive() 5630 AEXT_TRACE(dev->name, "id=%d, period=%d, packet=%s", id, period, packet); in wl_ext_mkeep_alive() 5631 if (period >= 0) { in wl_ext_mkeep_alive() 5633 ret = dhd_conf_mkeep_alive(dhd, ifidx, id, period, packet, FALSE); in wl_ext_mkeep_alive() 6646 uint32 period; member 6677 int ret = -1, period=-1, i; in wl_ext_csi() local 6690 sscanf(data, "%s %d", mac, &period); in wl_ext_csi() 6696 AEXT_TRACE(dev->name, "mac=%pM, period in wl_ext_csi() [all...] |
H A D | wl_android.c | 4073 int period = 0; in wl_cfg80211_p2plo_listen_start() local 4105 sscanf(buf, " %10d %10d %10d %10d", &channel, &period, &interval, &count); in wl_cfg80211_p2plo_listen_start() 4106 if ((channel == 0) || (period == 0) || in wl_cfg80211_p2plo_listen_start() 4109 channel, period, interval, count)); in wl_cfg80211_p2plo_listen_start() 4113 p2plo_listen.period = period; in wl_cfg80211_p2plo_listen_start() 4117 ANDROID_ERROR(("channel:%d period:%d, interval:%d count:%d\n", in wl_cfg80211_p2plo_listen_start() 4118 channel, period, interval, count)); in wl_cfg80211_p2plo_listen_start()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | ssl.h | 959 int renego_max_records; /*!< grace period for renegotiation */ 1447 * \brief Set the timeout period for mbedtls_ssl_read() 2691 * \warning On client, the grace period can only happen during 2700 * it but allow for a grace period of max_records records. 2717 * The renegotiation period can be disabled by setting 2723 * period is 2^48 - 1, and for MBEDTLS_SSL_TRANSPORT_STREAM, 2724 * the maximum renegotiation period is 2^64 - 1. 2727 * \param period The threshold value: a big-endian 64-bit number. 2730 const unsigned char period[8] );
|
/device/soc/rockchip/common/vendor/drivers/net/usb/ |
H A D | meig_cdc_driver.c | 748 unsigned period;
in init_status() local 754 period = max((int)dev->status->desc.bInterval, (dev->udev->speed == USB_SPEED_HIGH) ? 7 : 3);
in init_status() 763 usb_fill_int_urb(dev->interrupt, dev->udev, pipe, buf, maxp, intr_complete, dev, period);
in init_status() 764 dev_dbg(&intf->dev, "status ep%din, %d bytes period %d\n", usb_pipeendpoint(pipe), maxp, period);
in init_status()
|