Lines Matching defs:cuda_softc
78 struct cuda_softc {
117 CFATTACH_DECL_NEW(cuda, sizeof(struct cuda_softc),
120 static inline void cuda_write_reg(struct cuda_softc *, int, uint8_t);
121 static inline uint8_t cuda_read_reg(struct cuda_softc *, int);
122 static void cuda_idle(struct cuda_softc *);
123 static void cuda_tip(struct cuda_softc *);
124 static void cuda_clear_tip(struct cuda_softc *);
125 static void cuda_in(struct cuda_softc *);
126 static void cuda_out(struct cuda_softc *);
127 static void cuda_toggle_ack(struct cuda_softc *);
128 static void cuda_ack_off(struct cuda_softc *);
129 static int cuda_intr_state(struct cuda_softc *);
131 static void cuda_init(struct cuda_softc *);
227 struct cuda_softc *sc = device_private(self);
327 cuda_init(struct cuda_softc *sc)
369 struct cuda_softc *sc = device_private(dev);
375 cuda_write_reg(struct cuda_softc *sc, int offset, uint8_t value)
382 cuda_read_reg(struct cuda_softc *sc, int offset)
392 struct cuda_softc *sc = cookie;
407 struct cuda_softc *sc = cookie;
458 struct cuda_softc *sc = cookie;
476 struct cuda_softc *sc = cookie;
485 cuda_idle(struct cuda_softc *sc)
495 cuda_tip(struct cuda_softc *sc)
505 cuda_clear_tip(struct cuda_softc *sc)
515 cuda_in(struct cuda_softc *sc)
525 cuda_out(struct cuda_softc *sc)
535 cuda_toggle_ack(struct cuda_softc *sc)
545 cuda_ack_off(struct cuda_softc *sc)
555 cuda_intr_state(struct cuda_softc *sc)
563 struct cuda_softc *sc = arg;
760 struct cuda_softc *sc = cookie;
778 struct cuda_softc *sc = cookie;
812 struct cuda_softc *sc = device_private(tch->todr_dev);
851 struct cuda_softc *sc = device_private(tch->todr_dev);
876 struct cuda_softc *sc;
891 struct cuda_softc *sc;
908 struct cuda_softc *sc = cookie;
930 struct cuda_softc *sc = cookie;
943 struct cuda_softc *sc = cookie;
968 struct cuda_softc *sc = cookie;
982 struct cuda_softc *sc = cookie;