Lines Matching refs:extdev
155 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()
197 sensor->type = extdev.type; in nvkm_iccsense_create_sensor()