Searched refs:scmi_info (Results 1 – 2 of 2) sorted by relevance
47 struct scmi_smc *scmi_info = data; in smc_msg_done_isr() local49 scmi_rx_callback(scmi_info->cinfo, in smc_msg_done_isr()50 shmem_read_header(scmi_info->shmem), NULL); in smc_msg_done_isr()65 static inline void smc_channel_lock_init(struct scmi_smc *scmi_info) in smc_channel_lock_init() argument68 atomic_set(&scmi_info->inflight, INFLIGHT_NONE); in smc_channel_lock_init()70 mutex_init(&scmi_info->shmem_lock); in smc_channel_lock_init()83 smc_channel_lock_acquire(struct scmi_smc *scmi_info, in smc_channel_lock_acquire() argument87 spin_until_cond(smc_xfer_inflight(xfer, &scmi_info->inflight)); in smc_channel_lock_acquire()89 mutex_lock(&scmi_info->shmem_lock); in smc_channel_lock_acquire()92 static inline void smc_channel_lock_release(struct scmi_smc *scmi_info) in smc_channel_lock_release() argument[all …]
151 struct scmi_info { struct171 #define handle_to_scmi_info(h) container_of(h, struct scmi_info, handle) argument200 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_set()209 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_get()567 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_xfer_command_acquire()612 static inline void scmi_xfer_command_release(struct scmi_info *info, in scmi_xfer_command_release()619 static inline void scmi_clear_channel(struct scmi_info *info, in scmi_clear_channel()627 struct scmi_info *info) in is_polling_required()632 static inline bool is_transport_polling_capable(struct scmi_info *info) in is_transport_polling_capable()639 struct scmi_info *info) in is_polling_enabled()[all …]