Home
last modified time | relevance | path

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

12

/openbmc/linux/include/uapi/linux/
H A Dcec-funcs.h14 static inline void cec_msg_active_source(struct cec_msg *msg, __u16 phys_addr) in cec_msg_active_source()
23 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()
52 static inline void cec_ops_inactive_source(const struct cec_msg *msg, in cec_ops_inactive_source()
58 static inline void cec_msg_request_active_source(struct cec_msg *msg, in cec_msg_request_active_source()
67 static inline void cec_msg_routing_information(struct cec_msg *msg, in cec_msg_routing_information()
77 static inline void cec_ops_routing_information(const struct cec_msg *msg, in cec_ops_routing_information()
83 static inline void cec_msg_routing_change(struct cec_msg *msg, in cec_msg_routing_change()
[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()
154 static inline int cec_msg_recv_is_tx_result(const struct cec_msg *msg) in cec_msg_recv_is_tx_result()
164 static inline int cec_msg_recv_is_rx_result(const struct cec_msg *msg) in cec_msg_recv_is_rx_result()
[all …]
/openbmc/linux/include/media/
H A Dcec.h68 struct cec_msg msg;
79 struct cec_msg msg;
123 u32 signal_free_time, struct cec_msg *msg);
125 const struct cec_msg *msg);
135 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
330 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg,
360 struct cec_msg *msg, ktime_t ts);
363 struct cec_msg *msg) in cec_received_msg()
H A Dcec-pin.h48 int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
/openbmc/linux/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c38 struct cec_msg rx_msg;
120 u32 signal_free_time, struct cec_msg *cec_msg) in cros_ec_cec_transmit() argument
131 msg.msg.outsize = cec_msg->len; in cros_ec_cec_transmit()
132 memcpy(msg.data.msg, cec_msg->msg, cec_msg->len); in cros_ec_cec_transmit()
/openbmc/linux/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-adap.c27 struct cec_msg *msg,
208 static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg) in cec_queue_msg_fh()
262 const struct cec_msg *msg, in cec_queue_msg_monitor()
281 const struct cec_msg *msg) in cec_queue_msg_followers()
599 struct cec_msg *msg; in cec_transmit_done_ts()
751 int cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg, in cec_transmit_msg_fh()
947 int cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg, in cec_transmit_msg()
964 static int cec_receive_notify(struct cec_adapter *adap, struct cec_msg *msg,
1059 struct cec_msg *msg, ktime_t ts) in cec_received_msg_ts()
1177 struct cec_msg *dst = &data->msg; in cec_received_msg_ts()
[all …]
H A Dcec-priv.h33 static inline bool msg_is_raw(const struct cec_msg *msg) in msg_is_raw()
54 int cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg,
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()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-cec.c113 struct cec_msg first_msg = {}; in vivid_cec_bus_thread()
242 u32 signal_free_time, struct cec_msg *msg) in vivid_cec_adap_transmit()
264 static int vivid_received(struct cec_adapter *adap, struct cec_msg *msg) in vivid_received()
267 struct cec_msg reply; in vivid_received()
/openbmc/linux/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()
/openbmc/linux/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
382 The contents of struct :c:type:`cec_msg` is invalid.
/openbmc/linux/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()
/openbmc/linux/drivers/media/cec/platform/s5p/
H A Ds5p_cec.h73 struct cec_msg msg;
/openbmc/linux/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, \
/openbmc/linux/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()
/openbmc/linux/drivers/media/cec/platform/sti/
H A Dstih-cec.c204 u32 signal_free_time, struct cec_msg *msg) in stih_cec_adap_transmit()
245 struct cec_msg msg = {}; in stih_rx_done()
/openbmc/linux/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_cec.c88 struct cec_msg msg = {}; in adv7511_cec_rx()
292 u32 signal_free_time, struct cec_msg *msg) in adv7511_cec_adap_transmit()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_cec.c119 u32 signal_free_time, struct cec_msg *msg) in drm_dp_cec_adap_transmit()
192 struct cec_msg msg; in drm_dp_cec_received()
/openbmc/linux/drivers/media/cec/usb/pulse8/
H A Dpulse8-cec.c182 struct cec_msg rx_msg[NUM_MSGS];
192 struct cec_msg tx_msg;
287 struct cec_msg *msg = &pulse8->tx_msg; in pulse8_tx_work_handler()
624 u32 signal_free_time, struct cec_msg *msg) in pulse8_cec_adap_transmit()
/openbmc/linux/drivers/media/cec/platform/tegra/
H A Dtegra_cec.c82 struct cec_msg msg = {}; in tegra_cec_irq_thread_handler()
279 u32 signal_free_time_ms, struct cec_msg *msg) in tegra_cec_adap_transmit()
/openbmc/linux/drivers/gpu/drm/i2c/
H A Dtda9950.c68 struct cec_msg rx_msg;
216 u32 signal_free_time, struct cec_msg *msg) in tda9950_cec_transmit()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.h168 struct cec_msg cec_rx_msg;

12