Lines Matching defs:scpi_chan
235 struct scpi_chan {
257 struct scpi_chan *channels;
356 static void scpi_process_cmd(struct scpi_chan *ch, u32 cmd)
414 struct scpi_chan *ch = container_of(c, struct scpi_chan, cl);
428 struct scpi_chan *ch = container_of(c, struct scpi_chan, cl);
451 static struct scpi_xfer *get_scpi_xfer(struct scpi_chan *ch)
466 static void put_scpi_xfer(struct scpi_xfer *t, struct scpi_chan *ch)
480 struct scpi_chan *scpi_chan;
492 scpi_chan = scpi_info->channels + chan;
494 msg = get_scpi_xfer(scpi_chan);
511 ret = mbox_send_message(scpi_chan->chan, msg);
522 scpi_process_cmd(scpi_chan, msg->cmd);
524 put_scpi_xfer(msg, scpi_chan);
880 static int scpi_alloc_xfer_list(struct device *dev, struct scpi_chan *ch)
927 devm_kcalloc(dev, count, sizeof(struct scpi_chan), GFP_KERNEL);
938 struct scpi_chan *pchan = scpi_drvinfo->channels + idx;