Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.15/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
560 switch (cycle & (VME_2eSST160 | VME_2eSST267 | VME_2eSST320)) { in tsi148_slave_set()
574 if (cycle & VME_BLT) in tsi148_slave_set()
576 if (cycle & VME_MBLT) in tsi148_slave_set()
578 if (cycle & VME_2eVME) in tsi148_slave_set()
580 if (cycle & VME_2eSST) in tsi148_slave_set()
582 if (cycle & VME_2eSSTB) in tsi148_slave_set()
590 if (cycle & VME_SUPER) in tsi148_slave_set()
592 if (cycle & VME_USER) in tsi148_slave_set()
594 if (cycle & VME_PROG) in tsi148_slave_set()
[all …]
Dvme_ca91cx42.c335 dma_addr_t pci_base, u32 aspace, u32 cycle) in ca91cx42_slave_set() argument
419 if (cycle & VME_SUPER) in ca91cx42_slave_set()
421 if (cycle & VME_USER) in ca91cx42_slave_set()
423 if (cycle & VME_PROG) in ca91cx42_slave_set()
425 if (cycle & VME_DATA) in ca91cx42_slave_set()
441 dma_addr_t *pci_base, u32 *aspace, u32 *cycle) in ca91cx42_slave_get() argument
468 *cycle = 0; in ca91cx42_slave_get()
485 *cycle |= VME_SUPER; in ca91cx42_slave_get()
487 *cycle |= VME_USER; in ca91cx42_slave_get()
489 *cycle |= VME_PROG; in ca91cx42_slave_get()
[all …]
/Linux-v5.15/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()
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()
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()
179 t->recover = t->cycle - t->active; in ata_timing_compute()
187 if (t->active + t->recover > t->cycle) in ata_timing_compute()
188 t->cycle = t->active + t->recover; in ata_timing_compute()
/Linux-v5.15/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-v5.15/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-v5.15/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 …]
/Linux-v5.15/drivers/clocksource/
Dtimer-atmel-pit.c43 u32 cycle; member
85 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
95 pit_write(data->base, AT91_PIT_MR, (data->cycle - 1) | AT91_PIT_PITEN); in pit_clkevt_shutdown()
107 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); in pit_clkevt_set_periodic()
109 (data->cycle - 1) | AT91_PIT_PITEN | AT91_PIT_PITIEN); in pit_clkevt_set_periodic()
132 (data->cycle - 1) | AT91_PIT_PITEN); in at91sam926x_pit_reset()
153 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, in at91sam926x_pit_interrupt()
210 data->cycle = DIV_ROUND_CLOSEST(pit_rate, HZ); in at91sam926x_pit_dt_init()
211 WARN_ON(((data->cycle - 1) & ~AT91_PIT_PIV) != 0); in at91sam926x_pit_dt_init()
220 bits = 12 /* PICNT */ + ilog2(data->cycle) /* PIV */; in at91sam926x_pit_dt_init()
/Linux-v5.15/tools/power/cpupower/bench/
Dbenchmark.c80 unsigned int _round, cycle; in start_benchmark() local
125 for (cycle = 0; cycle < config->cycles; cycle++) { in start_benchmark()
151 for (cycle = 0; cycle < config->cycles; cycle++) { in start_benchmark()
/Linux-v5.15/drivers/pwm/
Dpwm-sl28cpld.c124 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()
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()
176 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply()
186 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply()
/Linux-v5.15/fs/xfs/
Dxfs_log_priv.h538 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument
542 *cycle = CYCLE_LSN(val); in xlog_crack_atomic_lsn()
550 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument
552 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
561 xlog_crack_grant_head_val(int64_t val, int *cycle, int *space) in xlog_crack_grant_head_val() argument
563 *cycle = val >> 32; in xlog_crack_grant_head_val()
568 xlog_crack_grant_head(atomic64_t *head, int *cycle, int *space) in xlog_crack_grant_head() argument
570 xlog_crack_grant_head_val(atomic64_read(head), cycle, space); in xlog_crack_grant_head()
574 xlog_assign_grant_head_val(int cycle, int space) in xlog_assign_grant_head_val() argument
576 return ((int64_t)cycle << 32) | space; in xlog_assign_grant_head_val()
[all …]
Dxfs_sysfs.c321 int cycle; in log_head_lsn_show() local
326 cycle = log->l_curr_cycle; in log_head_lsn_show()
330 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_head_lsn_show()
339 int cycle; in log_tail_lsn_show() local
343 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show()
344 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_tail_lsn_show()
354 int cycle; in reserve_grant_head_show() local
358 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
359 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in reserve_grant_head_show()
368 int cycle; in write_grant_head_show() local
[all …]
/Linux-v5.15/sound/firewire/
Damdtp-stream.c472 static unsigned int compute_syt_offset(unsigned int syt, unsigned int cycle, in compute_syt_offset() argument
475 unsigned int cycle_lo = (cycle % CYCLES_PER_SECOND) & 0x0f; in compute_syt_offset()
523 dst->syt_offset = compute_syt_offset(src->syt, src->cycle, transfer_delay); in cache_seq()
678 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header() argument
698 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header()
797 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header() argument
845 trace_amdtp_packet(s, cycle, cip_header, payload_length, *data_blocks, in parse_ir_ctx_header()
860 static inline u32 increment_ohci_cycle_count(u32 cycle, unsigned int addend) in increment_ohci_cycle_count() argument
862 cycle += addend; in increment_ohci_cycle_count()
863 if (cycle >= OHCI_SECOND_MODULUS * CYCLES_PER_SECOND) in increment_ohci_cycle_count()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/vme/
Dvme.c167 u32 aspace, cycle, dwidth; in vme_get_size() local
172 &aspace, &cycle, &dwidth); in vme_get_size()
179 &buf_base, &aspace, &cycle); in vme_get_size()
282 u32 cycle) in vme_slave_request() argument
309 ((slave_image->cycle_attr & cycle) == cycle) && in vme_slave_request()
363 dma_addr_t buf_base, u32 aspace, u32 cycle) in vme_slave_set() argument
382 ((image->cycle_attr & cycle) == cycle))) { in vme_slave_set()
392 aspace, cycle); in vme_slave_set()
413 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in vme_slave_get() argument
431 aspace, cycle); in vme_slave_get()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_tsn.c86 u32 sec, nsec, cycle; in igc_tsn_enable_offload() local
90 cycle = adapter->cycle_time; in igc_tsn_enable_offload()
101 wr32(IGC_QBVCYCLET_S, cycle); in igc_tsn_enable_offload()
102 wr32(IGC_QBVCYCLET, cycle); in igc_tsn_enable_offload()
221 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
222 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
/Linux-v5.15/arch/mips/dec/
Dkn02xa-berr.c53 const char *kind, *agent, *cycle, *event; in dec_kn02xa_be_backend() local
72 cycle = mreadstr; in dec_kn02xa_be_backend()
75 cycle = invoker ? writestr : readstr; in dec_kn02xa_be_backend()
84 kind, agent, cycle, event, address); in dec_kn02xa_be_backend()
/Linux-v5.15/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-v5.15/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 …]
Dvt1211.rst196 pwm[1-2]_auto_point4_pwm full speed duty-cycle (hard-wired to 255)
197 pwm[1-2]_auto_point3_pwm high speed duty-cycle
198 pwm[1-2]_auto_point2_pwm low speed duty-cycle
199 pwm[1-2]_auto_point1_pwm off duty-cycle (hard-wired to 0)
212 PWM output duty-cycle based on the input temperature:
218 - full speed duty-cycle full speed duty-cycle
220 - high speed duty-cycle full speed duty-cycle
222 - low speed duty-cycle high speed duty-cycle
224 - off duty-cycle low speed duty-cycle
/Linux-v5.15/drivers/mfd/
Datmel-smc.c229 conf->cycle &= ~GENMASK(shift + 15, shift); in atmel_smc_cs_conf_set_cycle()
230 conf->cycle |= val << shift; in atmel_smc_cs_conf_set_cycle()
250 regmap_write(regmap, ATMEL_SMC_CYCLE(cs), conf->cycle); in atmel_smc_cs_conf_apply()
271 regmap_write(regmap, ATMEL_HSMC_CYCLE(layout, cs), conf->cycle); in atmel_hsmc_cs_conf_apply()
291 regmap_read(regmap, ATMEL_SMC_CYCLE(cs), &conf->cycle); in atmel_smc_cs_conf_get()
312 regmap_read(regmap, ATMEL_HSMC_CYCLE(layout, cs), &conf->cycle); in atmel_hsmc_cs_conf_get()
/Linux-v5.15/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-v5.15/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>;
/Linux-v5.15/net/sched/
Dact_gate.c38 ktime_t now, base, cycle; in gate_get_start_time() local
49 cycle = param->tcfg_cycletime; in gate_get_start_time()
51 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_get_start_time()
52 *start = ktime_add_ns(base, (n + 1) * cycle); in gate_get_start_time()
99 ktime_t cycle, base; in gate_timer_func() local
102 cycle = p->tcfg_cycletime; in gate_timer_func()
104 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_timer_func()
105 close_time = ktime_add_ns(base, (n + 1) * cycle); in gate_timer_func()
403 ktime_t cycle = 0; in tcf_gate_init() local
406 cycle = ktime_add_ns(cycle, entry->interval); in tcf_gate_init()
[all …]

12345678910>>...15