Lines Matching refs:device
33 static bool rk808_is_volatile_reg(struct device *dev, unsigned int reg)
63 static bool rk817_is_volatile_reg(struct device *dev, unsigned int reg)
90 static bool rk818_is_volatile_reg(struct device *dev, unsigned int reg)
766 dev_err(&rk808_i2c_client->dev, "Failed to shutdown device!\n");
802 dev_err(&rk808_i2c_client->dev, "Failed to shutdown device!\n");
836 dev_err(&rk808_i2c_client->dev, "Failed to shutdown device!\n");
908 static ssize_t rk8xx_dbg_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
954 static int rk817_pinctrl_init(struct device *dev, struct rk808 *rk808)
1037 struct device *dev;
1099 static void rk817_of_property_prepare(struct rk808 *rk808, struct device *dev)
1165 void (*of_property_prepare_fn)(struct rk808 * rk808, struct device * dev) = NULL;
1166 int (*pinctrl_init)(struct device * dev, struct rk808 * rk808) = NULL;
1411 static int __maybe_unused rk8xx_suspend(struct device *dev)
1461 static int __maybe_unused rk8xx_resume(struct device *dev)