Home
last modified time | relevance | path

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

12345678910>>...17

/kernel/linux/linux-4.19/drivers/media/platform/
Drcar_drif.c32 * driver exposes the device as a V4L2 SDR device. In order to qualify as
33 * a V4L2 SDR device, it should possess a tuner interface as mandated by the
36 * a V4L2 compliant SDR device. The DRIF driver is independent of the
131 #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)
199 struct rcar_drif_sdr *sdr; /* Group device */ member
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/
Drcar_drif.c32 * driver exposes the device as a V4L2 SDR device. In order to qualify as
33 * a V4L2 SDR device, it should possess a tuner interface as mandated by the
36 * a V4L2 compliant SDR device. The DRIF driver is independent of the
131 #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
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
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
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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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
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 …]
/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 = {
295 /* All NAND chips share the same reset data interface: SDR mode 0 */
302 * onfi_find_closest_sdr_mode - Derive the closest ONFI SDR timing mode given a
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 …]
/kernel/linux/linux-4.19/drivers/media/platform/vivid/
Dvivid-sdr-cap.c3 * vivid-sdr-cap.c - software defined radio support functions.
23 #include "vivid-sdr-cap.h"
88 dprintk(dev, 1, "SDR Capture Thread Tick\n"); in vivid_thread_sdr_cap_tick()
124 dprintk(dev, 1, "SDR Capture Thread Start\n"); in vivid_thread_sdr_cap()
202 dprintk(dev, 1, "SDR Capture Thread End\n"); in vivid_thread_sdr_cap()
266 "%s-sdr-cap", dev->v4l2_dev.name); in sdr_cap_start_streaming()
440 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap()
441 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
442 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_g_fmt_sdr_cap()
455 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in vidioc_s_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c3 * vivid-sdr-cap.c - software defined radio support functions.
23 #include "vivid-sdr-cap.h"
88 dprintk(dev, 1, "SDR Capture Thread Tick\n"); in vivid_thread_sdr_cap_tick()
128 dprintk(dev, 1, "SDR Capture Thread Start\n"); in vivid_thread_sdr_cap()
206 dprintk(dev, 1, "SDR Capture Thread End\n"); in vivid_thread_sdr_cap()
270 "%s-sdr-cap", dev->v4l2_dev.name); in sdr_cap_start_streaming()
454 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()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-socfpga/
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 */
/kernel/linux/linux-4.19/arch/arm/mach-socfpga/
Dself-refresh.S38 * sdr.ctrlcfg.lowpwreq.selfrfshmask
39 * sdr.ctrlcfg.lowpwrtiming.clkdisablecycles
40 * sdr.ctrlcfg.dramtiming4.selfrfshexit
64 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */
69 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 1 or hit max loops */
100 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */
105 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 0 or hit max loops */
/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-4.19/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-4.19/drivers/mtd/nand/raw/
Dnand_timings.c22 .timings.sdr = {
64 .timings.sdr = {
106 .timings.sdr = {
148 .timings.sdr = {
190 .timings.sdr = {
232 .timings.sdr = {
283 return &onfi_sdr_timings[mode].timings.sdr; in onfi_async_timing_mode_to_sdr_timings()
313 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_data_interface()
323 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_data_interface()
Dtango_nand.c491 const struct nand_sdr_timings *sdr = nand_get_sdr_timings(conf); in tango_set_timings() local
498 if (IS_ERR(sdr)) in tango_set_timings()
499 return PTR_ERR(sdr); in tango_set_timings()
504 Trdy = to_ticks(kHz, sdr->tCEA_max - sdr->tREA_max); in tango_set_timings()
505 Textw = to_ticks(kHz, sdr->tWB_max); in tango_set_timings()
506 Twc = to_ticks(kHz, sdr->tWC_min); in tango_set_timings()
507 Twpw = to_ticks(kHz, sdr->tWC_min - sdr->tWP_min); in tango_set_timings()
509 Tacc = to_ticks(kHz, sdr->tREA_max); in tango_set_timings()
510 Thold = to_ticks(kHz, sdr->tREH_min); in tango_set_timings()
511 Trpw = to_ticks(kHz, sdr->tRC_min - sdr->tREH_min); in tango_set_timings()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/airspy/
Dairspy.c2 * AirSpy SDR driver
649 f->fmt.sdr.pixelformat = s->pixelformat; in airspy_g_fmt_sdr_cap()
650 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
651 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_g_fmt_sdr_cap()
666 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_s_fmt_sdr_cap()
668 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in airspy_s_fmt_sdr_cap()
671 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
678 f->fmt.sdr.pixelformat = formats[0].pixelformat; in airspy_s_fmt_sdr_cap()
679 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
689 memset(f->fmt.sdr.reserved, 0, sizeof(f->fmt.sdr.reserved)); in airspy_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/airspy/
Dairspy.c3 * AirSpy SDR driver
633 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()
[all …]
/kernel/linux/linux-4.19/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-lib.c377 const struct nand_sdr_timings *sdr) in gpmi_nfc_compute_timings() argument
389 if (sdr->tRC_min >= 30000) { in gpmi_nfc_compute_timings()
393 } else if (sdr->tRC_min >= 25000) { in gpmi_nfc_compute_timings()
403 /* SDR core timings are given in picoseconds */ in gpmi_nfc_compute_timings()
406 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings()
407 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings()
408 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings()
409 busy_timeout_cycles = TO_CYCLES(sdr->tWB_max + sdr->tR_max, period_ps); in gpmi_nfc_compute_timings()
432 sample_delay_ps = (sdr->tREA_max + 4000 - tRP_ps) * 8; in gpmi_nfc_compute_timings()
478 const struct nand_sdr_timings *sdr; in gpmi_setup_data_interface() local
[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:
48 Valid values for SDR and DDR CIU clock timing for Exynos5250:
87 samsung,dw-mshc-sdr-timing = <2 3>;
/kernel/linux/linux-4.19/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:
48 Valid values for SDR and DDR CIU clock timing for Exynos5250:
87 samsung,dw-mshc-sdr-timing = <2 3>;

12345678910>>...17