/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_timing.c | 31 #include <subdev/bios/timing.h> 38 u32 timing = 0; local in function:nvbios_timingTe 42 timing = nvbios_rd32(bios, bit_P.offset + 4); 45 timing = nvbios_rd32(bios, bit_P.offset + 8); 47 if (timing) { 48 *ver = nvbios_rd08(bios, timing + 0); 51 *hdr = nvbios_rd08(bios, timing + 1); 52 *cnt = nvbios_rd08(bios, timing + 2); 53 *len = nvbios_rd08(bios, timing + 3); 56 return timing; 78 u32 timing = nvbios_timingTe(bios, ver, hdr, cnt, len, &snr, &ssz); local in function:nvbios_timingEe [all...] |
/src/sys/dev/fdt/ |
panel_fdt.c | 91 const struct display_timing * const timing = local in function:fdt_panel_attach 111 if (strcmp(buf, "panel-timing") != 0) 116 aprint_error(": failed to parse panel-timing\n"); 121 aprint_error(": missing panel-timing\n"); 148 aprint_normal(": %dx%d", timing->hactive, timing->vactive);
|
/src/regress/sys/kern/allocfree/ |
allocfree.c | 59 static int timing; variable in typeref:typename:int 79 num = prop_dictionary_get(props, "timing"); 81 timing = (int)prop_number_integer_value(num); 158 if (timing) { 177 if (timing) { 257 timer = (timing ? "cpu_counter" : "nanotime");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dce110/ |
amdgpu_dce110_clk_mgr.c | 106 uint32_t vertical_total_min = stream->timing.v_total; 111 vertical_blank_in_pixels = stream->timing.h_total * 113 - stream->timing.v_addressable); 115 * 10000 / stream->timing.pix_clk_100hz; 168 cfg->v_refresh = stream->timing.pix_clk_100hz * 100; 169 cfg->v_refresh /= stream->timing.h_total; 170 cfg->v_refresh = (cfg->v_refresh + stream->timing.v_total / 2) 171 / stream->timing.v_total; 241 const struct dc_crtc_timing *timing = local in function:dce11_pplib_apply_display_requirements 242 &context->streams[0]->timing; [all...] |
/src/sys/kern/ |
kern_softint.c | 806 u_int timing; local in function:softint_dispatch 833 timing = softint_timing; 842 if (timing) { 849 if (timing) {
|
/src/sys/arch/arm/fdt/ |
plfb_fdt.c | 256 plfb_get_panel_timing(struct plfb_softc *sc, struct display_timing *timing) 263 panel_timing = of_find_firstchild_byname(panel, "panel-timing"); 267 return display_timing_parse(panel_timing, timing); 274 struct display_timing timing; local in function:plfb_init 276 if (plfb_get_panel_timing(sc, &timing) != 0) { 278 timing.hactive = 800; 279 timing.hback_porch = 128; 280 timing.hfront_porch = 24; 281 timing.hsync_len = 72; 282 timing.vactive = 600 [all...] |
/src/sys/dev/pcmcia/ |
pcmcia_cis.c | 1051 u_int power, timing, iospace, irq, memspace, misc; local in function:decode_cftable_entry 1152 timing = reg & PCMCIA_TPCE_FS_TIMING; 1183 if (timing) { 1184 /* skip over timing, don't save */
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
dce_clk_mgr.c | 540 cfg->v_refresh = stream->timing.pix_clk_100hz * 100; 541 cfg->v_refresh /= stream->timing.h_total; 542 cfg->v_refresh = (cfg->v_refresh + stream->timing.v_total / 2) 543 / stream->timing.v_total; 559 vertical_blank_in_pixels = stream->timing.h_total * 560 (stream->timing.v_total 561 - stream->timing.v_addressable); 564 * 10000 / stream->timing.pix_clk_100hz; 661 const struct dc_crtc_timing *timing = local in function:dce11_pplib_apply_display_requirements 662 &context->streams[0]->timing; [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm_mst_types.c | 523 struct dc_crtc_timing *timing; member in struct:dsc_mst_fairness_params 552 memset(¶ms[i].timing->dsc_cfg, 0, sizeof(params[i].timing->dsc_cfg)); 558 params[i].timing, 559 ¶ms[i].timing->dsc_cfg)) { 560 params[i].timing->flags.DSC = 1; 561 params[i].timing->dsc_cfg.bits_per_pixel = vars[i].bpp_x16; 563 params[i].timing->flags.DSC = 0; 578 (int) kbps, param.timing, &dsc_config); 767 stream->timing.flags.DSC = 0 [all...] |
amdgpu_dm.c | 3572 dst.width = stream->timing.h_addressable; 3573 dst.height = stream->timing.v_addressable; 3592 dst.x = (stream->timing.h_addressable - dst.width) / 2; 3593 dst.y = (stream->timing.v_addressable - dst.height) / 2; 3770 struct dc_crtc_timing *timing_out = &stream->timing; 3804 timing_out->vic = old_stream->timing.vic; 3805 timing_out->flags.HSYNC_POSITIVE_POLARITY = old_stream->timing.flags.HSYNC_POSITIVE_POLARITY; 3806 timing_out->flags.VSYNC_POSITIVE_POLARITY = old_stream->timing.flags.VSYNC_POSITIVE_POLARITY; 3968 refresh_rate = (stream_set[j]->timing.pix_clk_100hz*100)/ 3969 (stream_set[j]->timing.h_total*stream_set[j]->timing.v_total) 8276 struct detailed_timing *timing; local in function:amdgpu_dm_update_freesync_caps [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
dc_stream.h | 136 struct dc_crtc_timing timing; member in struct:dc_stream_state 371 * Phy, Encoder, Timing Generator are programmed and enabled.
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
stream_encoder.h | 92 struct dc_crtc_timing timing; member in struct:encoder_unblank_param
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
nouveau_nvkm_subdev_fb_ramgf100.c | 37 #include <subdev/bios/timing.h> 145 } rammap, ramcfg, timing; local in function:gf100_ram_calc 175 timing.data = nvbios_timingEe(bios, strap, &ver, &timing.size, 177 if (!timing.data || ver != 0x10 || timing.size < 0x19) { 178 nvkm_error(subdev, "invalid/missing timing entry\n"); 182 timing.data = 0;
|
nouveau_nvkm_subdev_fb_ramnv50.c | 39 #include <subdev/bios/timing.h> 78 nv50_ram_timing_calc(struct nv50_ram *ram, u32 *timing) 103 timing[6] = (0x2d + T(CL) - T(CWL) + 109 timing[6] = (0x2b + T(CL) - T(CWL)) << 16 | 114 timing[0] = (T(RP) << 24 | T(RAS) << 16 | T(RFC) << 8 | T(RC)); 115 timing[1] = (T(WR) + 1 + T(CWL)) << 24 | 119 timing[2] = (T(CWL) - 1) << 24 | 123 timing[3] = (unkt3b - 2 + T(CL)) << 24 | 127 timing[4] = (cur4 & 0xffff0000) | 130 timing[5] = T(RFC) << 24 238 u32 timing[9]; local in function:nv50_ram_calc [all...] |
nouveau_nvkm_subdev_fb_ramgt215.c | 39 #include <subdev/bios/timing.h> 353 gt215_ram_timing_calc(struct gt215_ram *ram, u32 *timing) 379 timing[0] = (T(RP) << 24 | T(RAS) << 16 | T(RFC) << 8 | T(RC)); 380 timing[1] = (T(WR) + 1 + T(CWL)) << 24 | 384 timing[2] = (T(CWL) - 1) << 24 | 388 timing[3] = (cur3 & 0x00ff0000) | 392 timing[4] = T(20) << 24 | 396 timing[5] = T(RFC) << 24 | 400 timing[6] = (0x5a + T(CL)) << 16 | 403 timing[7] = (cur7 & 0xff000000) 513 u32 timing[9]; local in function:gt215_ram_calc [all...] |
/src/sys/dev/pci/ |
tdvfb.c | 102 struct tdvfb_dac_timing *timing); 104 struct tdvfb_dac_timing *timing); 580 TDV_FBIINIT1_VIDEO_RST | /* video timing reset */ 619 struct tdvfb_dac_timing *timing) 626 /* write the timing for gfx clock into "slot" 0 */ 628 tdvfb_cvg_dac_write(sc, TDV_GENDAC_PLLDATA, timing->m); 629 tdvfb_cvg_dac_write(sc, TDV_GENDAC_PLLDATA, timing->n); 648 struct tdvfb_dac_timing *timing) 655 /* write the timing for gfx clock into "slot" A */ 657 tdvfb_cvg_dac_write(sc, TDV_GENDAC_PLLDATA, timing->m) 680 struct tdvfb_dac_timing timing; local in function:tdvfb_gendac_calc_pll [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_mmc.c | 498 int error, timing = SUNXI_MMC_TIMING_400K; local in function:sunxi_mmc_set_clock 502 timing = SUNXI_MMC_TIMING_400K; 504 timing = SUNXI_MMC_TIMING_25M; 507 timing = sc->sc_mmc_width == 8 ? 511 timing = SUNXI_MMC_TIMING_50M; 528 delays = &sc->sc_config->delays[timing]; 869 /* For 8bits ddr in old timing modes, and all ddr in new 870 * timing modes, the module clock has to be 2x the card clock. 983 sunxi_mmc_execute_tuning(sdmmc_chipset_handle_t sch, int timing) 985 switch (timing) { [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
amdgpu_dcn20_hwseq.c | 627 /* TODO check if timing_changed, disable stream if timing changed */ 638 &pipe_ctx->stream->timing); 655 &stream->timing, 706 /* TODO enable stream if timing changed */ 929 &pipe_ctx->stream->timing); 932 pipe_ctx->stream_res.tg, &pipe_ctx->stream->timing); 949 int width = stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right; 950 int height = stream->timing.v_addressable + stream->timing.v_border_bottom + stream->timing.v_border_top 2220 struct dc_crtc_timing *timing = &pipe_ctx->stream->timing; local in function:dcn20_enable_stream [all...] |
amdgpu_dcn20_resource.c | 1455 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz; 1464 stream->timing.display_color_depth; 1466 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; 1468 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) 1473 else if (optc2_is_two_pixels_per_containter(&stream->timing) || opp_cnt == 2) 1476 if (stream->timing.timing_3d_format == TIMING_3D_FORMAT_HW_FRAME_PACKING) 1484 stream->clamping.c_depth = stream->timing.display_color_depth; 1485 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; 1498 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; 1519 stream->timing.pixel_encoding 1909 struct dc_crtc_timing *timing = &res_ctx->pipe_ctx[i].stream->timing; local in function:dcn20_populate_dml_pipes_from_context [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
ramcfg.h | 117 unsigned timing[11]; member in struct:nvbios_ramcfg
|
/src/sys/dev/sdmmc/ |
sdmmc_mem.c | 310 * Switch to SDR12 timing 769 int timing = -1; local in function:sdmmc_mem_execute_tuning 777 timing = SDMMC_TIMING_UHS_SDR50; 780 timing = SDMMC_TIMING_UHS_SDR104; 788 timing = SDMMC_TIMING_MMC_HS200; 795 DPRINTF(("%s: execute tuning for timing %d\n", SDMMCDEVNAME(sc), 796 timing)); 798 return sdmmc_chip_execute_tuning(sc->sc_sct, sc->sc_sch, timing); 1058 "card failed to switch to timing mode %d, using %d\n",
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
amdgpu_dc_resource.c | 371 if (stream1->timing.h_total != stream2->timing.h_total) 374 if (stream1->timing.v_total != stream2->timing.v_total) 377 if (stream1->timing.h_addressable 378 != stream2->timing.h_addressable) 381 if (stream1->timing.v_addressable 382 != stream2->timing.v_addressable) 385 if (stream1->timing.pix_clk_100hz 386 != stream2->timing.pix_clk_100hz 990 struct dc_crtc_timing *timing = &pipe_ctx->stream->timing; local in function:resource_build_scaling_params [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
amdgpu_dce110_hw_sequencer.c | 661 struct dc_crtc_timing *timing = &pipe_ctx->stream->timing; local in function:dce110_enable_stream 680 timing->h_addressable 681 + timing->h_border_left 682 + timing->h_border_right; 1059 params.timing = pipe_ctx->stream->timing; 1125 stream->timing.h_total; 1132 stream->timing.h_addressable 1133 + stream->timing.h_border_lef [all...] |
/src/sbin/ping6/ |
ping6.c | 222 /* timing */ 223 static int timing; /* flag to do timing */ variable in typeref:typename:int 422 errx(1, "illegal timing interval %s", optarg); 434 errx(1, "illegal timing interval %s", optarg); 664 timing = 1; 666 timing = 0; 673 /* suppress timing for node information query */ 674 timing = 0; 1147 if (timing) { [all...] |
/src/sys/sys/ |
midiio.h | 436 struct { _TIMING_HDR; } timing; member in union:__anonf4e6eb5a020a
|