Home | History | Annotate | Download | only in vr

Lines Matching refs:vrc4172pwm_softc

65 static void vrc4172pwm_write(struct vrc4172pwm_softc *, int, unsigned short);
66 static unsigned short vrc4172pwm_read(struct vrc4172pwm_softc *, int);
71 static void vrc4172pwm_dumpreg(struct vrc4172pwm_softc *);
72 static void vrc4172pwm_init_brightness(struct vrc4172pwm_softc *);
73 void vrc4172pwm_light(struct vrc4172pwm_softc *, int);
74 int vrc4172pwm_get_light(struct vrc4172pwm_softc *);
75 int vrc4172pwm_get_brightness(struct vrc4172pwm_softc *);
76 void vrc4172pwm_set_brightness(struct vrc4172pwm_softc *, int);
77 int vrc4172pwm_rawduty2brightness(struct vrc4172pwm_softc *);
78 int vrc4172pwm_brightness2rawduty(struct vrc4172pwm_softc *);
80 void vrc4172pwm_dumpreg(struct vrc4172pwm_softc *);
82 CFATTACH_DECL_NEW(vrc4172pwm, sizeof(struct vrc4172pwm_softc),
128 struct vrc4172pwm_softc *this_pwm;
131 vrc4172pwm_write(struct vrc4172pwm_softc *sc, int port, unsigned short val)
138 vrc4172pwm_read(struct vrc4172pwm_softc *sc, int port)
203 struct vrc4172pwm_softc *sc = device_private(self);
266 vrc4172pwm_init_brightness(struct vrc4172pwm_softc *sc)
282 vrc4172pwm_light(struct vrc4172pwm_softc *sc, int on)
304 vrc4172pwm_get_light(struct vrc4172pwm_softc *sc)
314 vrc4172pwm_set_brightness(struct vrc4172pwm_softc *sc, int val)
336 vrc4172pwm_get_brightness(struct vrc4172pwm_softc *sc)
349 vrc4172pwm_rawduty2brightness(struct vrc4172pwm_softc *sc)
370 vrc4172pwm_brightness2rawduty(struct vrc4172pwm_softc *sc)
387 struct vrc4172pwm_softc *sc = (struct vrc4172pwm_softc *)ctx;
429 struct vrc4172pwm_softc *sc = (struct vrc4172pwm_softc *)ctx;
455 vrc4172pwm_dumpreg(struct vrc4172pwm_softc *sc)