Searched refs:twa_softc (Results 1 – 7 of 7) sorted by relevance
58 extern TW_INT32 tw_osli_fw_passthru(struct twa_softc *sc, TW_INT8 *buf);61 extern struct tw_osli_req_context *tw_osli_get_request(struct twa_softc *sc);74 extern TW_INT32 tw_osli_cam_attach(struct twa_softc *sc);77 extern TW_VOID tw_osli_cam_detach(struct twa_softc *sc);80 extern TW_INT32 tw_osli_request_bus_scan(struct twa_softc *sc);83 extern TW_VOID tw_osli_disallow_new_requests(struct twa_softc *sc,
92 struct twa_softc *sc = (struct twa_softc *)(dev->si_drv1); in twa_open()117 struct twa_softc *sc = (struct twa_softc *)(dev->si_drv1); in twa_close()146 struct twa_softc *sc = (struct twa_softc *)(dev->si_drv1); in twa_ioctl()180 int twa_setup_intr(struct twa_softc *sc);181 int twa_teardown_intr(struct twa_softc *sc);183 static TW_INT32 tw_osli_alloc_mem(struct twa_softc *sc);184 static TW_VOID tw_osli_free_resources(struct twa_softc *sc);205 sizeof(struct twa_softc)243 int twa_setup_intr(struct twa_softc *sc) in twa_setup_intr()257 int twa_teardown_intr(struct twa_softc *sc) in twa_teardown_intr()[all …]
169 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_tag; in tw_osl_read_reg_inline()171 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_handle; in tw_osl_read_reg_inline()203 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_tag; in tw_osl_write_reg_inline()205 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_handle; in tw_osl_write_reg_inline()231 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_dev, \249 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_dev, \
74 tw_osli_cam_attach(struct twa_softc *sc) in tw_osli_cam_attach()166 tw_osli_cam_detach(struct twa_softc *sc) in tw_osli_cam_detach()199 struct twa_softc *sc = req->ctlr; in tw_osli_execute_scsi()313 struct twa_softc *sc = (struct twa_softc *)cam_sim_softc(sim); in twa_action()460 struct twa_softc *sc = (struct twa_softc *)(cam_sim_softc(sim)); in twa_poll()479 tw_osli_request_bus_scan(struct twa_softc *sc) in tw_osli_request_bus_scan()516 tw_osli_disallow_new_requests(struct twa_softc *sc, in tw_osli_disallow_new_requests()580 struct twa_softc *sc = ctlr_handle->osl_ctlr_ctxt; in tw_osl_scan_bus()609 struct twa_softc *sc = req->ctlr; in tw_osl_complete_io()
96 struct twa_softc *ctlr; /* ptr to OSL's controller context */124 struct twa_softc { struct220 tw_osli_req_q_init(struct twa_softc *sc, TW_UINT8 q_type) in tw_osli_req_q_init()254 tw_osli_req_q_remove_head(struct twa_softc *sc, TW_UINT8 q_type) in tw_osli_req_q_remove_head()309 device_printf(((struct twa_softc *)(sc))->bus_dev, fmt, ##args)
89 extern int twa_setup_intr(struct twa_softc *sc);90 extern int twa_teardown_intr(struct twa_softc *sc);
1053 struct twa_softc *sc = ctlr_handle->osl_ctlr_ctxt; in tw_cl_reset_ctlr()