Lines Matching defs:device
4 #include <linux/device.h>
145 struct device *device;
162 dev_dbg(dev->device, "%s, %d\n", __func__, cmd);
192 dev_err(dev->device, "Unknown command %d\n", cmd);
234 dev_err(dev->device, "CMDBUSY timeout\n");
269 dev_err(dev->device, "controller timed out\n");
304 dev_err(dev->device, "RX FIFO time out\n");
376 dev_dbg(dev->device, "controller timed out\n");
383 dev_dbg(dev->device, "unexpected NAK/ACK\n");
426 dev_err(dev->device, "unexpected NAK\n");
432 dev_err(dev->device, "completion timed out\n");
557 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
568 dev_err(dev->device, "High speed restart command failed\n");
583 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
601 dev_err(dev->device, "%s: peri clock enable failed. err %d\n",
615 dev_err(dev->device, "Start command failed rc = %d\n", rc);
634 dev_err(dev->device,
644 dev_err(dev->device,
655 dev_err(dev->device, "read failure\n");
661 dev_err(dev->device, "write failure");
707 int ret = of_property_read_u32(dev->device->of_node, "clock-frequency",
710 dev_err(dev->device, "missing clock-frequency property\n");
750 dev->device = &pdev->dev;
759 dev->external_clk = devm_clk_get(dev->device, NULL);
761 dev_err(dev->device, "couldn't get clock\n");
767 dev_err(dev->device, "%s: clk_set_rate returned %d\n",
774 dev_err(dev->device, "couldn't enable clock\n");
822 dev_err(dev->device, "failed to request irq %i\n", dev->irq);
851 dev_info(dev->device, "device registered successfully\n");