Lines Matching refs:dev
109 info = devm_kzalloc(&pdev->dev, in orion_nand_probe()
126 if (pdev->dev.of_node) { in orion_nand_probe()
127 board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data), in orion_nand_probe()
131 if (!of_property_read_u32(pdev->dev.of_node, "cle", &val)) in orion_nand_probe()
135 if (!of_property_read_u32(pdev->dev.of_node, "ale", &val)) in orion_nand_probe()
139 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
144 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
148 board = dev_get_platdata(&pdev->dev); in orion_nand_probe()
151 mtd->dev.parent = &pdev->dev; in orion_nand_probe()
154 nand_set_flash_node(nc, pdev->dev.of_node); in orion_nand_probe()
172 info->clk = devm_clk_get_optional_enabled(&pdev->dev, NULL); in orion_nand_probe()
174 return dev_err_probe(&pdev->dev, PTR_ERR(info->clk), in orion_nand_probe()