Home
last modified time | relevance | path

Searched refs:periods (Results 1 – 25 of 168) sorted by relevance

1234567

/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
18 clock-latency-ns = <244144>; /* 8 32k periods */
24 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
36 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
60 clock-latency-ns = <244144>; /* 8 32k periods */
Dsun50i-h616-cpu-opp.dtsi13 clock-latency-ns = <244144>; /* 8 32k periods */
20 clock-latency-ns = <244144>; /* 8 32k periods */
27 clock-latency-ns = <244144>; /* 8 32k periods */
35 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
61 clock-latency-ns = <244144>; /* 8 32k periods */
71 clock-latency-ns = <244144>; /* 8 32k periods */
83 clock-latency-ns = <244144>; /* 8 32k periods */
90 clock-latency-ns = <244144>; /* 8 32k periods */
[all …]
Dsun50i-a64-cpu-opp.dtsi14 clock-latency-ns = <244144>; /* 8 32k periods */
20 clock-latency-ns = <244144>; /* 8 32k periods */
26 clock-latency-ns = <244144>; /* 8 32k periods */
32 clock-latency-ns = <244144>; /* 8 32k periods */
38 clock-latency-ns = <244144>; /* 8 32k periods */
44 clock-latency-ns = <244144>; /* 8 32k periods */
50 clock-latency-ns = <244144>; /* 8 32k periods */
56 clock-latency-ns = <244144>; /* 8 32k periods */
Dsun50i-h6-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
21 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
39 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
57 clock-latency-ns = <244144>; /* 8 32k periods */
66 clock-latency-ns = <244144>; /* 8 32k periods */
75 clock-latency-ns = <244144>; /* 8 32k periods */
84 clock-latency-ns = <244144>; /* 8 32k periods */
93 clock-latency-ns = <244144>; /* 8 32k periods */
Dsun50i-h5.dtsi19 clock-latency-ns = <244144>; /* 8 32k periods */
29 clock-latency-ns = <244144>; /* 8 32k periods */
39 clock-latency-ns = <244144>; /* 8 32k periods */
49 clock-latency-ns = <244144>; /* 8 32k periods */
/linux-6.12.1/kernel/sched/
Dpelt.c57 static u32 __accumulate_pelt_segments(u64 periods, u32 d1, u32 d3) in __accumulate_pelt_segments() argument
64 c1 = decay_load((u64)d1, periods); in __accumulate_pelt_segments()
75 c2 = LOAD_AVG_MAX - decay_load(LOAD_AVG_MAX, periods) - 1024; in __accumulate_pelt_segments()
106 u64 periods; in accumulate_sum() local
109 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
114 if (periods) { in accumulate_sum()
115 sa->load_sum = decay_load(sa->load_sum, periods); in accumulate_sum()
117 decay_load(sa->runnable_sum, periods); in accumulate_sum()
118 sa->util_sum = decay_load((u64)(sa->util_sum), periods); in accumulate_sum()
135 contrib = __accumulate_pelt_segments(periods, in accumulate_sum()
[all …]
/linux-6.12.1/sound/soc/au1x/
Ddma.c38 unsigned int periods; member
51 stream->periods = 0; in au1000_release_dma_link()
65 unsigned int periods) in au1000_setup_dma_link() argument
76 stream->periods == periods) in au1000_setup_dma_link()
82 stream->periods = periods; in au1000_setup_dma_link()
88 for (i = 0; i < periods; i++) { in au1000_setup_dma_link()
91 if (i < periods - 1) { in au1000_setup_dma_link()
Ddbdma2.c52 unsigned long periods; /* number of SG segments in total */ member
86 if (cd->q_period >= cd->periods) { in au1x_pcm_queue_tx()
100 if (cd->q_period >= cd->periods) { in au1x_pcm_queue_rx()
111 if (++cd->curr_period >= cd->periods) { in au1x_pcm_dmatx_cb()
124 if (++cd->curr_period >= cd->periods) { in au1x_pcm_dmarx_cb()
220 pcd->periods = params_periods(params); in au1xpsc_pcm_hw_params()
/linux-6.12.1/sound/pci/cs5535audio/
Dcs5535audio_pcm.c109 unsigned int periods, in cs5535audio_build_dma_packets() argument
116 if (periods > CS5535AUDIO_MAX_DESCRIPTORS) in cs5535audio_build_dma_packets()
125 dma->period_bytes = dma->periods = 0; in cs5535audio_build_dma_packets()
128 if (dma->periods == periods && dma->period_bytes == period_bytes) in cs5535audio_build_dma_packets()
134 for (i = 0; i < periods; i++) { in cs5535audio_build_dma_packets()
143 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods]; in cs5535audio_build_dma_packets()
148 sizeof(struct cs5535audio_dma_desc) * periods; in cs5535audio_build_dma_packets()
152 dma->periods = periods; in cs5535audio_build_dma_packets()
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun8i-a33.dtsi56 clock-latency-ns = <244144>; /* 8 32k periods */
62 clock-latency-ns = <244144>; /* 8 32k periods */
68 clock-latency-ns = <244144>; /* 8 32k periods */
74 clock-latency-ns = <244144>; /* 8 32k periods */
80 clock-latency-ns = <244144>; /* 8 32k periods */
86 clock-latency-ns = <244144>; /* 8 32k periods */
92 clock-latency-ns = <244144>; /* 8 32k periods */
98 clock-latency-ns = <244144>; /* 8 32k periods */
104 clock-latency-ns = <244144>; /* 8 32k periods */
110 clock-latency-ns = <244144>; /* 8 32k periods */
[all …]
Dsun8i-a83t.dtsi210 clock-latency-ns = <244144>; /* 8 32k periods */
216 clock-latency-ns = <244144>; /* 8 32k periods */
222 clock-latency-ns = <244144>; /* 8 32k periods */
228 clock-latency-ns = <244144>; /* 8 32k periods */
234 clock-latency-ns = <244144>; /* 8 32k periods */
240 clock-latency-ns = <244144>; /* 8 32k periods */
246 clock-latency-ns = <244144>; /* 8 32k periods */
252 clock-latency-ns = <244144>; /* 8 32k periods */
263 clock-latency-ns = <244144>; /* 8 32k periods */
269 clock-latency-ns = <244144>; /* 8 32k periods */
[all …]
/linux-6.12.1/lib/
Dflex_proportions.c64 bool fprop_new_period(struct fprop_global *p, int periods) in fprop_new_period() argument
75 if (periods < 64) in fprop_new_period()
76 events -= events >> periods; in fprop_new_period()
79 p->period += periods; in fprop_new_period()
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dcs35l33.txt57 cirrus,release-rate : The number of consecutive LRCLK periods before
58 allowing release condition tracking updates. The number of LRCLK periods
83 - cirrus,vp-hg-rate : The rate (number of LRCLK periods) at which the VPhg is
86 periods, 2048 periods, 32768 periods, and 524288 periods.
87 The default is 32768 periods.
/linux-6.12.1/drivers/media/rc/
Dir-spi.c49 unsigned int periods; in ir_spi_tx() local
53 periods = DIV_ROUND_CLOSEST(buffer[i] * idata->freq, 1000000); in ir_spi_tx()
55 if (len + periods >= IR_SPI_MAX_BUFSIZE) in ir_spi_tx()
64 for (j = 0; j < periods; j++) in ir_spi_tx()
Diguanair.c324 unsigned int i, size, p, periods; in iguanair_tx() local
329 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
330 while (periods) { in iguanair_tx()
331 p = min(periods, 127u); in iguanair_tx()
337 periods -= p; in iguanair_tx()
/linux-6.12.1/include/sound/
Dpcm_oss.h19 unsigned int periods; member
38 unsigned int periods; member
/linux-6.12.1/Documentation/RCU/Design/Expedited-Grace-Periods/
DExpedited-Grace-Periods.rst8 This document describes RCU's expedited grace periods.
9 Unlike RCU's normal grace periods, which accept long latencies to attain
10 high efficiency and minimal disturbance, expedited grace periods accept
20 The expedited RCU grace periods cannot be accused of being subtle,
140 The expedited nature of expedited grace periods require a much tighter
142 grace periods. In addition, attempting to IPI offline CPUs will result
144 periods. Neither option is acceptable in production kernels.
146 The interaction between expedited grace periods and CPU hotplug
244 In summary, RCU expedited grace periods check for idle when building the
252 periods would have abysmal scalability and problematic high-load
[all …]
/linux-6.12.1/sound/soc/fsl/
Dimx-pcm-fiq.c35 int periods; member
79 iprtd->periods = params_periods(params); in snd_imx_pcm_hw_params()
97 regs.ARM_r8 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare()
99 regs.ARM_r9 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare()
/linux-6.12.1/drivers/watchdog/
Dwdat_wdt.c279 unsigned int periods; in wdat_wdt_set_timeout() local
282 periods = timeout * 1000 / wdat->period; in wdat_wdt_set_timeout()
283 ret = wdat_wdt_run_action(wdat, ACPI_WDAT_SET_COUNTDOWN, periods, NULL); in wdat_wdt_set_timeout()
292 u32 periods = 0; in wdat_wdt_get_timeleft() local
294 wdat_wdt_run_action(wdat, ACPI_WDAT_GET_CURRENT_COUNTDOWN, 0, &periods); in wdat_wdt_get_timeleft()
295 return periods * wdat->period / 1000; in wdat_wdt_get_timeleft()
Docteon-wdt-main.c427 unsigned int periods; in octeon_wdt_calc_parameters() local
439 periods = t / timeout_sec; in octeon_wdt_calc_parameters()
446 countdown_reset = periods > 2 ? periods - 2 : 0; in octeon_wdt_calc_parameters()
/linux-6.12.1/sound/virtio/
Dvirtio_pcm_msg.c133 unsigned int periods, unsigned int period_bytes) in virtsnd_pcm_msg_alloc() argument
138 vss->msgs = kcalloc(periods, sizeof(*vss->msgs), GFP_KERNEL); in virtsnd_pcm_msg_alloc()
142 vss->nmsgs = periods; in virtsnd_pcm_msg_alloc()
144 for (i = 0; i < periods; ++i) { in virtsnd_pcm_msg_alloc()
/linux-6.12.1/sound/pci/
Datiixp_modem.c210 unsigned int period_bytes, periods; member
312 unsigned int periods, in atiixp_build_dma_packets() argument
319 if (periods > ATI_MAX_DESCRIPTORS) in atiixp_build_dma_packets()
326 dma->period_bytes = dma->periods = 0; /* clear */ in atiixp_build_dma_packets()
329 if (dma->periods == periods && dma->period_bytes == period_bytes) in atiixp_build_dma_packets()
342 for (i = 0; i < periods; i++) { in atiixp_build_dma_packets()
349 if (i == periods - 1) in atiixp_build_dma_packets()
360 dma->periods = periods; in atiixp_build_dma_packets()
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6apm-dai.c68 unsigned int periods; member
264 (prtd->pcm_size / prtd->periods), prtd->periods); in q6apm_dai_prepare()
286 for (i = 0; i < runtime->periods; i++) in q6apm_dai_prepare()
451 prtd->periods = params_periods(params); in q6apm_dai_hw_params()
650 prtd->periods = runtime->fragments; in q6apm_dai_compr_set_params()
682 prtd->phys, (prtd->pcm_size / prtd->periods), in q6apm_dai_compr_set_params()
683 prtd->periods); in q6apm_dai_compr_set_params()
/linux-6.12.1/drivers/dma/xilinx/
Dxdma.c104 u32 periods; member
672 unsigned int periods = size / period_size; in xdma_prep_dma_cyclic() local
688 if (periods > XDMA_DESC_ADJACENT) { in xdma_prep_dma_cyclic()
693 sw_desc = xdma_alloc_desc(xdma_chan, periods, true); in xdma_prep_dma_cyclic()
697 sw_desc->periods = periods; in xdma_prep_dma_cyclic()
714 for (i = 0; i < periods; i++) { in xdma_prep_dma_cyclic()
759 sw_desc->periods = xt->numf; in xdma_prep_interleaved_dma()
862 period_idx = desc->completed_desc_num % desc->periods; in xdma_tx_status()
863 residue = (desc->periods - period_idx) * desc->period_size; in xdma_tx_status()
937 desc->frames_left = desc->periods; in xdma_channel_isr()
/linux-6.12.1/drivers/thermal/st/
Dstm_thermal.c353 u32 periods; in stm_thermal_get_temp() local
360 ret = readl_relaxed_poll_timeout(sensor->base + DTS_DR_OFFSET, periods, in stm_thermal_get_temp()
361 (periods & TS1_MFREQ_MASK), in stm_thermal_get_temp()
367 freqM = (clk_get_rate(sensor->clk) * SAMPLING_TIME) / periods; in stm_thermal_get_temp()

1234567