Lines Matching refs:device
14 struct device;
49 int (*clk_enable)(struct device *dev);
50 void (*clk_disable)(struct device *dev);
51 void (*config)(struct device *dev, unsigned int w,
54 void (*start)(struct device *dev);
55 void (*stop)(struct device *dev);
56 void (*register_vblank_cb)(struct device *dev,
59 void (*unregister_vblank_cb)(struct device *dev);
60 void (*enable_vblank)(struct device *dev);
61 void (*disable_vblank)(struct device *dev);
62 unsigned int (*supported_rotations)(struct device *dev);
63 unsigned int (*layer_nr)(struct device *dev);
64 int (*layer_check)(struct device *dev,
67 void (*layer_config)(struct device *dev, unsigned int idx,
70 void (*gamma_set)(struct device *dev,
72 void (*bgclr_in_on)(struct device *dev);
73 void (*bgclr_in_off)(struct device *dev);
74 void (*ctm_set)(struct device *dev,
76 struct device * (*dma_dev_get)(struct device *dev);
77 const u32 *(*get_formats)(struct device *dev);
78 size_t (*get_num_formats)(struct device *dev);
79 void (*connect)(struct device *dev, struct device *mmsys_dev, unsigned int next);
80 void (*disconnect)(struct device *dev, struct device *mmsys_dev, unsigned int next);
81 void (*add)(struct device *dev, struct mtk_mutex *mutex);
82 void (*remove)(struct device *dev, struct mtk_mutex *mutex);
86 struct device *dev;
215 static inline struct device *mtk_ddp_comp_dma_dev_get(struct mtk_ddp_comp *comp) in mtk_ddp_comp_dma_dev_get()
258 static inline bool mtk_ddp_comp_connect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_connect()
268 static inline bool mtk_ddp_comp_disconnect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_disconnect()
281 struct device *dev);