Home
last modified time | relevance | path

Searched refs:dcbE (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbase.c285 struct dcb_output dcbE; in nvkm_i2c_new_() local
365 while (dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE)) { in nvkm_i2c_new_()
371 if (!dcbE.location) in nvkm_i2c_new_()
375 bus = nvkm_i2c_bus_find(i2c, dcbE.i2c_index); in nvkm_i2c_new_()
383 if (drv->bios == dcbE.extdev) in nvkm_i2c_new_()
390 i, dcbE.extdev); in nvkm_i2c_new_()
395 pad = nvkm_i2c_pad_find(i2c, NVKM_I2C_PAD_EXT(dcbE.extdev)); in nvkm_i2c_new_()
397 const int id = NVKM_I2C_PAD_EXT(dcbE.extdev); in nvkm_i2c_new_()
408 if (pad->func->aux_new_6 && dcbE.type == DCB_OUTPUT_DP) { in nvkm_i2c_new_()
409 const int id = NVKM_I2C_AUX_EXT(dcbE.extdev); in nvkm_i2c_new_()
[all …]
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c280 struct dcb_output dcbE; in nvkm_disp_oneinit() local
287 while ((data = dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE))) { in nvkm_disp_oneinit()
290 if (dcbE.type == DCB_OUTPUT_UNUSED) in nvkm_disp_oneinit()
292 if (dcbE.type == DCB_OUTPUT_EOL) in nvkm_disp_oneinit()
296 switch (dcbE.type) { in nvkm_disp_oneinit()
301 ret = nvkm_outp_new(disp, i, &dcbE, &outp); in nvkm_disp_oneinit()
304 ret = nvkm_dp_new(disp, i, &dcbE, &outp); in nvkm_disp_oneinit()
312 i, dcbE.type); in nvkm_disp_oneinit()
330 hpd = max(hpd, (u8)(dcbE.connector + 1)); in nvkm_disp_oneinit()
Doutp.c298 int index, struct dcb_output *dcbE, struct nvkm_outp *outp) in nvkm_outp_ctor() argument
307 outp->info = *dcbE; in nvkm_outp_ctor()
308 outp->i2c = nvkm_i2c_bus_find(i2c, dcbE->i2c_index); in nvkm_outp_ctor()
330 nvkm_outp_new(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, in nvkm_outp_new() argument
335 return nvkm_outp_ctor(&nvkm_outp, disp, index, dcbE, *poutp); in nvkm_outp_new()
Ddp.c779 nvkm_dp_ctor(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, in nvkm_dp_ctor() argument
789 ret = nvkm_outp_ctor(&nvkm_dp_func, disp, index, dcbE, &dp->outp); in nvkm_dp_ctor()
832 nvkm_dp_new(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, in nvkm_dp_new() argument
839 if (dcbE->location == 0) in nvkm_dp_new()
840 aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_CCB(dcbE->i2c_index)); in nvkm_dp_new()
842 aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_EXT(dcbE->extdev)); in nvkm_dp_new()
848 return nvkm_dp_ctor(disp, index, dcbE, aux, dp); in nvkm_dp_new()