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)
89 struct device *dev = &client->dev;
93 ddata = devm_kzalloc(dev, sizeof(*ddata), GFP_KERNEL);
99 ddata->dev = dev;
104 dev_err(dev, "Failed to allocate register map: %d\n", ret);
108 ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE,
115 if (of_property_present(dev->of_node, "#cooling-cells"))
116 return devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE,