Lines Matching defs:device
139 * @device: The platform device we bound to.
156 /* device info */
157 struct device *device;
314 dev_err(info->device, "cannot get suitable timings\n");
318 dev_info(info->device, "Tacls=%d, %dns Twrph0=%d %dns, Twrph1=%d %dns\n",
357 dev_dbg(info->device, "NF_CONF is 0x%lx\n", cfg);
423 dev_err(info->device, "invalid chip %d\n", chip);
559 dev_dbg(info->device, "correcting error bit %d, byte %d\n",
761 /* device management functions */
849 struct device_node *np = info->device->of_node;
865 * auto-detect timings only when booting with a device tree.
897 dev_info(info->device, "System booted from NAND\n");
935 dev_info(info->device, "ECC disabled\n");
946 dev_info(info->device, "soft ECC\n");
971 dev_dbg(info->device, "chip %p => page shift %d\n",
975 * the large or small page nand device */
986 dev_info(info->device, "hardware ECC\n");
990 dev_err(info->device, "invalid ECC mode!\n");
1076 * called by device layer when it finds a device matching
1131 info->device = &pdev->dev;
1257 /* driver device registration */