/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_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_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);
|
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...] |
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_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...] |
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");
|
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_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
|