Home
last modified time | relevance | path

Searched refs:cycle (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/Linux-v4.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()
171 p.cycle = p.cyc8b = id[ATA_ID_EIDE_PIO]; in ide_timing_compute()
[all …]
Dtx4938ide.c30 unsigned int cycle = 1000000000 / clock; in tx4938ide_tune_ebusc() local
35 wt = DIV_ROUND_UP(t->act8b, cycle) - 2; in tx4938ide_tune_ebusc()
37 wt = max_t(int, wt, DIV_ROUND_UP(35, cycle)); in tx4938ide_tune_ebusc()
43 shwt = DIV_ROUND_UP(t->setup, cycle); in tx4938ide_tune_ebusc()
46 while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle) in tx4938ide_tune_ebusc()
53 ebus_ch, cycle, wt, shwt); in tx4938ide_tune_ebusc()
/Linux-v4.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()
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()
599 if (cycle & VME_PROG) in tsi148_slave_set()
[all …]
Dvme_ca91cx42.c339 dma_addr_t pci_base, u32 aspace, u32 cycle) in ca91cx42_slave_set() argument
423 if (cycle & VME_SUPER) in ca91cx42_slave_set()
425 if (cycle & VME_USER) in ca91cx42_slave_set()
427 if (cycle & VME_PROG) in ca91cx42_slave_set()
429 if (cycle & VME_DATA) in ca91cx42_slave_set()
445 dma_addr_t *pci_base, u32 *aspace, u32 *cycle) in ca91cx42_slave_get() argument
472 *cycle = 0; in ca91cx42_slave_get()
489 *cycle |= VME_SUPER; in ca91cx42_slave_get()
491 *cycle |= VME_USER; in ca91cx42_slave_get()
493 *cycle |= VME_PROG; in ca91cx42_slave_get()
[all …]
/Linux-v4.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 …]
Damdtp-stream-trace.h21 __field(unsigned int, cycle)
34 __entry->cycle = cycles % CYCLES_PER_SECOND;
48 __entry->cycle,
65 __field(unsigned int, cycle)
78 __entry->cycle = cycles % CYCLES_PER_SECOND;
92 __entry->cycle,
109 __field(unsigned int, cycle)
122 __entry->cycle = cycles % CYCLES_PER_SECOND;
136 __entry->cycle,
153 __field(unsigned int, cycle)
[all …]
/Linux-v4.19/scripts/
Dheaderdep.pl116 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) {
/Linux-v4.19/arch/alpha/lib/
Dev6-csum_ipv6_magic.S116 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)
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)
138 extwl $1,4,$1 # U : ushort[2] (1 cycle stall on $1)
143 extwl $3,2,$1 # U : ushort[1] (1 cycle stall on $3)
[all …]
/Linux-v4.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 …]
/Linux-v4.19/fs/xfs/
Dxfs_log_priv.h465 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument
469 *cycle = CYCLE_LSN(val); in xlog_crack_atomic_lsn()
477 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument
479 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
488 xlog_crack_grant_head_val(int64_t val, int *cycle, int *space) in xlog_crack_grant_head_val() argument
490 *cycle = val >> 32; in xlog_crack_grant_head_val()
495 xlog_crack_grant_head(atomic64_t *head, int *cycle, int *space) in xlog_crack_grant_head() argument
497 xlog_crack_grant_head_val(atomic64_read(head), cycle, space); in xlog_crack_grant_head()
501 xlog_assign_grant_head_val(int cycle, int space) in xlog_assign_grant_head_val() argument
503 return ((int64_t)cycle << 32) | space; in xlog_assign_grant_head_val()
[all …]
Dxfs_sysfs.c271 int cycle; in log_head_lsn_show() local
276 cycle = log->l_curr_cycle; in log_head_lsn_show()
280 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_head_lsn_show()
289 int cycle; in log_tail_lsn_show() local
293 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show()
294 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_tail_lsn_show()
304 int cycle; in reserve_grant_head_show() local
308 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
309 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in reserve_grant_head_show()
318 int cycle; in write_grant_head_show() local
[all …]
/Linux-v4.19/drivers/clocksource/
Dtimer-atmel-pit.c46 u32 cycle; member
88 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
98 pit_write(data->base, AT91_PIT_MR, (data->cycle - 1) | AT91_PIT_PITEN); in pit_clkevt_shutdown()
110 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); in pit_clkevt_set_periodic()
112 (data->cycle - 1) | AT91_PIT_PITEN | AT91_PIT_PITIEN); in pit_clkevt_set_periodic()
135 (data->cycle - 1) | AT91_PIT_PITEN); in at91sam926x_pit_reset()
156 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, in at91sam926x_pit_interrupt()
213 data->cycle = DIV_ROUND_CLOSEST(pit_rate, HZ); in at91sam926x_pit_dt_init()
214 WARN_ON(((data->cycle - 1) & ~AT91_PIT_PIV) != 0); in at91sam926x_pit_dt_init()
223 bits = 12 /* PICNT */ + ilog2(data->cycle) /* PIV */; in at91sam926x_pit_dt_init()
/Linux-v4.19/tools/power/cpupower/bench/
Dbenchmark.c93 unsigned int _round, cycle; in start_benchmark() local
138 for (cycle = 0; cycle < config->cycles; cycle++) { in start_benchmark()
164 for (cycle = 0; cycle < config->cycles; cycle++) { in start_benchmark()
/Linux-v4.19/Documentation/devicetree/bindings/input/
Dpwm-vibrator.txt4 strength increases based on the duty cycle of the enable PWM channel
5 (100% duty cycle meaning strongest vibration, 0% meaning no vibration).
8 driven at fixed duty cycle. If available this is can be used to increase
18 - direction-duty-cycle-ns: Duty cycle of the direction PWM channel in
64 direction-duty-cycle-ns = <1000000000>;
/Linux-v4.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
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
/Linux-v4.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)
/Linux-v4.19/drivers/vme/
Dvme.c176 u32 aspace, cycle, dwidth; in vme_get_size() local
181 &aspace, &cycle, &dwidth); in vme_get_size()
189 &buf_base, &aspace, &cycle); in vme_get_size()
295 u32 cycle) in vme_slave_request() argument
322 ((slave_image->cycle_attr & cycle) == cycle) && in vme_slave_request()
376 dma_addr_t buf_base, u32 aspace, u32 cycle) in vme_slave_set() argument
395 ((image->cycle_attr & cycle) == cycle))) { in vme_slave_set()
405 aspace, cycle); in vme_slave_set()
426 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in vme_slave_get() argument
444 aspace, cycle); in vme_slave_get()
[all …]
/Linux-v4.19/arch/mips/dec/
Dkn02xa-berr.c57 const char *kind, *agent, *cycle, *event; in dec_kn02xa_be_backend() local
76 cycle = mreadstr; in dec_kn02xa_be_backend()
79 cycle = invoker ? writestr : readstr; in dec_kn02xa_be_backend()
88 kind, agent, cycle, event, address); in dec_kn02xa_be_backend()
/Linux-v4.19/Documentation/devicetree/bindings/mtd/
Dgpmc-nor.txt21 - gpmc,access-ns: Start cycle to first data capture (read access)
22 - gpmc,rd-cycle-ns: Total read cycle time
23 - gpmc,wr-cycle-ns: Total write cycle time
70 gpmc,rd-cycle-ns = <186>;
71 gpmc,wr-cycle-ns = <186>;
/Linux-v4.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 …]
Dvt1211181 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:
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
205 off duty-cycle low speed duty-cycle
/Linux-v4.19/drivers/mfd/
Datmel-smc.c232 conf->cycle &= ~GENMASK(shift + 15, shift); in atmel_smc_cs_conf_set_cycle()
233 conf->cycle |= val << shift; in atmel_smc_cs_conf_set_cycle()
253 regmap_write(regmap, ATMEL_SMC_CYCLE(cs), conf->cycle); in atmel_smc_cs_conf_apply()
274 regmap_write(regmap, ATMEL_HSMC_CYCLE(layout, cs), conf->cycle); in atmel_hsmc_cs_conf_apply()
294 regmap_read(regmap, ATMEL_SMC_CYCLE(cs), &conf->cycle); in atmel_smc_cs_conf_get()
315 regmap_read(regmap, ATMEL_HSMC_CYCLE(layout, cs), &conf->cycle); in atmel_hsmc_cs_conf_get()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-fs-xfs7 log. The LSN is exported in "cycle:basic block" format.
16 log. The LSN is exported in "cycle:basic block" format.
26 "cycle:bytes" format.
38 "cycle:bytes" format.
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dgpmc-eth.txt36 - gpmc,access-ns: Start cycle to first data capture (read access)
37 - gpmc,rd-cycle-ns: Total read cycle time
38 - gpmc,wr-cycle-ns: Total write cycle time
78 gpmc,rd-cycle-ns = <186>;
79 gpmc,wr-cycle-ns = <186>;

12345678910>>...13