/linux-master/tools/perf/ui/ |
H A D | hist.c | 17 /* hist period print (hpp) functions */ 63 u64 period = get_field(pair); local 89 100.0 * period / total); 91 double avg = nr_samples ? (period / nr_samples) : 0; 97 len, period); 288 * Put caller above callee when they have equal period. 474 HPP_PERCENT_FNS(overhead, period) 479 HPP_PERCENT_ACC_FNS(overhead_acc, period) 482 HPP_RAW_FNS(period, period) [all...] |
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 117 u_int *period, 136 u_int period, u_int offset); 142 u_int period, u_int offset, 1936 ahd_set_syncrate(ahd, &devinfo, /*period*/0, 3129 /*period*/0, /*offset*/0, 3190 /*period*/0, /*offset*/0, 3658 * this function finds the nearest period to the input period limited 3665 u_int *period, u_int *ppr_options, role_t role) 3680 * period otherwis 3663 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 3712 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, u_int *ppr_options, u_int maxsync) argument 3751 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument 3855 ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument 4070 u_int period; local 4498 u_int period; local 4582 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument 4620 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument 5117 u_int period; local 5288 u_int period; local [all...] |
/linux-master/drivers/scsi/ |
H A D | nsp32.c | 136 * Note: This period/ackwidth speed table must be in descending order. 382 unsigned char period, 391 data->msgoutbuf[pos] = period; pos++; 984 unsigned char period, offset; local 987 nsp32_set_max_sync(data, target, &period, &offset); 988 nsp32_build_sdtr(SCpnt, period, offset); 997 target->limit_entry, period, offset); 1497 if (data->target[id].period == 0 && 1507 if (data->target[id].period != 0) { 1509 speed = 1000000 / (data->target[id].period * 381 nsp32_build_sdtr(struct scsi_cmnd *SCpnt, unsigned char period, unsigned char offset) argument 2353 nsp32_search_period_entry(nsp32_hw_data *data, nsp32_target *target, unsigned char period) argument 2388 unsigned char period = data->synct[target->limit_entry].period_num; local 2403 nsp32_set_max_sync(nsp32_hw_data *data, nsp32_target *target, unsigned char *period, unsigned char *offset) argument 2430 unsigned char period, ackwidth, sample_rate; local [all...] |
/linux-master/kernel/sched/ |
H A D | psi.c | 57 * %SOME = time(SOME) / period 58 * %FULL = time(FULL) / period 132 * %SOME = tSOME / period 133 * %FULL = tFULL / period 317 u64 time, u64 period) 328 /* Sample the most recent active period */ 329 pct = div_u64(time * 100, period); 351 * the sampling period. This eliminates artifacts from uneven 502 u64 expires, period; local 519 period 316 calc_avgs(unsigned long avg[3], int missed_periods, u64 time, u64 period) argument 1406 u64 period = ULLONG_MAX; local [all...] |
/linux-master/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.c | 371 beacon_period = mac->beacon.period; 1305 u8 period = 0; local 1308 period = bss_conf->dtim_period; 1313 mac->beacon.period = period; 1318 zd_set_beacon_interval(&mac->chip, interval, period, 1434 int interval, period; local 1443 period = mac->beacon.period; 1452 interval, period); local [all...] |
/linux-master/drivers/message/fusion/ |
H A D | mptspi.c | 863 u32 period; local 904 period = (nego_parms & MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK) >> 906 if (period == 8) { 960 static void mptspi_write_period(struct scsi_target *starget, int period) argument 965 if (period < 8) 966 period = 8; 968 if (period > 255) 969 period = 255; 974 if (period == 8) { 977 } else if (period [all...] |
/linux-master/sound/usb/line6/ |
H A D | capture.c | 134 if (line6pcm->in.bytes >= line6pcm->in.period) { 135 line6pcm->in.bytes %= line6pcm->in.period;
|
/linux-master/sound/xen/ |
H A D | xen_snd_front_alsa.c | 43 /* Current HW pointer to be reported via .period callback. */ 45 /* Modulo of the number of processed frames - for period detection. */ 267 struct snd_interval *period = local 294 req.period.min = period->min; 295 req.period.max = period->max; 343 interval.min = resp.period.min; 344 interval.max = resp.period.max; 345 ret = snd_interval_refine(period, [all...] |
/linux-master/sound/soc/uniphier/ |
H A D | aio.h | 43 /* IEC61937 Repetition period of data-burst in IEC60958 frames */ 52 /* IEC61937 Repetition period of Pause data-burst in IEC60958 frames */ 348 int period); 350 int period);
|
/linux-master/drivers/media/rc/ |
H A D | pwm-ir-tx.c | 72 state.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); 102 state.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier);
|
/linux-master/drivers/leds/rgb/ |
H A D | leds-pwm-multicolor.c | 45 duty = priv->leds[i].state.period; 50 duty = priv->leds[i].state.period - duty;
|
/linux-master/drivers/pwm/ |
H A D | pwm-rcar.c | 177 div = rcar_pwm_get_clock_division(rp, state->period); 183 ret = rcar_pwm_set_counter(rp, div, state->duty_cycle, state->period);
|
H A D | pwm-sprd.c | 99 * The period length is (PRESCALE + 1) * MOD counter steps. 108 state->period = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate); 132 * The period length is (PRESCALE + 1) * MOD counter steps. 136 * The value for PRESCALE is selected such that the resulting period 153 * The hardware can ensures that current running period is completed 191 state->period); 199 * will not wait for current period to be completed, instead it
|
H A D | pwm-iqs620a.c | 8 * - The period is fixed to 1 ms and is generated continuously despite changes 11 * and may result in a glitch during the period in which the change is made. 78 if (state->period < IQS620_PWM_PERIOD_NS) 133 state->period = IQS620_PWM_PERIOD_NS;
|
H A D | pwm-keembay.c | 11 * period will not be completed. However, upon 12 * reconfiguration of the duty cycle/period, the 13 * currently running period will be completed first. 108 /* Read period and duty cycle */ 113 state->period = DIV_ROUND_UP_ULL(high + low, clk_rate); 160 div = clk_rate * state->period;
|
H A D | pwm-bcm2835.c | 71 * period_cycles must be a 32 bit value, so period * rate / NSEC_PER_SEC 73 * multiplication period * rate doesn't overflow. 74 * To calculate the maximal possible period that guarantees the 77 * round(period * rate / NSEC_PER_SEC) <= U32_MAX 78 * <=> period * rate / NSEC_PER_SEC < U32_MAX + 0.5 79 * <=> period * rate < (U32_MAX + 0.5) * NSEC_PER_SEC 80 * <=> period < ((U32_MAX + 0.5) * NSEC_PER_SEC) / rate 81 * <=> period < ((U32_MAX * NSEC_PER_SEC + NSEC_PER_SEC/2) / rate 82 * <=> period <= ceil((U32_MAX * NSEC_PER_SEC + NSEC_PER_SEC/2) / rate) - 1 86 if (state->period > max_perio [all...] |
/linux-master/drivers/bus/ |
H A D | ts-nbus.c | 291 if (!state.period) 292 return dev_err_probe(dev, -EINVAL, "invalid PWM period\n"); 294 state.duty_cycle = state.period;
|
/linux-master/include/linux/ |
H A D | rtc.h | 77 ktime_t period; member in struct:rtc_timer 217 ktime_t expires, ktime_t period);
|
/linux-master/drivers/usb/host/ |
H A D | isp116x-hcd.c | 323 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); 324 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) { 336 ep->load / ep->period; 652 static int balance(struct isp116x *isp116x, u16 period, u16 load) argument 656 /* search for the least loaded schedule branch of that period 658 for (i = 0; i < period; i++) { 662 for (j = i; j < PERIODIC_SIZE; j += period) { 755 ep->period = urb->interval >> 1; 775 urb->interval = ep->period; 783 ep->branch = ret = balance(isp116x, ep->period, e [all...] |
/linux-master/drivers/leds/ |
H A D | leds-mt6323.c | 47 /* ISINK_CON1: Register to setup the period of the blink. */ 108 * @max_period: Maximum period for all LEDs 112 * @unit_duty: Steps of duty per period 298 unsigned long period; local 317 period = *delay_on + *delay_off; 319 if (period > spec->max_period) 323 * Calculate duty_hw based on the percentage of period during 326 duty_hw = DIV_ROUND_CLOSEST(*delay_on * 100000ul, period * spec->unit_duty); 352 ISINK_DIM_FSEL(period - 1));
|
/linux-master/drivers/iio/adc/ |
H A D | dln2-adc.c | 64 /* Cached sample period in milliseconds */ 224 unsigned int channel, unsigned int period) 230 __le16 period; member in struct:__anon312 236 .type = period ? DLN2_ADC_EVENT_ALWAYS : DLN2_ADC_EVENT_NONE, 237 .period = cpu_to_le16(period) 396 "clamping period to 65535ms\n"); 223 dln2_adc_set_chan_period(struct dln2_adc *dln2, unsigned int channel, unsigned int period) argument
|
/linux-master/drivers/ptp/ |
H A D | ptp_sysfs.c | 122 &req.perout.period.sec, &req.perout.period.nsec); 128 enable = req.perout.period.sec || req.perout.period.nsec; 137 static DEVICE_ATTR(period, 0220, NULL, period_store);
|
/linux-master/drivers/hwmon/ |
H A D | pwm-fan.c | 201 unsigned long period; local 209 period = state->period; 210 state->duty_cycle = DIV_ROUND_UP(pwm * (period - 1), MAX_PWM); 518 * set_pwm assumes that MAX_PWM * (period - 1) fits into an unsigned 522 if (ctx->pwm_state.period > ULONG_MAX / MAX_PWM + 1) { 523 dev_err(dev, "Configured period too big\n");
|
/linux-master/tools/tracing/rtla/src/ |
H A D | osnoise_hist.c | 26 unsigned long long period; member in struct:osnoise_hist_params 446 " -p/--period us: osnoise period in us", 466 " -P/--priority o:prio|r:prio|f:prio|d:runtime:period: set scheduling parameters", 470 " d:runtime[us|ms|s]:period[us|ms|s] - use SCHED_DEADLINE with runtime and period", 523 {"period", required_argument, 0, 'p'}, 623 params->period = get_llong_from_str(optarg); 624 if (params->period > 10000000) 733 if (params->runtime || params->period) { [all...] |
/linux-master/arch/x86/kvm/ |
H A D | lapic.c | 1551 apic->lapic_timer.period == 0) 1559 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); 1741 if (apic_lvtt_period(apic) && apic->lapic_timer.period) { 1744 if (apic->lapic_timer.period < min_period) { 1747 "lapic timer period limited to %lld ns\n", 1749 apic->lapic_timer.period, min_period); 1750 apic->lapic_timer.period = min_period; 1777 apic->lapic_timer.period = 0; 1984 apic->lapic_timer.period = 2010 apic->lapic_timer.period [all...] |