Lines Matching defs:device
14 #include <linux/device.h>
155 struct device *device;
172 dev_dbg(dev->device, "%s, %d\n", __func__, cmd);
202 dev_err(dev->device, "Unknown command %d\n", cmd);
244 dev_err(dev->device, "CMDBUSY timeout\n");
279 dev_err(dev->device, "controller timed out\n");
314 dev_err(dev->device, "RX FIFO time out\n");
386 dev_dbg(dev->device, "controller timed out\n");
393 dev_dbg(dev->device, "unexpected NAK/ACK\n");
436 dev_err(dev->device, "unexpected NAK\n");
442 dev_err(dev->device, "completion timed out\n");
567 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
578 dev_err(dev->device, "High speed restart command failed\n");
593 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
611 dev_err(dev->device, "%s: peri clock enable failed. err %d\n",
625 dev_err(dev->device, "Start command failed rc = %d\n", rc);
644 dev_err(dev->device,
654 dev_err(dev->device,
665 dev_err(dev->device, "read failure\n");
671 dev_err(dev->device, "write failure");
717 int ret = of_property_read_u32(dev->device->of_node, "clock-frequency",
720 dev_err(dev->device, "missing clock-frequency property\n");
760 dev->device = &pdev->dev;
769 dev->external_clk = devm_clk_get(dev->device, NULL);
771 dev_err(dev->device, "couldn't get clock\n");
777 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
784 dev_err(dev->device, "couldn't enable clock\n");
832 dev_err(dev->device, "failed to request irq %i\n", dev->irq);
861 dev_info(dev->device, "device registered successfully\n");