Lines Matching defs:dev
16 static bool khadas_mcu_reg_volatile(struct device *dev, unsigned int reg)
35 static bool khadas_mcu_reg_writeable(struct device *dev, unsigned int reg)
90 struct device *dev = &client->dev;
94 ddata = devm_kzalloc(dev, sizeof(*ddata), GFP_KERNEL);
100 ddata->dev = dev;
105 dev_err(dev, "Failed to allocate register map: %d\n", ret);
109 ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE,
116 if (of_find_property(dev->of_node, "#cooling-cells", NULL))
117 return devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE,