Home
last modified time | relevance | path

Searched full:timings (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/Linux-v5.4/include/media/
Dv4l2-dv-timings.h3 * v4l2-dv-timings - Internal header with dv-timings helper functions
16 * @t: Timings for the video mode.
30 * typedef v4l2_check_dv_timings_fnc - timings check callback
35 * Returns true if the given timings are valid.
40 * v4l2_valid_dv_timings() - are these timings valid?
58 * timings based on capabilities
66 * timings, filtering out any timings that are not supported based on the
78 * v4l2_find_dv_timings_cap() - Find the closest timings struct
84 * @fnc: callback to check if a given timings struct is OK. May be NULL.
87 * This function tries to map the given timings to an entry in the
[all …]
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_wp.c145 struct omap_video_timings *timings) in hdmi_wp_video_config_interface() argument
151 vsync_pol = timings->vsync_level == OMAPDSS_SIG_ACTIVE_HIGH; in hdmi_wp_video_config_interface()
152 hsync_pol = timings->hsync_level == OMAPDSS_SIG_ACTIVE_HIGH; in hdmi_wp_video_config_interface()
157 r = FLD_MOD(r, timings->interlace, 3, 3); in hdmi_wp_video_config_interface()
163 struct omap_video_timings *timings) in hdmi_wp_video_config_timing() argument
170 timing_h |= FLD_VAL(timings->hbp, 31, 20); in hdmi_wp_video_config_timing()
171 timing_h |= FLD_VAL(timings->hfp, 19, 8); in hdmi_wp_video_config_timing()
172 timing_h |= FLD_VAL(timings->hsw, 7, 0); in hdmi_wp_video_config_timing()
175 timing_v |= FLD_VAL(timings->vbp, 31, 20); in hdmi_wp_video_config_timing()
176 timing_v |= FLD_VAL(timings->vfp, 19, 8); in hdmi_wp_video_config_timing()
[all …]
Dhdmi5_core.c286 video_cfg->v_fc_config.timings.hsync_level = cfg->timings.hsync_level; in hdmi_core_init()
287 video_cfg->v_fc_config.timings.x_res = cfg->timings.x_res; in hdmi_core_init()
288 video_cfg->v_fc_config.timings.hsw = cfg->timings.hsw - 1; in hdmi_core_init()
289 video_cfg->v_fc_config.timings.hbp = cfg->timings.hbp; in hdmi_core_init()
290 video_cfg->v_fc_config.timings.hfp = cfg->timings.hfp; in hdmi_core_init()
291 video_cfg->hblank = cfg->timings.hfp + in hdmi_core_init()
292 cfg->timings.hbp + cfg->timings.hsw - 1; in hdmi_core_init()
293 video_cfg->v_fc_config.timings.vsync_level = cfg->timings.vsync_level; in hdmi_core_init()
294 video_cfg->v_fc_config.timings.y_res = cfg->timings.y_res; in hdmi_core_init()
295 video_cfg->v_fc_config.timings.vsw = cfg->timings.vsw; in hdmi_core_init()
[all …]
/Linux-v5.4/Documentation/driver-api/memory-devices/
Dti-gpmc.rst23 GPMC has certain timings that has to be programmed for proper
25 timings. To have peripheral work with gpmc, peripheral timings has to
28 dependency for certain gpmc timings on gpmc clock frequency. Hence a
31 Generic routine provides a generic method to calculate gpmc timings
32 from gpmc peripheral timings. struct gpmc_device_timings fields has to
33 be updated with timings from the datasheet of the peripheral that is
34 connected to gpmc. A few of the peripheral timings can be fed either
49 on understanding of gpmc timings, peripheral timings, available
54 gpmc timing dependency on peripheral timings:
172 Many of gpmc timings are dependent on other gpmc timings (a few
[all …]
/Linux-v5.4/Documentation/fb/
Dviafb.modes31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60"
33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode
54 geometry 640 480 640 480 32 timings 31747 120 16 16 1 64 3 endmode
75 geometry 640 480 640 480 32 timings 27777 80 56 25 1 56 3 endmode
96 geometry 640 480 640 480 32 timings 23168 104 40 25 1 64 3 endmode
117 geometry 640 480 640 480 32 timings 19081 104 40 31 1 64 3 endmode
138 geometry 720 480 720 480 32 timings 37202 88 16 14 1 72 3 endmode
159 geometry 800 480 800 480 32 timings 33805 96 24 10 3 72 7 endmode
180 geometry 720 576 720 576 32 timings 30611 96 24 17 1 72 3 endmode
202 timings 25000 88 40 23 1 128 4 hsync high vsync high endmode
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-query-dv-timings.rst45 The hardware may be able to detect the current DV timings automatically,
49 the timings, it will fill in the timings structure.
53 Drivers shall *not* switch timings automatically if new
54 timings are detected. Instead, drivers should send the
57 The reason is that new timings usually mean different buffer sizes as
60 :ref:`VIDIOC_QUERY_DV_TIMINGS`, and if the detected timings are valid they
61 will have to stop streaming, set the new timings, allocate new buffers
64 If the timings could not be detected because there was no signal, then
69 capabilities), then the driver fills in whatever timings it could find
72 found timings with the hardware's capabilities in order to give more
[all …]
Ddv-timings.rst10 .. _dv-timings:
13 Digital Video (DV) Timings
17 and the corresponding video timings. Today there are many more different
20 extend the API to select the video timings for these interfaces. Since
23 set/get video timings at the input and output.
25 These ioctls deal with the detailed digital video timings that define
28 widths etc. The ``linux/v4l2-dv-timings.h`` header can be used to get
29 the timings of the formats in the :ref:`cea861` and :ref:`vesadmt`
32 To enumerate and query the attributes of the DV timings supported by a
36 DV timings for the device applications use the
[all …]
Dvidioc-enum-dv-timings.rst19 VIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Digital Video timings
45 While some DV receivers or transmitters support a wide range of timings,
46 others support only a limited number of timings. With this ioctl
47 applications can enumerate a list of known supported timings. Call
49 also supports other standards or even custom timings that are not in
52 To query the available timings, applications initialize the ``index``
58 DV timings, applications shall begin at index zero, incrementing by one
63 Drivers may enumerate a different set of DV timings after
66 When implemented by the driver DV timings of subdevices can be queried
68 subdevice node. The DV timings are specific to inputs (for DV receivers)
[all …]
Dvidioc-g-dv-timings.rst19 … VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_SUBDEV_S_DV_TIMINGS - Get or set DV timings for input or outp…
51 To set DV timings for the input or output, applications use the
52 :ref:`VIDIOC_S_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` ioctl and to get the current timings,
60 The ``linux/v4l2-dv-timings.h`` header can be used to get the timings of
62 the current input or output does not support DV timings (e.g. if
79 Digital video timings are not supported for this input or output.
82 The device is busy and therefore can not change the timings.
187 - Type of DV timings as listed in :ref:`dv-timing-types`.
194 - Timings defined by BT.656/1120 specifications
217 - BT.656/1120 timings
[all …]
/Linux-v5.4/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c13 #include <media/v4l2-dv-timings.h>
16 #include <uapi/linux/v4l2-dv-timings.h>
48 struct v4l2_dv_timings timings; member
96 fmt->field = hdmi->timings.bt.interlaced ? in adv748x_hdmi_fill_format()
102 fmt->width = hdmi->timings.bt.width; in adv748x_hdmi_fill_format()
103 fmt->height = hdmi->timings.bt.height; in adv748x_hdmi_fill_format()
109 static void adv748x_fill_optional_dv_timings(struct v4l2_dv_timings *timings) in adv748x_fill_optional_dv_timings() argument
111 v4l2_find_dv_timings_cap(timings, &adv748x_hdmi_timings_cap, in adv748x_fill_optional_dv_timings()
172 const struct v4l2_dv_timings *timings) in adv748x_hdmi_set_video_timings() argument
179 if (!v4l2_match_dv_timings(timings, &stds[i].timings, 250000, in adv748x_hdmi_set_video_timings()
[all …]
/Linux-v5.4/drivers/video/fbdev/core/
Dfbmon.c224 printk("fbmon: trying to fix monitor timings\n"); in fix_edid()
638 DPRINTK(" Detailed Timings\n"); in fb_create_modedb()
655 DPRINTK(" Standard Timings\n"); in fb_create_modedb()
1148 static void fb_timings_vfreq(struct __fb_timings *timings) in fb_timings_vfreq() argument
1150 timings->hfreq = fb_get_hfreq(timings->vfreq, timings->vactive); in fb_timings_vfreq()
1151 timings->vblank = fb_get_vblank(timings->hfreq); in fb_timings_vfreq()
1152 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq()
1153 timings->hblank = fb_get_hblank_by_hfreq(timings->hfreq, in fb_timings_vfreq()
1154 timings->hactive); in fb_timings_vfreq()
1155 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq()
[all …]
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/displays/
Dencoder-tfp410.c24 struct omap_video_timings timings; member
81 in->ops.dpi->set_timings(in, &ddata->timings); in tfp410_enable()
113 static void tfp410_fix_timings(struct omap_video_timings *timings) in tfp410_fix_timings() argument
115 timings->data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; in tfp410_fix_timings()
116 timings->sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; in tfp410_fix_timings()
117 timings->de_level = OMAPDSS_SIG_ACTIVE_HIGH; in tfp410_fix_timings()
121 struct omap_video_timings *timings) in tfp410_set_timings() argument
126 tfp410_fix_timings(timings); in tfp410_set_timings()
128 ddata->timings = *timings; in tfp410_set_timings()
129 dssdev->panel.timings = *timings; in tfp410_set_timings()
[all …]
Dconnector-analog-tv.c23 struct omap_video_timings timings; member
91 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable()
125 struct omap_video_timings *timings) in tvc_set_timings() argument
130 ddata->timings = *timings; in tvc_set_timings()
131 dssdev->panel.timings = *timings; in tvc_set_timings()
133 in->ops.atv->set_timings(in, timings); in tvc_set_timings()
137 struct omap_video_timings *timings) in tvc_get_timings() argument
141 *timings = ddata->timings; in tvc_get_timings()
145 struct omap_video_timings *timings) in tvc_check_timings() argument
150 return in->ops.atv->check_timings(in, timings); in tvc_check_timings()
[all …]
Dconnector-hdmi.c42 struct omap_video_timings timings; member
94 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
121 struct omap_video_timings *timings) in hdmic_set_timings() argument
126 ddata->timings = *timings; in hdmic_set_timings()
127 dssdev->panel.timings = *timings; in hdmic_set_timings()
129 in->ops.hdmi->set_timings(in, timings); in hdmic_set_timings()
133 struct omap_video_timings *timings) in hdmic_get_timings() argument
137 *timings = ddata->timings; in hdmic_get_timings()
141 struct omap_video_timings *timings) in hdmic_check_timings() argument
146 return in->ops.hdmi->check_timings(in, timings); in hdmic_check_timings()
[all …]
Dconnector-dvi.c43 struct omap_video_timings timings; member
89 in->ops.dvi->set_timings(in, &ddata->timings); in dvic_enable()
114 struct omap_video_timings *timings) in dvic_set_timings() argument
119 ddata->timings = *timings; in dvic_set_timings()
120 dssdev->panel.timings = *timings; in dvic_set_timings()
122 in->ops.dvi->set_timings(in, timings); in dvic_set_timings()
126 struct omap_video_timings *timings) in dvic_get_timings() argument
130 *timings = ddata->timings; in dvic_get_timings()
134 struct omap_video_timings *timings) in dvic_check_timings() argument
139 return in->ops.dvi->check_timings(in, timings); in dvic_check_timings()
[all …]
Dencoder-opa362.c28 struct omap_video_timings timings; member
91 in->ops.atv->set_timings(in, &ddata->timings); in opa362_enable()
124 struct omap_video_timings *timings) in opa362_set_timings() argument
131 ddata->timings = *timings; in opa362_set_timings()
132 dssdev->panel.timings = *timings; in opa362_set_timings()
134 in->ops.atv->set_timings(in, timings); in opa362_set_timings()
138 struct omap_video_timings *timings) in opa362_get_timings() argument
144 *timings = ddata->timings; in opa362_get_timings()
148 struct omap_video_timings *timings) in opa362_check_timings() argument
155 return in->ops.atv->check_timings(in, timings); in opa362_check_timings()
/Linux-v5.4/drivers/ide/
Dcs5530.c27 * Here are the standard PIO mode 0-4 timings for each "format".
28 * Format-0 uses fast data reg timings, with slower command reg timings.
29 * Format-1 uses fast timings for all registers, but won't work with all drives.
37 * After chip reset, the PIO timings are set to 0x0000e132, which is not valid.
39 #define CS5530_BAD_PIO(timings) (((timings)&~0x80000000)==0x0000e132) argument
50 * will have valid default PIO timings set up before we get here.
71 * different timings can still be chosen for each drive. We could
106 unsigned int reg, timings = 0; in cs5530_set_dma_mode() local
109 case XFER_UDMA_0: timings = 0x00921250; break; in cs5530_set_dma_mode()
110 case XFER_UDMA_1: timings = 0x00911140; break; in cs5530_set_dma_mode()
[all …]
Dcs5536.c137 unsigned long timings = (unsigned long)ide_get_drivedata(drive); in cs5536_set_pio_mode() local
145 timings &= (IDE_DRV_MASK << 8); in cs5536_set_pio_mode()
146 timings |= drv_timings[pio]; in cs5536_set_pio_mode()
147 ide_set_drivedata(drive, (void *)timings); in cs5536_set_pio_mode()
180 unsigned long timings = (unsigned long)ide_get_drivedata(drive); in cs5536_set_dma_mode() local
191 timings &= IDE_DRV_MASK; in cs5536_set_dma_mode()
192 timings |= mwdma_timings[mode - XFER_MW_DMA_0] << 8; in cs5536_set_dma_mode()
193 ide_set_drivedata(drive, (void *)timings); in cs5536_set_dma_mode()
201 unsigned long timings = (unsigned long)ide_get_drivedata(drive); in cs5536_dma_start() local
204 (timings >> 8) != (timings & IDE_DRV_MASK)) in cs5536_dma_start()
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_timings.c19 .timings.sdr = {
61 .timings.sdr = {
103 .timings.sdr = {
145 .timings.sdr = {
187 .timings.sdr = {
229 .timings.sdr = {
291 * Initialize timings that cannot be deduced from timing mode: in onfi_fill_data_interface()
296 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_data_interface() local
299 timings->tPROG_max = 1000000ULL * onfi->tPROG; in onfi_fill_data_interface()
300 timings->tBERS_max = 1000000ULL * onfi->tBERS; in onfi_fill_data_interface()
[all …]
/Linux-v5.4/drivers/media/rc/
Drc-ir-raw.c305 * @timings: Manchester modulation timings.
310 * modulation with the timing characteristics described by @timings, writing up
319 const struct ir_raw_timings_manchester *timings, in ir_raw_gen_manchester() argument
328 if (timings->leader_pulse) { in ir_raw_gen_manchester()
331 init_ir_raw_event_duration((*ev), 1, timings->leader_pulse); in ir_raw_gen_manchester()
332 if (timings->leader_space) { in ir_raw_gen_manchester()
336 timings->leader_space); in ir_raw_gen_manchester()
346 if (timings->invert) in ir_raw_gen_manchester()
349 (*ev)->duration += timings->clock; in ir_raw_gen_manchester()
354 timings->clock); in ir_raw_gen_manchester()
[all …]
/Linux-v5.4/drivers/memory/
Dpl353-smc.c114 * @timings: NAND controller timing parameters
118 void pl353_smc_set_cycles(u32 timings[]) in pl353_smc_set_cycles() argument
125 timings[0] &= PL353_SMC_SET_CYCLES_T0_MASK; in pl353_smc_set_cycles()
126 timings[1] = (timings[1] & PL353_SMC_SET_CYCLES_T1_MASK) << in pl353_smc_set_cycles()
128 timings[2] = (timings[2] & PL353_SMC_SET_CYCLES_T2_MASK) << in pl353_smc_set_cycles()
130 timings[3] = (timings[3] & PL353_SMC_SET_CYCLES_T3_MASK) << in pl353_smc_set_cycles()
132 timings[4] = (timings[4] & PL353_SMC_SET_CYCLES_T4_MASK) << in pl353_smc_set_cycles()
134 timings[5] = (timings[5] & PL353_SMC_SET_CYCLES_T5_MASK) << in pl353_smc_set_cycles()
136 timings[6] = (timings[6] & PL353_SMC_SET_CYCLES_T6_MASK) << in pl353_smc_set_cycles()
138 timings[0] |= timings[1] | timings[2] | timings[3] | in pl353_smc_set_cycles()
[all …]
Dof_memory.c26 * default min timings provided by JEDEC.
92 * of_get_ddr_timings() - extracts the ddr timings and updates no of
95 * @dev: Device requesting for ddr timings
102 * while populating, returns default timings provided by JEDEC.
107 struct lpddr2_timings *timings = NULL; in of_get_ddr_timings() local
115 tim_compat = "jedec,lpddr2-timings"; in of_get_ddr_timings()
126 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_get_ddr_timings()
129 if (!timings) in of_get_ddr_timings()
134 if (of_do_get_timings(np_tim, &timings[i])) { in of_get_ddr_timings()
135 devm_kfree(dev, timings); in of_get_ddr_timings()
[all …]
/Linux-v5.4/drivers/media/spi/
Dgs1662.c23 #include <media/v4l2-dv-timings.h>
24 #include <linux/v4l2-dv-timings.h>
113 /* Implement following timings before enable it.
114 * Because of we don't have access to these theoretical timings yet.
217 static int gs_status_format(u16 status, struct v4l2_dv_timings *timings) in gs_status_format() argument
224 *timings = reg_fmt[i].format; in gs_status_format()
232 static u16 get_register_timings(struct v4l2_dv_timings *timings) in get_register_timings() argument
237 if (v4l2_match_dv_timings(timings, &reg_fmt[i].format, 0, in get_register_timings()
251 struct v4l2_dv_timings *timings) in gs_s_dv_timings() argument
256 reg_value = get_register_timings(timings); in gs_s_dv_timings()
[all …]
/Linux-v5.4/drivers/media/rc/img-ir/
Dimg-ir-hw.c63 /* functions for preprocessing timings, ensuring max is set */
84 static void img_ir_timings_preprocess(struct img_ir_timings *timings, in img_ir_timings_preprocess() argument
87 img_ir_symbol_timing_preprocess(&timings->ldr, unit); in img_ir_timings_preprocess()
88 img_ir_symbol_timing_preprocess(&timings->s00, unit); in img_ir_timings_preprocess()
89 img_ir_symbol_timing_preprocess(&timings->s01, unit); in img_ir_timings_preprocess()
90 img_ir_symbol_timing_preprocess(&timings->s10, unit); in img_ir_timings_preprocess()
91 img_ir_symbol_timing_preprocess(&timings->s11, unit); in img_ir_timings_preprocess()
95 timings->ft.ft_min = (timings->ft.ft_min*unit + 999)/1000; in img_ir_timings_preprocess()
116 static void img_ir_timings_defaults(struct img_ir_timings *timings, in img_ir_timings_defaults() argument
119 img_ir_symbol_timing_defaults(&timings->ldr, &defaults->ldr); in img_ir_timings_defaults()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/lpddr2/
Dlpddr2.txt35 - The lpddr2 node may have one or more child nodes of type "lpddr2-timings".
36 "lpddr2-timings" provides AC timing parameters of the device for
37 a given speed-bin. The user may provide the timings for as many
39 bindings/lpddr2/lpddr2-timings.txt for more information on "lpddr2-timings"
60 timings_elpida_ECB240ABACN_400mhz: lpddr2-timings@0 {
61 compatible = "jedec,lpddr2-timings";
81 timings_elpida_ECB240ABACN_200mhz: lpddr2-timings@1 {
82 compatible = "jedec,lpddr2-timings";

12345678910>>...28