/linux-6.1.9/drivers/media/platform/renesas/ |
D | rcar_drif.c | 126 #define to_rcar_drif_buf_pair(sdr, ch_num, idx) \ argument 127 (&((sdr)->ch[!(ch_num)]->buf[(idx)])) 133 #define rdrif_dbg(sdr, fmt, arg...) \ argument 134 dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg) 136 #define rdrif_err(sdr, fmt, arg...) \ argument 137 dev_err(sdr->v4l2_dev.dev, fmt, ## arg) 193 struct rcar_drif_sdr *sdr; /* Group device */ member 251 static void rcar_drif_release_dmachannels(struct rcar_drif_sdr *sdr) in rcar_drif_release_dmachannels() argument 255 for_each_rcar_drif_channel(i, &sdr->cur_ch_mask) in rcar_drif_release_dmachannels() 256 if (sdr->ch[i]->dmach) { in rcar_drif_release_dmachannels() [all …]
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | sdr-formats.rst | 9 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
|
D | devices.rst | 22 dev-sdr
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_toshiba.c | 35 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 …]
|
D | renesas-nand-controller.c | 895 const struct nand_sdr_timings *sdr; in rnandc_setup_interface() local 898 sdr = nand_get_sdr_timings(conf); in rnandc_setup_interface() 899 if (IS_ERR(sdr)) in rnandc_setup_interface() 900 return PTR_ERR(sdr); in rnandc_setup_interface() 902 if (sdr->tRP_min != sdr->tWP_min || sdr->tREH_min != sdr->tWH_min) { in rnandc_setup_interface() 911 TIMINGS_ASYN_TRWP(TO_CYCLES64(sdr->tRP_min, period_ns)) | in rnandc_setup_interface() 912 TIMINGS_ASYN_TRWH(TO_CYCLES64(sdr->tREH_min, period_ns)); in rnandc_setup_interface() 914 TIM_SEQ0_TCCS(TO_CYCLES64(sdr->tCCS_min, period_ns)) | in rnandc_setup_interface() 915 TIM_SEQ0_TADL(TO_CYCLES64(sdr->tADL_min, period_ns)) | in rnandc_setup_interface() 916 TIM_SEQ0_TRHW(TO_CYCLES64(sdr->tRHW_min, period_ns)) | in rnandc_setup_interface() [all …]
|
D | cadence-nand-controller.c | 2307 const struct nand_sdr_timings *sdr; in cadence_nand_setup_interface() local 2328 sdr = nand_get_sdr_timings(conf); in cadence_nand_setup_interface() 2329 if (IS_ERR(sdr)) in cadence_nand_setup_interface() 2330 return PTR_ERR(sdr); in cadence_nand_setup_interface() 2342 tdvw_min = sdr->tREA_max + board_delay_skew_max; in cadence_nand_setup_interface() 2352 if (sdr->tRC_min <= clk_period && in cadence_nand_setup_interface() 2353 sdr->tRP_min <= (clk_period / 2) && in cadence_nand_setup_interface() 2354 sdr->tREH_min <= (clk_period / 2)) { in cadence_nand_setup_interface() 2357 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min, in cadence_nand_setup_interface() 2358 sdr->tREA_max, ext_rd_mode); in cadence_nand_setup_interface() [all …]
|
D | nand_timings.c | 27 .timings.sdr = { 72 .timings.sdr = { 117 .timings.sdr = { 162 .timings.sdr = { 207 .timings.sdr = { 252 .timings.sdr = { 568 onfi_timings = &onfi_sdr_timings[mode].timings.sdr; in onfi_find_closest_sdr_mode() 669 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_sdr_interface_config()
|
D | pl35x-nand-controller.c | 588 const struct nand_sdr_timings *sdr = in pl35x_nand_read_page_hwecc() local 624 ndelay(PSEC_TO_NSEC(sdr->tRR_min)); in pl35x_nand_read_page_hwecc() 783 const struct nand_sdr_timings *sdr; in pl35x_nfc_setup_interface() local 787 sdr = nand_get_sdr_timings(conf); in pl35x_nfc_setup_interface() 788 if (IS_ERR(sdr)) in pl35x_nfc_setup_interface() 789 return PTR_ERR(sdr); in pl35x_nfc_setup_interface() 808 val = TO_CYCLES(sdr->tRC_min, period_ns); in pl35x_nfc_setup_interface() 809 if (sdr->tRC_min <= 20000) in pl35x_nfc_setup_interface() 816 val = TO_CYCLES(sdr->tWC_min, period_ns); in pl35x_nfc_setup_interface() 827 val = TO_CYCLES(sdr->tWP_min, period_ns); in pl35x_nfc_setup_interface() [all …]
|
D | ams-delta.c | 198 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()
|
D | mxic_nand.c | 458 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()
|
D | marvell_nand.c | 1142 const struct nand_sdr_timings *sdr = in marvell_nfc_hw_ecc_hmg_do_write_page() local 1189 PSEC_TO_MSEC(sdr->tPROG_max)); in marvell_nfc_hw_ecc_hmg_do_write_page() 1610 const struct nand_sdr_timings *sdr = in marvell_nfc_hw_ecc_bch_write_page() local 1648 ret = marvell_nfc_wait_op(chip, PSEC_TO_MSEC(sdr->tPROG_max)); in marvell_nfc_hw_ecc_bch_write_page() 2363 const struct nand_sdr_timings *sdr; in marvell_nfc_setup_interface() local 2367 sdr = nand_get_sdr_timings(conf); in marvell_nfc_setup_interface() 2368 if (IS_ERR(sdr)) in marvell_nfc_setup_interface() 2369 return PTR_ERR(sdr); in marvell_nfc_setup_interface() 2382 nfc_tmg.tRP = TO_CYCLES(DIV_ROUND_UP(sdr->tRC_min, 2), period_ns) - 1; in marvell_nfc_setup_interface() 2384 nfc_tmg.tWP = TO_CYCLES(DIV_ROUND_UP(sdr->tWC_min, 2), period_ns) - 1; in marvell_nfc_setup_interface() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/arm/altera/ |
D | socfpga-sdram-controller.txt | 4 - compatible : Should contain "altr,sdr-ctl" and "syscon". 9 sdr: sdr@ffc25000 { 10 compatible = "altr,sdr-ctl", "syscon";
|
D | socfpga-sdram-edac.txt | 6 - altr,sdr-syscon : phandle of the sdr module 13 altr,sdr-syscon = <&sdr>;
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-sdr-cap.c | 461 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap() 462 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap() 476 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap() 479 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() 485 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap() 486 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap() 495 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap() 496 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_try_fmt_sdr_cap() 500 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_try_fmt_sdr_cap() 501 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_try_fmt_sdr_cap()
|
/linux-6.1.9/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 1257 if (conf->timings.sdr.tRC_min < 30000) in atmel_smc_nand_prepare_smcconf() 1270 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1288 timeps = max3(conf->timings.sdr.tCLS_min, conf->timings.sdr.tCS_min, in atmel_smc_nand_prepare_smcconf() 1289 conf->timings.sdr.tALS_min); in atmel_smc_nand_prepare_smcconf() 1290 timeps = max(timeps, conf->timings.sdr.tDS_min); in atmel_smc_nand_prepare_smcconf() 1305 timeps = max3(conf->timings.sdr.tCLH_min, conf->timings.sdr.tCH_min, in atmel_smc_nand_prepare_smcconf() 1306 conf->timings.sdr.tALH_min); in atmel_smc_nand_prepare_smcconf() 1307 timeps = max3(timeps, conf->timings.sdr.tDH_min, in atmel_smc_nand_prepare_smcconf() 1308 conf->timings.sdr.tWH_min); in atmel_smc_nand_prepare_smcconf() 1319 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); in atmel_smc_nand_prepare_smcconf() [all …]
|
/linux-6.1.9/arch/powerpc/boot/ |
D | 4xx.c | 484 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()
|
/linux-6.1.9/drivers/media/usb/msi2500/ |
D | msi2500.c | 913 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() 927 (char *)&f->fmt.sdr.pixelformat); in msi2500_s_fmt_sdr_cap() 933 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_s_fmt_sdr_cap() 936 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap() 943 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_s_fmt_sdr_cap() 944 f->fmt.sdr.buffersize = formats[0].buffersize; in msi2500_s_fmt_sdr_cap() 956 (char *)&f->fmt.sdr.pixelformat); in msi2500_try_fmt_sdr_cap() 959 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in msi2500_try_fmt_sdr_cap() 960 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_try_fmt_sdr_cap() [all …]
|
/linux-6.1.9/drivers/media/usb/airspy/ |
D | airspy.c | 636 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap() 637 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap() 653 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap() 656 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap() 663 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap() 664 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap() 675 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_try_fmt_sdr_cap() 676 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_try_fmt_sdr_cap() 681 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_try_fmt_sdr_cap() 682 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_try_fmt_sdr_cap()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | exynos5260-xyref5260.dts | 93 samsung,dw-mshc-sdr-timing = <0 4>; 105 samsung,dw-mshc-sdr-timing = <2 3>;
|
D | exynos5410-smdk5410.dts | 65 samsung,dw-mshc-sdr-timing = <2 3>; 75 samsung,dw-mshc-sdr-timing = <2 3>;
|
/linux-6.1.9/Documentation/devicetree/bindings/mmc/ |
D | samsung,exynos-dw-mshc.yaml | 85 samsung,dw-mshc-sdr-timing: 112 - samsung,dw-mshc-sdr-timing 148 samsung,dw-mshc-sdr-timing = <0 4>;
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 1133 f->fmt.sdr.pixelformat = dev->pixelformat; in rtl2832_sdr_g_fmt_sdr_cap() 1134 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap() 1148 (char *)&f->fmt.sdr.pixelformat); 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() 1181 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_try_fmt_sdr_cap() 1182 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_try_fmt_sdr_cap() [all …]
|
/linux-6.1.9/drivers/media/usb/hackrf/ |
D | hackrf.c | 922 (char *)&f->fmt.sdr.pixelformat); in hackrf_s_fmt_sdr() 933 if (f->fmt.sdr.pixelformat == formats[i].pixelformat) { in hackrf_s_fmt_sdr() 936 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr() 943 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_s_fmt_sdr() 944 f->fmt.sdr.buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr() 957 f->fmt.sdr.pixelformat = dev->pixelformat; in hackrf_g_fmt_sdr() 958 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr() 970 (char *)&f->fmt.sdr.pixelformat); in hackrf_try_fmt_sdr() 973 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in hackrf_try_fmt_sdr() 974 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_try_fmt_sdr() [all …]
|
/linux-6.1.9/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 843 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument 858 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings() 863 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings() 886 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings() 887 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings() 888 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings() 889 busy_timeout_ps = max(sdr->tBERS_max, sdr->tPROG_max); in gpmi_nfc_compute_timings() 913 sample_delay_ps = (sdr->tREA_max + 4000 - tRP_ps) * 8; in gpmi_nfc_compute_timings() 979 const struct nand_sdr_timings *sdr; in gpmi_setup_interface() local 983 sdr = nand_get_sdr_timings(conf); in gpmi_setup_interface() [all …]
|
/linux-6.1.9/arch/powerpc/boot/dts/ |
D | redwood.dts | 95 SDR0: sdr { 96 compatible = "ibm,sdr-460sx"; 249 sdr-base = <0x300>; 290 sdr-base = <0x340>; 331 sdr-base = <0x370>;
|