Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c243 struct pwr_rail_t *pwr_rail = &stbl.rail[i]; in nvkm_iccsense_oneinit() local
247 if (pwr_rail->mode != 1 || !pwr_rail->resistor_count) in nvkm_iccsense_oneinit()
250 sensor = nvkm_iccsense_get_sensor(iccsense, pwr_rail->extdev_id); in nvkm_iccsense_oneinit()
255 sensor->config = pwr_rail->config; in nvkm_iccsense_oneinit()
256 else if (sensor->config != pwr_rail->config) in nvkm_iccsense_oneinit()
257 nvkm_error(subdev, "config mismatch found for extdev %i\n", pwr_rail->extdev_id); in nvkm_iccsense_oneinit()
259 for (r = 0; r < pwr_rail->resistor_count; ++r) { in nvkm_iccsense_oneinit()
261 struct pwr_rail_resistor_t *res = &pwr_rail->resistors[r]; in nvkm_iccsense_oneinit()
290 …nvkm_debug(subdev, "create rail for extdev %i: { idx: %i, mohm: %i }\n", pwr_rail->extdev_id, r, r… in nvkm_iccsense_oneinit()