Lines Matching refs:scmi_info

157 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()
603 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_xfer_raw_channel_get()
660 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_xfer_raw_put()
803 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_xfer_command_acquire()
848 static inline void scmi_xfer_command_release(struct scmi_info *info, in scmi_xfer_command_release()
855 static inline void scmi_clear_channel(struct scmi_info *info, in scmi_clear_channel()
867 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_handle_notification()
913 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_handle_response()
1009 struct scmi_info *info = handle_to_scmi_info(pi->handle); in xfer_put()
1017 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_xfer_done_no_timeout()
1058 struct scmi_info *info = in scmi_wait_for_reply()
1081 struct scmi_info *info = in scmi_wait_for_reply()
1117 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_wait_for_message_response()
1144 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_xfer_raw_wait_for_message_response()
1170 struct scmi_info *info = handle_to_scmi_info(pi->handle); in do_xfer()
1241 struct scmi_info *info = handle_to_scmi_info(pi->handle); in reset_rx_to_maxsz()
1324 struct scmi_info *info = handle_to_scmi_info(pi->handle); in xfer_get_init()
1793 scmi_alloc_init_protocol_instance(struct scmi_info *info, in scmi_alloc_init_protocol_instance()
1875 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_get_protocol_instance()
1922 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_protocol_release()
1956 struct scmi_info *info = handle_to_scmi_info(pi->handle); in scmi_setup_protocol_implemented()
1965 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_is_protocol_implemented()
2119 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_is_transport_atomic()
2143 struct scmi_info *info; in scmi_handle_get()
2148 info = list_entry(p, struct scmi_info, node); in scmi_handle_get()
2174 struct scmi_info *info; in scmi_handle_put()
2205 static int __scmi_xfer_info_init(struct scmi_info *sinfo, in __scmi_xfer_info_init()
2258 static int scmi_channels_max_msg_configure(struct scmi_info *sinfo) in scmi_channels_max_msg_configure()
2283 static int scmi_xfer_info_init(struct scmi_info *sinfo) in scmi_xfer_info_init()
2298 static int scmi_chan_setup(struct scmi_info *info, struct device_node *of_node, in scmi_chan_setup()
2376 scmi_txrx_setup(struct scmi_info *info, struct device_node *of_node, in scmi_txrx_setup()
2409 static int scmi_channels_setup(struct scmi_info *info) in scmi_channels_setup()
2444 struct scmi_info *info = handle_to_scmi_info(cinfo->handle); in scmi_chan_destroy()
2457 static void scmi_cleanup_channels(struct scmi_info *info, struct idr *idr) in scmi_cleanup_channels()
2468 static void scmi_cleanup_txrx_channels(struct scmi_info *info) in scmi_cleanup_txrx_channels()
2478 struct scmi_info *info = bus_nb_to_scmi_info(nb); in scmi_bus_notifier()
2511 struct scmi_info *info = req_nb_to_scmi_info(nb); in scmi_device_request_notifier()
2549 static struct scmi_debug_info *scmi_debugfs_common_setup(struct scmi_info *info) in scmi_debugfs_common_setup()
2614 static int scmi_debugfs_raw_mode_setup(struct scmi_info *info) in scmi_debugfs_raw_mode_setup()
2659 struct scmi_info *info; in scmi_probe()
2826 struct scmi_info *info = platform_get_drvdata(pdev); in scmi_remove()
2864 struct scmi_info *info = dev_get_drvdata(dev); in protocol_version_show()
2874 struct scmi_info *info = dev_get_drvdata(dev); in firmware_version_show()
2883 struct scmi_info *info = dev_get_drvdata(dev); in vendor_id_show()
2892 struct scmi_info *info = dev_get_drvdata(dev); in sub_vendor_id_show()