Home | History | Annotate | Download | only in dev

Lines Matching defs:octeon_twsi_softc

58 struct octeon_twsi_softc {
81 static uint8_t octeon_twsi_hlcm_read_1(struct octeon_twsi_softc *,
83 static uint64_t octeon_twsi_hlcm_read_4(struct octeon_twsi_softc *,
85 static void octeon_twsi_hlcm_read(struct octeon_twsi_softc *,
87 static void octeon_twsi_hlcm_write_1(struct octeon_twsi_softc *,
89 static void octeon_twsi_hlcm_write_4(struct octeon_twsi_softc *,
91 static void octeon_twsi_hlcm_write(struct octeon_twsi_softc *,
106 static uint8_t octeon_twsi_control_read(struct octeon_twsi_softc *sc,
108 static void octeon_twsi_control_write(struct octeon_twsi_softc *sc,
114 static inline uint64_t octeon_twsi_reg_rd(struct octeon_twsi_softc *, int);
115 static inline void octeon_twsi_reg_wr(struct octeon_twsi_softc *, int,
118 static inline void octeon_twsi_reg_dump(struct octeon_twsi_softc *, int);
124 static void octeon_twsi_test(struct octeon_twsi_softc *);
130 static inline void octeon_twsi_debug_reg_dump(struct octeon_twsi_softc *,
132 static void octeon_twsi_debug_dumpregs(struct octeon_twsi_softc *);
133 static void octeon_twsi_debug_dumpreg(struct octeon_twsi_softc *,
143 CFATTACH_DECL_NEW(octeon_twsi, sizeof(struct octeon_twsi_softc),
159 struct octeon_twsi_softc *sc = device_private(self);
187 octeon_twsi_wait(struct octeon_twsi_softc *sc)
192 octeon_twsi_intr(struct octeon_twsi_softc *sc)
197 octeon_twsi_lock(struct octeon_twsi_softc *sc)
202 octeon_twsi_unlock(struct octeon_twsi_softc *sc)
227 octeon_twsi_hlcm_read(struct octeon_twsi_softc *sc, int addr, char *buf,
271 octeon_twsi_hlcm_write(struct octeon_twsi_softc *sc, int addr, char *buf,
317 octeon_twsi_hlcm_setup(struct octeon_twsi_softc *sc, ...)
325 octeon_twsi_hlcm_read_1(struct octeon_twsi_softc *sc, ...)
332 octeon_twsi_hlcm_read_4(struct octeon_twsi_softc *sc, ...)
339 octeon_twsi_hlcm_write_1(struct octeon_twsi_softc *sc, ...)
345 octeon_twsi_hlcm_write_4(struct octeon_twsi_softc *sc, ...)
361 octeon_twsi_hlcs_setup(struct octeon_twsi_softc *sc, ...)
377 octeon_twsi_control_read(struct octeon_twsi_softc *sc, uint64_t eop_ia)
391 octeon_twsi_control_write(struct octeon_twsi_softc *sc, uint64_t eop_ia,
418 octeon_twsi_send(struct octeon_twsi_softc *sc, ...)
426 octeon_twsi_recv(struct octeon_twsi_softc *sc, ...)
443 octeon_twsi_reg_rd(struct octeon_twsi_softc *sc, int offset)
449 octeon_twsi_reg_wr(struct octeon_twsi_softc *sc, int offset, uint64_t value)
457 octeon_twsi_reg_dump(struct octeon_twsi_softc *sc, int offset)
473 octeon_twsi_test(struct octeon_twsi_softc *sc)
508 octeon_twsi_debug_reg_dump(struct octeon_twsi_softc *sc, int offset)
525 octeon_twsi_debug_dumpregs(struct octeon_twsi_softc *sc)
534 octeon_twsi_debug_dumpreg(struct octeon_twsi_softc *sc,