Home
last modified time | relevance | path

Searched refs:scmi_chan_info (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/firmware/arm_scmi/
Dcommon.h129 struct scmi_chan_info { struct
157 int (*chan_setup)(struct scmi_chan_info *cinfo, struct device *dev, argument
160 unsigned int (*get_max_msg)(struct scmi_chan_info *base_cinfo);
161 int (*send_message)(struct scmi_chan_info *cinfo,
163 void (*mark_txdone)(struct scmi_chan_info *cinfo, int ret,
165 void (*fetch_response)(struct scmi_chan_info *cinfo,
167 void (*fetch_notification)(struct scmi_chan_info *cinfo,
169 void (*clear_channel)(struct scmi_chan_info *cinfo);
170 bool (*poll_done)(struct scmi_chan_info *cinfo, struct scmi_xfer *xfer);
231 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr, void *priv);
[all …]
Dmailbox.c29 struct scmi_chan_info *cinfo;
55 static int mailbox_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in mailbox_chan_setup()
113 struct scmi_chan_info *cinfo = p; in mailbox_chan_free()
128 static int mailbox_send_message(struct scmi_chan_info *cinfo, in mailbox_send_message()
143 static void mailbox_mark_txdone(struct scmi_chan_info *cinfo, int ret, in mailbox_mark_txdone()
157 static void mailbox_fetch_response(struct scmi_chan_info *cinfo, in mailbox_fetch_response()
165 static void mailbox_fetch_notification(struct scmi_chan_info *cinfo, in mailbox_fetch_notification()
173 static void mailbox_clear_channel(struct scmi_chan_info *cinfo) in mailbox_clear_channel()
181 mailbox_poll_done(struct scmi_chan_info *cinfo, struct scmi_xfer *xfer) in mailbox_poll_done()
Dsmc.c36 struct scmi_chan_info *cinfo;
100 static int smc_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in smc_chan_setup()
168 struct scmi_chan_info *cinfo = p; in smc_chan_free()
179 static int smc_send_message(struct scmi_chan_info *cinfo, in smc_send_message()
204 static void smc_fetch_response(struct scmi_chan_info *cinfo, in smc_fetch_response()
212 static void smc_mark_txdone(struct scmi_chan_info *cinfo, int ret, in smc_mark_txdone()
Doptee.c123 struct scmi_chan_info *cinfo;
339 static void scmi_optee_clear_channel(struct scmi_chan_info *cinfo) in scmi_optee_clear_channel()
366 static int setup_static_shmem(struct device *dev, struct scmi_chan_info *cinfo, in setup_static_shmem()
403 static int setup_shmem(struct device *dev, struct scmi_chan_info *cinfo, in setup_shmem()
412 static int scmi_optee_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, bool tx) in scmi_optee_chan_setup()
467 struct scmi_chan_info *cinfo = p; in scmi_optee_chan_free()
489 static int scmi_optee_send_message(struct scmi_chan_info *cinfo, in scmi_optee_send_message()
511 static void scmi_optee_fetch_response(struct scmi_chan_info *cinfo, in scmi_optee_fetch_response()
522 static void scmi_optee_mark_txdone(struct scmi_chan_info *cinfo, int ret, in scmi_optee_mark_txdone()
Dvirtio.c58 struct scmi_chan_info *cinfo;
115 struct scmi_chan_info *cinfo) in scmi_vio_channel_ready()
365 static unsigned int virtio_get_max_msg(struct scmi_chan_info *base_cinfo) in virtio_get_max_msg()
418 static int virtio_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in virtio_chan_setup()
482 struct scmi_chan_info *cinfo = p; in virtio_chan_free()
492 static int virtio_send_message(struct scmi_chan_info *cinfo, in virtio_send_message()
556 static void virtio_fetch_response(struct scmi_chan_info *cinfo, in virtio_fetch_response()
565 static void virtio_fetch_notification(struct scmi_chan_info *cinfo, in virtio_fetch_notification()
609 static void virtio_mark_txdone(struct scmi_chan_info *cinfo, int ret, in virtio_mark_txdone()
676 static bool virtio_poll_done(struct scmi_chan_info *cinfo, in virtio_poll_done()
Ddriver.c473 static inline int scmi_msg_response_validate(struct scmi_chan_info *cinfo, in scmi_msg_response_validate()
562 scmi_xfer_command_acquire(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_xfer_command_acquire()
620 struct scmi_chan_info *cinfo) in scmi_clear_channel()
626 static inline bool is_polling_required(struct scmi_chan_info *cinfo, in is_polling_required()
638 static inline bool is_polling_enabled(struct scmi_chan_info *cinfo, in is_polling_enabled()
645 static void scmi_handle_notification(struct scmi_chan_info *cinfo, in scmi_handle_notification()
686 static void scmi_handle_response(struct scmi_chan_info *cinfo, in scmi_handle_response()
741 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr, void *priv) in scmi_rx_callback()
774 static bool scmi_xfer_done_no_timeout(struct scmi_chan_info *cinfo, in scmi_xfer_done_no_timeout()
800 static int scmi_wait_for_message_response(struct scmi_chan_info *cinfo, in scmi_wait_for_message_response()
[all …]
Dshmem.c36 struct scmi_xfer *xfer, struct scmi_chan_info *cinfo) in shmem_tx_prepare()