Lines Matching refs:cec_adapter
55 struct cec_adapter;
63 struct cec_adapter *adap;
89 struct cec_adapter *adap;
113 int (*adap_enable)(struct cec_adapter *adap, bool enable);
114 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
115 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
116 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
117 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
119 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
120 void (*adap_free)(struct cec_adapter *adap);
123 int (*error_inj_show)(struct cec_adapter *adap, struct seq_file *sf);
124 bool (*error_inj_parse_line)(struct cec_adapter *adap, char *line);
127 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
178 struct cec_adapter { struct
237 static inline void *cec_get_drvdata(const struct cec_adapter *adap) in cec_get_drvdata() argument
242 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr()
247 static inline bool cec_is_sink(const struct cec_adapter *adap) in cec_is_sink()
259 static inline bool cec_is_registered(const struct cec_adapter *adap) in cec_is_registered()
271 struct cec_adapter *cec_allocate_adapter(const struct cec_adap_ops *ops,
273 int cec_register_adapter(struct cec_adapter *adap, struct device *parent);
274 void cec_unregister_adapter(struct cec_adapter *adap);
275 void cec_delete_adapter(struct cec_adapter *adap);
277 int cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs,
279 void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr,
281 void cec_s_phys_addr_from_edid(struct cec_adapter *adap,
283 void cec_s_conn_info(struct cec_adapter *adap,
285 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg,
289 void cec_transmit_done_ts(struct cec_adapter *adap, u8 status,
293 static inline void cec_transmit_done(struct cec_adapter *adap, u8 status, in cec_transmit_done()
305 void cec_transmit_attempt_done_ts(struct cec_adapter *adap,
308 static inline void cec_transmit_attempt_done(struct cec_adapter *adap, in cec_transmit_attempt_done()
314 void cec_received_msg_ts(struct cec_adapter *adap,
317 static inline void cec_received_msg(struct cec_adapter *adap, in cec_received_msg()
332 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
343 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
353 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
374 static inline int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
380 static inline void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter()
384 static inline void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
388 static inline void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, in cec_s_phys_addr()
393 static inline void cec_s_phys_addr_from_edid(struct cec_adapter *adap, in cec_s_phys_addr_from_edid()
406 static inline void cec_s_conn_info(struct cec_adapter *adap, in cec_s_conn_info()
429 struct cec_adapter *adap,
430 void (*callback)(struct cec_adapter *adap, u16 pa));
443 void cec_register_cec_notifier(struct cec_adapter *adap,
450 struct cec_adapter *adap, in cec_notifier_register()
451 void (*callback)(struct cec_adapter *adap, u16 pa)) in cec_notifier_register()
459 static inline void cec_register_cec_notifier(struct cec_adapter *adap, in cec_register_cec_notifier()
474 static inline void cec_phys_addr_invalidate(struct cec_adapter *adap) in cec_phys_addr_invalidate()