Lines Matching refs:bt_softc

73 static __inline void	btnextinbox(struct bt_softc *bt);
74 static __inline void btnextoutbox(struct bt_softc *bt);
77 btnextinbox(struct bt_softc *bt) in btnextinbox()
86 btnextoutbox(struct bt_softc *bt) in btnextoutbox()
95 static __inline u_int32_t btccbvtop(struct bt_softc *bt,
97 static __inline struct bt_ccb* btccbptov(struct bt_softc *bt,
99 static __inline u_int32_t btsensepaddr(struct bt_softc *bt,
101 static __inline struct scsi_sense_data* btsensevaddr(struct bt_softc *bt,
105 btccbvtop(struct bt_softc *bt, struct bt_ccb *bccb) in btccbvtop()
112 btccbptov(struct bt_softc *bt, u_int32_t ccb_addr) in btccbptov()
119 btsensepaddr(struct bt_softc *bt, struct bt_ccb *bccb) in btsensepaddr()
129 btsensevaddr(struct bt_softc *bt, struct bt_ccb *bccb) in btsensevaddr()
137 static __inline struct bt_ccb* btgetccb(struct bt_softc *bt);
138 static __inline void btfreeccb(struct bt_softc *bt,
140 static void btallocccbs(struct bt_softc *bt);
142 static void btdone(struct bt_softc *bt, struct bt_ccb *bccb,
144 static void bt_intr_locked(struct bt_softc *bt);
147 static int btreset(struct bt_softc* bt, int hard_reset);
150 static int btinitmboxes(struct bt_softc *bt);
156 static void btfetchtransinfo(struct bt_softc *bt,
203 struct bt_softc *bt = device_get_softc(dev); in bt_init_softc()
218 struct bt_softc *bt = device_get_softc(dev); in bt_free_softc()
275 struct bt_softc *bt = device_get_softc(dev); in bt_port_probe()
342 struct bt_softc *bt = device_get_softc(dev); in bt_probe()
409 struct bt_softc *bt = device_get_softc(dev); in bt_fetch_adapter_info()
692 struct bt_softc *bt = device_get_softc(dev); in bt_init()
865 struct bt_softc *bt = device_get_softc(dev); in bt_attach()
1002 btallocccbs(struct bt_softc *bt) in btallocccbs()
1070 btfreeccb(struct bt_softc *bt, struct bt_ccb *bccb) in btfreeccb()
1088 btgetccb(struct bt_softc *bt) in btgetccb()
1112 struct bt_softc *bt; in btaction()
1116 bt = (struct bt_softc *)cam_sim_softc(sim); in btaction()
1394 struct bt_softc *bt; in btexecuteccb()
1398 bt = (struct bt_softc *)ccb->ccb_h.ccb_bt_ptr; in btexecuteccb()
1503 struct bt_softc *bt; in bt_intr()
1512 bt_intr_locked(struct bt_softc *bt) in bt_intr_locked()
1542 btdone(struct bt_softc *bt, struct bt_ccb *bccb, bt_mbi_comp_code_t comp_code) in btdone()
1773 btreset(struct bt_softc* bt, int hard_reset) in btreset()
1870 bt_cmd(struct bt_softc *bt, bt_op_t opcode, u_int8_t *params, u_int param_len, in bt_cmd()
2082 btinitmboxes(struct bt_softc *bt) { in btinitmboxes()
2135 btfetchtransinfo(struct bt_softc *bt, struct ccb_trans_settings *cts) in btfetchtransinfo()
2261 struct bt_softc* bt; in btmapmboxes()
2263 bt = (struct bt_softc*)arg; in btmapmboxes()
2270 struct bt_softc* bt; in btmapccbs()
2272 bt = (struct bt_softc*)arg; in btmapccbs()
2280 struct bt_softc* bt; in btmapsgs()
2282 bt = (struct bt_softc*)arg; in btmapsgs()
2297 struct bt_softc *bt; in bttimeout()
2301 bt = (struct bt_softc *)ccb->ccb_h.ccb_bt_ptr; in bttimeout()