Home
last modified time | relevance | path

Searched refs:extdev (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dextdev.c32 u16 dcb, extdev = 0; in extdev_table() local
38 extdev = nvbios_rd16(bios, dcb + 18); in extdev_table()
39 if (!extdev) in extdev_table()
42 *ver = nvbios_rd08(bios, extdev + 0); in extdev_table()
43 *hdr = nvbios_rd08(bios, extdev + 1); in extdev_table()
44 *cnt = nvbios_rd08(bios, extdev + 2); in extdev_table()
45 *len = nvbios_rd08(bios, extdev + 3); in extdev_table()
46 return extdev + *hdr; in extdev_table()
66 u16 extdev = extdev_table(bios, ver, &hdr, len, &cnt); in nvbios_extdev_entry() local
67 if (extdev && idx < cnt) in nvbios_extdev_entry()
[all …]
Diccsense.c82 struct nvbios_extdev_func extdev; in nvbios_iccsense_parse() local
105 if (nvbios_extdev_parse(bios, rail->extdev_id, &extdev)) in nvbios_iccsense_parse()
108 switch (extdev.type) { in nvbios_iccsense_parse()
Ddcb.c111 return (outp->extdev << 8) | (outp->location << 4) | outp->type; in dcb_outp_hasht()
181 outp->extdev = 0x00; in dcb_outp_parse()
183 outp->extdev = (conf & 0x0000ff00) >> 8; in dcb_outp_parse()
DKbuild10 nvkm-y += nvkm/subdev/bios/extdev.o
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c155 struct nvbios_extdev_func extdev; in nvkm_iccsense_create_sensor() local
160 if (!i2c || !bios || nvbios_extdev_parse(bios, id, &extdev)) in nvkm_iccsense_create_sensor()
163 if (extdev.type == 0xff) in nvkm_iccsense_create_sensor()
166 if (extdev.type != NVBIOS_EXTDEV_INA209 && in nvkm_iccsense_create_sensor()
167 extdev.type != NVBIOS_EXTDEV_INA219 && in nvkm_iccsense_create_sensor()
168 extdev.type != NVBIOS_EXTDEV_INA3221) { in nvkm_iccsense_create_sensor()
171 "disabled\n", extdev.type); in nvkm_iccsense_create_sensor()
175 if (extdev.bus) in nvkm_iccsense_create_sensor()
182 addr = extdev.addr >> 1; in nvkm_iccsense_create_sensor()
184 extdev.type)) { in nvkm_iccsense_create_sensor()
[all …]
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbase.c383 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_()
409 const int id = NVKM_I2C_AUX_EXT(dcbE.extdev); in nvkm_i2c_new_()
419 const int id = NVKM_I2C_BUS_EXT(dcbE.extdev); in nvkm_i2c_new_()
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Ddcb.h29 uint8_t extdev; member
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.c1474 entry->extdev = (conf & 0x0000ff00) >> 8; in parse_dcb20_entry()
1508 entry->extdev = (conf & 0x0000ff00) >> 8; in parse_dcb20_entry()
1538 entry->hasht = (entry->extdev << 8) | (entry->location << 4) | in parse_dcb20_entry()
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c842 aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_EXT(dcbE->extdev)); in nvkm_dp_new()
/linux-5.19.10/arch/arm/boot/dts/
Dam43xx-clocks.dtsi641 dpll_extdev_m2_ck: clock-dpll-extdev-m2-8@2e70 {
/linux-5.19.10/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c2027 bus = nvkm_i2c_bus_find(i2c, NVKM_I2C_BUS_EXT(dcbe->extdev)); in nv50_pior_create()
2032 aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_EXT(dcbe->extdev)); in nv50_pior_create()