| /linux/drivers/staging/vme_user/ |
| H A D | vme_fake.c | |
| H A D | vme_tsi148.c | |
| /linux/drivers/ata/ |
| H A D | libata-pata-timings.c | 70 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()
|
| H A D | pata_icside.c | 166 * calculate the cycle time based on the transfer mode, and the EIDE 192 unsigned int cycle; in pata_icside_set_dmamode() local 202 * Choose the IOMD cycle timing which ensure that the interface in pata_icside_set_dmamode() 203 * satisfies the measured active, recovery and cycle times. in pata_icside_set_dmamode() 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 in pata_icside_set_dmamode() [all...] |
| /linux/arch/alpha/lib/ |
| H A D | ev6-csum_ipv6_magic.S | 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) 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 …]
|
| H A D | ev6-memchr.S | 67 extqh $6, $16, $6 # U : 2 cycle stall for $6 107 cmoveq $1, $3, $0 # E : Latency 2, extra map cycle 110 addq $0, 2, $3 # E : U L U L : 2 cycle stall on $0 112 cmoveq $1, $3, $0 # E : Latency 2, extra map cycle 115 addq $0, 1, $3 # E : U L U L : 2 cycle stall on $0 117 cmoveq $1, $3, $0 # E : Latency 2, extra map cycle
|
| /linux/scripts/ |
| H A D | headerdep.pl | 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) {
|
| /linux/kernel/locking/ |
| H A D | test-ww_mutex.c | 294 struct test_cycle *cycle = container_of(work, typeof(*cycle), work); in test_cycle_work() local 298 ww_acquire_init_noinject(&ctx, cycle->class); in test_cycle_work() 299 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work() 301 complete(cycle->a_signal); in test_cycle_work() 302 wait_for_completion(&cycle->b_signal); in test_cycle_work() 304 err = ww_mutex_lock(cycle->b_mutex, &ctx); in test_cycle_work() 307 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work() 308 ww_mutex_lock_slow(cycle->b_mutex, &ctx); in test_cycle_work() 309 erra = ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work() 313 ww_mutex_unlock(cycle->b_mutex); in test_cycle_work() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-atmel-pit.c | 43 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/drivers/pwm/ |
| H A D | pwm-sl28cpld.c | 128 unsigned int cycle, prescaler; in sl28cpld_pwm_apply() local 151 cycle = SL28CPLD_PWM_FROM_DUTY_CYCLE(state->duty_cycle); in sl28cpld_pwm_apply() 152 cycle = min_t(unsigned int, cycle, SL28CPLD_PWM_MAX_DUTY_CYCLE(prescaler)); in sl28cpld_pwm_apply() 162 if (cycle == SL28CPLD_PWM_MAX_DUTY_CYCLE(0)) { in sl28cpld_pwm_apply() 165 cycle = SL28CPLD_PWM_MAX_DUTY_CYCLE(1); in sl28cpld_pwm_apply() 180 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply() 190 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CYCLE, cycle); in sl28cpld_pwm_apply()
|
| /linux/tools/power/cpupower/bench/ |
| H A D | benchmark.c | 80 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/sound/firewire/ |
| H A D | amdtp-stream.c | 469 static unsigned int compute_syt_offset(unsigned int syt, unsigned int cycle, in compute_syt_offset() argument 472 unsigned int cycle_lo = (cycle % CYCLES_PER_SECOND) & 0x0f; in compute_syt_offset() 519 dst->syt_offset = compute_syt_offset(src->syt, src->cycle, transfer_delay); in cache_seq() 690 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header() argument 710 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header() 813 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header() argument 862 trace_amdtp_packet(s, cycle, cip_header, payload_length, *data_blocks, in parse_ir_ctx_header() 882 static inline u32 increment_ohci_cycle_count(u32 cycle, unsigned int addend) in increment_ohci_cycle_count() argument 884 cycle += addend; in increment_ohci_cycle_count() 885 if (cycle >= OHCI_SECOND_MODULUS * CYCLES_PER_SECOND) in increment_ohci_cycle_count() [all …]
|
| H A D | amdtp-stream-trace.h | 22 __field(unsigned int, cycle) 37 __entry->cycle = cycles % CYCLES_PER_SECOND; 61 __entry->cycle,
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | alibaba_pmu.rst | 27 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/Documentation/hwmon/ |
| H A D | dme1737.rst | 167 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 …]
|
| H A D | vt1211.rst | 196 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
|
| H A D | lm93.rst | 109 a minimum pulse width of 5 clocks (at 22.5kHz => 6.25% duty cycle), and 110 a maximum pulse width of 80 clocks (at 22.5kHz => 99.88% duty cycle). 115 contains a value controlling the duty cycle for the PWM signal used when 117 indicating minimum duty cycle and 15 indicating maximum. 148 and pwm2 are used to set the manual duty cycle; each is an integer (0-255) 149 where 0 is 0% duty cycle, and 255 is 100%. Note that the duty cycle values 153 cycle chosen by the h/w. 238 A spin-up cycle occurs when a PWM output is commanded from 0% duty cycle to 239 some value > 0%. The LM93 supports a minimum duty cycle during spin-up. These 241 file has the same representation as other PWM duty cycle values. The [all …]
|
| /linux/drivers/cxl/core/ |
| H A D | edac.c | 67 #define CXL_GET_SCRUB_CYCLE(cycle) \ argument 68 FIELD_GET(CXL_SCRUB_CONTROL_CYCLE_MASK, cycle) 69 #define CXL_GET_SCRUB_MIN_CYCLE(cycle) \ argument 70 FIELD_GET(CXL_SCRUB_CONTROL_MIN_CYCLE_MASK, cycle) 73 #define CXL_SET_SCRUB_CYCLE(cycle) \ argument 74 FIELD_PREP(CXL_SCRUB_CONTROL_CYCLE_MASK, cycle) 78 u16 *cycle, u8 *flags, u8 *min_cycle) in cxl_mem_scrub_get_attrbs() argument 96 *cycle = le16_to_cpu(rd_attrbs->scrub_cycle_hours); in cxl_mem_scrub_get_attrbs() 99 *min_cycle = CXL_GET_SCRUB_MIN_CYCLE(*cycle); in cxl_mem_scrub_get_attrbs() 105 u8 *cap, u16 *cycle, u in cxl_scrub_get_attrbs() 103 cxl_scrub_get_attrbs(struct cxl_patrol_scrub_context * cxl_ps_ctx,u8 * cap,u16 * cycle,u8 * flags,u8 * min_cycle) cxl_scrub_get_attrbs() argument 151 cxl_scrub_set_attrbs_region(struct device * dev,struct cxl_patrol_scrub_context * cxl_ps_ctx,u8 cycle,u8 flags) cxl_scrub_set_attrbs_region() argument 200 cxl_scrub_set_attrbs_device(struct device * dev,struct cxl_patrol_scrub_context * cxl_ps_ctx,u8 cycle,u8 flags) cxl_scrub_set_attrbs_device() argument 236 cxl_scrub_set_attrbs(struct device * dev,struct cxl_patrol_scrub_context * cxl_ps_ctx,u8 cycle,u8 flags) cxl_scrub_set_attrbs() argument 249 u16 cycle; cxl_patrol_scrub_get_enabled_bg() local 287 u16 cycle; cxl_patrol_scrub_get_min_scrub_cycle() local 312 u16 cycle; cxl_patrol_scrub_get_scrub_cycle() local 372 u16 cycle; cxl_memdev_scrub_init() local 422 u16 cycle; cxl_region_scrub_init() local [all...] |
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-edac-scrub | 49 (RO) Supported minimum scrub cycle duration in seconds 52 Device-based scrub: returns the minimum scrub cycle 63 (RO) Supported maximum scrub cycle duration in seconds 66 Device-based scrub: returns the maximum scrub cycle supported 72 If the memory device does not provide maximum scrub cycle 74 cycle field. 81 (RW) The current scrub cycle duration in seconds and must be
|
| /linux/drivers/mfd/ |
| H A D | atmel-smc.c | 235 conf->cycle &= ~GENMASK(shift + 15, shift); in atmel_smc_cs_conf_set_cycle() 236 conf->cycle |= val << shift; in atmel_smc_cs_conf_set_cycle() 256 regmap_write(regmap, ATMEL_SMC_CYCLE(cs), conf->cycle); in atmel_smc_cs_conf_apply() 277 regmap_write(regmap, ATMEL_HSMC_CYCLE(layout, cs), conf->cycle); in atmel_hsmc_cs_conf_apply() 297 regmap_read(regmap, ATMEL_SMC_CYCLE(cs), &conf->cycle); in atmel_smc_cs_conf_get() 318 regmap_read(regmap, ATMEL_HSMC_CYCLE(layout, cs), &conf->cycle); in atmel_hsmc_cs_conf_get()
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | cpu-idle-cooling.rst | 37 decrease. Acting on the idle state duration or the idle cycle 47 At a specific OPP, we can assume that injecting idle cycle on all CPUs 61 idle state for a specified time each control cycle, it provides 71 or decreased by modulating the duty cycle of the idle injection. 86 duty cycle 25% 90 the duty cycle percentage. When no mitigation is happening the cooling 91 device state is zero, meaning the duty cycle is 0%. 95 cycle (aka the cooling device state), the running duration can be 98 The governor will change the cooling device state thus the duty cycle 114 duty cycle 3 [all...] |
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_tas.c | 174 int cycle = 0; in sja1105_init_scheduling() local 300 schedule_entry_points[cycle].subschindx = cycle; in sja1105_init_scheduling() 301 schedule_entry_points[cycle].delta = entry_point_delta; in sja1105_init_scheduling() 302 schedule_entry_points[cycle].address = schedule_start_idx; in sja1105_init_scheduling() 307 for (i = cycle; i < 8; i++) in sja1105_init_scheduling() 319 cycle++; in sja1105_init_scheduling() 336 schedule_entry_points[cycle].subschindx = cycle; in sja1105_init_scheduling() 337 schedule_entry_points[cycle].delta = entry_point_delta; in sja1105_init_scheduling() 338 schedule_entry_points[cycle].address = schedule_start_idx; in sja1105_init_scheduling() 340 for (i = cycle; i < 8; i++) in sja1105_init_scheduling()
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | mvebu-devbus.txt | 40 cycle from a slow device. 53 ALE[0] to the cycle that the first read data is sampled 57 - devbus,acc-next-ps: Defines the time delay between the cycle that 58 samples data N and the cycle that samples data N+1 64 DEV_OEn and DEV_CSn are asserted at the same cycle. 73 DEV_OEn and DEV_CSn are de-asserted at the same cycle 74 (the cycle of the last data sample). 76 DEV_OEn is always de-asserted the next cycle after 85 - devbus,ale-wr-ps: Defines the time delay from the ALE[0] negation cycle
|
| /linux/net/sched/ |
| H A D | act_gate.c | 48 ktime_t now, base, cycle; in gate_get_start_time() 59 cycle = param->tcfg_cycletime; in gate_start_timer() 61 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_start_timer() 62 *start = ktime_add_ns(base, (n + 1) * cycle); in gate_start_timer() 92 /* cycle start, clear pending bit, clear total octets */ in gate_timer_func() 111 ktime_t cycle, base; in gate_timer_func() 114 cycle = p->tcfg_cycletime; in gate_timer_func() 116 n = div64_u64(ktime_sub_ns(now, base), cycle); in gate_timer_func() 117 close_time = ktime_add_ns(base, (n + 1) * cycle); in gate_timer_func() 513 ktime_t cycle in tcf_gate_init() 41 ktime_t now, base, cycle; gate_get_start_time() local 104 ktime_t cycle, base; gate_timer_func() local 498 ktime_t cycle = 0; tcf_gate_init() local [all...] |
| /linux/drivers/ptp/ |
| H A D | ptp_kvm_common.c | 33 u64 cycle; in ptp_kvm_get_time_fn() local 39 ret = kvm_arch_ptp_get_crosststamp(&cycle, &tspec, &cs_id); in ptp_kvm_get_time_fn() 48 system_counter->cycles = cycle; in ptp_kvm_get_time_fn()
|