/linux-4.19.296/drivers/memory/ |
D | jz4780-nemc.c | 158 uint32_t smcr, val, cycles; in jz4780_nemc_configure_bank() local 204 cycles = jz4780_nemc_ns_to_cycles(nemc, val); in jz4780_nemc_configure_bank() 205 if (cycles > 15) { in jz4780_nemc_configure_bank() 207 val, cycles); in jz4780_nemc_configure_bank() 211 smcr |= cycles << NEMC_SMCR_TAS_SHIFT; in jz4780_nemc_configure_bank() 216 cycles = jz4780_nemc_ns_to_cycles(nemc, val); in jz4780_nemc_configure_bank() 217 if (cycles > 15) { in jz4780_nemc_configure_bank() 219 val, cycles); in jz4780_nemc_configure_bank() 223 smcr |= cycles << NEMC_SMCR_TAH_SHIFT; in jz4780_nemc_configure_bank() 228 cycles = jz4780_nemc_ns_to_cycles(nemc, val); in jz4780_nemc_configure_bank() [all …]
|
D | pl172.c | 64 int cycles; in pl172_timing_prop() local 68 cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; in pl172_timing_prop() 69 if (cycles < 0) { in pl172_timing_prop() 70 cycles = 0; in pl172_timing_prop() 71 } else if (cycles > max) { in pl172_timing_prop() 76 writel(cycles, pl172->base + reg_offset); in pl172_timing_prop()
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-berlin.c | 96 u64 cycles; in berlin_pwm_config() local 98 cycles = clk_get_rate(pwm->clk); in berlin_pwm_config() 99 cycles *= period_ns; in berlin_pwm_config() 100 do_div(cycles, NSEC_PER_SEC); in berlin_pwm_config() 102 if (cycles > BERLIN_PWM_MAX_TCNT) { in berlin_pwm_config() 104 cycles >>= 12; // Prescaled by 4096 in berlin_pwm_config() 106 if (cycles > BERLIN_PWM_MAX_TCNT) in berlin_pwm_config() 110 period = cycles; in berlin_pwm_config() 111 cycles *= duty_ns; in berlin_pwm_config() 112 do_div(cycles, period_ns); in berlin_pwm_config() [all …]
|
D | pwm-atmel.c | 118 unsigned long long cycles = state->period; in atmel_pwm_calculate_cprd_and_pres() local 121 cycles *= clk_get_rate(atmel_pwm->clk); in atmel_pwm_calculate_cprd_and_pres() 122 do_div(cycles, NSEC_PER_SEC); in atmel_pwm_calculate_cprd_and_pres() 124 for (*pres = 0; cycles > PWM_MAX_PRD; cycles >>= 1) in atmel_pwm_calculate_cprd_and_pres() 132 *cprd = cycles; in atmel_pwm_calculate_cprd_and_pres() 140 unsigned long long cycles = state->duty_cycle; in atmel_pwm_calculate_cdty() local 142 cycles *= cprd; in atmel_pwm_calculate_cdty() 143 do_div(cycles, state->period); in atmel_pwm_calculate_cdty() 144 *cdty = cprd - cycles; in atmel_pwm_calculate_cdty()
|
D | pwm-fsl-ftm.c | 211 unsigned long fix_rate, ext_rate, cycles; in fsl_pwm_calculate_period() local 213 cycles = fsl_pwm_calculate_period_cycles(fpc, period_ns, in fsl_pwm_calculate_period() 215 if (cycles) { in fsl_pwm_calculate_period() 217 return cycles; in fsl_pwm_calculate_period() 231 cycles = fsl_pwm_calculate_period_cycles(fpc, period_ns, m0); in fsl_pwm_calculate_period() 232 if (cycles) { in fsl_pwm_calculate_period() 234 return cycles; in fsl_pwm_calculate_period()
|
/linux-4.19.296/lib/ |
D | find_bit_benchmark.c | 111 cycles_t cycles; in test_find_next_and_bit() local 113 cycles = get_cycles(); in test_find_next_and_bit() 116 cycles = get_cycles() - cycles; in test_find_next_and_bit() 118 (u64)cycles, cnt); in test_find_next_and_bit()
|
D | test_bitmap.c | 269 cycles_t cycles; in test_bitmap_parselist() local 275 cycles = get_cycles(); in test_bitmap_parselist() 277 cycles = get_cycles() - cycles; in test_bitmap_parselist() 295 (unsigned long long)cycles); in test_bitmap_parselist()
|
/linux-4.19.296/drivers/siox/ |
D | siox-bus-gpio.c | 34 size_t cycles = max(setbuf_len, getbuf_len); in siox_gpio_pushpull() local 44 for (i = 0; i < cycles; ++i) { in siox_gpio_pushpull() 48 if (i >= cycles - setbuf_len) in siox_gpio_pushpull() 49 set = setbuf[i - (cycles - setbuf_len)]; in siox_gpio_pushpull()
|
/linux-4.19.296/include/linux/ |
D | timecounter.h | 80 u64 cycles, u64 mask, u64 *frac) in cyclecounter_cyc2ns() argument 82 u64 ns = (u64) cycles; in cyclecounter_cyc2ns()
|
D | timekeeping.h | 207 u64 cycles; member 235 u64 cycles; member
|
D | clocksource.h | 184 static inline s64 clocksource_cyc2ns(u64 cycles, u32 mult, u32 shift) in clocksource_cyc2ns() argument 186 return ((u64) cycles * mult) >> shift; in clocksource_cyc2ns()
|
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.c | 185 int cycles, err; in hdcs_set_exposure() local 188 cycles = val * HDCS_CLK_FREQ_MHZ * 257; in hdcs_set_exposure() 196 rowexp = cycles / rp; in hdcs_set_exposure() 199 cycles -= rowexp * rp; in hdcs_set_exposure() 204 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; in hdcs_set_exposure() 210 srowexp = cp - hdcs->exp.er - 6 - cycles; in hdcs_set_exposure()
|
/linux-4.19.296/crypto/ |
D | tcrypt.c | 216 unsigned long cycles = 0; in test_mb_aead_cycles() local 243 cycles += end - start; in test_mb_aead_cycles() 247 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles() 482 unsigned long cycles = 0; in test_aead_cycles() local 511 cycles += end - start; in test_aead_cycles() 517 (cycles + 4) / 8, blen); in test_aead_cycles() 777 unsigned long cycles = 0; in test_mb_ahash_cycles() local 804 cycles += end - start; in test_mb_ahash_cycles() 808 (cycles + 4) / (8 * num_mb), blen); in test_mb_ahash_cycles() 966 unsigned long cycles = 0; in test_ahash_cycles_digest() local [all …]
|
/linux-4.19.296/drivers/media/rc/ |
D | iguanair.c | 301 uint32_t cycles, fours, sevens; in iguanair_set_tx_carrier() local 305 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier() 313 sevens = (4 - cycles) & 3; in iguanair_set_tx_carrier() 314 fours = (cycles - sevens * 7) / 4; in iguanair_set_tx_carrier()
|
/linux-4.19.296/drivers/misc/altera-stapl/ |
D | altera-jtag.h | 97 int altera_wait_cycles(struct altera_state *astate, s32 cycles,
|
D | altera-jtag.c | 352 s32 cycles, in altera_wait_cycles() argument 370 for (count = 0L; count < cycles; count++) in altera_wait_cycles()
|
/linux-4.19.296/drivers/ptp/ |
D | ptp_kvm.c | 85 system_counter->cycles = ret; in ptp_kvm_get_time_fn()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-aspeed.c | 788 u32 *cycles) in usecs_to_cycles() argument 805 *cycles = n + (!!r); in usecs_to_cycles() 905 u32 cycles; in enable_debounce() local 907 cycles = ioread32(gpio->base + debounce_timers[i]); in enable_debounce() 908 if (requested_cycles == cycles) in enable_debounce()
|
/linux-4.19.296/drivers/media/common/b2c2/ |
D | flexcop-common.h | 136 flexcop_dma_index_t dma_idx, u8 cycles);
|
/linux-4.19.296/drivers/clk/ti/ |
D | clkctrl.c | 61 u32 cycles; member 107 if (time->cycles++ < timeout) { in _omap4_is_timeout()
|
/linux-4.19.296/include/uapi/rdma/ |
D | mlx5-abi.h | 423 __aligned_u64 cycles; member
|
/linux-4.19.296/fs/btrfs/ |
D | Kconfig | 58 plenty of additional CPU cycles are spent. Enabling this
|
/linux-4.19.296/include/uapi/linux/ |
D | perf_event.h | 1125 cycles:16, /* cycle count to last branch */ member
|
/linux-4.19.296/include/linux/mtd/ |
D | rawnand.h | 938 #define NAND_OP_ADDR(ncycles, cycles, ns) \ argument 943 .addrs = cycles, \
|
/linux-4.19.296/include/linux/mlx5/ |
D | driver.h | 807 struct cyclecounter cycles; member
|