Lines Matching refs:cuda_softc

75 struct cuda_softc {  struct
107 CFATTACH_DECL_NEW(cuda, sizeof(struct cuda_softc), argument
110 static inline void cuda_write_reg(struct cuda_softc *, int, uint8_t);
111 static inline uint8_t cuda_read_reg(struct cuda_softc *, int);
112 static void cuda_idle(struct cuda_softc *);
113 static void cuda_tip(struct cuda_softc *);
114 static void cuda_clear_tip(struct cuda_softc *);
115 static void cuda_in(struct cuda_softc *);
116 static void cuda_out(struct cuda_softc *);
117 static void cuda_toggle_ack(struct cuda_softc *);
118 static void cuda_ack_off(struct cuda_softc *);
119 static int cuda_intr_state(struct cuda_softc *);
121 static void cuda_init(struct cuda_softc *);
173 struct cuda_softc *sc = device_private(self); in cuda_attach()
295 cuda_init(struct cuda_softc *sc) in cuda_init()
337 struct cuda_softc *sc = device_private(dev); in cuda_final()
343 cuda_write_reg(struct cuda_softc *sc, int offset, uint8_t value) in cuda_write_reg()
350 cuda_read_reg(struct cuda_softc *sc, int offset) in cuda_read_reg()
360 struct cuda_softc *sc = cookie; in cuda_set_handler()
375 struct cuda_softc *sc = cookie; in cuda_send()
426 struct cuda_softc *sc = cookie; in cuda_poll()
444 struct cuda_softc *sc = cookie; in cuda_adb_poll()
453 cuda_idle(struct cuda_softc *sc) in cuda_idle()
463 cuda_tip(struct cuda_softc *sc) in cuda_tip()
473 cuda_clear_tip(struct cuda_softc *sc) in cuda_clear_tip()
483 cuda_in(struct cuda_softc *sc) in cuda_in()
493 cuda_out(struct cuda_softc *sc) in cuda_out()
503 cuda_toggle_ack(struct cuda_softc *sc) in cuda_toggle_ack()
513 cuda_ack_off(struct cuda_softc *sc) in cuda_ack_off()
523 cuda_intr_state(struct cuda_softc *sc) in cuda_intr_state()
531 struct cuda_softc *sc = arg; in cuda_intr()
728 struct cuda_softc *sc = cookie; in cuda_error_handler()
746 struct cuda_softc *sc = cookie; in cuda_todr_handler()
780 struct cuda_softc *sc = tch->cookie; in cuda_todr_get()
819 struct cuda_softc *sc = tch->cookie; in cuda_todr_set()
844 struct cuda_softc *sc; in cuda_poweroff()
859 struct cuda_softc *sc; in cuda_restart()
876 struct cuda_softc *sc = cookie; in cuda_autopoll()
898 struct cuda_softc *sc = cookie; in cuda_adb_handler()
911 struct cuda_softc *sc = cookie; in cuda_adb_send()
936 struct cuda_softc *sc = cookie; in cuda_adb_set_handler()
950 struct cuda_softc *sc = cookie; in cuda_i2c_exec()