Home
last modified time | relevance | path

Searched refs:scmi_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/firmware/arm_scmi/
Dsmc.c70 struct scmi_smc *scmi_info = data; in smc_msg_done_isr() local
72 scmi_rx_callback(scmi_info->cinfo, in smc_msg_done_isr()
73 shmem_read_header(scmi_info->shmem), NULL); in smc_msg_done_isr()
88 static inline void smc_channel_lock_init(struct scmi_smc *scmi_info) in smc_channel_lock_init() argument
91 atomic_set(&scmi_info->inflight, INFLIGHT_NONE); in smc_channel_lock_init()
93 mutex_init(&scmi_info->shmem_lock); in smc_channel_lock_init()
106 smc_channel_lock_acquire(struct scmi_smc *scmi_info, in smc_channel_lock_acquire() argument
110 spin_until_cond(smc_xfer_inflight(xfer, &scmi_info->inflight)); in smc_channel_lock_acquire()
112 mutex_lock(&scmi_info->shmem_lock); in smc_channel_lock_acquire()
115 static inline void smc_channel_lock_release(struct scmi_smc *scmi_info) in smc_channel_lock_release() argument
[all …]
Ddriver.c157 struct scmi_info { struct
184 #define handle_to_scmi_info(h) container_of(h, struct scmi_info, handle) argument
185 #define bus_nb_to_scmi_info(nb) container_of(nb, struct scmi_info, bus_nb)
186 #define req_nb_to_scmi_info(nb) container_of(nb, struct scmi_info, dev_req_nb)
264 struct scmi_info *info, in scmi_create_protocol_devices()
278 static void scmi_destroy_protocol_devices(struct scmi_info *info, in scmi_destroy_protocol_devices()
289 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_set()
298 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_get()
484 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_xfer_raw_inflight_register()
576 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_xfer_raw_get()
[all …]