Lines Matching refs:cec_adapter
58 struct cec_adapter;
66 struct cec_adapter *adap;
94 struct cec_adapter *adap;
118 int (*adap_enable)(struct cec_adapter *adap, bool enable);
119 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
120 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
121 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
122 void (*adap_unconfigured)(struct cec_adapter *adap);
123 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
125 void (*adap_nb_transmit_canceled)(struct cec_adapter *adap,
127 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
128 void (*adap_free)(struct cec_adapter *adap);
131 int (*error_inj_show)(struct cec_adapter *adap, struct seq_file *sf);
132 bool (*error_inj_parse_line)(struct cec_adapter *adap, char *line);
135 void (*configured)(struct cec_adapter *adap);
136 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
234 struct cec_adapter { struct
300 static inline int cec_get_device(struct cec_adapter *adap) in cec_get_device() argument
326 static inline void cec_put_device(struct cec_adapter *adap) in cec_put_device()
331 static inline void *cec_get_drvdata(const struct cec_adapter *adap) in cec_get_drvdata()
336 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr()
341 static inline bool cec_is_sink(const struct cec_adapter *adap) in cec_is_sink()
353 static inline bool cec_is_registered(const struct cec_adapter *adap) in cec_is_registered()
365 struct cec_adapter *cec_allocate_adapter(const struct cec_adap_ops *ops,
367 int cec_register_adapter(struct cec_adapter *adap, struct device *parent);
368 void cec_unregister_adapter(struct cec_adapter *adap);
369 void cec_delete_adapter(struct cec_adapter *adap);
371 int cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs,
373 void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr,
375 void cec_s_phys_addr_from_edid(struct cec_adapter *adap,
377 void cec_s_conn_info(struct cec_adapter *adap,
379 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg,
383 void cec_transmit_done_ts(struct cec_adapter *adap, u8 status,
387 static inline void cec_transmit_done(struct cec_adapter *adap, u8 status, in cec_transmit_done()
399 void cec_transmit_attempt_done_ts(struct cec_adapter *adap,
402 static inline void cec_transmit_attempt_done(struct cec_adapter *adap, in cec_transmit_attempt_done()
408 void cec_received_msg_ts(struct cec_adapter *adap,
411 static inline void cec_received_msg(struct cec_adapter *adap, in cec_received_msg()
426 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high,
437 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
447 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
468 static inline int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
474 static inline void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter()
478 static inline void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
482 static inline void cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, in cec_s_phys_addr()
487 static inline void cec_s_phys_addr_from_edid(struct cec_adapter *adap, in cec_s_phys_addr_from_edid()
500 static inline void cec_s_conn_info(struct cec_adapter *adap, in cec_s_conn_info()
522 static inline void cec_phys_addr_invalidate(struct cec_adapter *adap) in cec_phys_addr_invalidate()