FreeBSD kernel usb device Code
ucom_callback Struct Reference

#include <usb_serial.h>

Data Fields

void(* ucom_cfg_get_status )(struct ucom_softc *, uint8_t *plsr, uint8_t *pmsr)
 
void(* ucom_cfg_set_dtr )(struct ucom_softc *, uint8_t)
 
void(* ucom_cfg_set_rts )(struct ucom_softc *, uint8_t)
 
void(* ucom_cfg_set_break )(struct ucom_softc *, uint8_t)
 
void(* ucom_cfg_set_ring )(struct ucom_softc *, uint8_t)
 
void(* ucom_cfg_param )(struct ucom_softc *, struct termios *)
 
void(* ucom_cfg_open )(struct ucom_softc *)
 
void(* ucom_cfg_close )(struct ucom_softc *)
 
int(* ucom_pre_open )(struct ucom_softc *)
 
int(* ucom_pre_param )(struct ucom_softc *, struct termios *)
 
int(* ucom_ioctl )(struct ucom_softc *, uint32_t, caddr_t, int, struct thread *)
 
void(* ucom_start_read )(struct ucom_softc *)
 
void(* ucom_stop_read )(struct ucom_softc *)
 
void(* ucom_start_write )(struct ucom_softc *)
 
void(* ucom_stop_write )(struct ucom_softc *)
 
void(* ucom_tty_name )(struct ucom_softc *, char *pbuf, uint16_t buflen, uint16_t unit, uint16_t subunit)
 
void(* ucom_poll )(struct ucom_softc *)
 
void(* ucom_free )(struct ucom_softc *)
 

Detailed Description

Definition at line 89 of file usb_serial.h.

Field Documentation

◆ ucom_cfg_close

void(* ucom_callback::ucom_cfg_close) (struct ucom_softc *)

Definition at line 97 of file usb_serial.h.

Referenced by ucom_cfg_close().

◆ ucom_cfg_get_status

void(* ucom_callback::ucom_cfg_get_status) (struct ucom_softc *, uint8_t *plsr, uint8_t *pmsr)

Definition at line 90 of file usb_serial.h.

Referenced by ucom_cfg_status_change().

◆ ucom_cfg_open

void(* ucom_callback::ucom_cfg_open) (struct ucom_softc *)

Definition at line 96 of file usb_serial.h.

Referenced by ucom_cfg_open().

◆ ucom_cfg_param

void(* ucom_callback::ucom_cfg_param) (struct ucom_softc *, struct termios *)

Definition at line 95 of file usb_serial.h.

Referenced by ucom_cfg_param().

◆ ucom_cfg_set_break

void(* ucom_callback::ucom_cfg_set_break) (struct ucom_softc *, uint8_t)

Definition at line 93 of file usb_serial.h.

Referenced by ucom_cfg_line_state().

◆ ucom_cfg_set_dtr

void(* ucom_callback::ucom_cfg_set_dtr) (struct ucom_softc *, uint8_t)

Definition at line 91 of file usb_serial.h.

Referenced by ucom_cfg_line_state().

◆ ucom_cfg_set_ring

void(* ucom_callback::ucom_cfg_set_ring) (struct ucom_softc *, uint8_t)

Definition at line 94 of file usb_serial.h.

Referenced by ucom_cfg_line_state().

◆ ucom_cfg_set_rts

void(* ucom_callback::ucom_cfg_set_rts) (struct ucom_softc *, uint8_t)

Definition at line 92 of file usb_serial.h.

Referenced by ucom_cfg_line_state().

◆ ucom_free

void(* ucom_callback::ucom_free) (struct ucom_softc *)

Definition at line 107 of file usb_serial.h.

Referenced by ucom_attach(), and ucom_free().

◆ ucom_ioctl

int(* ucom_callback::ucom_ioctl) (struct ucom_softc *, uint32_t, caddr_t, int, struct thread *)

Definition at line 100 of file usb_serial.h.

Referenced by ucom_ioctl().

◆ ucom_poll

void(* ucom_callback::ucom_poll) (struct ucom_softc *)

Definition at line 106 of file usb_serial.h.

Referenced by ucom_cngetc(), and ucom_cnputc().

◆ ucom_pre_open

int(* ucom_callback::ucom_pre_open) (struct ucom_softc *)

Definition at line 98 of file usb_serial.h.

Referenced by ucom_open().

◆ ucom_pre_param

int(* ucom_callback::ucom_pre_param) (struct ucom_softc *, struct termios *)

Definition at line 99 of file usb_serial.h.

Referenced by ucom_param().

◆ ucom_start_read

void(* ucom_callback::ucom_start_read) (struct ucom_softc *)

Definition at line 101 of file usb_serial.h.

Referenced by ucom_cfg_start_transfers(), and ucom_start_transfers().

◆ ucom_start_write

void(* ucom_callback::ucom_start_write) (struct ucom_softc *)

Definition at line 103 of file usb_serial.h.

Referenced by ucom_cfg_start_transfers(), and ucom_start_transfers().

◆ ucom_stop_read

void(* ucom_callback::ucom_stop_read) (struct ucom_softc *)

Definition at line 102 of file usb_serial.h.

Referenced by ucom_close(), and ucom_detach_tty().

◆ ucom_stop_write

void(* ucom_callback::ucom_stop_write) (struct ucom_softc *)

Definition at line 104 of file usb_serial.h.

Referenced by ucom_detach_tty().

◆ ucom_tty_name

void(* ucom_callback::ucom_tty_name) (struct ucom_softc *, char *pbuf, uint16_t buflen, uint16_t unit, uint16_t subunit)

Definition at line 105 of file usb_serial.h.

Referenced by ucom_attach_tty().


The documentation for this struct was generated from the following file: