Lines Matching refs:tws_softc

53 extern int tws_cam_attach(struct tws_softc *sc);
54 extern void tws_cam_detach(struct tws_softc *sc);
55 extern int tws_init_ctlr(struct tws_softc *sc);
56 extern boolean tws_ctlr_ready(struct tws_softc *sc);
57 extern void tws_turn_off_interrupts(struct tws_softc *sc);
58 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req,
60 extern struct tws_request *tws_q_remove_request(struct tws_softc *sc,
62 extern struct tws_request *tws_q_remove_head(struct tws_softc *sc,
64 extern boolean tws_get_response(struct tws_softc *sc, u_int16_t *req_id);
65 extern boolean tws_ctlr_reset(struct tws_softc *sc);
70 struct tws_request *tws_get_request(struct tws_softc *sc, u_int16_t type);
71 int tws_init_connect(struct tws_softc *sc, u_int16_t mc);
72 void tws_send_event(struct tws_softc *sc, u_int8_t event);
73 uint8_t tws_get_state(struct tws_softc *sc);
85 static int tws_init(struct tws_softc *sc);
89 static int tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size);
90 static int tws_init_aen_q(struct tws_softc *sc);
91 static int tws_init_trace_q(struct tws_softc *sc);
92 static int tws_setup_irq(struct tws_softc *sc);
93 int tws_setup_intr(struct tws_softc *sc, int irqs);
94 int tws_teardown_intr(struct tws_softc *sc);
118 struct tws_softc *sc = dev->si_drv1;
128 struct tws_softc *sc = dev->si_drv1;
138 struct tws_softc *sc = dev->si_drv1;
148 struct tws_softc *sc = dev->si_drv1;
185 struct tws_softc *sc = device_get_softc(dev);
348 struct tws_softc *sc = device_get_softc(dev);
415 tws_setup_intr(struct tws_softc *sc, int irqs)
438 tws_teardown_intr(struct tws_softc *sc)
454 tws_setup_irq(struct tws_softc *sc)
494 tws_init(struct tws_softc *sc)
640 tws_init_aen_q(struct tws_softc *sc)
654 tws_init_trace_q(struct tws_softc *sc)
668 tws_init_reqs(struct tws_softc *sc, u_int32_t dma_mem_size)
719 tws_send_event(struct tws_softc *sc, u_int8_t event)
773 tws_get_state(struct tws_softc *sc)
786 struct tws_softc *sc = device_get_softc(dev);
802 struct tws_softc *sc = device_get_softc(dev);
816 struct tws_softc *sc = device_get_softc(dev);
825 tws_get_request(struct tws_softc *sc, u_int16_t type)
864 struct tws_softc *sc = req->sc;
887 sizeof(struct tws_softc)
893 /* DEFINE_CLASS_0(tws, tws_driver, tws_methods, sizeof(struct tws_softc)); */