FreeBSD kernel usb device Code
|
#include <usb_serial.h>
Data Fields | |
struct ucom_cfg_task | sc_start_task [2] |
struct ucom_cfg_task | sc_open_task [2] |
struct ucom_cfg_task | sc_close_task [2] |
struct ucom_cfg_task | sc_line_state_task [2] |
struct ucom_cfg_task | sc_status_task [2] |
struct ucom_param_task | sc_param_task [2] |
struct pps_state | sc_pps |
struct usb_proc_msg * | sc_last_start_xfer |
const struct ucom_callback * | sc_callback |
struct ucom_super_softc * | sc_super |
struct tty * | sc_tty |
struct consdev * | sc_consdev |
struct mtx * | sc_mtx |
void * | sc_parent |
int | sc_subunit |
uint16_t | sc_jitterbuf_in |
uint16_t | sc_jitterbuf_out |
uint16_t | sc_portno |
uint16_t | sc_flag |
uint8_t | sc_lsr |
uint8_t | sc_msr |
uint8_t | sc_mcr |
uint8_t | sc_pls_set |
uint8_t | sc_pls_clr |
uint8_t | sc_pls_curr |
uint8_t | sc_jitterbuf [UCOM_JITTERBUF_SIZE] |
Definition at line 143 of file usb_serial.h.
const struct ucom_callback* ucom_softc::sc_callback |
Definition at line 165 of file usb_serial.h.
Referenced by ucom_attach(), ucom_attach_tty(), ucom_cfg_close(), ucom_cfg_line_state(), ucom_cfg_open(), ucom_cfg_param(), ucom_cfg_start_transfers(), ucom_cfg_status_change(), ucom_close(), ucom_cngetc(), ucom_cnputc(), ucom_detach_tty(), ucom_free(), ucom_ioctl(), ucom_open(), ucom_param(), and ucom_start_transfers().
struct ucom_cfg_task ucom_softc::sc_close_task[2] |
Definition at line 157 of file usb_serial.h.
Referenced by ucom_close().
struct consdev* ucom_softc::sc_consdev |
Definition at line 168 of file usb_serial.h.
Referenced by ucom_attach_tty(), and ucom_detach_tty().
uint16_t ucom_softc::sc_flag |
Definition at line 175 of file usb_serial.h.
Referenced by ucom_attach(), ucom_attach_tty(), ucom_busy(), ucom_cfg_close(), ucom_cfg_line_state(), ucom_cfg_open(), ucom_cfg_param(), ucom_cfg_start_transfers(), ucom_cfg_status_change(), ucom_close(), ucom_detach(), ucom_detach_tty(), ucom_get_data(), ucom_inwakeup(), ucom_ioctl(), ucom_line_state(), ucom_modem(), ucom_open(), ucom_outwakeup(), ucom_param(), ucom_put_data(), ucom_start_transfers(), ucom_status_change(), and ucom_use_lsr_txbits().
uint8_t ucom_softc::sc_jitterbuf[UCOM_JITTERBUF_SIZE] |
Definition at line 199 of file usb_serial.h.
Referenced by ucom_inwakeup(), and ucom_put_data().
uint16_t ucom_softc::sc_jitterbuf_in |
Definition at line 172 of file usb_serial.h.
Referenced by ucom_inwakeup(), ucom_open(), and ucom_put_data().
uint16_t ucom_softc::sc_jitterbuf_out |
Definition at line 173 of file usb_serial.h.
Referenced by ucom_inwakeup(), ucom_open(), and ucom_put_data().
struct usb_proc_msg* ucom_softc::sc_last_start_xfer |
Definition at line 164 of file usb_serial.h.
Referenced by ucom_cfg_start_transfers(), and ucom_queue_command().
struct ucom_cfg_task ucom_softc::sc_line_state_task[2] |
Definition at line 158 of file usb_serial.h.
Referenced by ucom_line_state().
uint8_t ucom_softc::sc_lsr |
Definition at line 188 of file usb_serial.h.
Referenced by ucom_busy(), ucom_cfg_status_change(), and ucom_open().
uint8_t ucom_softc::sc_mcr |
Definition at line 190 of file usb_serial.h.
Referenced by ucom_modem(), and ucom_open().
uint8_t ucom_softc::sc_msr |
Definition at line 189 of file usb_serial.h.
Referenced by ucom_cfg_status_change(), ucom_modem(), and ucom_open().
struct mtx* ucom_softc::sc_mtx |
Definition at line 169 of file usb_serial.h.
Referenced by ucom_attach(), ucom_attach_tty(), ucom_cfg_open(), and ucom_cfg_param().
struct ucom_cfg_task ucom_softc::sc_open_task[2] |
Definition at line 156 of file usb_serial.h.
Referenced by ucom_open().
struct ucom_param_task ucom_softc::sc_param_task[2] |
Definition at line 160 of file usb_serial.h.
Referenced by ucom_param().
void* ucom_softc::sc_parent |
Definition at line 170 of file usb_serial.h.
Referenced by u3g_cfg_get_status(), u3g_cfg_set_dtr(), u3g_cfg_set_line(), u3g_cfg_set_rts(), u3g_free(), u3g_intr_callback(), u3g_poll(), u3g_start_read(), u3g_start_write(), u3g_stop_read(), u3g_stop_write(), uark_cfg_get_status(), uark_cfg_param(), uark_cfg_set_break(), uark_free(), uark_poll(), uark_start_read(), uark_start_write(), uark_stop_read(), uark_stop_write(), ubsa_cfg_get_status(), ubsa_cfg_param(), ubsa_cfg_set_break(), ubsa_cfg_set_dtr(), ubsa_cfg_set_rts(), ubsa_free(), ubsa_poll(), ubsa_pre_param(), ubsa_start_read(), ubsa_start_write(), ubsa_stop_read(), ubsa_stop_write(), ubser_cfg_set_break(), ubser_free(), ubser_poll(), ubser_start_read(), ubser_start_write(), ubser_stop_read(), ubser_stop_write(), uchcom_cfg_get_status(), uchcom_cfg_open(), uchcom_cfg_param(), uchcom_cfg_set_break(), uchcom_cfg_set_dtr(), uchcom_cfg_set_rts(), uchcom_free(), uchcom_poll(), uchcom_start_read(), uchcom_start_write(), uchcom_stop_read(), uchcom_stop_write(), ucom_attach(), ucycom_cfg_open(), ucycom_cfg_param(), ucycom_free(), ucycom_poll(), ucycom_start_read(), ucycom_start_write(), ucycom_stop_read(), ucycom_stop_write(), ufoma_cfg_close(), ufoma_cfg_get_status(), ufoma_cfg_open(), ufoma_cfg_param(), ufoma_cfg_set_break(), ufoma_cfg_set_dtr(), ufoma_cfg_set_rts(), ufoma_free(), ufoma_poll(), ufoma_start_read(), ufoma_start_write(), ufoma_stop_read(), ufoma_stop_write(), uftdi_cfg_get_status(), uftdi_cfg_param(), uftdi_cfg_set_break(), uftdi_cfg_set_dtr(), uftdi_cfg_set_rts(), uftdi_erase_eeprom(), uftdi_free(), uftdi_get_bitmode(), uftdi_get_latency(), uftdi_ioctl(), uftdi_poll(), uftdi_read_eeprom(), uftdi_reset(), uftdi_set_bitmode(), uftdi_set_error_char(), uftdi_set_event_char(), uftdi_set_latency(), uftdi_set_parm_soft(), uftdi_start_read(), uftdi_start_write(), uftdi_stop_read(), uftdi_stop_write(), uftdi_write_eeprom(), ugensa_free(), ugensa_poll(), ugensa_start_read(), ugensa_start_write(), ugensa_stop_read(), ugensa_stop_write(), uhso_free(), uhso_ucom_cfg_get_status(), uhso_ucom_cfg_set_dtr(), uhso_ucom_cfg_set_rts(), uhso_ucom_start_read(), uhso_ucom_start_write(), uhso_ucom_stop_read(), uhso_ucom_stop_write(), uipaq_cfg_set_break(), uipaq_cfg_set_dtr(), uipaq_cfg_set_rts(), uipaq_free(), uipaq_poll(), uipaq_start_read(), uipaq_start_write(), uipaq_stop_read(), uipaq_stop_write(), umcs7840_cfg_close(), umcs7840_cfg_get_status(), umcs7840_cfg_open(), umcs7840_cfg_param(), umcs7840_cfg_set_break(), umcs7840_cfg_set_dtr(), umcs7840_cfg_set_rts(), umcs7840_free(), umcs7840_poll(), umcs7840_start_read(), umcs7840_start_write(), umcs7840_stop_read(), umcs7840_stop_write(), umct_cfg_get_status(), umct_cfg_param(), umct_cfg_set_break(), umct_cfg_set_dtr(), umct_cfg_set_rts(), umct_free(), umct_poll(), umct_start_read(), umct_start_write(), umct_stop_read(), umct_stop_write(), umodem_cfg_get_status(), umodem_cfg_param(), umodem_cfg_set_break(), umodem_cfg_set_dtr(), umodem_cfg_set_rts(), umodem_free(), umodem_ioctl(), umodem_poll(), umodem_start_read(), umodem_start_write(), umodem_stop_read(), umodem_stop_write(), umoscom_cfg_get_status(), umoscom_cfg_open(), umoscom_cfg_param(), umoscom_cfg_set_break(), umoscom_cfg_set_dtr(), umoscom_cfg_set_rts(), umoscom_free(), umoscom_poll(), umoscom_start_read(), umoscom_start_write(), umoscom_stop_read(), umoscom_stop_write(), uplcom_cfg_get_status(), uplcom_cfg_param(), uplcom_cfg_set_break(), uplcom_cfg_set_dtr(), uplcom_cfg_set_rts(), uplcom_free(), uplcom_poll(), uplcom_pre_param(), uplcom_start_read(), uplcom_start_write(), uplcom_stop_read(), uplcom_stop_write(), usie_free(), usie_uc_cfg_close(), usie_uc_cfg_get_status(), usie_uc_cfg_open(), usie_uc_rx_callback(), usie_uc_start_read(), usie_uc_start_write(), usie_uc_status_callback(), usie_uc_stop_read(), usie_uc_stop_write(), usie_uc_update_line_state(), uslcom_cfg_close(), uslcom_cfg_get_status(), uslcom_cfg_open(), uslcom_cfg_param(), uslcom_cfg_set_break(), uslcom_cfg_set_dtr(), uslcom_cfg_set_rts(), uslcom_free(), uslcom_ioctl(), uslcom_poll(), uslcom_pre_param(), uslcom_start_read(), uslcom_start_write(), uslcom_stop_read(), uslcom_stop_write(), uvisor_cfg_close(), uvisor_free(), uvisor_start_read(), uvisor_start_write(), uvisor_stop_read(), uvisor_stop_write(), uvscom_cfg_close(), uvscom_cfg_get_status(), uvscom_cfg_open(), uvscom_cfg_param(), uvscom_cfg_set_break(), uvscom_cfg_set_dtr(), uvscom_cfg_set_rts(), uvscom_free(), uvscom_poll(), uvscom_pre_open(), uvscom_start_read(), uvscom_start_write(), uvscom_stop_read(), and uvscom_stop_write().
uint8_t ucom_softc::sc_pls_clr |
Definition at line 193 of file usb_serial.h.
Referenced by ucom_cfg_line_state(), ucom_line_state(), and ucom_open().
uint8_t ucom_softc::sc_pls_curr |
Definition at line 194 of file usb_serial.h.
Referenced by ucom_cfg_line_state(), ucom_line_state(), and ucom_open().
uint8_t ucom_softc::sc_pls_set |
Definition at line 192 of file usb_serial.h.
Referenced by ucom_cfg_line_state(), ucom_line_state(), and ucom_open().
uint16_t ucom_softc::sc_portno |
Definition at line 174 of file usb_serial.h.
Referenced by ubser_attach(), ubser_cfg_set_break(), uftdi_cfg_param(), uftdi_cfg_set_break(), uftdi_cfg_set_dtr(), uftdi_cfg_set_rts(), uftdi_devtype_setup(), uftdi_get_bitmode(), uftdi_get_latency(), uftdi_reset(), uftdi_set_bitmode(), uftdi_set_error_char(), uftdi_set_event_char(), uftdi_set_latency(), uftdi_write_callback(), ugensa_attach(), ugensa_poll(), ugensa_start_read(), ugensa_start_write(), ugensa_stop_read(), ugensa_stop_write(), umcs7840_attach(), umcs7840_cfg_close(), umcs7840_cfg_get_status(), umcs7840_cfg_open(), umcs7840_cfg_param(), umcs7840_cfg_set_break(), umcs7840_cfg_set_dtr(), umcs7840_cfg_set_rts(), umcs7840_detach(), umcs7840_intr_callback(), umcs7840_poll(), umcs7840_read_callbackN(), umcs7840_start_read(), umcs7840_start_write(), umcs7840_stop_read(), umcs7840_stop_write(), and umcs7840_write_callbackN().
struct pps_state ucom_softc::sc_pps |
Definition at line 162 of file usb_serial.h.
Referenced by ucom_attach_tty(), ucom_cfg_status_change(), and ucom_ioctl().
struct ucom_cfg_task ucom_softc::sc_start_task[2] |
Definition at line 155 of file usb_serial.h.
Referenced by ucom_open(), and ucom_param().
struct ucom_cfg_task ucom_softc::sc_status_task[2] |
Definition at line 159 of file usb_serial.h.
Referenced by ucom_status_change().
int ucom_softc::sc_subunit |
Definition at line 171 of file usb_serial.h.
Referenced by u3g_cfg_get_status(), u3g_cfg_set_dtr(), u3g_cfg_set_line(), u3g_cfg_set_rts(), u3g_intr_callback(), u3g_poll(), u3g_start_read(), u3g_start_write(), u3g_stop_read(), u3g_stop_write(), ucom_attach(), ucom_attach_tty(), uhso_attach(), uhso_ucom_start_read(), uhso_ucom_start_write(), uhso_ucom_stop_read(), uhso_ucom_stop_write(), usie_uc_cfg_close(), usie_uc_cfg_open(), usie_uc_start_read(), usie_uc_start_write(), usie_uc_stop_read(), usie_uc_stop_write(), and usie_uc_update_line_state().
struct ucom_super_softc* ucom_softc::sc_super |
Definition at line 166 of file usb_serial.h.
Referenced by ucom_attach(), ucom_cfg_is_gone(), ucom_free(), ucom_queue_command(), uhso_attach(), and uhso_ucom_start_read().
struct tty* ucom_softc::sc_tty |
Definition at line 167 of file usb_serial.h.
Referenced by ucom_attach(), ucom_attach_tty(), ucom_cfg_status_change(), ucom_cngetc(), ucom_cnputc(), ucom_detach_tty(), ucom_get_data(), ucom_open(), ucom_put_data(), ucom_shutdown(), and umcs7840_cfg_open().