Lines Matching refs:scpi_chan
232 struct scpi_chan { struct
254 struct scpi_chan *channels; argument
353 static void scpi_process_cmd(struct scpi_chan *ch, u32 cmd) in scpi_process_cmd()
411 struct scpi_chan *ch = container_of(c, struct scpi_chan, cl); in scpi_handle_remote_msg()
425 struct scpi_chan *ch = container_of(c, struct scpi_chan, cl); in scpi_tx_prepare()
448 static struct scpi_xfer *get_scpi_xfer(struct scpi_chan *ch) in get_scpi_xfer()
463 static void put_scpi_xfer(struct scpi_xfer *t, struct scpi_chan *ch) in put_scpi_xfer()
477 struct scpi_chan *scpi_chan; in scpi_send_message() local
489 scpi_chan = scpi_info->channels + chan; in scpi_send_message()
491 msg = get_scpi_xfer(scpi_chan); in scpi_send_message()
508 ret = mbox_send_message(scpi_chan->chan, msg); in scpi_send_message()
519 scpi_process_cmd(scpi_chan, msg->cmd); in scpi_send_message()
521 put_scpi_xfer(msg, scpi_chan); in scpi_send_message()
879 static int scpi_alloc_xfer_list(struct device *dev, struct scpi_chan *ch) in scpi_alloc_xfer_list()
932 devm_kcalloc(dev, count, sizeof(struct scpi_chan), GFP_KERNEL); in scpi_probe()
943 struct scpi_chan *pchan = scpi_drvinfo->channels + idx; in scpi_probe()