Home
last modified time | relevance | path

Searched refs:cec_msg (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/include/uapi/linux/
H A Dcec-funcs.h23 static inline void cec_ops_active_source(const struct cec_msg *msg, in cec_ops_active_source()
29 static inline void cec_msg_image_view_on(struct cec_msg *msg) in cec_msg_image_view_on()
35 static inline void cec_msg_text_view_on(struct cec_msg *msg) in cec_msg_text_view_on()
43 static inline void cec_msg_inactive_source(struct cec_msg *msg, in cec_msg_inactive_source()
83 static inline void cec_msg_routing_change(struct cec_msg *msg, in cec_msg_routing_change()
123 static inline void cec_msg_standby(struct cec_msg *msg) in cec_msg_standby()
292 static inline void cec_msg_record_on(struct cec_msg *msg, in cec_msg_record_on()
369 static inline void cec_msg_timer_status(struct cec_msg *msg, in cec_msg_timer_status()
936 static inline void cec_msg_play(struct cec_msg *msg, in cec_msg_play()
944 static inline void cec_ops_play(const struct cec_msg *msg, in cec_ops_play()
[all …]
H A Dcec.h57 struct cec_msg { struct
78 static inline __u8 cec_msg_initiator(const struct cec_msg *msg) in cec_msg_initiator() argument
87 static inline __u8 cec_msg_destination(const struct cec_msg *msg) in cec_msg_destination()
96 static inline int cec_msg_opcode(const struct cec_msg *msg) in cec_msg_opcode()
105 static inline int cec_msg_is_broadcast(const struct cec_msg *msg) in cec_msg_is_broadcast()
119 static inline void cec_msg_init(struct cec_msg *msg, in cec_msg_init()
138 static inline void cec_msg_set_reply_to(struct cec_msg *msg, in cec_msg_set_reply_to()
139 struct cec_msg *orig) in cec_msg_set_reply_to()
189 static inline int cec_msg_status_is_ok(const struct cec_msg *msg) in cec_msg_status_is_ok()
532 #define CEC_TRANSMIT _IOWR('a', 5, struct cec_msg)
[all …]
/linux-6.15/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c16 struct cec_msg *msg, u8 reason) in cec_feature_abort_reason()
18 struct cec_msg tx_msg = { }; in cec_feature_abort_reason()
38 struct cec_msg msg; in cec_port_out_active_source()
61 struct cec_msg msg; in cec_port_out_standby()
84 struct cec_msg msg; in cec_port_out_wakeup()
153 struct cec_msg msg; in cec_out_passthrough()
171 struct cec_msg reply = {}; in cec_out_report_current_latency()
246 struct cec_msg msg; in cec_out_request_current_latency()
267 struct cec_msg reply = {}; in cec_out_report_power_status()
340 struct cec_msg msg; in cec_out_give_device_power_status()
[all …]
H A Dcec-splitter.h42 int cec_splitter_received_input(struct cec_splitter_port *port, struct cec_msg *msg);
43 int cec_splitter_received_output(struct cec_splitter_port *port, struct cec_msg *msg,
46 const struct cec_msg *msg,
H A Dextron-da-hd-4k-plus.h57 struct cec_msg rx_msg[NUM_MSGS];
/linux-6.15/include/media/
H A Dcec.h67 struct cec_msg msg;
80 struct cec_msg msg;
124 u32 signal_free_time, struct cec_msg *msg);
126 const struct cec_msg *msg);
136 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
379 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg,
409 struct cec_msg *msg, ktime_t ts);
412 struct cec_msg *msg) in cec_received_msg()
H A Dcec-pin.h48 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
/linux-6.15/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c38 struct cec_msg rx_msg;
193 u32 signal_free_time, struct cec_msg *cec_msg) in cros_ec_cec_transmit() argument
203 memcpy(params.msg, cec_msg->msg, cec_msg->len); in cros_ec_cec_transmit()
205 cec_msg->len, NULL, 0); in cros_ec_cec_transmit()
208 params_v1.msg_len = cec_msg->len; in cros_ec_cec_transmit()
209 memcpy(params_v1.msg, cec_msg->msg, cec_msg->len); in cros_ec_cec_transmit()
/linux-6.15/drivers/media/cec/core/
H A Dcec-pin-priv.h189 struct cec_msg tx_msg;
194 struct cec_msg rx_msg;
210 struct cec_msg work_rx_msg;
H A Dcec-priv.h33 static inline bool msg_is_raw(const struct cec_msg *msg) in msg_is_raw()
52 int cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg,
H A Dcec-adap.c28 struct cec_msg *msg,
263 const struct cec_msg *msg, in cec_queue_msg_monitor()
282 const struct cec_msg *msg) in cec_queue_msg_followers()
600 struct cec_msg *msg; in cec_transmit_done_ts()
1105 struct cec_msg *msg, ktime_t ts) in cec_received_msg_ts()
1223 struct cec_msg *dst = &data->msg; in cec_received_msg_ts()
1310 struct cec_msg msg = { }; in cec_config_log_addr()
1555 struct cec_msg msg = {}; in cec_config_thread_func()
1963 struct cec_msg *msg, in cec_fill_msg_report_features()
1993 struct cec_msg tx_msg = { }; in cec_feature_abort_reason()
[all …]
H A Dcec-api.c212 bool block, struct cec_msg __user *parg) in cec_transmit()
214 struct cec_msg msg = {}; in cec_transmit()
240 static int cec_receive_msg(struct cec_fh *fh, struct cec_msg *msg, bool block) in cec_receive_msg()
291 bool block, struct cec_msg __user *parg) in cec_receive()
293 struct cec_msg msg = {}; in cec_receive()
/linux-6.15/drivers/media/test-drivers/vivid/
H A Dvivid-cec.c130 struct cec_msg first_msg = {}; in vivid_cec_bus_thread()
277 u32 signal_free_time, struct cec_msg *msg) in vivid_cec_adap_transmit()
314 static int vivid_received(struct cec_adapter *adap, struct cec_msg *msg) in vivid_received()
317 struct cec_msg reply; in vivid_received()
/linux-6.15/Documentation/userspace-api/media/cec/
H A Dcec-ioc-receive.rst21 ``int ioctl(int fd, CEC_RECEIVE, struct cec_msg *argp)``
25 ``int ioctl(int fd, CEC_TRANSMIT, struct cec_msg *argp)``
34 Pointer to struct cec_msg.
40 ``timeout`` field of struct :c:type:`cec_msg` and pass it to
59 :c:type:`cec_msg` and pass it to :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>`.
91 .. c:type:: cec_msg
95 .. flat-table:: struct cec_msg
206 .. flat-table:: Flags for struct cec_msg
242 (in bytes 1-4 of the message), followed by the ``struct cec_msg``
397 The contents of struct :c:type:`cec_msg` is invalid.
/linux-6.15/drivers/media/cec/i2c/
H A Dch7322.c165 static int ch7322_send_message(struct ch7322 *ch7322, const struct cec_msg *msg) in ch7322_send_message()
208 static int ch7322_receive_message(struct ch7322 *ch7322, struct cec_msg *msg) in ch7322_receive_message()
272 struct cec_msg msg; in ch7322_rx_done()
354 u32 signal_free_time, struct cec_msg *msg) in ch7322_cec_adap_transmit()
/linux-6.15/drivers/media/cec/platform/s5p/
H A Ds5p_cec.h73 struct cec_msg msg;
/linux-6.15/drivers/media/cec/platform/stm32/
H A Dstm32-cec.c74 struct cec_msg rx_msg;
75 struct cec_msg tx_msg;
215 u32 signal_free_time, struct cec_msg *msg) in stm32_cec_adap_transmit()
/linux-6.15/drivers/media/platform/synopsys/hdmirx/
H A Dsnps_hdmirx_cec.h33 struct cec_msg rx_msg;
/linux-6.15/Documentation/driver-api/media/
H A Dcec-core.rst114 u32 signal_free_time, struct cec_msg *msg);
116 const struct cec_msg *msg);
195 u32 signal_free_time, struct cec_msg *msg);
213 const struct cec_msg *msg);
306 void cec_received_msg(struct cec_adapter *adap, struct cec_msg *msg);
402 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
417 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
431 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg, \
/linux-6.15/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c64 struct cec_msg msg = {}; in hdmi_cec_received_msg()
267 u32 signal_free_time, struct cec_msg *msg) in hdmi_cec_adap_transmit()
/linux-6.15/drivers/media/cec/platform/sti/
H A Dstih-cec.c205 u32 signal_free_time, struct cec_msg *msg) in stih_cec_adap_transmit()
246 struct cec_msg msg = {}; in stih_rx_done()
/linux-6.15/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c59 struct cec_msg rx_msg;
97 u32 signal_free_time, struct cec_msg *msg) in dw_hdmi_cec_transmit()
/linux-6.15/drivers/gpu/drm/display/
H A Ddrm_dp_cec.c120 u32 signal_free_time, struct cec_msg *msg) in drm_dp_cec_adap_transmit()
193 struct cec_msg msg; in drm_dp_cec_received()
/linux-6.15/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c67 struct cec_msg msg = {}; in rain_process_msg()
275 u32 signal_free_time, struct cec_msg *msg) in rain_cec_adap_transmit()
/linux-6.15/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_cec.c88 struct cec_msg msg = {}; in adv7511_cec_rx()
297 u32 signal_free_time, struct cec_msg *msg) in adv7511_cec_adap_transmit()

12