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