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) in vrc4172pwm_write()
138 vrc4172pwm_read(struct vrc4172pwm_softc *sc, int port) in vrc4172pwm_read()
203 struct vrc4172pwm_softc *sc = device_private(self); in vrc4172pwmattach()
266 vrc4172pwm_init_brightness(struct vrc4172pwm_softc *sc) in vrc4172pwm_init_brightness()
282 vrc4172pwm_light(struct vrc4172pwm_softc *sc, int on) in vrc4172pwm_light()
304 vrc4172pwm_get_light(struct vrc4172pwm_softc *sc) in vrc4172pwm_get_light()
314 vrc4172pwm_set_brightness(struct vrc4172pwm_softc *sc, int val) in vrc4172pwm_set_brightness()
336 vrc4172pwm_get_brightness(struct vrc4172pwm_softc *sc) in vrc4172pwm_get_brightness()
349 vrc4172pwm_rawduty2brightness(struct vrc4172pwm_softc *sc) in vrc4172pwm_rawduty2brightness()
370 vrc4172pwm_brightness2rawduty(struct vrc4172pwm_softc *sc) in vrc4172pwm_brightness2rawduty()
387 struct vrc4172pwm_softc *sc = (struct vrc4172pwm_softc *)ctx; in vrc4172pwm_event()
429 struct vrc4172pwm_softc *sc = (struct vrc4172pwm_softc *)ctx; in vrc4172pwm_pmevent()
455 vrc4172pwm_dumpreg(struct vrc4172pwm_softc *sc) in vrc4172pwm_dumpreg()