/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | hdmi_wp.c | 145 struct omap_video_timings *timings) in hdmi_wp_video_config_interface() argument 189 if (param->timings.interlace) in hdmi_wp_init_vid_fmt_timings() 192 timings->hbp = param->timings.hbp; in hdmi_wp_init_vid_fmt_timings() 193 timings->hfp = param->timings.hfp; in hdmi_wp_init_vid_fmt_timings() 194 timings->hsw = param->timings.hsw; in hdmi_wp_init_vid_fmt_timings() 195 timings->vbp = param->timings.vbp; in hdmi_wp_init_vid_fmt_timings() 196 timings->vfp = param->timings.vfp; in hdmi_wp_init_vid_fmt_timings() 197 timings->vsw = param->timings.vsw; in hdmi_wp_init_vid_fmt_timings() 198 timings->vsync_level = param->timings.vsync_level; in hdmi_wp_init_vid_fmt_timings() 199 timings->hsync_level = param->timings.hsync_level; in hdmi_wp_init_vid_fmt_timings() [all …]
|
A D | hdmi5_core.c | 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() 292 cfg->timings.hbp + cfg->timings.hsw - 1; 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() 296 video_cfg->v_fc_config.timings.vfp = cfg->timings.vfp; in hdmi_core_init() 297 video_cfg->v_fc_config.timings.vbp = cfg->timings.vbp; in hdmi_core_init() 300 cfg->timings.vfp + cfg->timings.vbp; in hdmi_core_init() [all …]
|
/linux/drivers/video/fbdev/core/ |
A D | fbmon.c | 1152 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_vfreq() 1155 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq() 1156 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_vfreq() 1162 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_hfreq() 1163 timings->vfreq = timings->hfreq/timings->vtotal; in fb_timings_hfreq() 1166 timings->htotal = timings->hactive + timings->hblank; in fb_timings_hfreq() 1167 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_hfreq() 1174 timings->htotal = timings->hactive + timings->hblank; in fb_timings_dclk() 1175 timings->hfreq = timings->dclk/timings->htotal; in fb_timings_dclk() 1177 timings->vtotal = timings->vactive + timings->vblank; in fb_timings_dclk() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | nand_timings.c | 26 .timings.mode = 0, 27 .timings.sdr = { 71 .timings.mode = 1, 72 .timings.sdr = { 116 .timings.mode = 2, 117 .timings.sdr = { 162 .timings.sdr = { 207 .timings.sdr = { 252 .timings.sdr = { 669 struct nand_sdr_timings *timings = &iface->timings.sdr; in onfi_fill_sdr_interface_config() local [all …]
|
/linux/drivers/media/i2c/adv748x/ |
A D | adv748x-hdmi.c | 48 struct v4l2_dv_timings timings; member 179 if (!v4l2_match_dv_timings(timings, &stds[i].timings, 250000, in adv748x_hdmi_set_video_timings() 224 if (!timings) in adv748x_hdmi_s_dv_timings() 227 if (v4l2_match_dv_timings(&hdmi->timings, timings, 0, false)) in adv748x_hdmi_s_dv_timings() 242 hdmi->timings = *timings; in adv748x_hdmi_s_dv_timings() 245 timings->bt.interlaced ? in adv748x_hdmi_s_dv_timings() 265 *timings = hdmi->timings; in adv748x_hdmi_g_dv_timings() 281 if (!timings) in adv748x_hdmi_query_dv_timings() 334 hdmi->timings = *timings; in adv748x_hdmi_query_dv_timings() 577 if (v4l2_match_dv_timings(timings, &stds[i].timings, 0, false)) in adv748x_hdmi_check_dv_timings() [all …]
|
/linux/drivers/memory/tegra/ |
A D | tegra210-emc-table.c | 16 struct tegra210_emc_timing *timings; in tegra210_emc_table_device_init() local 20 if (!timings) { in tegra210_emc_table_device_init() 28 if (timings[i].revision == 0) in tegra210_emc_table_device_init() 44 memunmap(timings); in tegra210_emc_table_device_init() 48 emc->derated = timings; in tegra210_emc_table_device_init() 51 emc->nominal = timings; in tegra210_emc_table_device_init() 56 rmem->priv = timings; in tegra210_emc_table_device_init() 64 struct tegra210_emc_timing *timings = rmem->priv; in tegra210_emc_table_device_release() local 67 if ((emc->nominal && timings != emc->nominal) && in tegra210_emc_table_device_release() 68 (emc->derated && timings != emc->derated)) in tegra210_emc_table_device_release() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
A D | encoder-tfp410.c | 24 struct omap_video_timings timings; member 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() 131 in->ops.dpi->set_timings(in, timings); in tfp410_set_timings() 135 struct omap_video_timings *timings) in tfp410_get_timings() argument 139 *timings = ddata->timings; in tfp410_get_timings() 143 struct omap_video_timings *timings) in tfp410_check_timings() argument [all …]
|
A D | connector-analog-tv.c | 23 struct omap_video_timings timings; member 86 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable() 120 struct omap_video_timings *timings) in tvc_set_timings() argument 125 ddata->timings = *timings; in tvc_set_timings() 126 dssdev->panel.timings = *timings; in tvc_set_timings() 128 in->ops.atv->set_timings(in, timings); in tvc_set_timings() 132 struct omap_video_timings *timings) in tvc_get_timings() argument 136 *timings = ddata->timings; in tvc_get_timings() 140 struct omap_video_timings *timings) in tvc_check_timings() argument 247 ddata->timings = tvc_pal_timings; in tvc_probe() [all …]
|
A D | connector-hdmi.c | 42 struct omap_video_timings timings; member 89 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable() 116 struct omap_video_timings *timings) in hdmic_set_timings() argument 121 ddata->timings = *timings; in hdmic_set_timings() 122 dssdev->panel.timings = *timings; in hdmic_set_timings() 124 in->ops.hdmi->set_timings(in, timings); in hdmic_set_timings() 128 struct omap_video_timings *timings) in hdmic_get_timings() argument 132 *timings = ddata->timings; in hdmic_get_timings() 136 struct omap_video_timings *timings) in hdmic_check_timings() argument 252 ddata->timings = hdmic_default_timings; in hdmic_probe() [all …]
|
A D | connector-dvi.c | 43 struct omap_video_timings timings; member 84 in->ops.dvi->set_timings(in, &ddata->timings); in dvic_enable() 109 struct omap_video_timings *timings) in dvic_set_timings() argument 114 ddata->timings = *timings; in dvic_set_timings() 115 dssdev->panel.timings = *timings; in dvic_set_timings() 117 in->ops.dvi->set_timings(in, timings); in dvic_set_timings() 121 struct omap_video_timings *timings) in dvic_get_timings() argument 125 *timings = ddata->timings; in dvic_get_timings() 129 struct omap_video_timings *timings) in dvic_check_timings() argument 280 ddata->timings = dvic_default_timings; in dvic_probe() [all …]
|
A D | encoder-opa362.c | 28 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()
|
A D | encoder-tpd12s015.c | 27 struct omap_video_timings timings; member 83 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable() 108 struct omap_video_timings *timings) in tpd_set_timings() argument 113 ddata->timings = *timings; in tpd_set_timings() 114 dssdev->panel.timings = *timings; in tpd_set_timings() 116 in->ops.hdmi->set_timings(in, timings); in tpd_set_timings() 120 struct omap_video_timings *timings) in tpd_get_timings() argument 124 *timings = ddata->timings; in tpd_get_timings() 128 struct omap_video_timings *timings) in tpd_check_timings() argument 134 r = in->ops.hdmi->check_timings(in, timings); in tpd_check_timings()
|
/linux/drivers/media/rc/ |
A D | rc-ir-raw.c | 328 if (timings->leader_pulse) { in ir_raw_gen_manchester() 332 if (timings->leader_space) { in ir_raw_gen_manchester() 346 if (timings->invert) in ir_raw_gen_manchester() 354 timings->clock); in ir_raw_gen_manchester() 360 timings->clock); in ir_raw_gen_manchester() 364 if (timings->trailer_space) { in ir_raw_gen_manchester() 408 if (timings->header_pulse) { in ir_raw_gen_pd() 415 if (timings->msb_first) { in ir_raw_gen_pd() 472 if (timings->msb_first) { in ir_raw_gen_pl() 477 timings->bit_space); in ir_raw_gen_pl() [all …]
|
/linux/Documentation/driver-api/memory-devices/ |
A D | ti-gpmc.rst | 23 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 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 173 gpmc timings purely dependent on other gpmc timings, a reason that [all …]
|
/linux/Documentation/fb/ |
A D | viafb.modes | 334 timings 31518 104 16 13 1 88 3 523 timings 9259 144 24 85 45 144 8 666 timings 6349 224 64 44 1 160 3 670 timings 9390 232 80 25 3 152 6 696 timings 7993 248 96 33 1 152 3 745 timings 4938 304 64 46 1 192 3 749 timings 6814 280 104 30 3 176 6 753 timings 5348 296 120 40 3 176 6 757 timings 4902 320 128 43 1 192 3 761 timings 4577 336 136 45 1 200 3 [all …]
|
/linux/drivers/media/spi/ |
A D | gs1662.c | 236 *timings = reg_fmt[i].format; in gs_status_format() 263 struct v4l2_dv_timings *timings) in gs_s_dv_timings() argument 268 reg_value = get_register_timings(timings); in gs_s_dv_timings() 272 gs->current_timings = *timings; in gs_s_dv_timings() 277 struct v4l2_dv_timings *timings) in gs_g_dv_timings() argument 281 *timings = gs->current_timings; in gs_g_dv_timings() 286 struct v4l2_dv_timings *timings) in gs_query_dv_timings() argument 321 *timings = fmt; in gs_query_dv_timings() 328 if (timings->index >= ARRAY_SIZE(fmt_cap)) in gs_enum_dv_timings() 331 if (timings->pad != 0) in gs_enum_dv_timings() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | dv-timings.rst | 3 .. _dv-timings: 10 and the corresponding video timings. Today there are many more different 13 extend the API to select the video timings for these interfaces. Since 16 set/get video timings at the input and output. 18 These ioctls deal with the detailed digital video timings that define 21 widths etc. The ``linux/v4l2-dv-timings.h`` header can be used to get 22 the timings of the formats in the :ref:`cea861` and :ref:`vesadmt` 25 To enumerate and query the attributes of the DV timings supported by a 29 DV timings for the device applications use the 31 current DV timings they use the [all …]
|
A D | vidioc-enum-dv-timings.rst | 38 While some DV receivers or transmitters support a wide range of timings, 39 others support only a limited number of timings. With this ioctl 40 applications can enumerate a list of known supported timings. Call 42 also supports other standards or even custom timings that are not in 45 To query the available timings, applications initialize the ``index`` 56 Drivers may enumerate a different set of DV timings after 59 When implemented by the driver DV timings of subdevices can be queried 65 Attempts to enumerate timings on a pad that doesn't support them will 79 - Number of the DV timings, set by the application. 90 - ``timings`` [all …]
|
A D | vidioc-query-dv-timings.rst | 38 The hardware may be able to detect the current DV timings automatically, 42 the timings, it will fill in the timings structure. 46 Drivers shall *not* switch timings automatically if new 47 timings are detected. Instead, drivers should send the 50 The reason is that new timings usually mean different buffer sizes as 54 will have to stop streaming, set the new timings, allocate new buffers 57 If the timings could not be detected because there was no signal, then 62 capabilities), then the driver fills in whatever timings it could find 65 found timings with the hardware's capabilities in order to give more 76 Digital video timings are not supported for this input or output. [all …]
|
/linux/drivers/media/i2c/ |
A D | tvp7002.c | 319 struct v4l2_dv_timings timings; member 645 if (timings->cpl_min == 0xffff) in tvp7002_query_dv() 647 if (cpln >= timings->cpl_min && cpln <= timings->cpl_max) in tvp7002_query_dv() 663 struct v4l2_dv_timings *timings) in tvp7002_query_dv_timings() argument 670 *timings = tvp7002_timings[index].timings; in tvp7002_query_dv_timings() 774 struct v4l2_enum_dv_timings *timings) in tvp7002_enum_dv_timings() argument 776 if (timings->pad != 0) in tvp7002_enum_dv_timings() 780 if (timings->index >= NUM_TIMINGS) in tvp7002_enum_dv_timings() 783 timings->timings = tvp7002_timings[timings->index].timings; in tvp7002_enum_dv_timings() 943 struct v4l2_dv_timings timings; in tvp7002_probe() local [all …]
|
/linux/drivers/memory/samsung/ |
A D | exynos5422-dmc.c | 169 const struct lpddr3_timings *timings; member 1050 val = dmc->timings->tRFC / clk_period_ps; in create_timings_aligned() 1056 val = dmc->timings->tRRD / clk_period_ps; in create_timings_aligned() 1068 val = dmc->timings->tRCD / clk_period_ps; in create_timings_aligned() 1074 val = dmc->timings->tRC / clk_period_ps; in create_timings_aligned() 1080 val = dmc->timings->tRAS / clk_period_ps; in create_timings_aligned() 1093 val = dmc->timings->tWR / clk_period_ps; in create_timings_aligned() 1117 val = dmc->timings->tWL / clk_period_ps; in create_timings_aligned() 1129 val = dmc->timings->tRL / clk_period_ps; in create_timings_aligned() 1148 val = dmc->timings->tXP / clk_period_ps; in create_timings_aligned() [all …]
|
/linux/drivers/media/rc/img-ir/ |
A D | img-ir-hw.c | 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() 124 if (!timings->ft.ft_min) in img_ir_timings_defaults() 125 timings->ft.ft_min = defaults->ft.ft_min; in img_ir_timings_defaults() 291 const struct img_ir_timings *timings, in img_ir_timings_convert() argument 307 regs->ft = img_ir_free_timing(&timings->ft, clock_hz); in img_ir_timings_convert() [all …]
|
/linux/drivers/ata/ |
A D | pata_efar.c | 100 u8 timings[][2] = { { 0, 0 }, in efar_set_piomode() local 122 master_data |= (timings[pio][0] << 12) | in efar_set_piomode() 123 (timings[pio][1] << 8); in efar_set_piomode() 134 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift; in efar_set_piomode() 169 u8 timings[][2] = { { 0, 0 }, in efar_set_dmamode() local 220 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in efar_set_dmamode() 227 (timings[pio][0] << 12) | in efar_set_dmamode() 228 (timings[pio][1] << 8); in efar_set_dmamode()
|
A D | pata_it8213.c | 89 u8 timings[][2] = { { 0, 0 }, in it8213_set_piomode() local 109 master_data |= (timings[pio][0] << 12) | in it8213_set_piomode() 110 (timings[pio][1] << 8); in it8213_set_piomode() 120 slave_data |= (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_piomode() 149 u8 timings[][2] = { { 0, 0 }, in it8213_set_dmamode() local 215 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in it8213_set_dmamode() 222 (timings[pio][0] << 12) | in it8213_set_dmamode() 223 (timings[pio][1] << 8); in it8213_set_dmamode()
|
/linux/include/video/ |
A D | omapfb_dss.h | 447 struct omap_video_timings *timings); 449 struct omap_video_timings *timings); 451 struct omap_video_timings *timings); 466 struct omap_video_timings *timings); 468 struct omap_video_timings *timings); 470 struct omap_video_timings *timings); 485 struct omap_video_timings *timings); 487 struct omap_video_timings *timings); 489 struct omap_video_timings *timings); 632 struct omap_video_timings timings; member [all …]
|