Lines Matching refs:twe_softc
98 static int twe_aen_get(struct twe_softc *, uint16_t *);
100 static void twe_aen_enqueue(struct twe_softc *sc, uint16_t, int);
101 static uint16_t twe_aen_dequeue(struct twe_softc *);
105 static int twe_init_connection(struct twe_softc *);
108 static int twe_param_set(struct twe_softc *, int, int, size_t, void *);
109 static void twe_poll(struct twe_softc *);
111 static int twe_reset(struct twe_softc *);
112 static int twe_status_check(struct twe_softc *, u_int);
113 static int twe_status_wait(struct twe_softc *, u_int, int);
114 static void twe_describe_controller(struct twe_softc *);
115 static void twe_clear_pci_abort(struct twe_softc *sc);
116 static void twe_clear_pci_parity_error(struct twe_softc *sc);
118 static int twe_add_unit(struct twe_softc *, int);
119 static int twe_del_unit(struct twe_softc *, int);
120 static int twe_init_connection(struct twe_softc *);
122 static inline u_int32_t twe_inl(struct twe_softc *, int);
123 static inline void twe_outl(struct twe_softc *, int, u_int32_t);
127 CFATTACH_DECL3_NEW(twe, sizeof(struct twe_softc),
271 twe_inl(struct twe_softc *sc, int off) in twe_inl()
280 twe_outl(struct twe_softc *sc, int off, u_int32_t val) in twe_outl()
312 struct twe_softc *sc; in twe_attach()
487 struct twe_softc *sc; in twe_rescan()
499 twe_register_callbacks(struct twe_softc *sc, int unit, in twe_register_callbacks()
507 twe_recompute_openings(struct twe_softc *sc) in twe_recompute_openings()
535 twe_add_unit(struct twe_softc *sc, int unit) in twe_add_unit()
648 twe_del_unit(struct twe_softc *sc, int unit) in twe_del_unit()
674 twe_reset(struct twe_softc *sc) in twe_reset()
775 struct twe_softc *sc; in twe_intr()
842 twe_aen_get(struct twe_softc *sc, uint16_t *aenp) in twe_aen_get()
919 struct twe_softc *sc; in twe_aen_handler()
956 twe_aen_enqueue(struct twe_softc *sc, uint16_t aen, int quiet) in twe_aen_enqueue()
1045 twe_aen_dequeue(struct twe_softc *sc) in twe_aen_dequeue()
1064 twe_param_get_1(struct twe_softc *sc, int table_id, int param_id, in twe_param_get_1()
1079 twe_param_get_2(struct twe_softc *sc, int table_id, int param_id, in twe_param_get_2()
1094 twe_param_get_4(struct twe_softc *sc, int table_id, int param_id, in twe_param_get_4()
1119 twe_param_get(struct twe_softc *sc, int table_id, int param_id, size_t size, in twe_param_get()
1187 twe_param_set(struct twe_softc *sc, int table_id, int param_id, size_t size, in twe_param_set()
1237 twe_init_connection(struct twe_softc *sc) in twe_init_connection()
1265 twe_poll(struct twe_softc *sc) in twe_poll()
1317 twe_status_wait(struct twe_softc *sc, u_int32_t status, int timo) in twe_status_wait()
1333 twe_clear_pci_parity_error(struct twe_softc *sc) in twe_clear_pci_parity_error()
1346 twe_clear_pci_abort(struct twe_softc *sc) in twe_clear_pci_abort()
1357 twe_status_check(struct twe_softc *sc, u_int status) in twe_status_check()
1391 twe_ccb_init(struct twe_softc *sc, struct twe_ccb *ccb, int flags) in twe_ccb_init()
1404 twe_ccb_alloc(struct twe_softc *sc, int flags) in twe_ccb_alloc()
1437 twe_ccb_alloc_wait(struct twe_softc *sc, int flags) in twe_ccb_alloc_wait()
1467 twe_ccb_free(struct twe_softc *sc, struct twe_ccb *ccb) in twe_ccb_free()
1488 twe_ccb_map(struct twe_softc *sc, struct twe_ccb *ccb) in twe_ccb_map()
1588 twe_ccb_unmap(struct twe_softc *sc, struct twe_ccb *ccb) in twe_ccb_unmap()
1621 twe_ccb_poll(struct twe_softc *sc, struct twe_ccb *ccb, int timo) in twe_ccb_poll()
1644 twe_ccb_enqueue(struct twe_softc *sc, struct twe_ccb *ccb) in twe_ccb_enqueue()
1667 twe_ccb_submit(struct twe_softc *sc, struct twe_ccb *ccb) in twe_ccb_submit()
1705 struct twe_softc *twe; in tweopen()
1723 struct twe_softc *twe; in tweclose()
1744 struct twe_softc *twe; in tweioctl()
1922 twe_describe_controller(struct twe_softc *sc) in twe_describe_controller()