Lines Matching defs:cdev
85 * @cdev: Reference to the underlying transport device carrying the
98 static int mailbox_chan_validate(struct device *cdev,
102 struct device_node *np = cdev->of_node;
106 dev_dbg(cdev, "Found %d mboxes and %d shmems !\n", num_mb, num_sh);
111 dev_warn(cdev,
124 dev_warn(cdev, "Invalid shmem descriptor for '%s'\n",
163 struct device *cdev = cinfo->dev;
171 ret = mailbox_chan_validate(cdev, &a2p_rx_chan, &p2a_chan);
182 shmem = of_parse_phandle(cdev->of_node, "shmem", idx);
191 dev_err(cdev, "failed to get SCMI %s shared memory\n", desc);
203 cl->dev = cdev;
213 dev_err(cdev,
224 dev_err(cdev, "failed to request SCMI Tx Receiver mailbox\n");