Home
last modified time | relevance | path

Searched full:cycle (Results 1 – 25 of 2951) sorted by relevance

12345678910>>...119

/kernel/linux/linux-5.10/include/linux/
Dtimecounter.h19 * Depending on which hardware it reads, the cycle counter may wrap
23 * @read: returns the current cycle value
27 * @mult: cycle to nanosecond multiplier
28 * @shift: cycle to nanosecond divisor (power of two)
40 * cycle counter wrap around. Initialize with
41 * timecounter_init(). Also used to convert cycle counts into the
44 * cycle counter hardware, locking issues and reading the time
45 * more often than the cycle counter wraps around. The nanosecond
48 * @cc: the cycle counter used by this instance
49 * @cycle_last: most recent cycle counter value seen by
[all …]
/kernel/linux/linux-4.19/include/linux/
Dtimecounter.h28 * Depending on which hardware it reads, the cycle counter may wrap
32 * @read: returns the current cycle value
36 * @mult: cycle to nanosecond multiplier
37 * @shift: cycle to nanosecond divisor (power of two)
49 * cycle counter wrap around. Initialize with
50 * timecounter_init(). Also used to convert cycle counts into the
53 * cycle counter hardware, locking issues and reading the time
54 * more often than the cycle counter wraps around. The nanosecond
57 * @cc: the cycle counter used by this instance
58 * @cycle_last: most recent cycle counter value seen by
[all …]
/kernel/linux/linux-5.10/drivers/vme/bridges/
Dvme_fake.c49 u32 cycle; member
57 u32 cycle; member
156 dma_addr_t buf_base, u32 aspace, u32 cycle) in fake_slave_set() argument
213 bridge->slaves[i].cycle = cycle; in fake_slave_set()
225 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in fake_slave_get() argument
241 *cycle = bridge->slaves[i].cycle; in fake_slave_get()
253 u32 aspace, u32 cycle, u32 dwidth) in fake_master_set() argument
321 bridge->masters[i].cycle = cycle; in fake_master_set()
340 u32 *aspace, u32 *cycle, u32 *dwidth) in __fake_master_get() argument
353 *cycle = bridge->masters[i].cycle; in __fake_master_get()
[all …]
Dvme_tsi148.c473 dma_addr_t pci_base, u32 aspace, u32 cycle) in tsi148_slave_set() argument
561 switch (cycle & (VME_2eSST160 | VME_2eSST267 | VME_2eSST320)) { in tsi148_slave_set()
573 /* Setup cycle types */ in tsi148_slave_set()
575 if (cycle & VME_BLT) in tsi148_slave_set()
577 if (cycle & VME_MBLT) in tsi148_slave_set()
579 if (cycle & VME_2eVME) in tsi148_slave_set()
581 if (cycle & VME_2eSST) in tsi148_slave_set()
583 if (cycle & VME_2eSSTB) in tsi148_slave_set()
591 if (cycle & VME_SUPER) in tsi148_slave_set()
593 if (cycle & VME_USER) in tsi148_slave_set()
[all …]
/kernel/linux/linux-4.19/drivers/vme/bridges/
Dvme_fake.c53 u32 cycle; member
61 u32 cycle; member
160 dma_addr_t buf_base, u32 aspace, u32 cycle) in fake_slave_set() argument
217 bridge->slaves[i].cycle = cycle; in fake_slave_set()
229 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in fake_slave_get() argument
245 *cycle = bridge->slaves[i].cycle; in fake_slave_get()
257 u32 aspace, u32 cycle, u32 dwidth) in fake_master_set() argument
325 bridge->masters[i].cycle = cycle; in fake_master_set()
344 u32 *aspace, u32 *cycle, u32 *dwidth) in __fake_master_get() argument
357 *cycle = bridge->masters[i].cycle; in __fake_master_get()
[all …]
Dvme_tsi148.c477 dma_addr_t pci_base, u32 aspace, u32 cycle) in tsi148_slave_set() argument
565 switch (cycle & (VME_2eSST160 | VME_2eSST267 | VME_2eSST320)) { in tsi148_slave_set()
577 /* Setup cycle types */ in tsi148_slave_set()
579 if (cycle & VME_BLT) in tsi148_slave_set()
581 if (cycle & VME_MBLT) in tsi148_slave_set()
583 if (cycle & VME_2eVME) in tsi148_slave_set()
585 if (cycle & VME_2eSST) in tsi148_slave_set()
587 if (cycle & VME_2eSSTB) in tsi148_slave_set()
595 if (cycle & VME_SUPER) in tsi148_slave_set()
597 if (cycle & VME_USER) in tsi148_slave_set()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-timings.c72 u16 cycle = 0; in ide_pio_cycle_time() local
76 cycle = id[ATA_ID_EIDE_PIO_IORDY]; in ide_pio_cycle_time()
78 cycle = id[ATA_ID_EIDE_PIO]; in ide_pio_cycle_time()
81 if (pio < 3 && cycle < t->cycle) in ide_pio_cycle_time()
82 cycle = 0; /* use standard timing */ in ide_pio_cycle_time()
86 cycle = 0; in ide_pio_cycle_time()
89 return cycle ? cycle : t->cycle; in ide_pio_cycle_time()
105 q->cycle = EZ(t->cycle, T); in ide_timing_quantize()
125 m->cycle = max(a->cycle, b->cycle); in ide_timing_merge()
151 * PIO/MWDMA cycle timing. in ide_timing_compute()
[all …]
/kernel/linux/linux-4.19/drivers/ide/
Dide-timings.c85 u16 cycle = 0; in ide_pio_cycle_time() local
89 cycle = id[ATA_ID_EIDE_PIO_IORDY]; in ide_pio_cycle_time()
91 cycle = id[ATA_ID_EIDE_PIO]; in ide_pio_cycle_time()
94 if (pio < 3 && cycle < t->cycle) in ide_pio_cycle_time()
95 cycle = 0; /* use standard timing */ in ide_pio_cycle_time()
99 cycle = 0; in ide_pio_cycle_time()
102 return cycle ? cycle : t->cycle; in ide_pio_cycle_time()
118 q->cycle = EZ(t->cycle, T); in ide_timing_quantize()
138 m->cycle = max(a->cycle, b->cycle); in ide_timing_merge()
164 * PIO/MWDMA cycle timing. in ide_timing_compute()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json6 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
13 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
20 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
27 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
34 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
41 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
48 …X, and SSE instructions, including moves. Each increment represents a one-cycle dispatch event. Th…
55 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
62 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
69 …, and SSE instructions, including moves. Each increment represents a one- cycle dispatch event. Th…
[all …]
/kernel/linux/linux-4.19/sound/firewire/
Damdtp-stream.c328 unsigned int cycle) in calculate_syt() argument
361 syt = (cycle + syt_offset / TICKS_PER_CYCLE) << 12; in calculate_syt()
438 unsigned int payload_length, unsigned int cycle, in handle_out_packet() argument
448 syt = calculate_syt(s, cycle); in handle_out_packet()
470 trace_out_packet(s, cycle, buffer, payload_length, index); in handle_out_packet()
484 unsigned int payload_length, unsigned int cycle, in handle_out_packet_without_header() argument
494 syt = calculate_syt(s, cycle); in handle_out_packet_without_header()
501 trace_out_packet_without_header(s, cycle, payload_length, data_blocks, in handle_out_packet_without_header()
516 unsigned int payload_length, unsigned int cycle, in handle_in_packet() argument
532 trace_in_packet(s, cycle, cip_header, payload_length, index); in handle_in_packet()
[all …]
/kernel/linux/linux-4.19/scripts/
Dheaderdep.pl114 # $cycle[n] includes $cycle[n + 1];
115 # $cycle[-1] will be the culprit
116 my $cycle = shift;
119 for my $i (0 .. $#$cycle - 1) {
120 $cycle->[$i]->[0] = $cycle->[$i + 1]->[0];
122 $cycle->[-1]->[0] = 0;
124 my $first = shift @$cycle;
125 my $last = pop @$cycle;
130 for my $header (reverse @$cycle) {
141 # Find and print the smallest cycle starting in the specified node.
[all …]
/kernel/linux/linux-5.10/scripts/
Dheaderdep.pl114 # $cycle[n] includes $cycle[n + 1];
115 # $cycle[-1] will be the culprit
116 my $cycle = shift;
119 for my $i (0 .. $#$cycle - 1) {
120 $cycle->[$i]->[0] = $cycle->[$i + 1]->[0];
122 $cycle->[-1]->[0] = 0;
124 my $first = shift @$cycle;
125 my $last = pop @$cycle;
130 for my $header (reverse @$cycle) {
141 # Find and print the smallest cycle starting in the specified node.
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-pata-timings.c70 q->cycle = EZ(t->cycle, T); in ata_timing_quantize()
92 m->cycle = max(a->cycle, b->cycle); in ata_timing_merge()
133 * PIO/MW_DMA cycle timing. in ata_timing_compute()
141 p.cycle = p.cyc8b = id[ATA_ID_EIDE_PIO]; in ata_timing_compute()
144 p.cycle = p.cyc8b = id[ATA_ID_EIDE_PIO_IORDY]; in ata_timing_compute()
146 p.cycle = id[ATA_ID_EIDE_DMA_MIN]; in ata_timing_compute()
160 * DMA cycle timing is slower/equal than the fastest PIO timing. in ata_timing_compute()
169 * Lengthen active & recovery time so that cycle time is correct. in ata_timing_compute()
177 if (t->active + t->recover < t->cycle) { in ata_timing_compute()
178 t->active += (t->cycle - (t->active + t->recover)) / 2; in ata_timing_compute()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
19 appropriate duty-cycle values. This allows for a much
22 assumption that a %50 duty-cycle value will cause the
33 - voltage-table: Voltage and Duty-Cycle table consisting of 2 cells
35 Second cell is duty-cycle in percent (%)
38 - pwm-dutycycle-unit: Integer value encoding the duty cycle unit. If not
46 Duty cycle values are expressed in pwm-dutycycle-unit.
71 * Inverted PWM logic, and the duty cycle range is limited
85 /* Voltage Duty-Cycle */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
19 appropriate duty-cycle values. This allows for a much
22 assumption that a %50 duty-cycle value will cause the
33 - voltage-table: Voltage and Duty-Cycle table consisting of 2 cells
35 Second cell is duty-cycle in percent (%)
38 - pwm-dutycycle-unit: Integer value encoding the duty cycle unit. If not
46 Duty cycle values are expressed in pwm-dutycycle-unit.
71 * Inverted PWM logic, and the duty cycle range is limited
85 /* Voltage Duty-Cycle */
/kernel/linux/linux-4.19/Documentation/hwmon/
Ddme1737144 cycle) of the input. The chip adjusts the sampling rate based on this value.
155 manual mode, the fan speed is set by writing the duty-cycle value to the
157 current duty-cycle as set by the fan controller in the chip. All PWM outputs
174 pwm[1-3]_auto_point2_pwm full-speed duty-cycle (255, i.e., 100%)
175 pwm[1-3]_auto_point1_pwm low-speed duty-cycle
176 pwm[1-3]_auto_pwm_min min-speed duty-cycle
183 The chip adjusts the output duty-cycle linearly in the range of auto_point1_pwm
186 auto_point1_temp_hyst value, the output duty-cycle is set to the auto_pwm_min
189 duty-cycle. If any of the temperatures rise above the auto_point3_temp value,
190 all PWM outputs are set to 100% duty-cycle.
[all …]
Dvt1211179 PWM Auto Point PWM Output Duty-Cycle
181 pwm[1-2]_auto_point4_pwm full speed duty-cycle (hard-wired to 255)
182 pwm[1-2]_auto_point3_pwm high speed duty-cycle
183 pwm[1-2]_auto_point2_pwm low speed duty-cycle
184 pwm[1-2]_auto_point1_pwm off duty-cycle (hard-wired to 0)
194 PWM output duty-cycle based on the input temperature:
196 Thermal Threshold Output Duty-Cycle
199 full speed duty-cycle full speed duty-cycle
201 high speed duty-cycle full speed duty-cycle
203 low speed duty-cycle high speed duty-cycle
[all …]
/kernel/linux/linux-4.19/arch/alpha/lib/
Dev6-csum_ipv6_magic.S36 * (we can't hide the 3-cycle latency of the unpkbw in the 6-instruction sequence)
116 cmpult $20,$3,$3 # E : (1 cycle stall on $20)
117 addq $20,$18,$20 # E : U L U L (1 cycle stall on $20)
120 addq $20,$19,$20 # E : (1 cycle stall on $20)
125 addq $18,$19,$18 # E : (1 cycle stall on $19)
128 /* (1 cycle stall on $18, 2 cycles on $20) */
131 zapnot $0,15,$1 # U : Start folding output (1 cycle stall on $0)
133 srl $0,32,$0 # U : U L U L : (1 cycle stall on $0)
136 extwl $1,2,$2 # U : ushort[1] (1 cycle stall on $1)
137 zapnot $1,3,$0 # U : ushort[0] (1 cycle stall on $1)
[all …]
/kernel/linux/linux-5.10/arch/alpha/lib/
Dev6-csum_ipv6_magic.S36 * (we can't hide the 3-cycle latency of the unpkbw in the 6-instruction sequence)
116 cmpult $20,$3,$3 # E : (1 cycle stall on $20)
117 addq $20,$18,$20 # E : U L U L (1 cycle stall on $20)
120 addq $20,$19,$20 # E : (1 cycle stall on $20)
125 addq $18,$19,$18 # E : (1 cycle stall on $19)
128 /* (1 cycle stall on $18, 2 cycles on $20) */
131 zapnot $0,15,$1 # U : Start folding output (1 cycle stall on $0)
133 srl $0,32,$0 # U : U L U L : (1 cycle stall on $0)
136 extwl $1,2,$2 # U : ushort[1] (1 cycle stall on $1)
137 zapnot $1,3,$0 # U : ushort[0] (1 cycle stall on $1)
[all …]
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-sl28cpld.c25 * - The hardware cannot generate a 100% duty cycle if the prescaler is 0.
30 * - The duty cycle will switch immediately and not after a complete cycle.
59 * We calculate the duty cycle like this:
124 unsigned int cycle, prescaler; in sl28cpld_pwm_apply() local
147 cycle = SL28CPLD_PWM_FROM_DUTY_CYCLE(state->duty_cycle); in sl28cpld_pwm_apply()
148 cycle = min_t(unsigned int, cycle, SL28CPLD_PWM_MAX_DUTY_CYCLE(prescaler)); in sl28cpld_pwm_apply()
152 * cycle if the prescaler is 0. Set prescaler to 1 instead. We don't in sl28cpld_pwm_apply()
158 if (cycle == SL28CPLD_PWM_MAX_DUTY_CYCLE(0)) { in sl28cpld_pwm_apply()
161 cycle = SL28CPLD_PWM_MAX_DUTY_CYCLE(1); in sl28cpld_pwm_apply()
166 * we have a valid duty cycle for the new mode. in sl28cpld_pwm_apply()
[all …]
/kernel/linux/linux-5.10/kernel/locking/
Dtest-ww_mutex.c248 struct test_cycle *cycle = container_of(work, typeof(*cycle), work); in test_cycle_work() local
253 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
255 complete(cycle->a_signal); in test_cycle_work()
256 wait_for_completion(&cycle->b_signal); in test_cycle_work()
258 err = ww_mutex_lock(cycle->b_mutex, &ctx); in test_cycle_work()
261 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
262 ww_mutex_lock_slow(cycle->b_mutex, &ctx); in test_cycle_work()
263 erra = ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
267 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
269 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
[all …]
/kernel/linux/linux-4.19/kernel/locking/
Dtest-ww_mutex.c261 struct test_cycle *cycle = container_of(work, typeof(*cycle), work); in test_cycle_work() local
266 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
268 complete(cycle->a_signal); in test_cycle_work()
269 wait_for_completion(&cycle->b_signal); in test_cycle_work()
271 err = ww_mutex_lock(cycle->b_mutex, &ctx); in test_cycle_work()
274 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
275 ww_mutex_lock_slow(cycle->b_mutex, &ctx); in test_cycle_work()
276 erra = ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
280 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
282 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_tas.c88 dev_dbg(ds->dev, "longest cycle time %lld ns\n", max_cycle_time); in sja1105_tas_set_runtime_params()
101 * iterate cyclically through the "schedule". Each "cycle" has an entry point
103 * hardware calls each cycle a "subschedule".
105 * Subschedule (cycle) i starts when
123 * |cycle 0|cycle 1|
151 * - cycle 0: iterates the schedule table from 0 to 2 (and back)
152 * - cycle 1: iterates the schedule table from 3 to 5 (and back)
173 int cycle = 0; in sja1105_init_scheduling() local
299 schedule_entry_points[cycle].subschindx = cycle; in sja1105_init_scheduling()
300 schedule_entry_points[cycle].delta = entry_point_delta; in sja1105_init_scheduling()
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Ddme1737.rst167 cycle) of the input. The chip adjusts the sampling rate based on this value.
178 manual mode, the fan speed is set by writing the duty-cycle value to the
180 current duty-cycle as set by the fan controller in the chip. All PWM outputs
198 pwm[1-3]_auto_point2_pwm full-speed duty-cycle (255, i.e., 100%)
199 pwm[1-3]_auto_point1_pwm low-speed duty-cycle
200 pwm[1-3]_auto_pwm_min min-speed duty-cycle
208 The chip adjusts the output duty-cycle linearly in the range of auto_point1_pwm
211 auto_point1_temp_hyst value, the output duty-cycle is set to the auto_pwm_min
214 duty-cycle. If any of the temperatures rise above the auto_point3_temp value,
215 all PWM outputs are set to 100% duty-cycle.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/
Dsh-msiof.txt62 50 (0.5-clock-cycle delay)
63 100 (1-clock-cycle delay)
64 150 (1.5-clock-cycle delay)
65 200 (2-clock-cycle delay)
70 50 (0.5-clock-cycle delay)
71 100 (1-clock-cycle delay)
72 150 (1.5-clock-cycle delay)
73 200 (2-clock-cycle delay)
74 300 (3-clock-cycle delay)

12345678910>>...119