Lines Matching refs:bth5_softc
77 struct bth5_softc { struct
99 void (*sc_transmit_callback)(struct bth5_softc *, struct mbuf *); argument
151 static void bth5_pktintegrity_transmit(struct bth5_softc *); argument
152 static void bth5_pktintegrity_receive(struct bth5_softc *, struct mbuf *);
156 static void bth5_mux_transmit(struct bth5_softc *sc);
157 static void bth5_mux_receive(struct bth5_softc *sc, struct mbuf *m);
158 static __inline void bth5_send_ack_command(struct bth5_softc *sc);
160 static __inline void bth5_set_choke(struct bth5_softc *, bool);
162 static void bth5_sequencing_receive(struct bth5_softc *, struct mbuf *);
163 static bool bth5_tx_reliable_pkt(struct bth5_softc *, struct mbuf *, u_int);
164 static __inline u_int bth5_get_txack(struct bth5_softc *);
165 static void bth5_signal_rxack(struct bth5_softc *, uint32_t);
166 static void bth5_reliabletx_callback(struct bth5_softc *, struct mbuf *);
168 static void bth5_sequencing_reset(struct bth5_softc *);
170 static void bth5_datagramq_receive(struct bth5_softc *, struct mbuf *);
171 static bool bth5_tx_unreliable_pkt(struct bth5_softc *, struct mbuf *, u_int);
172 static void bth5_unreliabletx_callback(struct bth5_softc *, struct mbuf *);
174 static int bth5_start_le(struct bth5_softc *);
175 static void bth5_terminate_le(struct bth5_softc *);
176 static void bth5_input_le(struct bth5_softc *, struct mbuf *);
179 static void bth5_start(struct bth5_softc *);
198 CFATTACH_DECL_NEW(bthfive, sizeof(struct bth5_softc),
269 struct bth5_softc *sc = device_private(self); in bthfive_attach()
349 struct bth5_softc *sc = device_private(self); in bthfive_detach()
373 struct bth5_softc *sc; in bth5open()
435 struct bth5_softc *sc = tp->t_sc; in bth5close()
470 struct bth5_softc *sc = tp->t_sc; in bth5ioctl()
499 struct bth5_softc *sc = tp->t_sc; in bth5_slip_transmit()
643 struct bth5_softc *sc = tp->t_sc; in bth5_slip_receive()
785 bth5_pktintegrity_transmit(struct bth5_softc *sc) in bth5_pktintegrity_transmit()
825 bth5_pktintegrity_receive(struct bth5_softc *sc, struct mbuf *m) in bth5_pktintegrity_receive()
933 bth5_mux_transmit(struct bth5_softc *sc) in bth5_mux_transmit()
1019 bth5_mux_receive(struct bth5_softc *sc, struct mbuf *m) in bth5_mux_receive()
1053 bth5_send_ack_command(struct bth5_softc *sc) in bth5_send_ack_command()
1085 bth5_set_choke(struct bth5_softc *sc, bool choke) in bth5_set_choke()
1098 bth5_sequencing_receive(struct bth5_softc *sc, struct mbuf *m) in bth5_sequencing_receive()
1181 bth5_tx_reliable_pkt(struct bth5_softc *sc, struct mbuf *m, u_int protocol_id) in bth5_tx_reliable_pkt()
1247 bth5_get_txack(struct bth5_softc *sc) in bth5_get_txack()
1254 bth5_signal_rxack(struct bth5_softc *sc, uint32_t rxack) in bth5_signal_rxack()
1294 bth5_reliabletx_callback(struct bth5_softc *sc, struct mbuf *m) in bth5_reliabletx_callback()
1303 struct bth5_softc *sc = arg; in bth5_timer_timeout()
1341 bth5_sequencing_reset(struct bth5_softc *sc) in bth5_sequencing_reset()
1368 bth5_datagramq_receive(struct bth5_softc *sc, struct mbuf *m) in bth5_datagramq_receive()
1409 bth5_tx_unreliable_pkt(struct bth5_softc *sc, struct mbuf *m, u_int protocol_id) in bth5_tx_unreliable_pkt()
1460 bth5_unreliabletx_callback(struct bth5_softc *sc, struct mbuf *m) in bth5_unreliabletx_callback()
1479 bth5_start_le(struct bth5_softc *sc) in bth5_start_le()
1510 bth5_terminate_le(struct bth5_softc *sc) in bth5_terminate_le()
1531 bth5_input_le(struct bth5_softc *sc, struct mbuf *m) in bth5_input_le()
1662 struct bth5_softc *sc = arg; in bth5_le_timeout()
1715 struct bth5_softc *sc = device_private(self); in bth5_enable()
1734 struct bth5_softc *sc = device_private(self); in bth5_disable()
1757 bth5_start(struct bth5_softc *sc) in bth5_start()
1792 struct bth5_softc *sc = device_private(self); in bth5_output_cmd()
1811 struct bth5_softc *sc = device_private(self); in bth5_output_acl()
1830 struct bth5_softc *sc = device_private(self); in bth5_output_sco()
1848 struct bth5_softc *sc = device_private(self); in bth5_stats()