Home
last modified time | relevance | path

Searched refs:ucom_softc (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/dev/usb/serial/
H A Dusb_serial.h79 struct ucom_softc;
89 void (*ucom_cfg_get_status) (struct ucom_softc *, uint8_t *plsr, uint8_t *pmsr);
90 void (*ucom_cfg_set_dtr) (struct ucom_softc *, uint8_t);
91 void (*ucom_cfg_set_rts) (struct ucom_softc *, uint8_t);
92 void (*ucom_cfg_set_break) (struct ucom_softc *, uint8_t);
93 void (*ucom_cfg_set_ring) (struct ucom_softc *, uint8_t);
94 void (*ucom_cfg_param) (struct ucom_softc *, struct termios *);
95 void (*ucom_cfg_open) (struct ucom_softc *);
96 void (*ucom_cfg_close) (struct ucom_softc *);
97 int (*ucom_pre_open) (struct ucom_softc *);
[all …]
H A Duark.c84 struct ucom_softc sc_ucom;
104 static void uark_free(struct ucom_softc *);
105 static void uark_start_read(struct ucom_softc *);
106 static void uark_stop_read(struct ucom_softc *);
107 static void uark_start_write(struct ucom_softc *);
108 static void uark_stop_write(struct ucom_softc *);
109 static int uark_pre_param(struct ucom_softc *, struct termios *);
110 static void uark_cfg_param(struct ucom_softc *, struct termios *);
111 static void uark_cfg_get_status(struct ucom_softc *, uint8_t *,
113 static void uark_cfg_set_break(struct ucom_softc *, uint8_t);
[all …]
H A Duvscom.c146 struct ucom_softc sc_ucom;
172 static void uvscom_free(struct ucom_softc *);
173 static void uvscom_cfg_set_dtr(struct ucom_softc *, uint8_t);
174 static void uvscom_cfg_set_rts(struct ucom_softc *, uint8_t);
175 static void uvscom_cfg_set_break(struct ucom_softc *, uint8_t);
176 static int uvscom_pre_param(struct ucom_softc *, struct termios *);
177 static void uvscom_cfg_param(struct ucom_softc *, struct termios *);
178 static int uvscom_pre_open(struct ucom_softc *);
179 static void uvscom_cfg_open(struct ucom_softc *);
180 static void uvscom_cfg_close(struct ucom_softc *);
[all …]
H A Dumoscom.c177 struct ucom_softc sc_ucom;
198 static void umoscom_free(struct ucom_softc *);
199 static void umoscom_cfg_open(struct ucom_softc *);
200 static void umoscom_cfg_close(struct ucom_softc *);
201 static void umoscom_cfg_set_break(struct ucom_softc *, uint8_t);
202 static void umoscom_cfg_set_dtr(struct ucom_softc *, uint8_t);
203 static void umoscom_cfg_set_rts(struct ucom_softc *, uint8_t);
204 static int umoscom_pre_param(struct ucom_softc *, struct termios *);
205 static void umoscom_cfg_param(struct ucom_softc *, struct termios *);
206 static void umoscom_cfg_get_status(struct ucom_softc *, uint8_t *,
[all …]
H A Dubsa.c158 struct ucom_softc sc_ucom;
180 static void ubsa_free(struct ucom_softc *);
181 static void ubsa_cfg_set_dtr(struct ucom_softc *, uint8_t);
182 static void ubsa_cfg_set_rts(struct ucom_softc *, uint8_t);
183 static void ubsa_cfg_set_break(struct ucom_softc *, uint8_t);
184 static int ubsa_pre_param(struct ucom_softc *, struct termios *);
185 static void ubsa_cfg_param(struct ucom_softc *, struct termios *);
186 static void ubsa_start_read(struct ucom_softc *);
187 static void ubsa_stop_read(struct ucom_softc *);
188 static void ubsa_start_write(struct ucom_softc *);
[all …]
H A Dumct.c110 struct ucom_softc sc_ucom;
143 static void umct_free(struct ucom_softc *);
144 static void umct_cfg_get_status(struct ucom_softc *, uint8_t *,
146 static void umct_cfg_set_break(struct ucom_softc *, uint8_t);
147 static void umct_cfg_set_dtr(struct ucom_softc *, uint8_t);
148 static void umct_cfg_set_rts(struct ucom_softc *, uint8_t);
150 static int umct_pre_param(struct ucom_softc *, struct termios *);
151 static void umct_cfg_param(struct ucom_softc *, struct termios *);
152 static void umct_start_read(struct ucom_softc *);
153 static void umct_stop_read(struct ucom_softc *);
[all …]
H A Dubser.c125 struct ucom_softc sc_ucom[UBSER_UNIT_MAX];
149 static void ubser_free(struct ucom_softc *);
150 static int ubser_pre_param(struct ucom_softc *, struct termios *);
151 static void ubser_cfg_set_break(struct ucom_softc *, uint8_t);
152 static void ubser_cfg_get_status(struct ucom_softc *, uint8_t *,
154 static void ubser_start_read(struct ucom_softc *);
155 static void ubser_stop_read(struct ucom_softc *);
156 static void ubser_start_write(struct ucom_softc *);
157 static void ubser_stop_write(struct ucom_softc *);
158 static void ubser_poll(struct ucom_softc *ucom);
[all …]
H A Duchcom.c164 struct ucom_softc sc_ucom;
211 static void uchcom_free(struct ucom_softc *);
212 static int uchcom_pre_param(struct ucom_softc *, struct termios *);
213 static void uchcom_cfg_get_status(struct ucom_softc *, uint8_t *,
215 static void uchcom_cfg_open(struct ucom_softc *ucom);
216 static void uchcom_cfg_param(struct ucom_softc *, struct termios *);
217 static void uchcom_cfg_set_break(struct ucom_softc *, uint8_t);
218 static void uchcom_cfg_set_dtr(struct ucom_softc *, uint8_t);
219 static void uchcom_cfg_set_rts(struct ucom_softc *, uint8_t);
220 static void uchcom_start_read(struct ucom_softc *);
[all …]
H A Ducycom.c81 struct ucom_softc sc_ucom;
119 static void ucycom_free(struct ucom_softc *);
120 static void ucycom_cfg_open(struct ucom_softc *);
121 static void ucycom_start_read(struct ucom_softc *);
122 static void ucycom_stop_read(struct ucom_softc *);
123 static void ucycom_start_write(struct ucom_softc *);
124 static void ucycom_stop_write(struct ucom_softc *);
126 static int ucycom_pre_param(struct ucom_softc *, struct termios *);
127 static void ucycom_cfg_param(struct ucom_softc *, struct termios *);
128 static void ucycom_poll(struct ucom_softc *ucom);
[all …]
H A Dugensa.c81 struct ucom_softc *sc_ucom_ptr;
87 struct ucom_softc sc_ucom[UGENSA_PORT_MAX];
104 static void ugensa_free(struct ucom_softc *);
105 static void ugensa_start_read(struct ucom_softc *);
106 static void ugensa_stop_read(struct ucom_softc *);
107 static void ugensa_start_write(struct ucom_softc *);
108 static void ugensa_stop_write(struct ucom_softc *);
109 static void ugensa_poll(struct ucom_softc *ucom);
297 ugensa_free(struct ucom_softc *ucom) in ugensa_free()
362 ugensa_start_read(struct ucom_softc *ucom) in ugensa_start_read()
[all …]
H A Dumodem.c176 struct ucom_softc sc_ucom;
208 static void umodem_free(struct ucom_softc *);
209 static void umodem_start_read(struct ucom_softc *);
210 static void umodem_stop_read(struct ucom_softc *);
211 static void umodem_start_write(struct ucom_softc *);
212 static void umodem_stop_write(struct ucom_softc *);
214 static void umodem_cfg_get_status(struct ucom_softc *, uint8_t *,
216 static int umodem_pre_param(struct ucom_softc *, struct termios *);
217 static void umodem_cfg_param(struct ucom_softc *, struct termios *);
218 static void umodem_cfg_open(struct ucom_softc *);
[all …]
H A Duslcom.c140 struct ucom_softc sc_ucom;
162 static void uslcom_free(struct ucom_softc *);
164 static void uslcom_cfg_open(struct ucom_softc *);
165 static void uslcom_cfg_close(struct ucom_softc *);
166 static void uslcom_cfg_set_dtr(struct ucom_softc *, uint8_t);
167 static void uslcom_cfg_set_rts(struct ucom_softc *, uint8_t);
168 static void uslcom_cfg_set_break(struct ucom_softc *, uint8_t);
169 static void uslcom_cfg_param(struct ucom_softc *, struct termios *);
170 static void uslcom_cfg_get_status(struct ucom_softc *, uint8_t *, uint8_t *);
171 static int uslcom_ioctl(struct ucom_softc *, uint32_t, caddr_t, int,
[all …]
H A Dusb_serial.c133 static struct ucom_softc *ucom_cons_softc = NULL;
151 static int ucom_attach_tty(struct ucom_super_softc *, struct ucom_softc *);
152 static void ucom_detach_tty(struct ucom_super_softc *, struct ucom_softc *);
153 static int ucom_queue_command(struct ucom_softc *,
156 static void ucom_shutdown(struct ucom_softc *);
157 static void ucom_ring(struct ucom_softc *, uint8_t);
158 static void ucom_break(struct ucom_softc *, uint8_t);
159 static void ucom_dtr(struct ucom_softc *, uint8_t);
160 static void ucom_rts(struct ucom_softc *, uint8_t);
264 ucom_attach(struct ucom_super_softc *ssc, struct ucom_softc *sc, in ucom_attach()
[all …]
H A Dumcs.c127 struct ucom_softc sc_ucom[UMCS7840_MAX_PORTS]; /* Need to be continuous
154 static void umcs7840_free(struct ucom_softc *);
155 static void umcs7840_cfg_get_status(struct ucom_softc *, uint8_t *, uint8_t *);
156 static void umcs7840_cfg_set_dtr(struct ucom_softc *, uint8_t);
157 static void umcs7840_cfg_set_rts(struct ucom_softc *, uint8_t);
158 static void umcs7840_cfg_set_break(struct ucom_softc *, uint8_t);
159 static void umcs7840_cfg_param(struct ucom_softc *, struct termios *);
160 static void umcs7840_cfg_open(struct ucom_softc *);
161 static void umcs7840_cfg_close(struct ucom_softc *);
163 static int umcs7840_pre_param(struct ucom_softc *, struct termios *);
[all …]
H A Dufoma.c164 struct ucom_softc sc_ucom;
209 static void ufoma_free(struct ucom_softc *);
210 static void ufoma_cfg_open(struct ucom_softc *);
211 static void ufoma_cfg_close(struct ucom_softc *);
212 static void ufoma_cfg_set_break(struct ucom_softc *, uint8_t);
213 static void ufoma_cfg_get_status(struct ucom_softc *, uint8_t *,
215 static void ufoma_cfg_set_dtr(struct ucom_softc *, uint8_t);
216 static void ufoma_cfg_set_rts(struct ucom_softc *, uint8_t);
217 static int ufoma_pre_param(struct ucom_softc *, struct termios *);
218 static void ufoma_cfg_param(struct ucom_softc *, struct termios *);
[all …]
H A Duplcom.c164 struct ucom_softc sc_ucom;
186 static void uplcom_free(struct ucom_softc *);
187 static void uplcom_cfg_set_dtr(struct ucom_softc *, uint8_t);
188 static void uplcom_cfg_set_rts(struct ucom_softc *, uint8_t);
189 static void uplcom_cfg_set_break(struct ucom_softc *, uint8_t);
190 static int uplcom_pre_param(struct ucom_softc *, struct termios *);
191 static void uplcom_cfg_param(struct ucom_softc *, struct termios *);
192 static void uplcom_start_read(struct ucom_softc *);
193 static void uplcom_stop_read(struct ucom_softc *);
194 static void uplcom_start_write(struct ucom_softc *);
[all …]
H A Duvisor.c173 struct ucom_softc sc_ucom;
201 static void uvisor_free(struct ucom_softc *);
202 static void uvisor_cfg_open(struct ucom_softc *);
203 static void uvisor_cfg_close(struct ucom_softc *);
204 static void uvisor_start_read(struct ucom_softc *);
205 static void uvisor_stop_read(struct ucom_softc *);
206 static void uvisor_start_write(struct ucom_softc *);
207 static void uvisor_stop_write(struct ucom_softc *);
392 uvisor_free(struct ucom_softc *ucom) in uvisor_free()
547 uvisor_cfg_open(struct ucom_softc *ucom) in uvisor_cfg_open()
[all …]
H A Duftdi.c147 struct ucom_softc sc_ucom;
186 static void uftdi_free(struct ucom_softc *);
187 static void uftdi_cfg_open(struct ucom_softc *);
188 static void uftdi_cfg_close(struct ucom_softc *);
189 static void uftdi_cfg_set_dtr(struct ucom_softc *, uint8_t);
190 static void uftdi_cfg_set_rts(struct ucom_softc *, uint8_t);
191 static void uftdi_cfg_set_break(struct ucom_softc *, uint8_t);
192 static int uftdi_set_parm_soft(struct ucom_softc *, struct termios *,
194 static int uftdi_pre_param(struct ucom_softc *, struct termios *);
195 static void uftdi_cfg_param(struct ucom_softc *, struct termios *);
[all …]
H A Duipaq.c90 struct ucom_softc sc_ucom;
110 static void uipaq_free(struct ucom_softc *);
111 static void uipaq_start_read(struct ucom_softc *);
112 static void uipaq_stop_read(struct ucom_softc *);
113 static void uipaq_start_write(struct ucom_softc *);
114 static void uipaq_stop_write(struct ucom_softc *);
115 static void uipaq_cfg_set_dtr(struct ucom_softc *, uint8_t);
116 static void uipaq_cfg_set_rts(struct ucom_softc *, uint8_t);
117 static void uipaq_cfg_set_break(struct ucom_softc *, uint8_t);
118 static void uipaq_poll(struct ucom_softc *ucom);
[all …]
H A Du3g.c103 struct ucom_softc sc_ucom[U3G_MAXPORTS];
126 static void u3g_cfg_get_status(struct ucom_softc *, uint8_t *, uint8_t *);
127 static void u3g_cfg_set_dtr(struct ucom_softc *, uint8_t);
128 static void u3g_cfg_set_rts(struct ucom_softc *, uint8_t);
129 static void u3g_start_read(struct ucom_softc *ucom);
130 static void u3g_stop_read(struct ucom_softc *ucom);
131 static void u3g_start_write(struct ucom_softc *ucom);
132 static void u3g_stop_write(struct ucom_softc *ucom);
133 static void u3g_poll(struct ucom_softc *ucom);
134 static void u3g_free(struct ucom_softc *ucom);
[all …]
/freebsd/sys/dev/usb/net/
H A Dif_usie.c107 static void usie_free(struct ucom_softc *);
108 static void usie_uc_update_line_state(struct ucom_softc *, uint8_t);
109 static void usie_uc_cfg_get_status(struct ucom_softc *, uint8_t *, uint8_t *);
110 static void usie_uc_cfg_set_dtr(struct ucom_softc *, uint8_t);
111 static void usie_uc_cfg_set_rts(struct ucom_softc *, uint8_t);
112 static void usie_uc_cfg_open(struct ucom_softc *);
113 static void usie_uc_cfg_close(struct ucom_softc *);
114 static void usie_uc_start_read(struct ucom_softc *);
115 static void usie_uc_stop_read(struct ucom_softc *);
116 static void usie_uc_start_write(struct ucom_softc *);
[all …]
H A Duhso.c106 struct ucom_softc *sc_ucom;
462 static void uhso_free(struct ucom_softc *);
463 static void uhso_ucom_start_read(struct ucom_softc *);
464 static void uhso_ucom_stop_read(struct ucom_softc *);
465 static void uhso_ucom_start_write(struct ucom_softc *);
466 static void uhso_ucom_stop_write(struct ucom_softc *);
467 static void uhso_ucom_cfg_get_status(struct ucom_softc *, uint8_t *, uint8_t *);
468 static void uhso_ucom_cfg_set_dtr(struct ucom_softc *, uint8_t);
469 static void uhso_ucom_cfg_set_rts(struct ucom_softc *, uint8_t);
551 struct ucom_softc *ucom; in uhso_attach()
[all …]
H A Dif_usievar.h215 struct ucom_softc sc_ucom[USIE_UCOM_MAX];