/linux/drivers/media/platform/ |
A D | rcar_drif.c | 345 sdr->fmt->bitlen, sdr->fmt->wdcnt, sdr->fmt->num_ch); in rcar_drif_set_format() 525 struct rcar_drif_sdr *sdr = ch->sdr; in rcar_drif_dma_complete() local 599 struct rcar_drif_sdr *sdr = ch->sdr; in rcar_drif_qbuf() local 893 sdr->num_cur_ch = sdr->num_hw_ch; in rcar_drif_set_default_format() 956 sdr->num_cur_ch = sdr->num_hw_ch; in rcar_drif_s_fmt_sdr_cap() 1076 sdr->vdev->lock = &sdr->v4l2_mutex; in rcar_drif_sdr_register() 1077 sdr->vdev->queue = &sdr->vb_queue; in rcar_drif_sdr_register() 1083 video_set_drvdata(sdr->vdev, sdr); in rcar_drif_sdr_register() 1277 ch->sdr = sdr; in rcar_drif_bond_available() 1318 sdr->vb_queue.drv_priv = sdr; in rcar_drif_sdr_probe() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A 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
|
/linux/drivers/mtd/nand/raw/ |
A D | nand_toshiba.c | 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() 236 sdr->tRHZ_max = 60000; in th58nvg2s3hbai4_choose_interface_config() 237 sdr->tWHR_min = 60000; in th58nvg2s3hbai4_choose_interface_config() [all …]
|
A D | cadence-nand-controller.c | 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() 2355 if (sdr->tRC_min <= clk_period && in cadence_nand_setup_interface() 2361 sdr->tREA_max, ext_rd_mode); in cadence_nand_setup_interface() 2397 if (sdr->tREH_min >= trh) in cadence_nand_setup_interface() 2403 sdr->tREA_max, ext_rd_mode); in cadence_nand_setup_interface() 2411 sdr->tRHOH_min, in cadence_nand_setup_interface() 2441 sdr->tRHOH_min, in cadence_nand_setup_interface() 2458 if (sdr->tWH_min >= twh) in cadence_nand_setup_interface() [all …]
|
A 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()
|
A 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 …]
|
A 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()
|
A D | marvell_nand.c | 1136 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 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() 2389 read_delay = sdr->tRC_min >= 30000 ? in marvell_nfc_setup_interface() 2398 nfc_tmg.tWHR = TO_CYCLES(max_t(int, sdr->tWHR_min, sdr->tCCS_min), in marvell_nfc_setup_interface() 2400 nfc_tmg.tRHW = TO_CYCLES(max_t(int, sdr->tRHW_min, sdr->tCCS_min), in marvell_nfc_setup_interface() [all …]
|
A 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()
|
A D | nand_legacy.c | 358 const struct nand_sdr_timings *sdr = in nand_ccs_delay() local 372 if (!IS_ERR(sdr) && nand_controller_can_setup_interface(chip)) in nand_ccs_delay() 373 ndelay(sdr->tCCS_min / 1000); in nand_ccs_delay()
|
/linux/Documentation/devicetree/bindings/arm/altera/ |
A D | socfpga-sdram-controller.txt | 4 - compatible : Should contain "altr,sdr-ctl" and "syscon". 9 sdr: sdr@ffc25000 { 10 compatible = "altr,sdr-ctl", "syscon";
|
A D | socfpga-sdram-edac.txt | 6 - altr,sdr-syscon : phandle of the sdr module 13 altr,sdr-syscon = <&sdr>;
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-sdr-cap.c | 456 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap() 457 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_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() 490 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_try_fmt_sdr_cap() 491 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_try_fmt_sdr_cap() 495 f->fmt.sdr.pixelformat = formats[0].pixelformat; in vidioc_try_fmt_sdr_cap() 496 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_try_fmt_sdr_cap()
|
/linux/drivers/mtd/nand/raw/atmel/ |
A D | nand-controller.c | 1256 if (conf->timings.sdr.tRC_min < 30000) 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() 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() 1307 conf->timings.sdr.tWH_min); in atmel_smc_nand_prepare_smcconf() 1343 timeps = max(conf->timings.sdr.tREH_min, conf->timings.sdr.tRHOH_min); in atmel_smc_nand_prepare_smcconf() 1527 const struct nand_sdr_timings *sdr; in atmel_nand_setup_interface() local 1530 sdr = nand_get_sdr_timings(conf); in atmel_nand_setup_interface() 1531 if (IS_ERR(sdr)) in atmel_nand_setup_interface() [all …]
|
/linux/arch/powerpc/boot/ |
A 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/drivers/media/usb/msi2500/ |
A 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() 960 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_try_fmt_sdr_cap() 965 f->fmt.sdr.pixelformat = formats[0].pixelformat; in msi2500_try_fmt_sdr_cap() [all …]
|
/linux/drivers/media/usb/airspy/ |
A 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/arch/arm/boot/dts/ |
A D | exynos5260-xyref5260.dts | 72 samsung,dw-mshc-sdr-timing = <0 4>; 84 samsung,dw-mshc-sdr-timing = <2 3>;
|
A D | exynos5410-smdk5410.dts | 52 samsung,dw-mshc-sdr-timing = <2 3>; 62 samsung,dw-mshc-sdr-timing = <2 3>;
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
A D | gpmi-nand.c | 648 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument 660 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings() 664 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings() 679 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings() 680 busy_timeout_cycles = TO_CYCLES(sdr->tWB_max + sdr->tR_max, period_ps); in gpmi_nfc_compute_timings() 748 const struct nand_sdr_timings *sdr; in gpmi_setup_interface() local 751 sdr = nand_get_sdr_timings(conf); in gpmi_setup_interface() 752 if (IS_ERR(sdr)) in gpmi_setup_interface() 753 return PTR_ERR(sdr); in gpmi_setup_interface() 756 if (sdr->tRC_min <= 25000 && !GPMI_IS_MX6(this)) in gpmi_setup_interface() [all …]
|
/linux/arch/powerpc/boot/dts/ |
A D | redwood.dts | 95 SDR0: sdr { 96 compatible = "ibm,sdr-460sx"; 249 sdr-base = <0x300>; 290 sdr-base = <0x340>; 331 sdr-base = <0x370>; 365 sdr-base = <0x3B0>;
|
A D | katmai.dts | 102 SDR0: sdr { 103 compatible = "ibm,sdr-440spe"; 333 sdr-base = <0x300>; 374 sdr-base = <0x340>; 415 sdr-base = <0x370>; 448 sdr-base = <0x3B0>;
|
/linux/drivers/media/usb/hackrf/ |
A 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() 974 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_try_fmt_sdr() 979 f->fmt.sdr.pixelformat = formats[0].pixelformat; in hackrf_try_fmt_sdr() [all …]
|
/linux/drivers/media/dvb-frontends/ |
A 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() 1182 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_try_fmt_sdr_cap() 1187 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_try_fmt_sdr_cap() [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
A D | exynos-dw-mshc.txt | 30 * 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>;
|