Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.3-rc2/drivers/staging/vme_user/
A Dvme_fake.c213 bridge->slaves[i].cycle = cycle; in fake_slave_set()
241 *cycle = bridge->slaves[i].cycle; in fake_slave_get()
321 bridge->masters[i].cycle = cycle; in fake_master_set()
353 *cycle = bridge->masters[i].cycle; in __fake_master_get()
431 if (cycle != bridge->slaves[i].cycle) in fake_vmeread8()
461 if (cycle != bridge->slaves[i].cycle) in fake_vmeread16()
494 if (cycle != bridge->slaves[i].cycle) in fake_vmeread32()
534 cycle = priv->masters[i].cycle; in fake_master_read()
625 if (cycle != bridge->slaves[i].cycle) in fake_vmewrite8()
727 cycle = bridge->masters[i].cycle; in fake_master_write()
[all …]
A Dvme_tsi148.c568 if (cycle & VME_BLT) in tsi148_slave_set()
650 *cycle = 0; in tsi148_slave_get()
683 *cycle |= VME_BLT; in tsi148_slave_get()
685 *cycle |= VME_MBLT; in tsi148_slave_get()
696 *cycle |= VME_USER; in tsi148_slave_get()
698 *cycle |= VME_PROG; in tsi148_slave_get()
700 *cycle |= VME_DATA; in tsi148_slave_get()
1076 *cycle = 0; in __tsi148_master_get()
1112 *cycle |= VME_SCT; in __tsi148_master_get()
1114 *cycle |= VME_BLT; in __tsi148_master_get()
[all …]
A Dvme.c282 u32 cycle) in vme_slave_request() argument
309 ((slave_image->cycle_attr & cycle) == cycle) && in vme_slave_request()
382 ((image->cycle_attr & cycle) == cycle))) { in vme_slave_set()
392 aspace, cycle); in vme_slave_set()
431 aspace, cycle); in vme_slave_get()
483 u32 cycle, u32 dwidth) in vme_master_request() argument
510 ((master_image->cycle_attr & cycle) == cycle) && in vme_master_request()
586 ((image->cycle_attr & cycle) == cycle) && in vme_master_set()
597 cycle, dwidth); in vme_master_set()
636 cycle, dwidth); in vme_master_get()
[all …]
/linux-6.3-rc2/drivers/ata/
A 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()
A Dpata_icside.c192 unsigned int cycle; in pata_icside_set_dmamode() local
205 if (t.active <= 50 && t.recover <= 375 && t.cycle <= 425) { in pata_icside_set_dmamode()
207 cycle = 187; in pata_icside_set_dmamode()
208 } else if (t.active <= 125 && t.recover <= 375 && t.cycle <= 500) { in pata_icside_set_dmamode()
210 cycle = 250; in pata_icside_set_dmamode()
211 } else if (t.active <= 200 && t.recover <= 550 && t.cycle <= 750) { in pata_icside_set_dmamode()
213 cycle = 437; in pata_icside_set_dmamode()
216 cycle = 562; in pata_icside_set_dmamode()
220 t.active, t.recover, t.cycle, iomd_type); in pata_icside_set_dmamode()
222 state->port[ap->port_no].speed[adev->devno] = cycle; in pata_icside_set_dmamode()
/linux-6.3-rc2/arch/alpha/lib/
A 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-6.3-rc2/scripts/
A 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-6.3-rc2/kernel/locking/
A Dtest-ww_mutex.c288 struct test_cycle *cycle = container_of(work, typeof(*cycle), work); in test_cycle_work() local
293 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
295 complete(cycle->a_signal); in test_cycle_work()
301 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
307 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work()
309 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
312 cycle->result = err ?: erra; in test_cycle_work()
338 init_completion(&cycle->b_signal); in __test_cycle()
341 cycle->result = 0; in __test_cycle()
353 if (!cycle->result) in __test_cycle()
[all …]
/linux-6.3-rc2/drivers/clocksource/
A 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-6.3-rc2/Documentation/devicetree/bindings/input/
A Dpwm-vibrator.yaml14 strength increases based on the duty cycle of the enable PWM channel
15 (100% duty cycle meaning strongest vibration, 0% meaning no vibration).
18 driven at fixed duty cycle. If available this is can be used to increase
37 direction-duty-cycle-ns:
39 Duty cycle of the direction PWM channel in nanoseconds,
56 direction-duty-cycle-ns = <1000000000>;
/linux-6.3-rc2/tools/power/cpupower/bench/
A 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-6.3-rc2/drivers/pwm/
A Dpwm-sl28cpld.c126 unsigned int cycle, prescaler; in sl28cpld_pwm_apply() local
149 cycle = SL28CPLD_PWM_FROM_DUTY_CYCLE(state->duty_cycle); in sl28cpld_pwm_apply()
150 cycle = min_t(unsigned int, cycle, SL28CPLD_PWM_MAX_DUTY_CYCLE(prescaler)); in sl28cpld_pwm_apply()
160 if (cycle == SL28CPLD_PWM_MAX_DUTY_CYCLE(0)) { in sl28cpld_pwm_apply()
163 cycle = SL28CPLD_PWM_MAX_DUTY_CYCLE(1); in sl28cpld_pwm_apply()
178 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply()
188 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply()
/linux-6.3-rc2/fs/xfs/
A Dxfs_log_priv.h533 *cycle = CYCLE_LSN(val); in xlog_crack_atomic_lsn()
541 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument
543 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
552 xlog_crack_grant_head_val(int64_t val, int *cycle, int *space) in xlog_crack_grant_head_val() argument
554 *cycle = val >> 32; in xlog_crack_grant_head_val()
559 xlog_crack_grant_head(atomic64_t *head, int *cycle, int *space) in xlog_crack_grant_head() argument
561 xlog_crack_grant_head_val(atomic64_read(head), cycle, space); in xlog_crack_grant_head()
565 xlog_assign_grant_head_val(int cycle, int space) in xlog_assign_grant_head_val() argument
567 return ((int64_t)cycle << 32) | space; in xlog_assign_grant_head_val()
571 xlog_assign_grant_head(atomic64_t *head, int cycle, int space) in xlog_assign_grant_head() argument
[all …]
A Dxfs_sysfs.c348 int cycle; in log_head_lsn_show() local
353 cycle = log->l_curr_cycle; in log_head_lsn_show()
357 return sysfs_emit(buf, "%d:%d\n", cycle, block); in log_head_lsn_show()
366 int cycle; in log_tail_lsn_show() local
370 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show()
371 return sysfs_emit(buf, "%d:%d\n", cycle, block); in log_tail_lsn_show()
381 int cycle; in reserve_grant_head_show() local
386 return sysfs_emit(buf, "%d:%d\n", cycle, bytes); in reserve_grant_head_show()
395 int cycle; in write_grant_head_show() local
399 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes); in write_grant_head_show()
[all …]
/linux-6.3-rc2/sound/firewire/
A Damdtp-stream.c870 cycle += addend; in increment_ohci_cycle_count()
873 return cycle; in increment_ohci_cycle_count()
922 unsigned int cycle; in generate_tx_packet_descs() local
958 next_cycle, cycle); in generate_tx_packet_descs()
968 desc->cycle = cycle; in generate_tx_packet_descs()
1070 latest_cycle = desc->cycle; in compute_pcm_extra_delay()
1216 unsigned int cycle; in skip_rx_packets() local
1351 unsigned int cycle; in drop_tx_packets() local
1505 if (cycle == UINT_MAX || in drop_tx_packets_initially()
1507 cycle = next_cycle; in drop_tx_packets_initially()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dpwm-regulator.yaml19 duty-cycle values must be provided via DT. Limitations are that the
21 Intermediary duty-cycle values which would normally allow finer grained
29 appropriate duty-cycle values. This allows for a much more fine grained
31 make an assumption that a %50 duty-cycle value will cause the regulator
54 - description: duty-cycle in percent (%)
63 Integer value encoding the duty cycle unit. If not
74 Duty cycle values are expressed in pwm-dutycycle-unit.
103 * Inverted PWM logic, and the duty cycle range is limited
/linux-6.3-rc2/Documentation/admin-guide/perf/
A Dalibaba_pmu.rst27 pmu_cycle_cnt_low and pmu_cycle_cnt_high, that is used as the cycle count
61 -e ali_drw_21000/cycle/ \
65 -e ali_drw_21080/cycle/ \
69 -e ali_drw_23000/cycle/ \
73 -e ali_drw_23080/cycle/ \
77 -e ali_drw_25000/cycle/ \
81 -e ali_drw_25080/cycle/ \
85 -e ali_drw_27000/cycle/ \
89 -e ali_drw_27080/cycle/ -- sleep 10
/linux-6.3-rc2/Documentation/devicetree/bindings/spi/
A Drenesas,sh-msiof.yaml118 - 50 # 0.5-clock-cycle delay
119 - 100 # 1-clock-cycle delay
120 - 150 # 1.5-clock-cycle delay
121 - 200 # 2-clock-cycle delay
128 - 50 # 0.5-clock-cycle delay
129 - 100 # 1-clock-cycle delay
130 - 150 # 1.5-clock-cycle delay
131 - 200 # 2-clock-cycle delay
132 - 300 # 3-clock-cycle delay
/linux-6.3-rc2/arch/mips/dec/
A 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()
A Dkn01-berr.c81 const char *kind, *agent, *cycle, *event; in dec_kn01_be_backend() local
126 cycle = mreadstr; in dec_kn01_be_backend()
129 cycle = invoker ? writestr : readstr; in dec_kn01_be_backend()
138 kind, agent, cycle, event, address); in dec_kn01_be_backend()
/linux-6.3-rc2/Documentation/hwmon/
A Ddme1737.rst199 pwm[1-3]_auto_point1_pwm low-speed duty-cycle
200 pwm[1-3]_auto_pwm_min min-speed duty-cycle
215 all PWM outputs are set to 100% duty-cycle.
228 duty-cycle >
288 to full-speed (100% duty-cycle).
320 fast the PWM duty-cycle will change
325 cycle changes instantly).
336 cycle. Supported values are 0 or
339 low-speed duty-cycle.
341 full-speed duty-cycle which is hard-
[all …]
A 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-6.3-rc2/drivers/mfd/
A 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-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_tsn.c118 u32 sec, nsec, cycle; in igc_tsn_enable_offload() local
231 cycle = adapter->cycle_time; in igc_tsn_enable_offload()
239 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
241 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
255 wr32(IGC_QBVCYCLET_S, cycle); in igc_tsn_enable_offload()
256 wr32(IGC_QBVCYCLET, cycle); in igc_tsn_enable_offload()
/linux-6.3-rc2/Documentation/ABI/testing/
A 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.

Completed in 52 milliseconds

12345678910>>...17