Home
last modified time | relevance | path

Searched full:sdr (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux/drivers/media/platform/renesas/
H A Drcar_drif.c27 * driver exposes the device as a V4L2 SDR device. In order to qualify as
28 * a V4L2 SDR device, it should possess a tuner interface as mandated by the
31 * a V4L2 compliant SDR device. The DRIF driver is independent of the
127 #define to_rcar_drif_buf_pair(sdr, ch_num, idx) \ argument
128 (&((sdr)->ch[!(ch_num)]->buf[(idx)]))
134 #define rdrif_dbg(sdr, fmt, arg...) \ argument
135 dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg)
137 #define rdrif_err(sdr, fmt, arg...) \ argument
138 dev_err(sdr->v4l2_dev.dev, fmt, ## arg)
194 struct rcar_drif_sdr *sdr; /* Group device */ member
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dsdr-formats.rst6 SDR Formats
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
H A Ddev-sdr.rst6 Software Defined Radio Interface (SDR)
9 SDR is an abbreviation of Software Defined Radio, the radio device which
13 SDR devices are accessed through character device special files named
21 Devices supporting the SDR receiver interface set the
27 element for the SDR receiver.
29 Devices supporting the SDR transmitter interface set the
35 element for the SDR transmitter.
44 SDR devices can support :ref:`controls <control>`, and must support
49 The ``V4L2_TUNER_SDR`` tuner type is used for setting SDR device ADC/DAC
52 follow the SDR tuner index. Normally the SDR tuner is #0 and the RF
[all …]
H A Dvidioc-g-modulator.rst55 :ref:`SDR <sdr>` specific modulator types are ``V4L2_TUNER_SDR`` and
56 ``V4L2_TUNER_RF``. For SDR devices ``txsubchans`` field must be
57 initialized to zero. The term 'modulator' means SDR transmitter in this
H A Dvidioc-g-tuner.rst55 :ref:`SDR <sdr>` specific tuner types are ``V4L2_TUNER_SDR`` and
56 ``V4L2_TUNER_RF``. For SDR devices ``audmode`` field must be initialized
57 to zero. The term 'tuner' means SDR receiver in this context.
203 Software Digital Radio (SDR)
206 - Tuner controls the RF part of a Software Digital Radio (SDR)
/linux/drivers/mtd/nand/raw/
H A 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 …]
H A Drenesas-nand-controller.c895 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 …]
H A Dcadence-nand-controller.c2350 const struct nand_sdr_timings *sdr; in cadence_nand_setup_interface() local
2371 sdr = nand_get_sdr_timings(conf); in cadence_nand_setup_interface()
2372 if (IS_ERR(sdr)) in cadence_nand_setup_interface()
2373 return PTR_ERR(sdr); in cadence_nand_setup_interface()
2385 tdvw_min = sdr->tREA_max + board_delay_skew_max; in cadence_nand_setup_interface()
2391 * for SDR timing modes 1, 2, 3, 4 and 5. in cadence_nand_setup_interface()
2392 * If clk_period is 20ns the condition is met only for SDR timing in cadence_nand_setup_interface()
2395 if (sdr->tRC_min <= clk_period && in cadence_nand_setup_interface()
2396 sdr->tRP_min <= (clk_period / 2) && in cadence_nand_setup_interface()
2397 sdr->tREH_min <= (clk_period / 2)) { in cadence_nand_setup_interface()
[all …]
H A Dnand_timings.c27 .timings.sdr = {
72 .timings.sdr = {
117 .timings.sdr = {
162 .timings.sdr = {
207 .timings.sdr = {
252 .timings.sdr = {
550 /* All NAND chips share the same reset data interface: SDR mode 0 */
557 * onfi_find_closest_sdr_mode - Derive the closest ONFI SDR timing mode given a
568 onfi_timings = &onfi_sdr_timings[mode].timings.sdr; in onfi_find_closest_sdr_mode()
646 * onfi_fill_sdr_interface_config - Initialize a SDR interface config from a
[all …]
H A Dpl35x-nand-controller.c595 const struct nand_sdr_timings *sdr = in pl35x_nand_read_page_hwecc() local
631 ndelay(PSEC_TO_NSEC(sdr->tRR_min)); in pl35x_nand_read_page_hwecc()
790 const struct nand_sdr_timings *sdr; in pl35x_nfc_setup_interface() local
794 sdr = nand_get_sdr_timings(conf); in pl35x_nfc_setup_interface()
795 if (IS_ERR(sdr)) in pl35x_nfc_setup_interface()
796 return PTR_ERR(sdr); in pl35x_nfc_setup_interface()
805 * SDR timings are given in pico-seconds while NFC timings must be in pl35x_nfc_setup_interface()
812 * PL35X SMC needs one extra read cycle in SDR Mode 5. This is not in pl35x_nfc_setup_interface()
815 val = TO_CYCLES(sdr->tRC_min, period_ns); in pl35x_nfc_setup_interface()
816 if (sdr->tRC_min <= 20000) in pl35x_nfc_setup_interface()
[all …]
H A 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()
H A 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()
/linux/arch/arm/mach-socfpga/
H A Dself-refresh.S27 * sdr.ctrlcfg.lowpwreq.selfrfshmask
28 * sdr.ctrlcfg.lowpwrtiming.clkdisablecycles
29 * sdr.ctrlcfg.dramtiming4.selfrfshexit
53 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */
58 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 1 or hit max loops */
89 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */
94 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 0 or hit max loops */
/linux/Documentation/devicetree/bindings/arm/altera/
H A Dsocfpga-sdram-edac.txt6 - altr,sdr-syscon : phandle of the sdr module
13 altr,sdr-syscon = <&sdr>;
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-sdr-cap.c3 * vivid-sdr-cap.c - software defined radio support functions.
24 #include "vivid-sdr-cap.h"
89 dprintk(dev, 1, "SDR Capture Thread Tick\n"); in vivid_thread_sdr_cap_tick()
129 dprintk(dev, 1, "SDR Capture Thread Start\n"); in vivid_thread_sdr_cap()
213 dprintk(dev, 1, "SDR Capture Thread End\n"); in vivid_thread_sdr_cap()
282 "%s-sdr-cap", dev->v4l2_dev.name); in sdr_cap_start_streaming()
466 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
467 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
481 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap()
484 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dsamsung,exynos-dw-mshc.yaml84 Valid values for SDR and DDR CIU clock timing::
92 samsung,dw-mshc-sdr-timing:
119 - samsung,dw-mshc-sdr-timing
155 samsung,dw-mshc-sdr-timing = <0 4>;
/linux/drivers/media/usb/airspy/
H A Dairspy.c3 * AirSpy SDR driver
637 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap()
638 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
654 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap()
657 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
664 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
665 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
676 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_try_fmt_sdr_cap()
677 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_try_fmt_sdr_cap()
682 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_try_fmt_sdr_cap()
[all …]
/linux/arch/powerpc/boot/
H A D4xx.c471 unsigned int sdr; in eplike_fixup_uart_clk() local
476 sdr = SDR0_READ(DCRN_SDR0_UART0); in eplike_fixup_uart_clk()
479 sdr = SDR0_READ(DCRN_SDR0_UART1); in eplike_fixup_uart_clk()
482 sdr = SDR0_READ(DCRN_SDR0_UART2); in eplike_fixup_uart_clk()
485 sdr = SDR0_READ(DCRN_SDR0_UART3); in eplike_fixup_uart_clk()
491 if (sdr & 0x00800000u) in eplike_fixup_uart_clk()
494 clock = plb_clk / __fix_zero(sdr & 0xff, 256); in eplike_fixup_uart_clk()
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1257 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/arch/arm/mach-omap2/
H A Dsram242x.S131 * r0 = [PRCM_FULL | PRCM_HALF] r1 = SDRC_DLLA_CTRL value r2 = [DDR | SDR]
132 * PRCM_FULL = 2, PRCM_HALF = 1, DDR = 1, SDR = 0
138 mcr p15, 0, r3, c7, c10, 4 @ memory barrier, finish ARM SDR/DDR
172 cmp r2, #0x1 @ (SDR or DDR) do we need to adjust DLL
173 bne freq_out @ leave if SDR, no DLL function
H A Dsram243x.S131 * r0 = [PRCM_FULL | PRCM_HALF] r1 = SDRC_DLLA_CTRL value r2 = [DDR | SDR]
132 * PRCM_FULL = 2, PRCM_HALF = 1, DDR = 1, SDR = 0
138 mcr p15, 0, r3, c7, c10, 4 @ memory barrier, finish ARM SDR/DDR
172 cmp r2, #0x1 @ (SDR or DDR) do we need to adjust DLL
173 bne freq_out @ leave if SDR, no DLL function
/linux/drivers/media/usb/msi2500/
H A Dmsi2500.c4 * Mirics MSi3101 SDR Dongle driver
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()
[all …]
/linux/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c3 * Realtek RTL2832U SDR driver
1134 f->fmt.sdr.pixelformat = dev->pixelformat; in rtl2832_sdr_g_fmt_sdr_cap()
1135 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap()
1149 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_s_fmt_sdr_cap()
1155 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_s_fmt_sdr_cap()
1158 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1165 f->fmt.sdr.pixelformat = formats[0].pixelformat; in rtl2832_sdr_s_fmt_sdr_cap()
1166 f->fmt.sdr.buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1179 (char *)&f->fmt.sdr.pixelformat); in rtl2832_sdr_try_fmt_sdr_cap()
1182 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in rtl2832_sdr_try_fmt_sdr_cap()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddwb.h91 DWB_SRGB_BT709 = 0, //SDR
97 DWB_SRGB = 0, //SDR
98 DWB_BT709 = 1, //SDR
/linux/drivers/media/platform/
H A DKconfig20 bool "SDR platform devices"
23 Say Y here to enable support for platform-specific SDR Drivers.

12345678910