• Home
  • Raw
  • Download

Lines Matching refs:tty_port

24 struct tty_port;
29 int (*carrier_raised)(struct tty_port *port);
31 void (*dtr_rts)(struct tty_port *port, int raise);
35 void (*shutdown)(struct tty_port *port);
40 int (*activate)(struct tty_port *port, struct tty_struct *tty);
42 void (*destruct)(struct tty_port *port);
48 int (*receive_buf)(struct tty_port *port, const unsigned char *, const unsigned char *, size_t);
49 void (*write_wakeup)(struct tty_port *port);
54 struct tty_port { struct
96 void tty_port_init(struct tty_port *port);
97 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver,
99 struct device *tty_port_register_device(struct tty_port *port,
102 struct device *tty_port_register_device_attr(struct tty_port *port,
106 struct device *tty_port_register_device_serdev(struct tty_port *port,
109 struct device *tty_port_register_device_attr_serdev(struct tty_port *port,
113 void tty_port_unregister_device(struct tty_port *port,
115 int tty_port_alloc_xmit_buf(struct tty_port *port);
116 void tty_port_free_xmit_buf(struct tty_port *port);
117 void tty_port_destroy(struct tty_port *port);
118 void tty_port_put(struct tty_port *port);
120 static inline struct tty_port *tty_port_get(struct tty_port *port) in tty_port_get()
128 static inline bool tty_port_cts_enabled(const struct tty_port *port) in tty_port_cts_enabled()
133 static inline void tty_port_set_cts_flow(struct tty_port *port, bool val) in tty_port_set_cts_flow()
138 static inline bool tty_port_active(const struct tty_port *port) in tty_port_active()
143 static inline void tty_port_set_active(struct tty_port *port, bool val) in tty_port_set_active()
148 static inline bool tty_port_check_carrier(const struct tty_port *port) in tty_port_check_carrier()
153 static inline void tty_port_set_check_carrier(struct tty_port *port, bool val) in tty_port_set_check_carrier()
158 static inline bool tty_port_suspended(const struct tty_port *port) in tty_port_suspended()
163 static inline void tty_port_set_suspended(struct tty_port *port, bool val) in tty_port_set_suspended()
168 static inline bool tty_port_initialized(const struct tty_port *port) in tty_port_initialized()
173 static inline void tty_port_set_initialized(struct tty_port *port, bool val) in tty_port_set_initialized()
178 static inline bool tty_port_kopened(const struct tty_port *port) in tty_port_kopened()
183 static inline void tty_port_set_kopened(struct tty_port *port, bool val) in tty_port_set_kopened()
188 struct tty_struct *tty_port_tty_get(struct tty_port *port);
189 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
190 int tty_port_carrier_raised(struct tty_port *port);
191 void tty_port_raise_dtr_rts(struct tty_port *port);
192 void tty_port_lower_dtr_rts(struct tty_port *port);
193 void tty_port_hangup(struct tty_port *port);
194 void tty_port_tty_hangup(struct tty_port *port, bool check_clocal);
195 void tty_port_tty_wakeup(struct tty_port *port);
196 int tty_port_block_til_ready(struct tty_port *port, struct tty_struct *tty,
198 int tty_port_close_start(struct tty_port *port, struct tty_struct *tty,
200 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
201 void tty_port_close(struct tty_port *port, struct tty_struct *tty,
203 int tty_port_install(struct tty_port *port, struct tty_driver *driver,
205 int tty_port_open(struct tty_port *port, struct tty_struct *tty,
208 static inline int tty_port_users(struct tty_port *port) in tty_port_users()