Home
last modified time | relevance | path

Searched refs:timing (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/drivers/clk/tegra/
Dclk-emc.c123 struct emc_timing *timing = NULL; in emc_determine_rate() local
132 timing = tegra->timings + i; in emc_determine_rate()
134 if (timing->rate > req->max_rate) { in emc_determine_rate()
140 if (timing->rate < req->min_rate) in emc_determine_rate()
143 if (timing->rate >= req->rate) { in emc_determine_rate()
144 req->rate = timing->rate; in emc_determine_rate()
149 if (timing) { in emc_determine_rate()
150 req->rate = timing->rate; in emc_determine_rate()
202 struct emc_timing *timing) in emc_set_timing() argument
213 pr_debug("going to rate %ld prate %ld p %s\n", timing->rate, in emc_set_timing()
[all …]
/linux-4.19.296/drivers/memory/tegra/
Dtegra124-emc.c547 struct emc_timing *timing = NULL; in tegra_emc_find_timing() local
552 timing = &emc->timings[i]; in tegra_emc_find_timing()
557 if (!timing) { in tegra_emc_find_timing()
562 return timing; in tegra_emc_find_timing()
568 struct emc_timing *timing = tegra_emc_find_timing(emc, rate); in tegra_emc_prepare_timing_change() local
576 if (!timing) in tegra_emc_prepare_timing_change()
579 if ((last->emc_mode_1 & 0x1) == (timing->emc_mode_1 & 0x1)) in tegra_emc_prepare_timing_change()
581 else if (timing->emc_mode_1 & 0x1) in tegra_emc_prepare_timing_change()
613 if (!(timing->emc_bgbias_ctl0 & in tegra_emc_prepare_timing_change()
633 if (timing->emc_xm2dqspadctrl2 & EMC_XM2DQSPADCTRL2_VREF_ENABLE && in tegra_emc_prepare_timing_change()
[all …]
Dmc.c308 struct tegra_mc_timing *timing = NULL; in tegra_mc_write_emem_configuration() local
312 timing = &mc->timings[i]; in tegra_mc_write_emem_configuration()
317 if (!timing) { in tegra_mc_write_emem_configuration()
324 mc_writel(mc, timing->emem_data[i], mc->soc->emem_regs[i]); in tegra_mc_write_emem_configuration()
339 struct tegra_mc_timing *timing, in load_one_timing() argument
352 timing->rate = tmp; in load_one_timing()
353 timing->emem_data = devm_kcalloc(mc->dev, mc->soc->num_emem_regs, in load_one_timing()
355 if (!timing->emem_data) in load_one_timing()
359 timing->emem_data, in load_one_timing()
374 struct tegra_mc_timing *timing; in load_timings() local
[all …]
/linux-4.19.296/drivers/memory/samsung/
Dexynos-srom.c71 u32 timing[6]; in exynos_srom_configure_bank() local
80 if (of_property_read_u32_array(np, "samsung,srom-timing", timing, in exynos_srom_configure_bank()
81 ARRAY_SIZE(timing))) in exynos_srom_configure_bank()
94 writel_relaxed(pmc | (timing[0] << EXYNOS_SROM_BCX__TACP__SHIFT) | in exynos_srom_configure_bank()
95 (timing[1] << EXYNOS_SROM_BCX__TCAH__SHIFT) | in exynos_srom_configure_bank()
96 (timing[2] << EXYNOS_SROM_BCX__TCOH__SHIFT) | in exynos_srom_configure_bank()
97 (timing[3] << EXYNOS_SROM_BCX__TACC__SHIFT) | in exynos_srom_configure_bank()
98 (timing[4] << EXYNOS_SROM_BCX__TCOS__SHIFT) | in exynos_srom_configure_bank()
99 (timing[5] << EXYNOS_SROM_BCX__TACS__SHIFT), in exynos_srom_configure_bank()
/linux-4.19.296/drivers/nvmem/
Dvf610-ocotp.c102 int timing; member
126 u32 timing; in vf610_ocotp_calculate_timing() local
135 timing = BF(relax, OCOTP_TIMING_RELAX); in vf610_ocotp_calculate_timing()
136 timing |= BF(strobe_read, OCOTP_TIMING_STROBE_READ); in vf610_ocotp_calculate_timing()
137 timing |= BF(strobe_prog, OCOTP_TIMING_STROBE_PROG); in vf610_ocotp_calculate_timing()
139 return timing; in vf610_ocotp_calculate_timing()
166 writel(ocotp->timing, base + OCOTP_TIMING); in vf610_ocotp_read()
242 ocotp_dev->timing = vf610_ocotp_calculate_timing(ocotp_dev); in vf610_ocotp_probe()
Dimx-ocotp.c180 u32 timing = 0; in imx_ocotp_set_imx6_timing() local
220 timing = readl(priv->base + IMX_OCOTP_ADDR_TIMING) & 0x0FC00000; in imx_ocotp_set_imx6_timing()
221 timing |= strobe_prog & 0x00000FFF; in imx_ocotp_set_imx6_timing()
222 timing |= (relax << 12) & 0x0000F000; in imx_ocotp_set_imx6_timing()
223 timing |= (strobe_read << 16) & 0x003F0000; in imx_ocotp_set_imx6_timing()
225 writel(timing, priv->base + IMX_OCOTP_ADDR_TIMING); in imx_ocotp_set_imx6_timing()
232 u32 timing = 0; in imx_ocotp_set_imx7_timing() local
243 timing = strobe_prog & 0x00000FFF; in imx_ocotp_set_imx7_timing()
244 timing |= (fsource << 12) & 0x000FF000; in imx_ocotp_set_imx7_timing()
246 writel(timing, priv->base + IMX_OCOTP_ADDR_TIMING); in imx_ocotp_set_imx7_timing()
/linux-4.19.296/drivers/iio/light/
Dtcs3414.c58 u8 timing; member
161 *val2 = tcs3414_times[data->timing & TCS3414_INTEG_MASK] * 1000; in tcs3414_read_raw()
192 data->timing &= ~TCS3414_INTEG_MASK; in tcs3414_write_raw()
193 data->timing |= i; in tcs3414_write_raw()
196 data->timing); in tcs3414_write_raw()
322 data->timing = TCS3414_INTEG_12MS; /* free running */ in tcs3414_probe()
324 data->timing); in tcs3414_probe()
Dtsl2563.c243 static int tsl2563_adc_shiftbits(u8 timing) in tsl2563_adc_shiftbits() argument
247 switch (timing & TSL2563_TIMING_MASK) { in tsl2563_adc_shiftbits()
259 if (!(timing & TSL2563_TIMING_GAIN16)) in tsl2563_adc_shiftbits()
266 static u32 tsl2563_normalize_adc(u16 adc, u8 timing) in tsl2563_normalize_adc() argument
268 return adc << tsl2563_adc_shiftbits(timing); in tsl2563_normalize_adc()
/linux-4.19.296/drivers/media/rc/img-ir/
Dimg-ir-hw.c81 static void img_ir_symbol_timing_preprocess(struct img_ir_symbol_timing *timing, in img_ir_symbol_timing_preprocess() argument
84 img_ir_timing_preprocess(&timing->pulse, unit); in img_ir_symbol_timing_preprocess()
85 img_ir_timing_preprocess(&timing->space, unit); in img_ir_symbol_timing_preprocess()
113 static void img_ir_symbol_timing_defaults(struct img_ir_symbol_timing *timing, in img_ir_symbol_timing_defaults() argument
116 img_ir_timing_defaults(&timing->pulse, &defaults->pulse); in img_ir_symbol_timing_defaults()
117 img_ir_timing_defaults(&timing->space, &defaults->space); in img_ir_symbol_timing_defaults()
207 static u32 img_ir_symbol_timing(const struct img_ir_symbol_timing *timing, in img_ir_symbol_timing() argument
215 hw_period.min = timing->pulse.min + timing->space.min; in img_ir_symbol_timing()
216 hw_period.max = timing->pulse.max + timing->space.max; in img_ir_symbol_timing()
219 img_ir_timing_range_convert(&hw_pulse, &timing->pulse, in img_ir_symbol_timing()
[all …]
/linux-4.19.296/include/linux/mmc/
Dhost.h53 unsigned char timing; /* timing specification used */ member
559 return card->host->ios.timing == MMC_TIMING_SD_HS || in mmc_card_hs()
560 card->host->ios.timing == MMC_TIMING_MMC_HS; in mmc_card_hs()
566 return card->host->ios.timing >= MMC_TIMING_UHS_SDR12 && in mmc_card_uhs()
567 card->host->ios.timing <= MMC_TIMING_UHS_DDR50; in mmc_card_uhs()
/linux-4.19.296/drivers/i2c/busses/
Di2c-img-scb.c1160 struct img_i2c_timings timing; in img_i2c_init() local
1183 timing = timings[0]; in img_i2c_init()
1186 timing = timings[i]; in img_i2c_init()
1195 timing = timings[ARRAY_SIZE(timings) - 1]; in img_i2c_init()
1196 i2c->bitrate = timing.max_bitrate; in img_i2c_init()
1255 data = DIV_ROUND_UP(timing.tckl, clk_period); in img_i2c_init()
1272 tsdh = DIV_ROUND_UP(timing.tsdh, clk_period); in img_i2c_init()
1284 data = timing.tpl / clk_period; in img_i2c_init()
1290 data = timing.tph / clk_period; in img_i2c_init()
1299 data = timing.tp2s / clk_period; in img_i2c_init()
Di2c-stm32f7.c293 struct stm32f7_i2c_timings timing; member
578 &i2c_dev->timing); in stm32f7_i2c_setup_timing()
632 struct stm32f7_i2c_timings *t = &i2c_dev->timing; in stm32f7_i2c_hw_config()
633 u32 timing = 0; in stm32f7_i2c_hw_config() local
636 timing |= STM32F7_I2C_TIMINGR_PRESC(t->presc); in stm32f7_i2c_hw_config()
637 timing |= STM32F7_I2C_TIMINGR_SCLDEL(t->scldel); in stm32f7_i2c_hw_config()
638 timing |= STM32F7_I2C_TIMINGR_SDADEL(t->sdadel); in stm32f7_i2c_hw_config()
639 timing |= STM32F7_I2C_TIMINGR_SCLH(t->sclh); in stm32f7_i2c_hw_config()
640 timing |= STM32F7_I2C_TIMINGR_SCLL(t->scll); in stm32f7_i2c_hw_config()
641 writel_relaxed(timing, i2c_dev->base + STM32F7_I2C_TIMINGR); in stm32f7_i2c_hw_config()
/linux-4.19.296/include/linux/platform_data/
Dmtd-davinci.h97 struct davinci_aemif_timing *timing; member
/linux-4.19.296/drivers/iio/adc/
Dcpcap-adc.c223 enum cpcap_adc_timing timing; member
572 switch (req->timing) { in cpcap_adc_setup_bank()
611 if (req->timing == CPCAP_ADC_TIMING_IMM) { in cpcap_adc_setup_bank()
642 req->timing = CPCAP_ADC_TIMING_IMM; in cpcap_adc_start_bank()
/linux-4.19.296/drivers/media/dvb-frontends/
Dstv0900_sw.c1193 u8 timing; in stv0900_get_signal_params() local
1197 timing = stv0900_read_reg(intp, TMGREG2); in stv0900_get_signal_params()
1201 while ((i <= 50) && (timing != 0) && (timing != 0xff)) { in stv0900_get_signal_params()
1202 timing = stv0900_read_reg(intp, TMGREG2); in stv0900_get_signal_params()
Dstb0899_algo.c179 s8 timing; in stb0899_check_tmg() local
186 timing = stb0899_read_reg(state, STB0899_RTF); in stb0899_check_tmg()
189 if ((lock > 48) && (abs(timing) >= 110)) { in stb0899_check_tmg()
/linux-4.19.296/drivers/ptp/
DKconfig35 This driver adds support for using the Digital timing engine
/linux-4.19.296/include/pcmcia/
Dcistpl.h463 cistpl_timing_t timing; member
/linux-4.19.296/drivers/memory/
DKconfig60 functions of the driver includes re-configuring AC timing
/linux-4.19.296/drivers/char/agp/
DKconfig42 timing issues, this chipset cannot do AGP 2x with the G200.
/linux-4.19.296/drivers/cpufreq/
DKconfig.arm148 bool "Debug CPUfreq Samsung driver IO timing"
/linux-4.19.296/fs/cifs/
DKconfig58 request timing to be displayed in /proc/fs/cifs/DebugData and also
/linux-4.19.296/crypto/
DKconfig1038 among the easiest to defend against power and timing attacks.
1078 among the easiest to defend against power and timing attacks.
1100 among the easiest to defend against power and timing attacks.
1129 among the easiest to defend against power and timing attacks.
1158 among the easiest to defend against power and timing attacks.
/linux-4.19.296/lib/
DKconfig515 particularly the AC timing parameters and addressing
/linux-4.19.296/include/linux/
Dlibata.h1115 const unsigned long *timing, unsigned long deadline,

12