/linux-4.4.14/lib/ |
D | flex_proportions.c | 41 p->period = 0; in fprop_global_init() 82 p->period += periods; in fprop_new_period() 96 pl->period = 0; in fprop_local_init_single() 108 unsigned int period = p->period; in fprop_reflect_period_single() local 112 if (pl->period == period) in fprop_reflect_period_single() 116 if (pl->period >= period) { in fprop_reflect_period_single() 121 if (period - pl->period < BITS_PER_LONG) in fprop_reflect_period_single() 122 pl->events >>= period - pl->period; in fprop_reflect_period_single() 125 pl->period = period; in fprop_reflect_period_single() 178 pl->period = 0; in fprop_local_init_percpu() [all …]
|
D | proportions.c | 195 pl->period = 0; in prop_local_init_percpu() 214 unsigned long period = 1UL << (pg->shift - 1); in prop_norm_percpu() local 215 unsigned long period_mask = ~(period - 1); in prop_norm_percpu() 226 if (pl->period == global_period) in prop_norm_percpu() 230 prop_adjust_shift(&pl->shift, &pl->period, pg->shift); in prop_norm_percpu() 237 period = (global_period - pl->period) >> (pg->shift - 1); in prop_norm_percpu() 238 if (period < BITS_PER_LONG) { in prop_norm_percpu() 244 __percpu_counter_add(&pl->events, -val + (val >> period), in prop_norm_percpu() 249 pl->period = global_period; in prop_norm_percpu() 329 pl->period = 0; in prop_local_init_single() [all …]
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | mipi-phy.c | 20 unsigned long period) in mipi_dphy_timing_get_default() argument 23 timing->clkpost = 70 + 52 * period; in mipi_dphy_timing_get_default() 33 timing->hsprepare = 65 + 5 * period; in mipi_dphy_timing_get_default() 34 timing->hszero = 145 + 5 * period; in mipi_dphy_timing_get_default() 35 timing->hssettle = 85 + 6 * period; in mipi_dphy_timing_get_default() 49 timing->hstrail = max(4 * 8 * period, 60 + 4 * 4 * period); in mipi_dphy_timing_get_default() 66 unsigned long period) in mipi_dphy_timing_validate() argument 71 if (timing->clkpost < (60 + 52 * period)) in mipi_dphy_timing_validate() 92 if (timing->dtermen > 35 + 4 * period) in mipi_dphy_timing_validate() 95 if (timing->eot > 105 + 12 * period) in mipi_dphy_timing_validate() [all …]
|
D | dsi.c | 35 unsigned long period; member 378 unsigned long period, in tegra_dsi_set_phy_timing() argument 383 value = DSI_TIMING_FIELD(timing->hsexit, period, 1) << 24 | in tegra_dsi_set_phy_timing() 384 DSI_TIMING_FIELD(timing->hstrail, period, 0) << 16 | in tegra_dsi_set_phy_timing() 385 DSI_TIMING_FIELD(timing->hszero, period, 3) << 8 | in tegra_dsi_set_phy_timing() 386 DSI_TIMING_FIELD(timing->hsprepare, period, 1); in tegra_dsi_set_phy_timing() 389 value = DSI_TIMING_FIELD(timing->clktrail, period, 1) << 24 | in tegra_dsi_set_phy_timing() 390 DSI_TIMING_FIELD(timing->clkpost, period, 1) << 16 | in tegra_dsi_set_phy_timing() 391 DSI_TIMING_FIELD(timing->clkzero, period, 1) << 8 | in tegra_dsi_set_phy_timing() 392 DSI_TIMING_FIELD(timing->lpx, period, 1); in tegra_dsi_set_phy_timing() [all …]
|
D | mipi-phy.h | 47 unsigned long period); 49 unsigned long period);
|
D | dsi.h | 87 #define DSI_TIMING_FIELD(value, period, hwinc) \ argument 88 ((DIV_ROUND_CLOSEST(value, period) - (hwinc)) & 0xff)
|
/linux-4.4.14/tools/perf/tests/ |
D | hists_output.c | 50 struct perf_sample sample = { .period = 100, }; in add_hist_entries() 171 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 177 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 183 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 189 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1() 195 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 201 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1() 207 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1() 213 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1() 219 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1() [all …]
|
D | hists_common.c | 179 he->ms.sym->name, he->stat.period); in print_hists_in() 206 he->ms.sym->name, he->stat.period, in print_hists_out() 207 he->stat_acc ? he->stat_acc->period : 0); in print_hists_out()
|
D | hists_cumulate.c | 80 struct perf_sample sample = { .period = 1000, }; in add_hist_entries() 211 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test() 217 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
|
D | sw-clock.c | 105 total_periods += sample.period; in __test__sw_clock_freq()
|
D | sample-parsing.c | 58 COMP(period); in samples_same() 180 .period = 108, in do_test()
|
/linux-4.4.14/drivers/char/hw_random/ |
D | timeriomem-rng.c | 39 unsigned int period; member 77 delay = priv->period - (delay % priv->period); in timeriomem_rng_data_read() 103 int period; in timeriomem_rng_probe() local 133 period = i; in timeriomem_rng_probe() 139 period = pdata->period; in timeriomem_rng_probe() 142 priv->period = usecs_to_jiffies(period); in timeriomem_rng_probe() 143 if (priv->period < 1) { in timeriomem_rng_probe() 174 priv->io_base, period); in timeriomem_rng_probe()
|
/linux-4.4.14/drivers/watchdog/ |
D | booke_wdt.c | 59 static unsigned long long period_to_sec(unsigned int period) in period_to_sec() argument 61 unsigned long long tmp = 1ULL << (64 - period); in period_to_sec() 80 unsigned int period; in sec_to_period() local 81 for (period = 63; period > 0; period--) { in sec_to_period() 82 if (period_to_sec(period) >= secs) in sec_to_period() 83 return period; in sec_to_period() 92 static unsigned long long period_to_sec(unsigned int period) in period_to_sec() argument 94 return period; in period_to_sec()
|
/linux-4.4.14/Documentation/scheduler/ |
D | sched-bwc.txt | 10 The bandwidth allowed for a group is specified using a quota and period. Within 11 each given "period" (microseconds), a group is allowed to consume only up to 13 group exceeds this limit (for that period), the tasks belonging to its 15 period. 18 above at each period boundary. As threads consume this bandwidth it is 24 Quota and period are managed within the cpu subsystem via cgroupfs. 26 cpu.cfs_quota_us: the total available run-time within a period (in microseconds) 27 cpu.cfs_period_us: the length of a period (in microseconds) 40 The minimum quota allowed for the quota or period is 1ms. There is also an 41 upper bound on the period length of 1s. Additional restrictions exist when [all …]
|
D | sched-rt-group.txt | 27 system when the period is smaller than either the available hrtimer 53 in a given period. We allocate this "run time" for each realtime group which 61 frames a second, which yields a period of 0.04s per frame. Now say it will also 66 This way the graphics group will have a 0.04s period with a 0.032s run time 69 0.00015s. So this group can be scheduled with a period of 0.005s and a run time 90 The scheduling period that is equivalent to 100% CPU bandwidth 102 * A run time of -1 specifies runtime == period, ie. no limit. 115 period from /proc/sys/kernel/sched_rt_period_us and a run time of 0. If you 151 There is work in progress to make the scheduling period for each group 154 The constraint on the period is that a subgroup must have a smaller or [all …]
|
D | sched-deadline.txt | 46 SCHED_DEADLINE uses three parameters, named "runtime", "period", and 48 "runtime" microseconds of execution time every "period" microseconds, and 50 from the beginning of the period. In order to implement this behavior, 60 that each task runs for at most its runtime every period, avoiding any 71 "deadline", and "period" parameters; 81 scheduling deadline - current time period 111 scheduling deadline = scheduling deadline + period 144 A real-time task can be periodic with period P if r_{j+1} = r_j + P, or 151 WCET and its period (or minimum inter-arrival time), and represents 227 CPUs, with the first task Task_1=(P,P,P) having period, relative deadline [all …]
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | pzl.c | 28 static void update_pzl_pointers(struct whc *whc, int period, u64 addr) in update_pzl_pointers() argument 30 switch (period) { in update_pzl_pointers() 78 int period; in qset_insert_in_sw_list() local 80 period = qset_get_period(whc, qset); in qset_insert_in_sw_list() 83 list_move(&qset->list_node, &whc->periodic_list[period]); in qset_insert_in_sw_list() 210 int period; in update_pzl_hw_view() local 213 for (period = 0; period < 5; period++) { in update_pzl_hw_view() 214 list_for_each_entry_safe(qset, t, &whc->periodic_list[period], list_node) { in update_pzl_hw_view() 219 update_pzl_pointers(whc, period, tmp_qh); in update_pzl_hw_view() 236 int period; in scan_periodic_work() local [all …]
|
D | debug.c | 122 int period; in pzl_print() local 124 for (period = 0; period < 5; period++) { in pzl_print() 125 seq_printf(s, "Period %d\n", period); in pzl_print() 126 list_for_each_entry(qset, &whc->periodic_list[period], list_node) { in pzl_print()
|
/linux-4.4.14/Documentation/devicetree/bindings/input/ |
D | rotary-encoder.txt | 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 19 1: Full-period mode (default) 20 2: Half-period mode 21 4: Quarter-period mode 25 - rotary-encoder,half-period: Makes the driver work on half-period mode. 26 This property is deprecated. Instead, a 'steps-per-period ' value should 27 be used, such as "rotary-encoder,steps-per-period = <2>".
|
D | brcm,bcm-keypad.txt | 29 - col-debounce-filter-period: The debounce period for the Column filter. 40 - status-debounce-filter-period: The debounce period for the Status filter. 103 col-debounce-filter-period = <5>;
|
D | lpc32xx-key.txt | 12 - nxp,scan-delay-ms: Repeated scan period in ms
|
/linux-4.4.14/arch/m68k/atari/ |
D | atasound.c | 60 int period; in atari_mksound() local 75 period = PSG_FREQ / hz; in atari_mksound() 77 if (period > 0xfff) period = 0xfff; in atari_mksound() 81 sound_ym.wd_data = period & 0xff; in atari_mksound() 83 sound_ym.wd_data = (period >> 8) & 0xf; in atari_mksound()
|
/linux-4.4.14/drivers/input/misc/ |
D | pwm-beeper.c | 29 unsigned long period; member 36 unsigned long period = beeper->period; in __pwm_beeper_set() local 38 if (period) { in __pwm_beeper_set() 39 pwm_config(beeper->pwm, period / 2, period); in __pwm_beeper_set() 72 beeper->period = 0; in pwm_beeper_event() 74 beeper->period = HZ_TO_NANOSECONDS(value); in pwm_beeper_event() 85 if (beeper->period) in pwm_beeper_stop() 189 if (beeper->period) in pwm_beeper_resume()
|
D | max77693-haptic.c | 73 int delta = (haptic->pwm_dev->period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle() 76 error = pwm_config(haptic->pwm_dev, delta, haptic->pwm_dev->period); in max77693_haptic_set_duty_cycle() 248 period_mag_multi = (u64)haptic->pwm_dev->period * haptic->magnitude; in max77693_haptic_play_effect()
|
/linux-4.4.14/arch/m68k/amiga/ |
D | amisound.c | 82 unsigned long period = (clock_constant / hz); in amiga_mksound() local 84 if (period < amiga_audio_min_period) in amiga_mksound() 85 period = amiga_audio_min_period; in amiga_mksound() 86 if (period > MAX_PERIOD) in amiga_mksound() 87 period = MAX_PERIOD; in amiga_mksound() 92 custom.aud[2].audper = (unsigned short)period; in amiga_mksound()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-renesas-tpu.c | 85 u16 period; member 188 tpu_pwm_write(pwm, TPU_TGRBn, pwm->period); in tpu_pwm_timer_start() 191 pwm->channel, pwm->duty, pwm->period); in tpu_pwm_timer_start() 234 pwm->period = 0; in tpu_pwm_request() 261 u32 period; in tpu_pwm_config() local 272 period = clk_rate / prescalers[prescaler] in tpu_pwm_config() 274 if (period <= 0xffff) in tpu_pwm_config() 278 if (prescaler == ARRAY_SIZE(prescalers) || period == 0) { in tpu_pwm_config() 286 if (duty > period) in tpu_pwm_config() 294 clk_rate, prescalers[prescaler], period, duty); in tpu_pwm_config() [all …]
|
D | pwm-jz4740.c | 113 unsigned long period, duty; in jz4740_pwm_config() local 120 period = tmp; in jz4740_pwm_config() 122 while (period > 0xffff && prescaler < 6) { in jz4740_pwm_config() 123 period >>= 2; in jz4740_pwm_config() 130 tmp = (unsigned long long)period * duty_ns; in jz4740_pwm_config() 132 duty = period - tmp; in jz4740_pwm_config() 134 if (duty >= period) in jz4740_pwm_config() 135 duty = period - 1; in jz4740_pwm_config() 143 jz4740_timer_set_period(pwm->hwpwm, period); in jz4740_pwm_config()
|
D | pwm-bfin.c | 69 unsigned long period, duty; in bfin_pwm_config() local 74 period = val; in bfin_pwm_config() 76 val = (unsigned long long)period * duty_ns; in bfin_pwm_config() 78 duty = period - val; in bfin_pwm_config() 80 if (duty >= period) in bfin_pwm_config() 81 duty = period - 1; in bfin_pwm_config() 85 set_gptimer_period(priv->pin, period); in bfin_pwm_config()
|
D | pwm-atmel-tcb.c | 37 unsigned period; /* PWM period expressed in clk cycles */ member 88 tcbpwm->period = 0; in atmel_tcb_pwm_request() 106 tcbpwm->period = __raw_readl(regs + ATMEL_TC_REG(group, RC)); in atmel_tcb_pwm_request() 238 if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) { in atmel_tcb_pwm_enable() 261 __raw_writel(tcbpwm->period, regs + ATMEL_TC_REG(group, RC)); in atmel_tcb_pwm_enable() 281 unsigned period; in atmel_tcb_pwm_config() local 318 period = div_u64(period_ns, min); in atmel_tcb_pwm_config() 338 atcbpwm->duty != atcbpwm->period) && in atmel_tcb_pwm_config() 339 (atcbpwm->div != i || atcbpwm->period != period)) { in atmel_tcb_pwm_config() 345 tcbpwm->period = period; in atmel_tcb_pwm_config()
|
D | pwm-rockchip.c | 42 unsigned long period; member 105 unsigned long period, duty; in rockchip_pwm_config() local 118 period = div; in rockchip_pwm_config() 128 writel(period, pc->base + pc->data->regs.period); in rockchip_pwm_config() 191 .period = 0x08, 203 .period = 0x04, 215 .period = 0x04,
|
D | pwm-mtk-disp.c | 71 u32 clk_div, period, high_width, value; in mtk_disp_pwm_config() local 92 period = div64_u64(rate * period_ns, div); in mtk_disp_pwm_config() 93 if (period > 0) in mtk_disp_pwm_config() 94 period--; in mtk_disp_pwm_config() 97 value = period | (high_width << PWM_HIGH_WIDTH_SHIFT); in mtk_disp_pwm_config()
|
D | pwm-berlin.c | 63 u32 value, duty, period; in berlin_pwm_config() local 81 period = tmp; in berlin_pwm_config() 92 berlin_pwm_writel(pwm, pwm_dev->hwpwm, period, BERLIN_PWM_TCNT); in berlin_pwm_config()
|
D | pwm-sti.c | 81 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() argument 94 if (period % val) { in sti_pwm_get_prescale() 97 ps = period / val - 1; in sti_pwm_get_prescale()
|
D | pwm-fsl-ftm.c | 237 u32 period, duty; in fsl_pwm_config() local 255 period = fsl_pwm_calculate_period(fpc, period_ns); in fsl_pwm_config() 256 if (!period) { in fsl_pwm_config() 264 regmap_write(fpc->regmap, FTM_MOD, period - 1); in fsl_pwm_config()
|
D | pwm-samsung.c | 318 u32 period; in pwm_samsung_config() local 320 period = NSEC_PER_SEC / period_ns; in pwm_samsung_config() 323 duty_ns, period_ns, period); in pwm_samsung_config() 325 tin_rate = pwm_samsung_calc_tin(our_chip, pwm->hwpwm, period); in pwm_samsung_config()
|
D | pwm-crc.c | 78 if (pwm->period != period_ns) { in crc_pwm_config()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_spi.c | 423 static int period_to_str(char *buf, int period) in period_to_str() argument 427 if (period < 0 || period > 0xff) { in period_to_str() 429 } else if (period <= SPI_STATIC_PPR) { in period_to_str() 430 picosec = ppr_to_ps[period]; in period_to_str() 432 picosec = period * 4000; in period_to_str() 445 show_spi_transport_period_helper(char *buf, int period) in show_spi_transport_period_helper() argument 447 int len = period_to_str(buf, period); in show_spi_transport_period_helper() 457 int j, picosec, period = -1; in store_spi_transport_period_helper() local 475 period = j; in store_spi_transport_period_helper() 479 if (period == -1) in store_spi_transport_period_helper() [all …]
|
D | nsp32.c | 387 unsigned char period, in nsp32_build_sdtr() argument 396 data->msgoutbuf[pos] = period; pos++; in nsp32_build_sdtr() 990 unsigned char period, offset; in nsp32_queuecommand_lck() local 993 nsp32_set_max_sync(data, target, &period, &offset); in nsp32_queuecommand_lck() 994 nsp32_build_sdtr(SCpnt, period, offset); in nsp32_queuecommand_lck() 1003 target->limit_entry, period, offset); in nsp32_queuecommand_lck() 1491 if (data->target[id].period == 0 && in nsp32_show_info() 1501 if (data->target[id].period != 0) { in nsp32_show_info() 1503 speed = 1000000 / (data->target[id].period * 4); in nsp32_show_info() 2341 target->period = get_period; in nsp32_analyze_sdtr() [all …]
|
D | 53c700.c | 246 __u8 offset, __u8 period) in NCR_700_offset_period_to_sxfer() argument 258 if(period < hostdata->min_period) { in NCR_700_offset_period_to_sxfer() 259 …"53c700: Period %dns is less than this chip's minimum, setting to %d\n", period*4, NCR_700_MIN_PER… in NCR_700_offset_period_to_sxfer() 260 period = hostdata->min_period; in NCR_700_offset_period_to_sxfer() 262 XFERP = (period*4 * hostdata->sync_clock)/1000 - 4; in NCR_700_offset_period_to_sxfer() 795 __u8 period = hostdata->msgin[3]; in process_extended_message() local 798 if(offset == 0 || period == 0) { in process_extended_message() 800 period = 0; in process_extended_message() 804 spi_period(starget) = period; in process_extended_message() 1992 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument [all …]
|
D | nsp32.h | 544 #define TO_SYNCREG(period, offset) (((period) & 0x0f) << 4 | ((offset) & 0x0f)) argument 549 unsigned char period; /* sync period (0-255) */ member
|
D | wd33c93.c | 318 round_period(unsigned int period, const struct sx_period *sx_table) in round_period() argument 323 if ((period <= sx_table[x - 0].period_ns) && in round_period() 324 (period > sx_table[x - 1].period_ns)) { in round_period() 335 calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast, in calc_sync_xfer() argument 345 period *= 2; in calc_sync_xfer() 349 period *= 4; /* convert SDTR code to ns */ in calc_sync_xfer() 350 result = sx_table[round_period(period,sx_table)].reg_value; in calc_sync_xfer() 360 calc_sync_msg(unsigned int period, unsigned int offset, unsigned int fast, in calc_sync_msg() argument 367 period /= 4; in calc_sync_msg() 369 period /= 2; in calc_sync_msg() [all …]
|
D | ncr53c8xx.c | 1224 /*0*/ u16 period; member 1234 /*2*/ u16 period; member 3747 u_long period; in ncr_prepare_setting() local 3814 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz; in ncr_prepare_setting() 3815 if (period <= 250) np->minsync = 10; in ncr_prepare_setting() 3816 else if (period <= 303) np->minsync = 11; in ncr_prepare_setting() 3817 else if (period <= 500) np->minsync = 12; in ncr_prepare_setting() 3818 else np->minsync = (period + 40 - 1) / 40; in ncr_prepare_setting() 3831 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz); in ncr_prepare_setting() 3832 np->maxsync = period > 2540 ? 254 : period / 10; in ncr_prepare_setting() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | power.c | 161 enum iwl_power_level lvl, int period) in iwl_static_sleep_cmd() argument 171 if (period <= IWL_DTIM_RANGE_1_MAX) in iwl_static_sleep_cmd() 173 if (period <= IWL_DTIM_RANGE_0_MAX) in iwl_static_sleep_cmd() 177 if (period <= IWL_DTIM_RANGE_1_MAX) in iwl_static_sleep_cmd() 179 if (period <= IWL_DTIM_RANGE_0_MAX) in iwl_static_sleep_cmd() 188 if (period == 0) { in iwl_static_sleep_cmd() 190 period = 1; in iwl_static_sleep_cmd() 205 cpu_to_le32(period * (skip + 1)); in iwl_static_sleep_cmd() 208 if (slp_itrvl > period) in iwl_static_sleep_cmd() 210 cpu_to_le32((slp_itrvl / period) * period); in iwl_static_sleep_cmd() [all …]
|
/linux-4.4.14/drivers/md/ |
D | faulty.c | 86 int period[Modes]; member 96 if (conf->period[mode] == 0 && in check_mode() 102 if (conf->period[mode]) in check_mode() 103 atomic_set(&conf->counters[mode], conf->period[mode]); in check_mode() 236 n, conf->period[WriteTransient]); in status() 240 n, conf->period[ReadTransient]); in status() 244 n, conf->period[WritePersistent]); in status() 248 n, conf->period[ReadPersistent]); in status() 253 n, conf->period[ReadFixable]); in status() 277 conf->period[i] = 0; in reshape() [all …]
|
/linux-4.4.14/drivers/clk/ |
D | clk-pwm.c | 74 if (!pwm->period) { in clk_pwm_probe() 80 clk_pwm->fixed_rate = NSEC_PER_SEC / pwm->period; in clk_pwm_probe() 82 if (pwm->period != NSEC_PER_SEC / clk_pwm->fixed_rate && in clk_pwm_probe() 83 pwm->period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) { in clk_pwm_probe() 89 ret = pwm_config(pwm, (pwm->period + 1) >> 1, pwm->period); in clk_pwm_probe()
|
/linux-4.4.14/drivers/leds/trigger/ |
D | ledtrig-heartbeat.c | 28 unsigned int period; member 54 heartbeat_data->period = 300 + in led_heartbeat_function() 56 heartbeat_data->period = in led_heartbeat_function() 57 msecs_to_jiffies(heartbeat_data->period); in led_heartbeat_function() 64 delay = heartbeat_data->period / 4 - msecs_to_jiffies(70); in led_heartbeat_function() 76 delay = heartbeat_data->period - heartbeat_data->period / 4 - in led_heartbeat_function()
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | heartbeat.c | 22 static unsigned int cnt, period, dist; in microblaze_heartbeat() local 30 if (++cnt > period) { in microblaze_heartbeat() 38 period = ((672 << FSHIFT) / (5 * avenrun[0] + in microblaze_heartbeat() 40 dist = period / 4; in microblaze_heartbeat()
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 396 static int mpc52xx_gpt_do_start(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_do_start() argument 416 clocks = period * (u64)gpt->ipb_freq; in mpc52xx_gpt_do_start() 466 int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_start_timer() argument 469 return mpc52xx_gpt_do_start(gpt, period, continuous, 0); in mpc52xx_gpt_start_timer() 504 u64 period; in mpc52xx_gpt_timer_period() local 509 period = in_be32(&gpt->regs->count); in mpc52xx_gpt_timer_period() 512 prescale = period >> 16; in mpc52xx_gpt_timer_period() 513 period &= 0xffff; in mpc52xx_gpt_timer_period() 516 period = period * prescale * 1000000000ULL; in mpc52xx_gpt_timer_period() 517 do_div(period, (u64)gpt->ipb_freq); in mpc52xx_gpt_timer_period() [all …]
|
/linux-4.4.14/arch/m68k/kernel/ |
D | time.c | 52 static unsigned cnt = 0, period = 0, dist = 0; in timer_interrupt() local 59 if (++cnt > period) { in timer_interrupt() 65 period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; in timer_interrupt() 66 dist = period / 4; in timer_interrupt()
|
/linux-4.4.14/drivers/mmc/core/ |
D | sdio_irq.c | 105 unsigned long period, idle_period; in sdio_irq_thread() local 117 period = (host->caps & MMC_CAP_SDIO_IRQ) ? in sdio_irq_thread() 121 mmc_hostname(host), period); in sdio_irq_thread() 162 period /= 2; in sdio_irq_thread() 164 period++; in sdio_irq_thread() 165 if (period > idle_period) in sdio_irq_thread() 166 period = idle_period; in sdio_irq_thread() 174 schedule_timeout(period); in sdio_irq_thread()
|
/linux-4.4.14/Documentation/RCU/ |
D | trace.txt | 47 Displays grace-period counters. 83 Note that although the grace-period number is an unsigned long, 91 period that it is aware of, otherwise, the CPU believes that it 95 for the current grace period. It is possible for "pq" to be 99 yet reported for this grace period, or (3) both. 125 periods, and so there is likely to be an extended period of time 136 grace-period processing that they are in (new, waiting for 137 grace period to start, waiting for grace period to end, ready 144 ready to be handled by the next grace period, and thus 145 will be handled by the grace period following the next [all …]
|
D | stallwarn.txt | 12 This kernel configuration parameter defines the period of time 13 that RCU will wait from the beginning of a grace period until it 14 issues an RCU CPU stall warning. This time period is normally 57 task stalling the current RCU-tasks grace period. 86 Finally, if the grace period ends just as the stall warning starts 93 on how the stall warning and the grace-period initialization happen to 112 grace period. If the CPU was not yet aware of the current grace 113 period (for example, if it was offline), then this part of the message 127 last noted the beginning of a grace period, which might be the current 128 (stalled) grace period, or it might be some earlier grace period (for [all …]
|
D | rcu.txt | 7 A "grace period" must elapse between the two parts, and this grace period 11 a grace period to elapse, then free the element. See the listRCU.txt 27 o How can the updater tell when a grace period has completed 48 thing at a time, why should I wait for a grace period?
|
D | rcubarrier.txt | 62 grace period to elapse, it does not wait for the callbacks to complete. 74 a grace period to elapse, rcu_barrier() waits for all outstanding RCU 78 without waiting for a grace period to elapse. 263 are delayed for a full grace period? Couldn't this result in 294 are delayed for a full grace period? Couldn't this result in 302 a grace period from completing on non-CONFIG_PREEMPT kernels, 304 state) before the grace period can complete. However, this is
|
D | torture.txt | 37 period and that grace period ending on its own. 45 gp_normal Make the fake writers use normal synchronous grace-period 48 gp_exp Make the fake writers use expedited synchronous grace-period 135 same period of time. Defaults to "stutter=5", so as 270 incremented once per grace period subsequently -- and is freed 289 passes through a grace period. The last entry should be zero,
|
D | UP.txt | 21 after a grace period. 43 RCU usage, since call_rcu() must wait for a grace period to elapse. 134 end of the grace period, which would come as a nasty shock to
|
/linux-4.4.14/tools/perf/util/ |
D | sort.h | 51 u64 period; member 148 u64 period = he->stat.period; in hist_entry__get_percent_limit() local 155 period = he->stat_acc->period; in hist_entry__get_percent_limit() 157 return period * 100.0 / total_period; in hist_entry__get_percent_limit()
|
D | callchain.c | 425 u64 period) in add_child() argument 433 new->hit = period; in add_child() 458 u64 idx_parents, u64 idx_local, u64 period) in split_add_child() argument 490 parent->children_hit += period; in split_add_child() 493 new = add_child(parent, cursor, period); in split_add_child() 512 parent->hit = period; in split_add_child() 519 u64 period); 524 u64 period) in append_chain_children() argument 543 ret = append_chain(rnode, cursor, period); in append_chain_children() 553 rnode = add_child(root, cursor, period); in append_chain_children() [all …]
|
D | hist.c | 199 unsigned int cpumode, u64 period) in he_stat__add_cpumode_period() argument 203 he_stat->period_sys += period; in he_stat__add_cpumode_period() 206 he_stat->period_us += period; in he_stat__add_cpumode_period() 209 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period() 212 he_stat->period_guest_us += period; in he_stat__add_cpumode_period() 219 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument 223 he_stat->period += period; in he_stat__add_period() 230 dest->period += src->period; in he_stat__add_stat() 241 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay() 248 u64 prev_period = he->stat.period; in hists__decay_entry() [all …]
|
D | intel-pt.c | 718 if (pt->synth_opts.period) { in intel_pt_alloc_queue() 723 params.period = pt->synth_opts.period; in intel_pt_alloc_queue() 727 params.period = pt->synth_opts.period; in intel_pt_alloc_queue() 731 params.period = intel_pt_ns_to_ticks(pt, in intel_pt_alloc_queue() 732 pt->synth_opts.period); in intel_pt_alloc_queue() 739 if (!params.period) { in intel_pt_alloc_queue() 741 params.period = 1; in intel_pt_alloc_queue() 988 sample.period = 1; in intel_pt_synth_branch_sample() 1044 sample.period = ptq->state->tot_insn_cnt - ptq->last_insn_cnt; in intel_pt_synth_instruction_sample() 1101 sample.period = 1; in intel_pt_synth_transaction_sample() [all …]
|
D | evsel.h | 29 u64 period; member 54 u64 period; member
|
/linux-4.4.14/tools/perf/ |
D | builtin-diff.c | 220 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument 224 return (period * 100.0) / total; in period_percent() 229 double old_percent = period_percent(he, he->stat.period); in compute_delta() 230 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 239 double old_period = he->stat.period ?: 1; in compute_ratio() 240 double new_period = pair->stat.period; in compute_ratio() 249 u64 old_period = he->stat.period; in compute_wdiff() 250 u64 new_period = pair->stat.period; in compute_wdiff() 272 pair->stat.period, pair_total, in formula_delta() 273 he->stat.period, he_total); in formula_delta() [all …]
|
D | perf.h | 56 bool period; member
|
/linux-4.4.14/drivers/leds/ |
D | leds-pwm.c | 32 unsigned int period; member 46 pwm_config(led_dat->pwm, new_duty, led_dat->period); in __led_pwm_set() 68 unsigned long long duty = led_dat->period; in led_pwm_set() 74 duty = led_dat->period - duty; in led_pwm_set() 128 led_data->period = pwm_get_period(led_data->pwm); in led_pwm_add() 129 if (!led_data->period && (led->pwm_period_ns > 0)) in led_pwm_add() 130 led_data->period = led->pwm_period_ns; in led_pwm_add()
|
D | leds-lp3944.c | 108 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period() argument 122 if (period > LP3944_PERIOD_MAX) in lp3944_dim_set_period() 125 psc_value = (period * 255) / LP3944_PERIOD_MAX; in lp3944_dim_set_period() 232 u16 period; in lp3944_led_set_blink() local 249 period = (*delay_on) + (*delay_off); in lp3944_led_set_blink() 252 duty_cycle = 100 * (*delay_on) / period; in lp3944_led_set_blink() 267 err = lp3944_dim_set_period(led->client, LP3944_DIM0, period); in lp3944_led_set_blink()
|
D | leds-pca963x.c | 219 unsigned long time_on, time_off, period; in pca963x_blink_set() local 233 period = time_on + time_off; in pca963x_blink_set() 236 if ((period < PCA963X_BLINK_PERIOD_MIN) || in pca963x_blink_set() 237 (period > PCA963X_BLINK_PERIOD_MAX)) { in pca963x_blink_set() 240 period = time_on + time_off; in pca963x_blink_set() 248 gdc = (time_on * 256) / period; in pca963x_blink_set() 255 gfrq = (period * 24 / 1000) - 1; in pca963x_blink_set()
|
/linux-4.4.14/Documentation/hwmon/ |
D | g760a | 18 The fan speed is programmed by setting the period via 'pwm1' of two 19 consecutive speed pulses. The period is defined in terms of clock 22 Setting a period of 0 stops the fan; setting the period to 255 sets 26 from the measured speed pulse period by assuming again a 32kHz clock
|
D | powr1220 | 45 The ADC readings are updated on request with a minimum period of 1s.
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 645 spi_min_period(starget) = tinfo->user.period; in ahd_linux_target_alloc() 1707 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async() 1732 if (tinfo->curr.period == spi_period(starget) in ahd_send_async() 1739 spi_period(starget) = tinfo->curr.period; in ahd_send_async() 2401 static void ahd_linux_set_period(struct scsi_target *starget, int period) in ahd_linux_set_period() argument 2418 printk("%s: set period to %d\n", ahd_name(ahd), period); in ahd_linux_set_period() 2423 if (period < 8) in ahd_linux_set_period() 2424 period = 8; in ahd_linux_set_period() 2425 if (period < 10) { in ahd_linux_set_period() 2428 if (period == 8) in ahd_linux_set_period() [all …]
|
D | aic7xxx_osm.c | 1631 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async() 1655 if (tinfo->curr.period == spi_period(starget) in ahc_send_async() 1662 spi_period(starget) = tinfo->curr.period; in ahc_send_async() 2351 static void ahc_linux_set_period(struct scsi_target *starget, int period) in ahc_linux_set_period() argument 2369 if (period < 9) in ahc_linux_set_period() 2370 period = 9; /* 12.5ns is our minimum */ in ahc_linux_set_period() 2371 if (period == 9) { in ahc_linux_set_period() 2376 period = 10; in ahc_linux_set_period() 2388 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_period() 2390 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period() [all …]
|
D | aic79xx_proc.c | 58 u_int period; /* in 100ths of ns */ member 81 return (100000000 / scsi_syncrates[i].period); in ahd_calc_syncsrate() 99 if (tinfo->period == AHD_PERIOD_UNKNOWN) { in ahd_format_transinfo() 106 freq = ahd_calc_syncsrate(tinfo->period); in ahd_format_transinfo()
|
D | aic7xxx_core.c | 153 u_int *period, 170 u_int period, u_int offset); 176 u_int period, u_int offset, 2218 u_int *period, u_int *ppr_options, role_t role) in ahc_devlimited_syncrate() argument 2256 if (transinfo->period == 0) { in ahc_devlimited_syncrate() 2257 *period = 0; in ahc_devlimited_syncrate() 2261 *period = max(*period, (u_int)transinfo->period); in ahc_devlimited_syncrate() 2262 return (ahc_find_syncrate(ahc, period, ppr_options, maxsync)); in ahc_devlimited_syncrate() 2271 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, in ahc_find_syncrate() argument 2305 if (*period <= syncrate->period) { in ahc_find_syncrate() [all …]
|
D | aic79xx_core.c | 125 u_int *period, 144 u_int period, u_int offset); 150 u_int period, u_int offset, 3699 u_int *period, u_int *ppr_options, role_t role) in ahd_devlimited_syncrate() argument 3731 if (transinfo->period == 0) { in ahd_devlimited_syncrate() 3732 *period = 0; in ahd_devlimited_syncrate() 3735 *period = max(*period, (u_int)transinfo->period); in ahd_devlimited_syncrate() 3736 ahd_find_syncrate(ahd, period, ppr_options, maxsync); in ahd_devlimited_syncrate() 3746 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, in ahd_find_syncrate() argument 3749 if (*period < maxsync) in ahd_find_syncrate() [all …]
|
D | aic7xxx_proc.c | 59 u_int period; /* in 100ths of ns */ member 82 return (100000000 / scsi_syncrates[i].period); in ahc_calc_syncsrate() 103 freq = ahc_calc_syncsrate(tinfo->period); in ahc_format_transinfo()
|
D | aic7xxx.h | 695 uint8_t period; /* Sync rate factor */ member 738 uint8_t period; /* Period to send to SCSI target */ member 1205 const struct ahc_syncrate* ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, 1229 u_int period, u_int offset,
|
/linux-4.4.14/include/linux/ |
D | pwm.h | 105 unsigned int period; member 115 static inline void pwm_set_period(struct pwm_device *pwm, unsigned int period) in pwm_set_period() argument 118 pwm->period = period; in pwm_set_period() 123 return pwm ? pwm->period : 0; in pwm_get_period() 304 unsigned int period; member 314 .period = _period, \
|
D | flex_proportions.h | 31 unsigned int period; member 47 unsigned int period; member 79 unsigned int period; member
|
D | proportions.h | 61 unsigned long period; member 112 unsigned long period; member
|
D | timeriomem-rng.h | 15 unsigned int period; member
|
D | rtc.h | 104 ktime_t period; member 209 ktime_t expires, ktime_t period);
|
D | perf_event.h | 765 u64 period; member 808 u64 addr, u64 period) in perf_sample_data_init() argument 814 data->period = period; in perf_sample_data_init()
|
/linux-4.4.14/arch/nios2/kernel/ |
D | time.c | 132 static void nios2_timer_config(struct nios2_timer *timer, unsigned long period, in nios2_timer_config() argument 139 period--; in nios2_timer_config() 147 timer_writew(timer, period, ALTERA_TIMER_PERIODL_REG); in nios2_timer_config() 148 timer_writew(timer, period >> 16, ALTERA_TIMER_PERIODH_REG); in nios2_timer_config() 179 unsigned long period; in nios2_timer_set_periodic() local 183 period = DIV_ROUND_UP(timer->freq, HZ); in nios2_timer_set_periodic() 184 nios2_timer_config(timer, period, true); in nios2_timer_set_periodic()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | ni_at_a2150.c | 264 static int a2150_get_timing(struct comedi_device *dev, unsigned int *period, in a2150_get_timing() argument 282 if (*period < glb) in a2150_get_timing() 283 *period = glb; in a2150_get_timing() 284 if (*period > lub) in a2150_get_timing() 285 *period = lub; in a2150_get_timing() 294 if (temp < lub && temp >= *period) { in a2150_get_timing() 299 if (temp > glb && temp <= *period) { in a2150_get_timing() 310 if (lub - *period < *period - glb) in a2150_get_timing() 311 *period = lub; in a2150_get_timing() 313 *period = glb; in a2150_get_timing() [all …]
|
D | comedi_test.c | 638 int period = it->options[1]; in waveform_attach() local 649 if (period <= 0) in waveform_attach() 650 period = 100000; /* 0.1 sec */ in waveform_attach() 653 devpriv->wf_period = period; in waveform_attach()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-diff.txt | 93 --period:: 94 Show period values for both compared hist entries. 177 - period_percent being the % of the hist entry period value within 188 r = A->period / B->period 194 - period being the hist entry period value 200 d = B->period * WEIGHT-A - A->period * WEIGHT-B 205 - period being the hist entry period value
|
D | callchain-overhead-calculation.txt | 5 adding all period values of the entry - usually a function (symbol). 9 The 'children' overhead is calculated by adding all period values of
|
D | perf-top.txt | 26 Event period to sample. 119 local_weight, abort, in_tx, transaction, overhead, sample, period. 125 overhead, overhead_sys, overhead_us, overhead_children, sample and period. 135 --show-total-period::
|
D | itrace.txt | 13 In addition, the period (default 100000) for instructions events
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-sched.c | 214 ps->phase, ps->phase_uf, ps->period, in bandwidth_dbg() 386 unsigned period = ps->bw_period; in tt_available() local 389 if ((period == 0) || (uframe >= 7)) /* error */ in tt_available() 392 for (frame &= period - 1; frame < EHCI_BANDWIDTH_FRAMES; in tt_available() 393 frame += period) { in tt_available() 440 unsigned period, in tt_no_collision() argument 446 if (period == 0) /* error */ in tt_no_collision() 453 for (; frame < ehci->periodic_size; frame += period) { in tt_no_collision() 548 unsigned period = qh->ps.period; in qh_link_periodic() local 552 period, hc32_to_cpup(ehci, &qh->hw->hw_info2) in qh_link_periodic() [all …]
|
D | uhci-q.c | 611 static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period) in uhci_highest_load() argument 615 for (phase += period; phase < MAX_PHASE; phase += period) in uhci_highest_load() 631 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth() 634 int max_phase = min_t(int, MAX_PHASE, qh->period); in uhci_check_bandwidth() 637 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth() 639 load = uhci_highest_load(uhci, phase, qh->period); in uhci_check_bandwidth() 651 qh->period, qh->phase, minimax_load, qh->load); in uhci_check_bandwidth() 666 for (i = qh->phase; i < MAX_PHASE; i += qh->period) { in uhci_reserve_bandwidth() 687 qh->period, qh->phase, load); in uhci_reserve_bandwidth() 699 for (i = qh->phase; i < MAX_PHASE; i += qh->period) { in uhci_release_bandwidth() [all …]
|
D | fotg210-hcd.c | 573 p.qh->period, in fill_periodic_buffer() 2791 qh->period = urb->interval >> 3; in qh_make() 2792 if (qh->period == 0 && urb->interval != 1) { in qh_make() 2798 } else if (qh->period > fotg210->periodic_size) { in qh_make() 2799 qh->period = fotg210->periodic_size; in qh_make() 2800 urb->interval = qh->period << 3; in qh_make() 2822 qh->period = urb->interval; in qh_make() 2823 if (qh->period > fotg210->periodic_size) { in qh_make() 2824 qh->period = fotg210->periodic_size; in qh_make() 2825 urb->interval = qh->period; in qh_make() [all …]
|
D | sl811-hcd.c | 360 if (ep->period) in start() 368 if (ep->period) in start() 450 "deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); in finish_request() 451 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) { in finish_request() 464 -= ep->load / ep->period; in finish_request() 490 if (!ep->period) in done() 763 static int balance(struct sl811 *sl811, u16 period, u16 load) in balance() argument 770 for (i = 0; i < period ; i++) { in balance() 774 for (j = i; j < PERIODIC_SIZE; j += period) { in balance() 875 ep->period = urb->interval; in sl811h_urb_enqueue() [all …]
|
D | oxu210hp-hcd.c | 1399 qh->period = urb->interval >> 3; in qh_make() 1400 if (qh->period == 0 && urb->interval != 1) { in qh_make() 1430 qh->period = urb->interval; in qh_make() 1936 unsigned period = qh->period; in qh_link_periodic() local 1940 period, le32_to_cpup(&qh->hw_info2) & (QH_CMASK | QH_SMASK), in qh_link_periodic() 1944 if (period == 0) in qh_link_periodic() 1945 period = 1; in qh_link_periodic() 1947 for (i = qh->start; i < oxu->periodic_size; i += period) { in qh_link_periodic() 1967 if (qh->period > here.qh->period) in qh_link_periodic() 1987 oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period in qh_link_periodic() [all …]
|
D | isp116x-hcd.c | 322 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); in finish_request() 323 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) { in finish_request() 335 ep->load / ep->period; in finish_request() 651 static int balance(struct isp116x *isp116x, u16 period, u16 load) in balance() argument 657 for (i = 0; i < period; i++) { in balance() 661 for (j = i; j < PERIODIC_SIZE; j += period) { in balance() 754 ep->period = urb->interval >> 1; in isp116x_urb_enqueue() 775 urb->interval = ep->period; in isp116x_urb_enqueue() 783 ep->branch = ret = balance(isp116x, ep->period, ep->load); in isp116x_urb_enqueue() 794 DBG("schedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); in isp116x_urb_enqueue() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/pressure/ |
D | bmp085.txt | 8 - temp-measurement-period: temperature measurement period (milliseconds) 20 temp-measurement-period = <100>;
|
/linux-4.4.14/drivers/oprofile/ |
D | nmi_timer_int.c | 128 u64 period; in nmi_timer_setup() local 131 period = (u64)cpu_khz * 1000; in nmi_timer_setup() 132 do_div(period, HZ); in nmi_timer_setup() 133 nmi_timer_attr.sample_period = period; in nmi_timer_setup()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | thermal.c | 138 u32 period, duration, enabled; in ath10k_thermal_set_throttling() local 149 period = ar->thermal.quiet_period; in ath10k_thermal_set_throttling() 150 duration = (period * ar->thermal.throttle_state) / 100; in ath10k_thermal_set_throttling() 153 ret = ath10k_wmi_pdev_set_quiet_mode(ar, period, duration, in ath10k_thermal_set_throttling() 158 period, duration, enabled, ret); in ath10k_thermal_set_throttling()
|
D | debug.c | 1553 unsigned long period; in ath10k_write_nf_cal_period() local 1556 ret = kstrtoul_from_user(user_buf, count, 0, &period); in ath10k_write_nf_cal_period() 1560 if (period > WMI_PDEV_PARAM_CAL_PERIOD_MAX) in ath10k_write_nf_cal_period() 1564 if (period == 0) in ath10k_write_nf_cal_period() 1569 ar->debug.nf_cal_period = period; in ath10k_write_nf_cal_period() 2043 u32 period; in ath10k_write_quiet_period() local 2045 if (kstrtouint_from_user(ubuf, count, 0, &period)) in ath10k_write_quiet_period() 2048 if (period < ATH10K_QUIET_PERIOD_MIN) { in ath10k_write_quiet_period() 2050 period); in ath10k_write_quiet_period() 2054 ar->thermal.quiet_period = period; in ath10k_write_quiet_period()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_amd_ibs.c | 76 s64 period = hwc->sample_period; in perf_event_set_period() local 82 if (unlikely(left <= -period)) { in perf_event_set_period() 83 left = period; in perf_event_set_period() 85 hwc->last_period = period; in perf_event_set_period() 90 left += period; in perf_event_set_period() 92 hwc->last_period = period; in perf_event_set_period() 291 struct hw_perf_event *hwc, u64 *period) in perf_ibs_set_period() argument 296 overflow = perf_event_set_period(hwc, 1<<4, perf_ibs->max_period, period); in perf_ibs_set_period() 370 u64 period; in perf_ibs_start() local 378 perf_ibs_set_period(perf_ibs, hwc, &period); in perf_ibs_start() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | ti,tas5086.txt | 14 - ti,charge-period: This property should contain the time in microseconds 16 split-capacitor charge period. The hardware chip 17 waits for this period of time before starting the 44 ti,charge-period = <156000>;
|
/linux-4.4.14/drivers/video/backlight/ |
D | pwm_bl.c | 30 unsigned int period; member 69 pwm_config(pb->pwm, 0, pb->period); in pwm_backlight_power_off() 89 return (duty_cycle * (pb->period - lth) / pb->scale) + lth; in compute_duty_cycle() 108 pwm_config(pb->pwm, duty_cycle, pb->period); in pwm_backlight_update_status() 296 pb->period = pwm_get_period(pb->pwm); in pwm_backlight_probe() 297 if (!pb->period && (data->pwm_period_ns > 0)) { in pwm_backlight_probe() 298 pb->period = data->pwm_period_ns; in pwm_backlight_probe() 302 pb->lth_brightness = data->lth_brightness * (pb->period / pb->scale); in pwm_backlight_probe()
|
D | lp8788_bl.c | 127 unsigned int period; in lp8788_pwm_ctrl() local 135 period = bl->pdata->period_ns; in lp8788_pwm_ctrl() 136 duty = br * period / max_br; in lp8788_pwm_ctrl() 150 pwm_config(bl->pwm, duty, period); in lp8788_pwm_ctrl()
|
D | lm3630a_bl.c | 165 unsigned int period = pwm_get_period(pchip->pwmd); in lm3630a_pwm_ctrl() local 166 unsigned int duty = br * period / br_max; in lm3630a_pwm_ctrl() 168 pwm_config(pchip->pwmd, duty, period); in lm3630a_pwm_ctrl() 428 pchip->pwmd->period = pdata->pwm_period; in lm3630a_probe()
|
D | lp855x_bl.c | 238 unsigned int period = lp->pdata->period_ns; in lp855x_pwm_ctrl() local 239 unsigned int duty = br * period / max_br; in lp855x_pwm_ctrl() 251 pwm_config(lp->pwm, duty, period); in lp855x_pwm_ctrl()
|
/linux-4.4.14/kernel/time/ |
D | timer_stats.c | 282 struct timespec period; in tstats_show() local 298 period = ktime_to_timespec(time); in tstats_show() 299 ms = period.tv_nsec / 1000000; in tstats_show() 302 seq_printf(m, "Sample period: %ld.%03ld s\n", period.tv_sec, ms); in tstats_show() 325 ms += period.tv_sec * 1000; in tstats_show() 329 if (events && period.tv_sec) in tstats_show()
|
/linux-4.4.14/drivers/misc/ |
D | ioc4.c | 148 uint64_t start, end, period; in ioc4_clock_calibrate() local 195 period = (end - start) / in ioc4_clock_calibrate() 199 if (period > IOC4_CALIBRATE_LOW_LIMIT || in ioc4_clock_calibrate() 200 period < IOC4_CALIBRATE_HIGH_LIMIT) { in ioc4_clock_calibrate() 206 period = IOC4_CALIBRATE_DEFAULT; in ioc4_clock_calibrate() 208 u64 ns = period; in ioc4_clock_calibrate() 221 idd->count_period = period; in ioc4_clock_calibrate()
|
/linux-4.4.14/drivers/hwmon/ |
D | ultra45_env.c | 101 int rpm, period; in show_fan_speed() local 105 period = (int) val << 8; in show_fan_speed() 106 if (FAN_DATA_VALID(period)) in show_fan_speed() 107 rpm = FAN_PERIOD_TO_RPM(period); in show_fan_speed() 120 int period; in set_fan_speed() local 131 period = FAN_RPM_TO_PERIOD(rpm); in set_fan_speed() 132 val = period >> 8; in set_fan_speed()
|
D | pwm-fan.c | 50 duty = DIV_ROUND_UP(pwm * (ctx->pwm->period - 1), MAX_PWM); in __set_pwm() 51 ret = pwm_config(ctx->pwm, duty, ctx->pwm->period); in __set_pwm() 237 duty_cycle = ctx->pwm->period - 1; in pwm_fan_probe() 240 ret = pwm_config(ctx->pwm, duty_cycle, ctx->pwm->period); in pwm_fan_probe() 312 duty = DIV_ROUND_UP(ctx->pwm_value * (ctx->pwm->period - 1), MAX_PWM); in pwm_fan_resume() 313 ret = pwm_config(ctx->pwm, duty, ctx->pwm->period); in pwm_fan_resume()
|
/linux-4.4.14/Documentation/timers/ |
D | timer_stats.txt | 18 Linux system over a sample period: 33 To activate a sample period issue: 36 To stop a sample period issue: 44 is kept until a new sample period is started. This allows multiple readouts. 48 Timerstats sample period: 3.888770 s
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 326 struct ptp_clock_time *t = &rq->perout.period; in fm10k_ptp_enable() 329 u64 period; in fm10k_ptp_enable() local 357 period = t->sec * 1000000000LL + t->nsec; in fm10k_ptp_enable() 364 if ((period && (period < step)) || (period > U32_MAX)) in fm10k_ptp_enable() 369 (u32)period); in fm10k_ptp_enable()
|
/linux-4.4.14/drivers/rtc/ |
D | interface.c | 356 rtc->aie_timer.period = ktime_set(0, 0); in rtc_set_alarm() 384 rtc->aie_timer.period = ktime_set(0, 0); in rtc_initialize_alarm() 456 rtc->uie_rtctimer.period = ktime_set(1, 0); in rtc_update_irq_enable() 545 ktime_t period; in rtc_pie_update_irq() local 549 period = ktime_set(0, NSEC_PER_SEC/rtc->irq_freq); in rtc_pie_update_irq() 550 count = hrtimer_forward_now(timer, period); in rtc_pie_update_irq() 660 ktime_t period = ktime_set(0, NSEC_PER_SEC / rtc->irq_freq); in rtc_update_hrtimer() local 662 hrtimer_start(&rtc->pie_timer, period, HRTIMER_MODE_REL); in rtc_update_hrtimer() 850 if (ktime_to_ns(timer->period)) { in rtc_timer_do_work() 852 timer->period); in rtc_timer_do_work() [all …]
|
/linux-4.4.14/sound/oss/dmasound/ |
D | dmasound_paula.c | 359 int period, i; in AmiInit() local 364 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit() 366 period = amiga_audio_min_period; in AmiInit() 370 if (period < amiga_audio_min_period) { in AmiInit() 372 period = amiga_audio_min_period; in AmiInit() 373 } else if (period > 65535) { in AmiInit() 374 period = 65535; in AmiInit() 376 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit() 379 custom.aud[i].audper = period; in AmiInit() 380 amiga_audio_period = period; in AmiInit()
|
/linux-4.4.14/include/scsi/ |
D | scsi_transport_spi.h | 32 int period; /* value in the PPR/SDTR command */ member 75 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) 157 int spi_populate_sync_msg(unsigned char *msg, int period, int offset); 158 int spi_populate_ppr_msg(unsigned char *msg, int period, int offset, int width,
|
/linux-4.4.14/arch/arm/mach-spear/ |
D | time.c | 128 u32 period; in spear_set_periodic() local 134 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic() 135 period >>= CTRL_PRESCALER16; in spear_set_periodic() 136 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic()
|
/linux-4.4.14/Documentation/devicetree/bindings/rng/ |
D | timeriomem_rng.txt | 6 - period : wait time in microseconds to use between samples 17 period = <1000000>;
|
/linux-4.4.14/Documentation/filesystems/ |
D | quota.txt | 11 softlimit but only for limited period of time. This period is called "grace 12 period" or "grace time". When grace time is over, user is not able to allocate 53 than given grace period 57 longer than given grace period.
|
/linux-4.4.14/Documentation/devicetree/bindings/leds/backlight/ |
D | lp855x.txt | 12 - pwm-period: PWM period value. Set only PWM input mode used (u32) 25 pwm-period = <10000>;
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | time.c | 93 unsigned long period; member 136 __raw_writel(__raw_readl(t->base + t->tim_off) + t->period, in timer32_config() 147 __raw_writel(t->period, t->base + t->prd_off); in timer32_config() 190 .period = ~0, 301 t->period = cycles; in davinci_set_next_event() 328 t->period = davinci_clock_tick_rate / (HZ); in davinci_set_periodic()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | DefaultKeyAssignments | 8 InsKeyPad-period means hold down the insert key like a shift key and 9 hit the keypad period. 29 KeyPad-period Say Position (current line, position and console) 30 InsKeyPad-period say colour attributes of current position.
|
/linux-4.4.14/Documentation/blackfin/ |
D | gptimers-example.c | 27 uint32_t period, width; member 43 data->period = get_gptimer_period(TIMER5_id); in gptimer_example_irq()
|
/linux-4.4.14/drivers/clocksource/ |
D | timer-keystone.c | 78 static int keystone_timer_config(u64 period, int mask) in keystone_timer_config() argument 97 keystone_timer_writel(period & 0xffffffff, PRD12); in keystone_timer_config() 98 keystone_timer_writel(period >> 32, PRD34); in keystone_timer_config()
|
D | dw_apb_timer.c | 162 unsigned long period = DIV_ROUND_UP(dw_ced->timer.freq, HZ); in apbt_set_periodic() local 178 pr_debug("Setting clock period %lu for HZ %d\n", period, HZ); in apbt_set_periodic() 179 apbt_writel(&dw_ced->timer, period, APBTMR_N_LOAD_COUNT); in apbt_set_periodic()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | perf_event.c | 166 s64 period = hwc->sample_period; in xtensa_perf_event_set_period() local 169 if (left <= -period) { in xtensa_perf_event_set_period() 170 left = period; in xtensa_perf_event_set_period() 172 hwc->last_period = period; in xtensa_perf_event_set_period() 175 left += period; in xtensa_perf_event_set_period() 177 hwc->last_period = period; in xtensa_perf_event_set_period()
|
/linux-4.4.14/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 229 period_ns = req->period.sec * NSEC_PER_SEC + req->period.nsec; in ravb_ptp_perout() 247 perout->period = (u32)period_ns; in ravb_ptp_perout() 259 perout->period = 0; in ravb_ptp_perout() 316 if (perout->period) { in ravb_ptp_interrupt() 317 perout->target += perout->period; in ravb_ptp_interrupt()
|
/linux-4.4.14/drivers/media/rc/ |
D | ene_ir.c | 337 int period = ene_read_reg(dev, ENE_CIRCAR_PRD); in ene_rx_sense_carrier() local 340 if (!(period & ENE_CIRCAR_PRD_VALID)) in ene_rx_sense_carrier() 343 period &= ~ENE_CIRCAR_PRD_VALID; in ene_rx_sense_carrier() 345 if (!period) in ene_rx_sense_carrier() 348 dbg("RX: hardware carrier period = %02x", period); in ene_rx_sense_carrier() 351 carrier = 2000000 / period; in ene_rx_sense_carrier() 352 duty_cycle = (hperiod * 100) / period; in ene_rx_sense_carrier() 895 u32 period; in ene_set_tx_carrier() local 901 period = 2000000 / carrier; in ene_set_tx_carrier() 902 if (period && (period > ENE_CIRMOD_PRD_MAX || in ene_set_tx_carrier() [all …]
|
D | mceusb.c | 546 u32 carrier, period; in mceusb_dev_printdata() local 635 period = DIV_ROUND_CLOSEST( in mceusb_dev_printdata() 637 if (!period) in mceusb_dev_printdata() 639 carrier = (1000 * 1000) / period; in mceusb_dev_printdata() 641 inout, carrier, period); in mceusb_dev_printdata() 652 period = ((data1 << 8) | data2) * MCE_TIME_UNIT / 1000; in mceusb_dev_printdata() 654 inout, period); in mceusb_dev_printdata()
|
/linux-4.4.14/Documentation/input/ |
D | rotary-encoder.txt | 13 a stable state with both outputs high (half-period mode) and some have 14 a stable state in all steps (quarter-period mode). 34 one step (half-period mode) 37 one step (quarter-period mode) 46 In half-period mode, state a) and c) above are used to determine the
|
/linux-4.4.14/Documentation/devicetree/bindings/pwm/ |
D | pwm-bcm2835.txt | 7 system, the period and the duty_cycle of the PWM signal is a multiple of 8 the base period.
|
D | pxa-pwm.txt | 13 - #pwm-cells: Should be 1. This cell is used to specify the period in
|
D | pwm-lp3943.txt | 7 Note that this hardware limits the period length to the
|
D | pwm-st.txt | 8 second cell is the period in nanoseconds - fixed to 2
|
/linux-4.4.14/sound/ppc/ |
D | beep.c | 107 int period, ncycles, nsamples; in snd_pmac_beep_event() local 149 period = srate * 256 / hz; /* fixed point */ in snd_pmac_beep_event() 150 ncycles = BEEP_BUFLEN * 256 / period; in snd_pmac_beep_event() 151 nsamples = (period * ncycles) >> 8; in snd_pmac_beep_event()
|
/linux-4.4.14/arch/mips/loongson32/common/ |
D | time.c | 41 static inline void ls1x_pwmtimer_set_period(uint32_t period) in ls1x_pwmtimer_set_period() argument 43 __raw_writel(period, timer_base + PWM_HRC); in ls1x_pwmtimer_set_period() 44 __raw_writel(period, timer_base + PWM_LRC); in ls1x_pwmtimer_set_period()
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | fsl-tsec-phy.txt | 95 - fsl,tclk-period Timer reference clock period in nanoseconds. 98 - fsl,tmr-fiper1 Fixed interval period pulse generator. 99 - fsl,tmr-fiper2 Fixed interval period pulse generator. 107 tclk_period = desired clock period nanoseconds 145 fsl,tclk-period = <10>;
|
D | arc_emac.txt | 11 The clock frequency is needed to calculate and set polling period of EMAC.
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | pwm-clock.txt | 12 via the period given in the PWM specifier. 16 - clock-frequency : Exact output frequency, in case the PWM period
|
/linux-4.4.14/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 69 __s16 magnitude, __s16 offset, u16 period, u16 phase) in make_period_modifier() argument 73 period = TIME_SCALE(period); in make_period_modifier() 93 data[5] = LO(period); in make_period_modifier() 94 data[6] = HI(period); in make_period_modifier() 285 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier() 372 effect->u.periodic.period, effect->u.periodic.phase); in iforce_upload_periodic()
|
/linux-4.4.14/arch/metag/kernel/perf/ |
D | perf_event.c | 225 s64 period = hwc->sample_period; in metag_pmu_event_set_period() local 229 if (unlikely(period != hwc->last_period)) in metag_pmu_event_set_period() 230 left += period - hwc->last_period; in metag_pmu_event_set_period() 232 if (unlikely(left <= -period)) { in metag_pmu_event_set_period() 233 left = period; in metag_pmu_event_set_period() 235 hwc->last_period = period; in metag_pmu_event_set_period() 240 left += period; in metag_pmu_event_set_period() 242 hwc->last_period = period; in metag_pmu_event_set_period()
|
/linux-4.4.14/tools/perf/ui/ |
D | hist.c | 47 u64 period = get_field(pair); in __hpp__fmt() local 72 100.0 * period / total); in __hpp__fmt() 75 len, period); in __hpp__fmt() 357 HPP_PERCENT_FNS(overhead, period) in HPP_PERCENT_FNS() argument 362 HPP_PERCENT_ACC_FNS(overhead_acc, period) in HPP_PERCENT_FNS() 365 HPP_RAW_FNS(period, period) in HPP_PERCENT_FNS() 417 HPP__PRINT_FNS("Period", period)
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | sumo_smc.c | 147 u32 period, unit, timer_value; in sumo_enable_boost_timer() local 153 period = 100 * (xclk / 100 / sumo_power_of_4(unit)); in sumo_enable_boost_timer() 155 timer_value = (period << 16) | (unit << 4); in sumo_enable_boost_timer()
|
/linux-4.4.14/arch/arc/kernel/ |
D | perf_event.c | 218 s64 period = hwc->sample_period; in arc_pmu_event_set_period() local 223 if (unlikely(left <= -period)) { in arc_pmu_event_set_period() 225 left = period; in arc_pmu_event_set_period() 227 hwc->last_period = period; in arc_pmu_event_set_period() 231 left += period; in arc_pmu_event_set_period() 233 hwc->last_period = period; in arc_pmu_event_set_period()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
D | lirc_serial.c | 215 static unsigned long period; variable 341 period = loops_per_sec >> 3; in init_timing_params() 342 period /= (freq >> 3); in init_timing_params() 345 pulse_width = period * duty_cycle / 100; in init_timing_params() 346 space_width = period - pulse_width; in init_timing_params() 368 period = 256 * 1000000L / freq; in init_timing_params() 369 pulse_width = period * duty_cycle / 100; in init_timing_params() 370 space_width = period - pulse_width; in init_timing_params()
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_sysfs.c | 139 &req.perout.period.sec, &req.perout.period.nsec); in period_store() 145 enable = req.perout.period.sec || req.perout.period.nsec; in period_store() 240 static DEVICE_ATTR(period, 0220, NULL, period_store);
|
D | ptp_chardev.c | 171 enable = req.perout.period.sec || req.perout.period.nsec; in ptp_ioctl()
|
/linux-4.4.14/arch/mips/include/asm/mach-jz4740/ |
D | timer.h | 89 static inline void jz4740_timer_set_period(unsigned int timer, uint16_t period) in jz4740_timer_set_period() argument 91 writew(period, jz4740_timer_base + JZ_REG_TIMER_DFR(timer)); in jz4740_timer_set_period()
|
/linux-4.4.14/Documentation/devicetree/bindings/i2c/ |
D | i2c-designware.txt | 18 This value which is by default 300ns is used to compute the tLOW period. 21 This value which is by default 300ns is used to compute the tHIGH period.
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | gptimers.c | 143 void set_gptimer_period(unsigned int timer_id, uint32_t period) in set_gptimer_period() argument 146 bfin_write(&timer_regs[timer_id]->period, period); in set_gptimer_period() 154 return bfin_read(&timer_regs[timer_id]->period); in get_gptimer_period()
|
/linux-4.4.14/tools/perf/ui/gtk/ |
D | hists.c | 66 __HPP_COLOR_PERCENT_FN(overhead, period) in __HPP_COLOR_PERCENT_FN() argument 71 __HPP_COLOR_ACC_PERCENT_FN(overhead_acc, period) in __HPP_COLOR_PERCENT_FN() 255 h->stat_acc->period : h->stat.period; in perf_gtk__show_hists()
|
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/ |
D | samsung-fimd.txt | 49 - cs-setup: clock cycles for the active period of address signal is enabled 52 - wr-setup: clock cycles for the active period of CS signal is enabled until 55 - wr-active: clock cycles for the active period of CS is enabled. 57 - wr-hold: clock cycles for the active period of CS is disabled until write
|
/linux-4.4.14/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 39 unsigned int period; member 84 iprtd->period = params_period_bytes(params); in snd_imx_pcm_hw_params() 101 regs.ARM_r8 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare() 103 regs.ARM_r9 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | timer.c | 113 u32 period; in omap2_gp_timer_set_periodic() local 117 period = clkev.rate / HZ; in omap2_gp_timer_set_periodic() 118 period -= 1; in omap2_gp_timer_set_periodic() 120 __omap_dm_timer_write(&clkev, OMAP_TIMER_LOAD_REG, 0xffffffff - period, in omap2_gp_timer_set_periodic() 124 0xffffffff - period, OMAP_TIMER_POSTED); in omap2_gp_timer_set_periodic()
|
/linux-4.4.14/Documentation/ |
D | pwm.txt | 70 period - The total period of the PWM signal (read/write). 75 Value is in nanoseconds and must be less than the period. 104 goes low for the remainder of the period. Conversely, a signal with inversed 106 remainder of the period.
|
/linux-4.4.14/drivers/regulator/ |
D | pwm-regulator.c | 134 unsigned int period = pwm_get_period(drvdata->pwm); in pwm_regulator_set_voltage() local 140 ret = pwm_config(drvdata->pwm, (period / 100) * duty_cycle, period); in pwm_regulator_set_voltage()
|
/linux-4.4.14/drivers/usb/serial/ |
D | generic.c | 250 unsigned long period; in usb_serial_generic_wait_until_sent() local 260 period = max_t(unsigned long, (10 * HZ / bps), 1); in usb_serial_generic_wait_until_sent() 262 period = min_t(unsigned long, period, timeout); in usb_serial_generic_wait_until_sent() 266 jiffies_to_msecs(period)); in usb_serial_generic_wait_until_sent() 269 schedule_timeout_interruptible(period); in usb_serial_generic_wait_until_sent()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | perf_event.c | 255 long period = hwc->sample_period; in alpha_perf_event_set_period() local 258 if (unlikely(left <= -period)) { in alpha_perf_event_set_period() 259 left = period; in alpha_perf_event_set_period() 261 hwc->last_period = period; in alpha_perf_event_set_period() 266 left += period; in alpha_perf_event_set_period() 268 hwc->last_period = period; in alpha_perf_event_set_period()
|
/linux-4.4.14/Documentation/leds/ |
D | leds-lp3944.txt | 22 - period: from 0s to 1.6s 23 - duty cycle: percentage of the period the led is on, from 0 to 100
|
/linux-4.4.14/kernel/sched/ |
D | core.c | 751 s64 period = sched_avg_period(); in sched_avg_update() local 753 while ((s64)(rq_clock(rq) - rq->age_stamp) > period) { in sched_avg_update() 760 rq->age_stamp += period; in sched_avg_update() 2266 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() argument 2276 if (period == 0) in to_ratio() 2279 return div64_u64(runtime << 20, period); in to_ratio() 2330 u64 period = attr->sched_period ?: attr->sched_deadline; in dl_overflow() local 2332 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in dl_overflow() 7854 u64 period, runtime; in tg_rt_schedulable() local 7856 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable() [all …]
|
/linux-4.4.14/arch/x86/kvm/ |
D | i8254.c | 113 if (!ps->period) in __kpit_elapsed() 126 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed() 328 hrtimer_add_expires_ns(&ps->timer, ps->period); in pit_timer_fn() 350 ps->period = interval; in create_pit_timer() 367 if (ps->period < min_period) { in create_pit_timer() 371 ps->period, min_period); in create_pit_timer() 372 ps->period = min_period; in create_pit_timer()
|
D | i8254.h | 28 s64 period; /* unit: ns */ member
|
D | lapic.c | 1038 apic->lapic_timer.period == 0) in apic_get_tmcct() 1045 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct() 1270 apic->lapic_timer.period = (u64)kvm_apic_get_reg(apic, APIC_TMICT) in start_apic_timer() 1273 if (!apic->lapic_timer.period) in start_apic_timer() 1283 if (apic->lapic_timer.period < min_period) { in start_apic_timer() 1288 apic->lapic_timer.period, min_period); in start_apic_timer() 1289 apic->lapic_timer.period = min_period; in start_apic_timer() 1294 ktime_add_ns(now, apic->lapic_timer.period), in start_apic_timer() 1303 apic->lapic_timer.period, in start_apic_timer() 1305 apic->lapic_timer.period))); in start_apic_timer() [all …]
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 108 s64 period = hwc->sample_period; in armpmu_event_set_period() local 111 if (unlikely(left <= -period)) { in armpmu_event_set_period() 112 left = period; in armpmu_event_set_period() 114 hwc->last_period = period; in armpmu_event_set_period() 119 left += period; in armpmu_event_set_period() 121 hwc->last_period = period; in armpmu_event_set_period()
|
/linux-4.4.14/arch/tile/kernel/ |
D | perf_event.c | 553 s64 period = hwc->sample_period; in tile_event_set_period() local 559 if (unlikely(left <= -period)) { in tile_event_set_period() 560 left = period; in tile_event_set_period() 562 hwc->last_period = period; in tile_event_set_period() 567 left += period; in tile_event_set_period() 569 hwc->last_period = period; in tile_event_set_period()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptspi.c | 868 u32 period; in mptspi_write_spi_device_pg1() local 909 period = (nego_parms & MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK) >> in mptspi_write_spi_device_pg1() 911 if (period == 8) { in mptspi_write_spi_device_pg1() 965 static void mptspi_write_period(struct scsi_target *starget, int period) in mptspi_write_period() argument 970 if (period < 8) in mptspi_write_period() 971 period = 8; in mptspi_write_period() 973 if (period > 255) in mptspi_write_period() 974 period = 255; in mptspi_write_period() 979 if (period == 8) { in mptspi_write_period() 982 } else if (period == 9) { in mptspi_write_period() [all …]
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 384 beacon_period = mac->beacon.period; in zd_restore_settings() 1319 u8 period = 0; in zd_op_bss_info_changed() local 1322 period = bss_conf->dtim_period; in zd_op_bss_info_changed() 1327 mac->beacon.period = period; in zd_op_bss_info_changed() 1332 zd_set_beacon_interval(&mac->chip, interval, period, in zd_op_bss_info_changed() 1441 int interval, period; in beacon_watchdog_handler() local 1450 period = mac->beacon.period; in beacon_watchdog_handler() 1459 interval, period); in beacon_watchdog_handler() 1470 zd_set_beacon_interval(&mac->chip, interval, period, mac->type); in beacon_watchdog_handler()
|
/linux-4.4.14/Documentation/devicetree/bindings/display/ |
D | ssd1307fb.txt | 25 - solomon,prechargep1: Length of deselect period (phase 1) in clock cycles. 26 - solomon,prechargep2: Length of precharge period (phase 2) in clock cycles.
|
/linux-4.4.14/arch/c6x/platforms/ |
D | timer64.c | 80 static void timer64_config(unsigned long period) in timer64_config() argument 85 soc_writel(period - 1, &timer->prdlo); in timer64_config()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-pwm | 50 What: /sys/class/pwm/pwmchipN/pwmX/period 55 Sets the PWM signal period in nanoseconds.
|
D | sysfs-bus-fcoe | 35 fcf_dev_loss_tmo: Device loss timeout period (see below). Changing 96 fka_period: The FIP Keep-Alive period 104 dev_loss_tmo: The device loss timeout period for this FCF.
|
D | sysfs-ptp | 104 What: /sys/class/ptp/ptpN/period 111 seconds, start time nanoseconds, period seconds, and 112 period nanoseconds. To disable a periodic output, set
|
/linux-4.4.14/arch/arm/mach-gemini/ |
D | time.c | 118 u32 period = DIV_ROUND_CLOSEST(tick_rate, HZ); in gemini_timer_set_periodic() local 127 cr = 0xffffffff - (period - 1); in gemini_timer_set_periodic()
|
/linux-4.4.14/tools/perf/ui/stdio/ |
D | hist.c | 38 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument 52 if (!period && i == depth - 1) { in ipchain__fprintf_graph() 271 he->stat_acc->period : he->stat.period, in hist_entry_callchain__fprintf()
|
/linux-4.4.14/drivers/char/ |
D | mmtimer.c | 680 unsigned long when, period, irqflags; in sgi_timer_set() local 691 period = timespec_to_ns(&new_setting->it_interval); in sgi_timer_set() 720 period = (period + sgi_clock_period - 1) / sgi_clock_period; in sgi_timer_set() 739 timr->it.mmtimer.incr = period; in sgi_timer_set()
|
/linux-4.4.14/include/trace/events/ |
D | writeback.h | 528 unsigned long period, 534 dirtied, period, pause, start_time), 549 __field(unsigned long, period) 571 __entry->period = period * 1000 / HZ; 596 __entry->period, /* ms */
|
/linux-4.4.14/mm/ |
D | page-writeback.c | 1046 const unsigned long period = roundup_pow_of_two(3 * HZ); in wb_update_write_bandwidth() local 1063 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth() 1068 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth() 1069 bw >>= ilog2(period); in wb_update_write_bandwidth() 1530 long period; in balance_dirty_pages() local 1680 period = max_pause; in balance_dirty_pages() 1684 period = HZ * pages_dirtied / task_ratelimit; in balance_dirty_pages() 1685 pause = period; in balance_dirty_pages() 1705 period, in balance_dirty_pages() 1711 } else if (period) { in balance_dirty_pages() [all …]
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | gptimers.h | 252 void set_gptimer_period(unsigned int timer_id, uint32_t period); 297 u32 period; member
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-fsl-emb.c | 609 u64 period = event->hw.sample_period; in record_and_restart() local 629 if (period) { in record_and_restart() 631 left += period; in record_and_restart() 633 left = period; in record_and_restart()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-dln2.c | 286 unsigned type, unsigned period) in dln2_gpio_set_event_cfg() argument 291 __le16 period; in dln2_gpio_set_event_cfg() member 295 .period = cpu_to_le16(period), in dln2_gpio_set_event_cfg()
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
D | dw_hdmi-ahb-audio.c | 244 unsigned period = dw->buf_period; in dw_hdmi_start_dma() local 247 dw->reformat(dw, offset, period); in dw_hdmi_start_dma() 254 stop = start + period - 1; in dw_hdmi_start_dma() 263 offset += period; in dw_hdmi_start_dma()
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 380 u64 period = hwc->sample_period; in mipspmu_event_set_period() local 383 if (unlikely((left + period) & (1ULL << 63))) { in mipspmu_event_set_period() 385 left = period; in mipspmu_event_set_period() 387 hwc->last_period = period; in mipspmu_event_set_period() 389 } else if (unlikely((left + period) <= period)) { in mipspmu_event_set_period() 391 left += period; in mipspmu_event_set_period() 393 hwc->last_period = period; in mipspmu_event_set_period() 746 data->period = event->hw.last_period; in handle_associated_event()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 687 u32 period; local 742 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz; 744 if (period <= 250) np->minsync = 10; 745 else if (period <= 303) np->minsync = 11; 746 else if (period <= 500) np->minsync = 12; 747 else np->minsync = (period + 40 - 1) / 40; 762 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz); 763 np->maxsync = period > 2540 ? 254 : period / 10; 1397 if (goal->period < np->minsync_dt) 1398 goal->period = np->minsync_dt; [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | ptp_clock.h | 65 struct ptp_clock_time period; /* Desired period, zero means disable. */ member
|
D | kd.h | 149 int period; /* in msec; <= 0: don't change */ member
|
/linux-4.4.14/drivers/dma/ |
D | sa11x0-dma.c | 81 unsigned period; member 241 if ((p->sg_done % txd->period) == 0) in sa11x0_dma_complete() 609 struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, in sa11x0_dma_prep_dma_cyclic() argument 623 sgperiod = DIV_ROUND_UP(period, DMA_MAX_SIZE & ~DMA_ALIGN); in sa11x0_dma_prep_dma_cyclic() 624 sglen = size * sgperiod / period; in sa11x0_dma_prep_dma_cyclic() 636 for (i = k = 0; i < size / period; i++) { in sa11x0_dma_prep_dma_cyclic() 637 size_t tlen, len = period; in sa11x0_dma_prep_dma_cyclic() 662 txd->period = sgperiod; in sa11x0_dma_prep_dma_cyclic()
|
D | s3c24xx-dma.c | 883 struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, in s3c24xx_dma_prep_dma_cyclic() argument 899 size, period, s3cchan->name); in s3c24xx_dma_prep_dma_cyclic() 953 sg_len = size / period; in s3c24xx_dma_prep_dma_cyclic() 963 dsg->len = period; in s3c24xx_dma_prep_dma_cyclic() 966 dsg->len = size - period * i; in s3c24xx_dma_prep_dma_cyclic() 968 dsg->src_addr = addr + period * i; in s3c24xx_dma_prep_dma_cyclic() 972 dsg->dst_addr = addr + period * i; in s3c24xx_dma_prep_dma_cyclic()
|
/linux-4.4.14/drivers/input/ |
D | input-compat.h | 41 __u16 period; member
|
/linux-4.4.14/sound/soc/samsung/ |
D | idma.c | 51 dma_addr_t period; member 164 prtd->period = params_periods(params); in idma_hw_params() 282 prtd->cb(prtd->token, prtd->period); in iis_irq()
|
/linux-4.4.14/Documentation/devicetree/bindings/rtc/ |
D | xlnx-rtc.txt | 14 - calibration: calibration value for 1 sec period which will
|
/linux-4.4.14/sound/usb/line6/ |
D | pcm.h | 113 unsigned period; member
|
D | capture.c | 136 if (line6pcm->in.bytes >= line6pcm->in.period) { in line6_capture_check_period() 137 line6pcm->in.bytes %= line6pcm->in.period; in line6_capture_check_period()
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.h | 88 uint64_t period; member
|
/linux-4.4.14/sound/spi/ |
D | at73c213.c | 70 int period; member 262 chip->period = 0; in snd_at73c213_pcm_prepare() 373 chip->period++; in snd_at73c213_interrupt() 374 if (chip->period == runtime->periods) in snd_at73c213_interrupt() 375 chip->period = 0; in snd_at73c213_interrupt() 376 next_period = chip->period + 1; in snd_at73c213_interrupt()
|
/linux-4.4.14/drivers/iio/light/ |
D | ltr501.c | 467 unsigned long period; in ltr501_write_intr_prst() local 473 period = ((val * 1000000) + val2); in ltr501_write_intr_prst() 482 if (period < samp_period) in ltr501_write_intr_prst() 485 new_val = DIV_ROUND_UP(period, samp_period); in ltr501_write_intr_prst() 493 data->als_period = period; in ltr501_write_intr_prst() 502 if (period < samp_period) in ltr501_write_intr_prst() 505 new_val = DIV_ROUND_UP(period, samp_period); in ltr501_write_intr_prst() 513 data->ps_period = period; in ltr501_write_intr_prst()
|
/linux-4.4.14/drivers/staging/iio/trigger/ |
D | iio-trig-bfin-timer.c | 125 unsigned int period = get_gptimer_period(st->t->id); in iio_bfin_tmr_frequency_show() local 128 if (!period) in iio_bfin_tmr_frequency_show()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 81 u16 period = x / INT_PI; in int_cos() local 82 if (period % 2) in int_cos()
|
/linux-4.4.14/drivers/acpi/apei/ |
D | ghes.c | 605 unsigned long long now, duration, period, max_period = 0; in ghes_estatus_cache_add() local 627 period = duration; in ghes_estatus_cache_add() 628 do_div(period, (count + 1)); in ghes_estatus_cache_add() 629 if (period > max_period) { in ghes_estatus_cache_add() 630 max_period = period; in ghes_estatus_cache_add()
|
/linux-4.4.14/include/linux/mlx4/ |
D | cq.h | 175 u16 count, u16 period);
|
/linux-4.4.14/sound/arm/ |
D | aaci.h | 213 unsigned int period; /* byte size of a "period" */ member
|
/linux-4.4.14/Documentation/ptp/ |
D | testptp.c | 447 perout_request.period.sec = 0; in main() 448 perout_request.period.nsec = perout; in main()
|
/linux-4.4.14/Documentation/scsi/ |
D | sym53c8xx_2.txt | 22 8.1 Set minimum synchronous period 307 8.1 Set minimum synchronous period factor 309 setsync <target> <period factor> 312 period: minimum synchronous period. 313 Maximum speed = 1000/(4*period factor) except for special 316 Specify a period of 0, to force asynchronous transfer mode. 318 9 means 12.5 nano-seconds synchronous period 319 10 means 25 nano-seconds synchronous period 320 11 means 30 nano-seconds synchronous period 321 12 means 50 nano-seconds synchronous period [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/leds/ |
D | leds-pwm.txt | 11 specify the period time to be used: <&phandle id period_ns>;
|