Lines Matching refs:cec_adapter

59 struct cec_adapter;
67 struct cec_adapter *adap;
93 struct cec_adapter *adap;
117 int (*adap_enable)(struct cec_adapter *adap, bool enable);
118 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
119 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
120 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
121 void (*adap_unconfigured)(struct cec_adapter *adap);
122 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
124 void (*adap_nb_transmit_canceled)(struct cec_adapter *adap,
126 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
127 void (*adap_free)(struct cec_adapter *adap);
130 int (*error_inj_show)(struct cec_adapter *adap, struct seq_file *sf);
131 bool (*error_inj_parse_line)(struct cec_adapter *adap, char *line);
134 void (*configured)(struct cec_adapter *adap);
135 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
221 struct cec_adapter { struct
281 static inline void *cec_get_drvdata(const struct cec_adapter *adap) in cec_get_drvdata() argument
286 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr()
291 static inline bool cec_is_sink(const struct cec_adapter *adap) in cec_is_sink()
303 static inline bool cec_is_registered(const struct cec_adapter *adap) in cec_is_registered()
315 struct cec_adapter *cec_allocate_adapter(const struct cec_adap_ops *ops,
317 int cec_register_adapter(struct cec_adapter *adap, struct device *parent);
318 void cec_unregister_adapter(struct cec_adapter *adap);
319 void cec_delete_adapter(struct cec_adapter *adap);
321 int cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs,
323 void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr,
325 void cec_s_phys_addr_from_edid(struct cec_adapter *adap,
327 void cec_s_conn_info(struct cec_adapter *adap,
329 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg,
333 void cec_transmit_done_ts(struct cec_adapter *adap, u8 status,
337 static inline void cec_transmit_done(struct cec_adapter *adap, u8 status, in cec_transmit_done()
349 void cec_transmit_attempt_done_ts(struct cec_adapter *adap,
352 static inline void cec_transmit_attempt_done(struct cec_adapter *adap, in cec_transmit_attempt_done()
358 void cec_received_msg_ts(struct cec_adapter *adap,
361 static inline void cec_received_msg(struct cec_adapter *adap, in cec_received_msg()
376 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
387 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
397 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
418 static inline int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
424 static inline void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter()
428 static inline void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
432 static inline void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, in cec_s_phys_addr()
437 static inline void cec_s_phys_addr_from_edid(struct cec_adapter *adap, in cec_s_phys_addr_from_edid()
450 static inline void cec_s_conn_info(struct cec_adapter *adap, in cec_s_conn_info()
472 static inline void cec_phys_addr_invalidate(struct cec_adapter *adap) in cec_phys_addr_invalidate()