Lines Matching refs:serdev_controller

15 struct serdev_controller;
46 struct serdev_controller *ctrl;
85 ssize_t (*write_buf)(struct serdev_controller *, const u8 *, size_t);
86 void (*write_flush)(struct serdev_controller *);
87 int (*write_room)(struct serdev_controller *);
88 int (*open)(struct serdev_controller *);
89 void (*close)(struct serdev_controller *);
90 void (*set_flow_control)(struct serdev_controller *, bool);
91 int (*set_parity)(struct serdev_controller *, enum serdev_parity);
92 unsigned int (*set_baudrate)(struct serdev_controller *, unsigned int);
93 void (*wait_until_sent)(struct serdev_controller *, long);
94 int (*get_tiocm)(struct serdev_controller *);
95 int (*set_tiocm)(struct serdev_controller *, unsigned int, unsigned int);
96 int (*break_ctl)(struct serdev_controller *ctrl, unsigned int break_state);
107 struct serdev_controller { struct
115 static inline struct serdev_controller *to_serdev_controller(struct device *d) in to_serdev_controller() argument
117 return container_of(d, struct serdev_controller, dev); in to_serdev_controller()
147 void *serdev_controller_get_drvdata(const struct serdev_controller *ctrl) in serdev_controller_get_drvdata()
152 static inline void serdev_controller_set_drvdata(struct serdev_controller *ctrl, in serdev_controller_set_drvdata()
162 static inline void serdev_controller_put(struct serdev_controller *ctrl) in serdev_controller_put()
168 struct serdev_device *serdev_device_alloc(struct serdev_controller *);
172 struct serdev_controller *serdev_controller_alloc(struct device *host,
175 int serdev_controller_add(struct serdev_controller *);
176 void serdev_controller_remove(struct serdev_controller *);
178 static inline void serdev_controller_write_wakeup(struct serdev_controller *ctrl) in serdev_controller_write_wakeup()
188 static inline size_t serdev_controller_receive_buf(struct serdev_controller *ctrl, in serdev_controller_receive_buf()