HomeSort by: relevance | last modified time | path
    Searched defs:dcb (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_conn.c 30 #include <subdev/bios/dcb.h>
36 u32 dcb = dcb_table(bios, ver, hdr, cnt, len); local in function:nvbios_connTe
37 if (dcb && *ver >= 0x30 && *hdr >= 0x16) {
38 u32 data = nvbios_rd16(bios, dcb + 0x14);
nouveau_nvkm_subdev_bios_gpio.c 30 #include <subdev/bios/dcb.h>
38 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); local in function:dcb_gpio_table
39 if (dcb) {
41 data = nvbios_rd16(bios, dcb + 0x0a);
43 if (*ver >= 0x22 && nvbios_rd08(bios, dcb - 1) >= 0x13)
44 data = nvbios_rd16(bios, dcb - 0x0f);
136 /* DCB 2.2, fixed TVDAC GPIO data */
nouveau_nvkm_subdev_bios_i2c.c 30 #include <subdev/bios/dcb.h>
37 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); local in function:dcb_i2c_table
38 if (dcb) {
40 i2c = nvbios_rd16(bios, dcb + 2);
42 i2c = nvbios_rd16(bios, dcb + 4);
56 *ver = *ver; /* use DCB version */
86 /* value 0x1f means unused according to DCB 4.x spec */
nouveau_nvkm_subdev_bios_dcb.c 30 #include <subdev/bios/dcb.h>
37 u16 dcb = 0x0000; local in function:dcb_table
40 dcb = nvbios_rd16(bios, 0x36);
41 if (!dcb) {
42 nvkm_warn(subdev, "DCB table not found\n");
43 return dcb;
46 *ver = nvbios_rd08(bios, dcb);
49 nvkm_warn(subdev, "DCB version 0x%02x unknown\n", *ver);
53 if (nvbios_rd32(bios, dcb + 6) == 0x4edcbdcb) {
54 *hdr = nvbios_rd08(bios, dcb + 1)
107 u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); local in function:dcb_outp
129 u16 dcb = dcb_outp(bios, idx, ver, len); local in function:dcb_outp_parse
205 u16 dcb, idx = 0; local in function:dcb_outp_match
    [all...]
nouveau_nvkm_subdev_bios_extdev.c 30 #include <subdev/bios/dcb.h>
37 u16 dcb, extdev = 0; local in function:extdev_table
39 dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len);
40 if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40 && dcb_ver != 0x41))
43 extdev = nvbios_rd16(bios, dcb + 18);
  /src/sys/arch/hpc/stand/hpcboot/
console.cpp 104 DCB dcb; local in function:SerialConsole::init
105 GetCommState(_handle, &dcb);
108 dcb.BaudRate, dcb.ByteSize, dcb.Parity, dcb.StopBits);
158 DCB dcb; local in function:SerialConsole::OpenCOM1
159 if (!GetCommState(h, &dcb))
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_disp.c 197 struct dcb_table *dcb = &drm->vbios.dcb; local in function:nv04_display_create
232 for (i = 0; i < dcb->entries; i++) {
233 struct dcb_output *dcbent = &dcb->entry[i];
254 NV_WARN(drm, "DCB type %d not known\n", dcbent->type);
274 nvkm_i2c_bus_find(i2c, nv_encoder->dcb->i2c_index);
nouveau_dispnv04_dac.c 47 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv04_dac_output_offset
50 if (dcb->or & (8 | DCB_OUTPUT_C))
52 if (dcb->or & (8 | DCB_OUTPUT_B))
245 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv17_dac_sample_load
252 if (dcb->type == DCB_OUTPUT_TV) {
279 nvkm_gpio_set(gpio, 0, DCB_GPIO_TVDAC1, 0xff, dcb->type == DCB_OUTPUT_TV);
280 nvkm_gpio_set(gpio, 0, DCB_GPIO_TVDAC0, 0xff, dcb->type == DCB_OUTPUT_TV);
296 if (dcb->type == DCB_OUTPUT_TV
343 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv17_dac_detect
433 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv04_dac_update_dacclk
458 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv04_dac_in_use
    [all...]
nouveau_dispnv04_dfp.c 137 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index;
144 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index);
160 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:get_tmds_slave
163 if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP)
177 struct dcb_output *slave_dcb = nouveau_encoder(slave)->dcb;
180 slave_dcb->tmdsconf.slave_addr == dcb->tmdsconf.slave_addr)
212 uint32_t bits1618 = nv_encoder->dcb->or & DCB_OUTPUT_A ? 0x10000 : 0x40000;
214 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP
630 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv04_tmds_slave_init
    [all...]
nouveau_dispnv04_tvnv17.c 155 struct dcb_output *dcb = tv_enc->base.dcb; local in function:nv17_tv_detect
180 if (dcb->tvconf.has_component_output)
198 '@' + ffs(dcb->or));
379 mode, nouveau_encoder(encoder)->dcb->index);
424 struct dcb_output *dcb = nouveau_encoder(enc)->dcb; local in function:nv17_tv_prepare
426 if ((dcb->type == DCB_OUTPUT_TMDS ||
427 dcb->type == DCB_OUTPUT_LVDS) &&
429 nv04_dfp_get_bound_head(dev, dcb) == head)
646 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local in function:nv17_tv_create_resources
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/
nouveau_nvkm_subdev_mxm_nv50.c 33 #include <subdev/bios/dcb.h>
63 /* match dcb encoder type to mxm-ods device type */
77 /* check dcb entry has a compatible link field */
107 /* look for an output device structure that matches this dcb entry.
118 * with the mapping from mxm ddc/aux port to dcb i2c_index in the
132 /* override dcb sorconf.link, based on what mxm data says */
198 u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); local in function:mxm_dcb_sanitise
199 if (dcb == 0x0000 || (ver != 0x40 && ver != 0x41)) {
200 nvkm_warn(subdev, "unsupported DCB version\n");
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_encoder.h 32 #include <subdev/bios/dcb.h>
46 struct dcb_output *dcb; member in struct:nouveau_encoder
nouveau_connector.h 110 u8 *dcb; member in struct:nouveau_connector
nouveau_bios.h 53 #include <subdev/bios/dcb.h>
112 struct dcb_table dcb; member in struct:nvbios
nouveau_connector.c 395 (nv_encoder->dcb && nv_encoder->dcb->type == type))
444 switch (nv_encoder->dcb->type) {
503 if (nv_encoder->dcb->i2c_index == idx && edid) {
530 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS ||
531 nv_encoder->dcb->type == DCB_OUTPUT_TMDS) {
549 nv_encoder->dcb->type == DCB_OUTPUT_TMDS ?
613 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS)
615 if (nv_encoder->dcb->type == DCB_OUTPUT_ANALOG)
618 if (nv_partner && ((nv_encoder->dcb->type == DCB_OUTPUT_ANALOG &
1007 struct dcb_output *dcb = nv_connector->detected_encoder->dcb; local in function:get_tmds_link_bandwidth
    [all...]
nouveau_bios.c 915 * The TMDS table is typically found just before the DCB table, with a
928 * "or" from the DCB.
1107 * Make sure that 0x36 is blank and can't be mistaken for a DCB
1256 u8 *dcb = NULL; local in function:olddcb_table
1259 dcb = ROMPTR(dev, drm->vbios.data[0x36]);
1260 if (!dcb) {
1261 NV_WARN(drm, "No DCB data found in VBIOS\n");
1265 if (dcb[0] >= 0x42) {
1266 NV_WARN(drm, "DCB version 0x%02x unknown\n", dcb[0])
1309 u8 *dcb = olddcb_table(dev); local in function:olddcb_outp
1358 u8 *dcb = olddcb_table(dev); local in function:olddcb_conntab
1654 struct dcb_table *dcb = &drm->vbios.dcb; local in function:apply_dcb_encoder_quirks
1760 struct dcb_table *dcb = &bios->dcb; local in function:fabricate_dcb_encoder_table
1792 struct dcb_table *dcb = &drm->vbios.dcb; local in function:parse_dcb_entry
1871 struct dcb_table *dcb = &bios->dcb; local in function:parse_dcb_table
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc.c 1193 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:dc_commit_state_no_check
1204 if (!dcb->funcs->is_accelerated_mode(dcb))
1328 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:dc_is_hw_initialized
1329 return dcb->funcs->is_accelerated_mode(dcb);
amdgpu_dc_link_ddc.c 205 struct dc_bios *dcb = init_data->ctx->dc_bios; local in function:ddc_service_construct
210 if (BP_RESULT_OK != dcb->funcs->get_i2c_info(dcb, init_data->id, &i2c_info)) {
amdgpu_dc_resource.c 1964 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:resource_map_pool_resources
1981 !dcb->funcs->is_accelerated_mode(dcb)) {
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
amdgpu_dce110_hw_sequencer.c 202 struct dc_bios *dcb,
225 bp_result = dcb->funcs->enable_disp_power_gating(
226 dcb, controller_id + 1, cntl);
2026 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:dce110_apply_ctx_to_hw
2039 dcb->funcs->set_scratch_critical_state(dcb, true);
2098 dcb->funcs->set_scratch_critical_state(dcb, false);
amdgpu_dce110_resource.c 1124 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:dce110_acquire_underlay
1129 dcb, PIPE_GATING_CONTROL_DISABLE);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
amdgpu_dcn10_hw_sequencer.c 1245 struct dc_bios *dcb = dc->ctx->dc_bios; local in function:dcn10_init_hw
1276 if (!dcb->funcs->is_accelerated_mode(dcb))
1331 if (dcb->funcs->is_accelerated_mode(dcb) || dc->config.power_down_display_on_boot) {
2881 struct dc_bios *dcb,
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_disp.c 285 .base.hasht = nv_encoder->dcb->hasht,
286 .base.hashm = nv_encoder->dcb->hashm,
305 .base.hasht = nv_encoder->dcb->hasht,
306 .base.hashm = nv_encoder->dcb->hashm,
430 .base.hasht = nv_encoder->dcb->hasht,
431 .base.hashm = nv_encoder->dcb->hashm,
479 nv_encoder->dcb = dcbe;
621 .base.hasht = nv_encoder->dcb->hasht,
622 .base.hashm = (0xf0ff & nv_encoder->dcb->hashm) |
648 .base.mthd.hasht = nv_encoder->dcb->hasht
2467 struct dcb_table *dcb = &drm->vbios.dcb; local in function:nv50_display_create
    [all...]

Completed in 38 milliseconds