Home
last modified time | relevance | path

Searched refs:sdr (Results 1 – 25 of 103) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/media/platform/
Drcar_drif.c131 #define to_rcar_drif_buf_pair(sdr, ch_num, idx) \ argument
132 (&((sdr)->ch[!(ch_num)]->buf[(idx)]))
138 #define rdrif_dbg(sdr, fmt, arg...) \ argument
139 dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg)
141 #define rdrif_err(sdr, fmt, arg...) \ argument
142 dev_err(sdr->v4l2_dev.dev, fmt, ## arg)
198 struct rcar_drif_sdr *sdr; /* Group device */ member
256 static void rcar_drif_release_dmachannels(struct rcar_drif_sdr *sdr) in rcar_drif_release_dmachannels() argument
260 for_each_rcar_drif_channel(i, &sdr->cur_ch_mask) in rcar_drif_release_dmachannels()
261 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dsdr-formats.rst9 These formats are used for :ref:`SDR <sdr>` interface only.
15 pixfmt-sdr-cu08
16 pixfmt-sdr-cu16le
17 pixfmt-sdr-cs08
18 pixfmt-sdr-cs14le
19 pixfmt-sdr-ru12le
20 pixfmt-sdr-pcu16be
21 pixfmt-sdr-pcu18be
22 pixfmt-sdr-pcu20be
Ddevices.rst22 dev-sdr
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_toshiba.c35 const struct nand_sdr_timings *sdr = in toshiba_nand_benand_read_eccstatus_op() local
39 PSEC_TO_NSEC(sdr->tADL_min)), in toshiba_nand_benand_read_eccstatus_op()
223 struct nand_sdr_timings *sdr = &iface->timings.sdr; in th58nvg2s3hbai4_choose_interface_config() local
229 sdr->tALS_min = 12000; in th58nvg2s3hbai4_choose_interface_config()
230 sdr->tCHZ_max = 20000; in th58nvg2s3hbai4_choose_interface_config()
231 sdr->tCLS_min = 12000; in th58nvg2s3hbai4_choose_interface_config()
232 sdr->tCOH_min = 0; in th58nvg2s3hbai4_choose_interface_config()
233 sdr->tDS_min = 12000; in th58nvg2s3hbai4_choose_interface_config()
234 sdr->tRHOH_min = 25000; in th58nvg2s3hbai4_choose_interface_config()
235 sdr->tRHW_min = 30000; in th58nvg2s3hbai4_choose_interface_config()
[all …]
Dnand_timings.c27 .timings.sdr = {
72 .timings.sdr = {
117 .timings.sdr = {
162 .timings.sdr = {
207 .timings.sdr = {
252 .timings.sdr = {
313 onfi_timings = &onfi_sdr_timings[mode].timings.sdr; in onfi_find_closest_sdr_mode()
377 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_interface_config()
Dtango_nand.c520 const struct nand_sdr_timings *sdr = nand_get_sdr_timings(conf); in tango_set_timings() local
526 if (IS_ERR(sdr)) in tango_set_timings()
527 return PTR_ERR(sdr); in tango_set_timings()
532 Trdy = to_ticks(kHz, sdr->tCEA_max - sdr->tREA_max); in tango_set_timings()
533 Textw = to_ticks(kHz, sdr->tWB_max); in tango_set_timings()
534 Twc = to_ticks(kHz, sdr->tWC_min); in tango_set_timings()
535 Twpw = to_ticks(kHz, sdr->tWC_min - sdr->tWP_min); in tango_set_timings()
537 Tacc = to_ticks(kHz, sdr->tREA_max); in tango_set_timings()
538 Thold = to_ticks(kHz, sdr->tREH_min); in tango_set_timings()
539 Trpw = to_ticks(kHz, sdr->tRC_min - sdr->tREH_min); in tango_set_timings()
[all …]
Dcadence-nand-controller.c2310 const struct nand_sdr_timings *sdr; in cadence_nand_setup_interface() local
2331 sdr = nand_get_sdr_timings(conf); in cadence_nand_setup_interface()
2332 if (IS_ERR(sdr)) in cadence_nand_setup_interface()
2333 return PTR_ERR(sdr); in cadence_nand_setup_interface()
2345 tdvw_min = sdr->tREA_max + board_delay_skew_max; in cadence_nand_setup_interface()
2355 if (sdr->tRC_min <= clk_period && in cadence_nand_setup_interface()
2356 sdr->tRP_min <= (clk_period / 2) && in cadence_nand_setup_interface()
2357 sdr->tREH_min <= (clk_period / 2)) { in cadence_nand_setup_interface()
2360 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min, in cadence_nand_setup_interface()
2361 sdr->tREA_max, ext_rd_mode); in cadence_nand_setup_interface()
[all …]
Dams-delta.c198 const struct nand_sdr_timings *sdr = nand_get_sdr_timings(cf); in gpio_nand_setup_interface() local
201 if (IS_ERR(sdr)) in gpio_nand_setup_interface()
202 return PTR_ERR(sdr); in gpio_nand_setup_interface()
208 priv->tRP = DIV_ROUND_UP(sdr->tRP_min, 1000); in gpio_nand_setup_interface()
212 priv->tWP = DIV_ROUND_UP(sdr->tWP_min, 1000); in gpio_nand_setup_interface()
Dnand_base.c883 iface->timings.sdr = *spec_timings; in nand_choose_best_sdr_timings()
1008 const struct nand_sdr_timings *sdr = in nand_sp_exec_read_page_op() local
1014 NAND_OP_ADDR(3, addrs, PSEC_TO_NSEC(sdr->tWB_max)), in nand_sp_exec_read_page_op()
1015 NAND_OP_WAIT_RDY(PSEC_TO_MSEC(sdr->tR_max), in nand_sp_exec_read_page_op()
1016 PSEC_TO_NSEC(sdr->tRR_min)), in nand_sp_exec_read_page_op()
1051 const struct nand_sdr_timings *sdr = in nand_lp_exec_read_page_op() local
1057 NAND_OP_CMD(NAND_CMD_READSTART, PSEC_TO_NSEC(sdr->tWB_max)), in nand_lp_exec_read_page_op()
1058 NAND_OP_WAIT_RDY(PSEC_TO_MSEC(sdr->tR_max), in nand_lp_exec_read_page_op()
1059 PSEC_TO_NSEC(sdr->tRR_min)), in nand_lp_exec_read_page_op()
1148 const struct nand_sdr_timings *sdr = in nand_read_param_page_op() local
[all …]
Dmxic_nand.c458 const struct nand_sdr_timings *sdr; in mxic_nfc_setup_interface() local
462 sdr = nand_get_sdr_timings(conf); in mxic_nfc_setup_interface()
463 if (IS_ERR(sdr)) in mxic_nfc_setup_interface()
464 return PTR_ERR(sdr); in mxic_nfc_setup_interface()
469 freq = NSEC_PER_SEC / (sdr->tRC_min / 1000); in mxic_nfc_setup_interface()
475 if (sdr->tRC_min < 30000) in mxic_nfc_setup_interface()
Dmarvell_nand.c1136 const struct nand_sdr_timings *sdr = in marvell_nfc_hw_ecc_hmg_do_write_page() local
1183 PSEC_TO_MSEC(sdr->tPROG_max)); in marvell_nfc_hw_ecc_hmg_do_write_page()
1604 const struct nand_sdr_timings *sdr = in marvell_nfc_hw_ecc_bch_write_page() local
1642 ret = marvell_nfc_wait_op(chip, PSEC_TO_MSEC(sdr->tPROG_max)); in marvell_nfc_hw_ecc_bch_write_page()
2357 const struct nand_sdr_timings *sdr; in marvell_nfc_setup_interface() local
2361 sdr = nand_get_sdr_timings(conf); in marvell_nfc_setup_interface()
2362 if (IS_ERR(sdr)) in marvell_nfc_setup_interface()
2363 return PTR_ERR(sdr); in marvell_nfc_setup_interface()
2376 nfc_tmg.tRP = TO_CYCLES(DIV_ROUND_UP(sdr->tRC_min, 2), period_ns) - 1; in marvell_nfc_setup_interface()
2378 nfc_tmg.tWP = TO_CYCLES(DIV_ROUND_UP(sdr->tWC_min, 2), period_ns) - 1; in marvell_nfc_setup_interface()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/altera/
Dsocfpga-sdram-controller.txt4 - compatible : Should contain "altr,sdr-ctl" and "syscon".
9 sdr: sdr@ffc25000 {
10 compatible = "altr,sdr-ctl", "syscon";
Dsocfpga-sdram-edac.txt6 - altr,sdr-syscon : phandle of the sdr module
13 altr,sdr-syscon = <&sdr>;
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c454 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
455 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
456 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_g_fmt_sdr_cap()
469 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_s_fmt_sdr_cap()
471 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap()
474 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
480 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
481 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
489 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_try_fmt_sdr_cap()
491 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/msi2500/
Dmsi2500.c913 f->fmt.sdr.pixelformat = dev->pixelformat; in msi2500_g_fmt_sdr_cap()
914 f->fmt.sdr.buffersize = dev->buffersize; in msi2500_g_fmt_sdr_cap()
915 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in msi2500_g_fmt_sdr_cap()
928 (char *)&f->fmt.sdr.pixelformat); in msi2500_s_fmt_sdr_cap()
933 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in msi2500_s_fmt_sdr_cap()
935 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_s_fmt_sdr_cap()
938 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
945 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_s_fmt_sdr_cap()
946 f->fmt.sdr.buffersize = formats[0].buffersize; in msi2500_s_fmt_sdr_cap()
958 (char *)&f->fmt.sdr.pixelformat); in msi2500_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/airspy/
Dairspy.c633 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap()
634 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
635 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_g_fmt_sdr_cap()
650 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_s_fmt_sdr_cap()
652 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap()
655 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
662 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
663 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
673 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_try_fmt_sdr_cap()
675 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/hackrf/
Dhackrf.c922 (char *)&f->fmt.sdr.pixelformat); in hackrf_s_fmt_sdr()
932 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in hackrf_s_fmt_sdr()
934 if (f->fmt.sdr.pixelformat == formats[i].pixelformat) { in hackrf_s_fmt_sdr()
937 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
944 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_s_fmt_sdr()
945 f->fmt.sdr.buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
958 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in hackrf_g_fmt_sdr()
959 f->fmt.sdr.pixelformat = dev->pixelformat; in hackrf_g_fmt_sdr()
960 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr()
972 (char *)&f->fmt.sdr.pixelformat); in hackrf_try_fmt_sdr()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Drtl2832_sdr.c1130 f->fmt.sdr.pixelformat = dev->pixelformat; in rtl2832_sdr_g_fmt_sdr_cap()
1131 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap()
1133 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in rtl2832_sdr_g_fmt_sdr_cap()
1147 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_s_fmt_sdr_cap()
1152 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in rtl2832_sdr_s_fmt_sdr_cap()
1154 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_s_fmt_sdr_cap()
1157 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1164 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1165 f->fmt.sdr.buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1178 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
D4xx.c484 unsigned int sdr; in eplike_fixup_uart_clk() local
489 sdr = SDR0_READ(DCRN_SDR0_UART0); in eplike_fixup_uart_clk()
492 sdr = SDR0_READ(DCRN_SDR0_UART1); in eplike_fixup_uart_clk()
495 sdr = SDR0_READ(DCRN_SDR0_UART2); in eplike_fixup_uart_clk()
498 sdr = SDR0_READ(DCRN_SDR0_UART3); in eplike_fixup_uart_clk()
504 if (sdr & 0x00800000u) in eplike_fixup_uart_clk()
507 clock = plb_clk / __fix_zero(sdr & 0xff, 256); in eplike_fixup_uart_clk()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1256 if (conf->timings.sdr.tRC_min < 30000) in atmel_smc_nand_prepare_smcconf()
1269 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1287 timeps = max3(conf->timings.sdr.tCLS_min, conf->timings.sdr.tCS_min, in atmel_smc_nand_prepare_smcconf()
1288 conf->timings.sdr.tALS_min); in atmel_smc_nand_prepare_smcconf()
1289 timeps = max(timeps, conf->timings.sdr.tDS_min); in atmel_smc_nand_prepare_smcconf()
1304 timeps = max3(conf->timings.sdr.tCLH_min, conf->timings.sdr.tCH_min, in atmel_smc_nand_prepare_smcconf()
1305 conf->timings.sdr.tALH_min); in atmel_smc_nand_prepare_smcconf()
1306 timeps = max3(timeps, conf->timings.sdr.tDH_min, in atmel_smc_nand_prepare_smcconf()
1307 conf->timings.sdr.tWH_min); in atmel_smc_nand_prepare_smcconf()
1318 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos5260-xyref5260.dts72 samsung,dw-mshc-sdr-timing = <0 4>;
84 samsung,dw-mshc-sdr-timing = <2 3>;
Dexynos5410-smdk5410.dts52 samsung,dw-mshc-sdr-timing = <2 3>;
62 samsung,dw-mshc-sdr-timing = <2 3>;
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dredwood.dts95 SDR0: sdr {
96 compatible = "ibm,sdr-460sx";
249 sdr-base = <0x300>;
290 sdr-base = <0x340>;
331 sdr-base = <0x370>;
365 sdr-base = <0x3B0>;
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c646 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument
658 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings()
662 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings()
675 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings()
676 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings()
677 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings()
678 busy_timeout_cycles = TO_CYCLES(sdr->tWB_max + sdr->tR_max, period_ps); in gpmi_nfc_compute_timings()
701 sample_delay_ps = (sdr->tREA_max + 4000 - tRP_ps) * 8; in gpmi_nfc_compute_timings()
766 const struct nand_sdr_timings *sdr; in gpmi_setup_interface() local
769 sdr = nand_get_sdr_timings(conf); in gpmi_setup_interface()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dexynos-dw-mshc.txt30 * samsung,dw-mshc-sdr-timing: Specifies the value of CIU clock phase shift value
42 Notes for the sdr-timing and ddr-timing values:
87 samsung,dw-mshc-sdr-timing = <2 3>;

12345