Lines Matching refs:con

18 #define con_printk(lvl, con, fmt, ...)				\  argument
20 (con->flags & CON_NBCON) ? "" : "legacy ", \
21 (con->flags & CON_BOOT) ? "boot" : "", \
22 con->name, con->index, ##__VA_ARGS__)
99 u64 nbcon_seq_read(struct console *con);
100 void nbcon_seq_force(struct console *con, u64 seq);
101 bool nbcon_alloc(struct console *con);
102 void nbcon_free(struct console *con);
105 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover,
107 bool nbcon_kthread_create(struct console *con);
108 void nbcon_kthread_stop(struct console *con);
117 static inline bool console_is_usable(struct console *con, short flags, bool use_atomic) in console_is_usable() argument
127 if (use_atomic && !con->write_atomic) in console_is_usable()
137 if (!con->write) in console_is_usable()
156 static inline void nbcon_kthread_wake(struct console *con) in nbcon_kthread_wake() argument
169 rcuwait_wake_up(&con->rcuwait); /* LMM(nbcon_kthread_wake:A) */ in nbcon_kthread_wake()
191 static inline u64 nbcon_seq_read(struct console *con) { return 0; } in nbcon_seq_read() argument
192 static inline void nbcon_seq_force(struct console *con, u64 seq) { } in nbcon_seq_force() argument
193 static inline bool nbcon_alloc(struct console *con) { return false; } in nbcon_alloc() argument
194 static inline void nbcon_free(struct console *con) { } in nbcon_free() argument
197 static inline bool nbcon_legacy_emit_next_record(struct console *con, bool *handover, in nbcon_legacy_emit_next_record() argument
199 static inline void nbcon_kthread_wake(struct console *con) { } in nbcon_kthread_wake() argument
202 static inline bool console_is_usable(struct console *con, short flags, in console_is_usable() argument