Lines Matching refs:func
35 if (volt->func->volt_get) in nvkm_volt_get()
36 return volt->func->volt_get(volt); in nvkm_volt_get()
38 ret = volt->func->vid_get(volt); in nvkm_volt_get()
55 if (volt->func->volt_set) in nvkm_volt_set()
56 return volt->func->volt_set(volt, uv); in nvkm_volt_set()
60 ret = volt->func->vid_set(volt, volt->vid[i].vid); in nvkm_volt_set()
95 if (volt->func->set_id) in nvkm_volt_set_id()
96 return volt->func->set_id(volt, id, condition); in nvkm_volt_set_id()
174 nvkm_volt_ctor(const struct nvkm_volt_func *func, struct nvkm_device *device, in nvkm_volt_ctor() argument
181 volt->func = func; in nvkm_volt_ctor()
196 nvkm_volt_new_(const struct nvkm_volt_func *func, struct nvkm_device *device, in nvkm_volt_new_() argument
201 nvkm_volt_ctor(func, device, index, *pvolt); in nvkm_volt_new_()