Searched refs:sunxi_rsb_device (Results 1 – 4 of 4) sorted by relevance
28 struct sunxi_rsb_device { struct36 static inline struct sunxi_rsb_device *to_sunxi_rsb_device(struct device *d) in to_sunxi_rsb_device() argument38 return container_of(d, struct sunxi_rsb_device, dev); in to_sunxi_rsb_device()41 static inline void *sunxi_rsb_device_get_drvdata(const struct sunxi_rsb_device *rdev) in sunxi_rsb_device_get_drvdata()46 static inline void sunxi_rsb_device_set_drvdata(struct sunxi_rsb_device *rdev, in sunxi_rsb_device_set_drvdata()61 int (*probe)(struct sunxi_rsb_device *rdev);62 int (*remove)(struct sunxi_rsb_device *rdev);86 struct regmap *__devm_regmap_init_sunxi_rsb(struct sunxi_rsb_device *rdev,
142 struct sunxi_rsb_device *rdev = to_sunxi_rsb_device(dev); in sunxi_rsb_device_probe()186 struct sunxi_rsb_device *rdev = to_sunxi_rsb_device(dev); in sunxi_rsb_dev_release()198 static struct sunxi_rsb_device *sunxi_rsb_device_create(struct sunxi_rsb *rsb, in sunxi_rsb_device_create()202 struct sunxi_rsb_device *rdev; in sunxi_rsb_device_create()237 static void sunxi_rsb_device_unregister(struct sunxi_rsb_device *rdev) in sunxi_rsb_device_unregister()244 struct sunxi_rsb_device *rdev = to_sunxi_rsb_device(dev); in sunxi_rsb_remove_devices()395 struct sunxi_rsb_device *rdev;403 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_read()415 struct sunxi_rsb_device *rdev = ctx->rdev; in regmap_sunxi_rsb_reg_write()435 static struct sunxi_rsb_ctx *regmap_sunxi_rsb_init_ctx(struct sunxi_rsb_device *rdev, in regmap_sunxi_rsb_init_ctx()[all …]
25 static int axp20x_rsb_probe(struct sunxi_rsb_device *rdev) in axp20x_rsb_probe()52 static int axp20x_rsb_remove(struct sunxi_rsb_device *rdev) in axp20x_rsb_remove()
88 static int ac100_rsb_probe(struct sunxi_rsb_device *rdev) in ac100_rsb_probe()