Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c53 int vshunt = nv_rd16i2cr(i2c, addr, shunt_reg); in nvkm_iccsense_poll_lane() local
56 if (vshunt < 0 || vbus < 0) in nvkm_iccsense_poll_lane()
59 vshunt >>= shunt_shift; in nvkm_iccsense_poll_lane()
62 return vbus * vshunt * lsb / shunt; in nvkm_iccsense_poll_lane()