Lines Matching refs:cinfo
50 struct scmi_chan_info *cinfo; member
111 scmi_vio_feed_vq_rx(vioch, msg, vioch->cinfo->dev); in scmi_finalize_message()
157 scmi_rx_callback(vioch->cinfo, in scmi_vio_complete_cb()
231 return vioch && !vioch->cinfo; in virtio_chan_available()
234 static int virtio_chan_setup(struct scmi_chan_info *cinfo, struct device *dev, in virtio_chan_setup() argument
250 msg = devm_kzalloc(cinfo->dev, sizeof(*msg), GFP_KERNEL); in virtio_chan_setup()
255 msg->request = devm_kzalloc(cinfo->dev, in virtio_chan_setup()
262 msg->input = devm_kzalloc(cinfo->dev, VIRTIO_SCMI_MAX_PDU_SIZE, in virtio_chan_setup()
272 scmi_vio_feed_vq_rx(vioch, msg, cinfo->dev); in virtio_chan_setup()
277 cinfo->transport_info = vioch; in virtio_chan_setup()
279 vioch->cinfo = cinfo; in virtio_chan_setup()
292 struct scmi_chan_info *cinfo = p; in virtio_chan_free() local
293 struct scmi_vio_channel *vioch = cinfo->transport_info; in virtio_chan_free()
299 scmi_free_channel(cinfo, data, id); in virtio_chan_free()
302 vioch->cinfo = NULL; in virtio_chan_free()
308 static int virtio_send_message(struct scmi_chan_info *cinfo, in virtio_send_message() argument
311 struct scmi_vio_channel *vioch = cinfo->transport_info; in virtio_send_message()
337 dev_err_once(vioch->cinfo->dev, in virtio_send_message()
349 static void virtio_fetch_response(struct scmi_chan_info *cinfo, in virtio_fetch_response() argument
360 static void virtio_fetch_notification(struct scmi_chan_info *cinfo, in virtio_fetch_notification() argument