Home
last modified time | relevance | path

Searched refs:cec_adapter (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-5.10/include/media/
Dcec.h52 struct cec_adapter;
60 struct cec_adapter *adap;
86 struct cec_adapter *adap;
110 int (*adap_enable)(struct cec_adapter *adap, bool enable);
111 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
112 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
113 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
114 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
116 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
117 void (*adap_free)(struct cec_adapter *adap);
[all …]
Dcec-pin.h37 int (*read)(struct cec_adapter *adap);
38 void (*low)(struct cec_adapter *adap);
39 void (*high)(struct cec_adapter *adap);
40 bool (*enable_irq)(struct cec_adapter *adap);
41 void (*disable_irq)(struct cec_adapter *adap);
42 void (*free)(struct cec_adapter *adap);
43 void (*status)(struct cec_adapter *adap, struct seq_file *file);
44 int (*read_hpd)(struct cec_adapter *adap);
45 int (*read_5v)(struct cec_adapter *adap);
48 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
[all …]
Dcec-notifier.h17 struct cec_adapter;
67 struct cec_adapter *adap);
76 struct cec_adapter *adap);
126 struct cec_adapter *adap) in cec_notifier_cec_adap_register()
133 struct cec_adapter *adap) in cec_notifier_cec_adap_unregister()
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-priv.h21 #define to_cec_adapter(node) container_of(node, struct cec_adapter, devnode)
34 int cec_monitor_all_cnt_inc(struct cec_adapter *adap);
35 void cec_monitor_all_cnt_dec(struct cec_adapter *adap);
36 int cec_monitor_pin_cnt_inc(struct cec_adapter *adap);
37 void cec_monitor_pin_cnt_dec(struct cec_adapter *adap);
40 void __cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block);
41 int __cec_s_log_addrs(struct cec_adapter *adap,
43 int cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg,
Dcec-adap.c26 static void cec_fill_msg_report_features(struct cec_adapter *adap,
51 static int cec_log_addr2idx(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2idx()
61 static unsigned int cec_log_addr2dev(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2dev()
158 static void cec_queue_event(struct cec_adapter *adap, in cec_queue_event()
171 void cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, in cec_queue_pin_cec_event()
190 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_hpd_event()
206 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) in cec_queue_pin_5v_event()
281 static void cec_queue_msg_monitor(struct cec_adapter *adap, in cec_queue_msg_monitor()
300 static void cec_queue_msg_followers(struct cec_adapter *adap, in cec_queue_msg_followers()
314 static void cec_post_state_event(struct cec_adapter *adap) in cec_post_state_event()
[all …]
Dcec-api.c38 struct cec_adapter *adap = fh->adap; in cec_poll()
56 static bool cec_is_busy(const struct cec_adapter *adap, in cec_is_busy()
75 static long cec_adap_g_caps(struct cec_adapter *adap, in cec_adap_g_caps()
91 static long cec_adap_g_phys_addr(struct cec_adapter *adap, in cec_adap_g_phys_addr()
121 static long cec_adap_s_phys_addr(struct cec_adapter *adap, struct cec_fh *fh, in cec_adap_s_phys_addr()
144 static long cec_adap_g_log_addrs(struct cec_adapter *adap, in cec_adap_g_log_addrs()
167 static long cec_adap_s_log_addrs(struct cec_adapter *adap, struct cec_fh *fh, in cec_adap_s_log_addrs()
196 static long cec_adap_g_connector_info(struct cec_adapter *adap, in cec_adap_g_connector_info()
211 static long cec_transmit(struct cec_adapter *adap, struct cec_fh *fh, in cec_transmit()
290 static long cec_receive(struct cec_adapter *adap, struct cec_fh *fh, in cec_receive()
[all …]
Dcec-core.c157 static void cec_devnode_unregister(struct cec_adapter *adap) in cec_devnode_unregister()
191 struct cec_adapter *adap = sf->private; in cec_error_inj_write()
216 struct cec_adapter *adap = sf->private; in cec_error_inj_show()
235 struct cec_adapter *cec_allocate_adapter(const struct cec_adap_ops *ops, in cec_allocate_adapter()
239 struct cec_adapter *adap; in cec_allocate_adapter()
318 int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
377 void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter()
395 void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
Dcec-pin-priv.h165 struct cec_adapter *adap;
234 bool cec_pin_error_inj_parse_line(struct cec_adapter *adap, char *line);
235 int cec_pin_error_inj_show(struct cec_adapter *adap, struct seq_file *sf);
Dcec-pin.c845 struct cec_adapter *adap = pin->adap; in cec_pin_timer()
1034 struct cec_adapter *adap = _adap; in cec_pin_thread_func()
1124 static int cec_pin_adap_enable(struct cec_adapter *adap, bool enable) in cec_pin_adap_enable()
1152 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr()
1172 static int cec_pin_adap_transmit(struct cec_adapter *adap, u8 attempts, in cec_pin_adap_transmit()
1203 static void cec_pin_adap_status(struct cec_adapter *adap, in cec_pin_adap_status()
1268 static int cec_pin_adap_monitor_all_enable(struct cec_adapter *adap, in cec_pin_adap_monitor_all_enable()
1277 static void cec_pin_adap_free(struct cec_adapter *adap) in cec_pin_adap_free()
1287 static int cec_pin_received(struct cec_adapter *adap, struct cec_msg *msg) in cec_pin_received()
1296 void cec_pin_changed(struct cec_adapter *adap, bool value) in cec_pin_changed()
[all …]
Dcec-notifier.c27 struct cec_adapter *cec_adap;
148 struct cec_adapter *adap) in cec_notifier_cec_adap_register()
171 struct cec_adapter *adap) in cec_notifier_cec_adap_unregister()
/kernel/linux/linux-5.10/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c15 struct cec_adapter *adap;
34 static int cec_gpio_read(struct cec_adapter *adap) in cec_gpio_read()
43 static void cec_gpio_high(struct cec_adapter *adap) in cec_gpio_high()
53 static void cec_gpio_low(struct cec_adapter *adap) in cec_gpio_low()
115 static bool cec_gpio_enable_irq(struct cec_adapter *adap) in cec_gpio_enable_irq()
123 static void cec_gpio_disable_irq(struct cec_adapter *adap) in cec_gpio_disable_irq()
130 static void cec_gpio_status(struct cec_adapter *adap, struct seq_file *file) in cec_gpio_status()
144 static int cec_gpio_read_hpd(struct cec_adapter *adap) in cec_gpio_read_hpd()
153 static int cec_gpio_read_5v(struct cec_adapter *adap) in cec_gpio_read_5v()
162 static void cec_gpio_free(struct cec_adapter *adap) in cec_gpio_free()
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dcec-core.rst35 The struct cec_adapter represents the CEC adapter hardware. It is created by
39 struct cec_adapter *cec_allocate_adapter(const struct cec_adap_ops *ops, \
44 void cec_delete_adapter(struct cec_adapter *adap);
72 void *cec_get_drvdata(const struct cec_adapter *adap);
78 int cec_register_adapter(struct cec_adapter *adap, \
86 void cec_unregister_adapter(struct cec_adapter *adap);
108 int (*adap_enable)(struct cec_adapter *adap, bool enable);
109 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
110 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
111 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-cec.c41 struct cec_adapter *adap, u8 dest) in vivid_cec_find_dest_adap()
64 static void vivid_cec_pin_adap_events(struct cec_adapter *adap, ktime_t ts, in vivid_cec_pin_adap_events()
128 struct cec_adapter *adap = cw->adap; in vivid_cec_xfer_done_worker()
176 static int vivid_cec_adap_enable(struct cec_adapter *adap, bool enable) in vivid_cec_adap_enable()
182 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr()
193 static int vivid_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in vivid_cec_adap_transmit()
225 static int vivid_received(struct cec_adapter *adap, struct cec_msg *msg) in vivid_received()
275 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev, in vivid_cec_alloc_adap()
Dvivid-cec.h9 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_cec.c92 static int drm_dp_cec_adap_enable(struct cec_adapter *adap, bool enable) in drm_dp_cec_adap_enable()
102 static int drm_dp_cec_adap_log_addr(struct cec_adapter *adap, u8 addr) in drm_dp_cec_adap_log_addr()
118 static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_dp_cec_adap_transmit()
136 static int drm_dp_cec_adap_monitor_all_enable(struct cec_adapter *adap, in drm_dp_cec_adap_monitor_all_enable()
157 static void drm_dp_cec_adap_status(struct cec_adapter *adap, in drm_dp_cec_adap_status()
191 struct cec_adapter *adap = aux->cec.adap; in drm_dp_cec_received()
214 struct cec_adapter *adap = aux->cec.adap; in drm_dp_cec_handle_irq()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-cec.c58 struct cec_adapter *adap;
77 static int dw_hdmi_cec_log_addr(struct cec_adapter *adap, u8 logical_addr) in dw_hdmi_cec_log_addr()
92 static int dw_hdmi_cec_transmit(struct cec_adapter *adap, u8 attempts, in dw_hdmi_cec_transmit()
122 struct cec_adapter *adap = data; in dw_hdmi_cec_hardirq()
171 struct cec_adapter *adap = data; in dw_hdmi_cec_thread()
186 static int dw_hdmi_cec_enable(struct cec_adapter *adap, bool enable) in dw_hdmi_cec_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c134 static bool hdmi_cec_clear_tx_fifo(struct cec_adapter *adap) in hdmi_cec_clear_tx_fifo()
150 static bool hdmi_cec_clear_rx_fifo(struct cec_adapter *adap) in hdmi_cec_clear_rx_fifo()
167 static int hdmi_cec_adap_enable(struct cec_adapter *adap, bool enable) in hdmi_cec_adap_enable()
256 static int hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in hdmi_cec_adap_log_addr()
278 static int hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in hdmi_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/media/cec/platform/tegra/
Dtegra_cec.c36 struct cec_adapter *adap;
187 static int tegra_cec_adap_enable(struct cec_adapter *adap, bool enable) in tegra_cec_adap_enable()
250 static int tegra_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in tegra_cec_adap_log_addr()
264 static int tegra_cec_adap_monitor_all_enable(struct cec_adapter *adap, in tegra_cec_adap_monitor_all_enable()
278 static int tegra_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in tegra_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c36 struct cec_adapter *adap;
92 static int cros_ec_cec_set_log_addr(struct cec_adapter *adap, u8 logical_addr) in cros_ec_cec_set_log_addr()
117 static int cros_ec_cec_transmit(struct cec_adapter *adap, u8 attempts, in cros_ec_cec_transmit()
142 static int cros_ec_cec_adap_enable(struct cec_adapter *adap, bool enable) in cros_ec_cec_adap_enable()
/kernel/linux/linux-5.10/drivers/media/cec/platform/sti/
Dstih-cec.c123 struct cec_adapter *adap;
132 static int stih_cec_adap_enable(struct cec_adapter *adap, bool enable) in stih_cec_adap_enable()
188 static int stih_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in stih_cec_adap_log_addr()
203 static int stih_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in stih_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c43 struct cec_adapter *adap;
258 static int rain_cec_adap_enable(struct cec_adapter *adap, bool enable) in rain_cec_adap_enable()
263 static int rain_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in rain_cec_adap_log_addr()
274 static int rain_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in rain_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/media/cec/platform/stm32/
Dstm32-cec.c67 struct cec_adapter *adap;
173 static int stm32_cec_adap_enable(struct cec_adapter *adap, bool enable) in stm32_cec_adap_enable()
194 static int stm32_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in stm32_cec_adap_log_addr()
215 static int stm32_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in stm32_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/media/cec/platform/seco/
Dseco-cec.c28 struct cec_adapter *cec_adap;
105 static int secocec_adap_enable(struct cec_adapter *adap, bool enable) in secocec_adap_enable()
152 static int secocec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in secocec_adap_log_addr()
183 static int secocec_adap_transmit(struct cec_adapter *adap, u8 attempts, in secocec_adap_transmit()
236 static void secocec_tx_done(struct cec_adapter *adap, u16 status_val) in secocec_tx_done()
254 static void secocec_rx_done(struct cec_adapter *adap, u16 status_val) in secocec_rx_done()
/kernel/linux/linux-5.10/drivers/media/cec/platform/s5p/
Ds5p_cec.c36 static int s5p_cec_adap_enable(struct cec_adapter *adap, bool enable) in s5p_cec_adap_enable()
63 static int s5p_cec_adap_log_addr(struct cec_adapter *adap, u8 addr) in s5p_cec_adap_log_addr()
71 static int s5p_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in s5p_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
Dtda9950.c65 struct cec_adapter *adap;
215 static int tda9950_cec_transmit(struct cec_adapter *adap, u8 attempts, in tda9950_cec_transmit()
233 static int tda9950_cec_adap_log_addr(struct cec_adapter *adap, u8 addr) in tda9950_cec_adap_log_addr()
324 static int tda9950_cec_adap_enable(struct cec_adapter *adap, bool enable) in tda9950_cec_adap_enable()

12