cregit-Linux how code gets into the kernel

Release 4.17 drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NVKM_VOLT_PRIV_H__

#define __NVKM_VOLT_PRIV_H__

#define nvkm_volt(p) container_of((p), struct nvkm_volt, subdev)
#include <subdev/volt.h>

void nvkm_volt_ctor(const struct nvkm_volt_func *, struct nvkm_device *,
		    int index, struct nvkm_volt *);
int nvkm_volt_new_(const struct nvkm_volt_func *, struct nvkm_device *,
		   int index, struct nvkm_volt **);


struct nvkm_volt_func {
	
int (*oneinit)(struct nvkm_volt *);
	
int (*volt_get)(struct nvkm_volt *);
	
int (*volt_set)(struct nvkm_volt *, u32 uv);
	
int (*vid_get)(struct nvkm_volt *);
	
int (*vid_set)(struct nvkm_volt *, u8 vid);
	
int (*set_id)(struct nvkm_volt *, u8 id, int condition);
	
int (*speedo_read)(struct nvkm_volt *);
};

int nvkm_voltgpio_init(struct nvkm_volt *);
int nvkm_voltgpio_get(struct nvkm_volt *);
int nvkm_voltgpio_set(struct nvkm_volt *, u8);

int nvkm_voltpwm_init(struct nvkm_volt *volt);
int nvkm_voltpwm_get(struct nvkm_volt *volt);
int nvkm_voltpwm_set(struct nvkm_volt *volt, u32 uv);

int gf100_volt_oneinit(struct nvkm_volt *);
#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs13260.55%120.00%
Martin Peres5525.23%240.00%
Karol Herbst3013.76%120.00%
Greg Kroah-Hartman10.46%120.00%
Total218100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.