Searched refs:mdp_kms (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/msm/disp/ |
D | mdp_kms.c | 21 static void update_irq(struct mdp_kms *mdp_kms) in update_irq() argument 24 uint32_t irqmask = mdp_kms->vblank_mask; in update_irq() 28 list_for_each_entry(irq, &mdp_kms->irq_list, node) in update_irq() 31 mdp_kms->funcs->set_irqmask(mdp_kms, irqmask, mdp_kms->cur_irq_mask); in update_irq() 32 mdp_kms->cur_irq_mask = irqmask; in update_irq() 38 void mdp_irq_update(struct mdp_kms *mdp_kms) in mdp_irq_update() argument 42 update_irq(mdp_kms); in mdp_irq_update() 46 void mdp_dispatch_irqs(struct mdp_kms *mdp_kms, uint32_t status) in mdp_dispatch_irqs() argument 52 mdp_kms->in_irq = true; in mdp_dispatch_irqs() 53 list_for_each_entry_safe(handler, n, &mdp_kms->irq_list, node) { in mdp_dispatch_irqs() [all …]
|
D | mdp_kms.h | 18 struct mdp_kms; 22 void (*set_irqmask)(struct mdp_kms *mdp_kms, uint32_t irqmask, 26 struct mdp_kms { struct 37 #define to_mdp_kms(x) container_of(x, struct mdp_kms, base) argument 39 static inline int mdp_kms_init(struct mdp_kms *mdp_kms, in mdp_kms_init() argument 42 mdp_kms->funcs = funcs; in mdp_kms_init() 43 INIT_LIST_HEAD(&mdp_kms->irq_list); in mdp_kms_init() 44 return msm_kms_init(&mdp_kms->base, &funcs->base); in mdp_kms_init() 47 static inline void mdp_kms_destroy(struct mdp_kms *mdp_kms) in mdp_kms_destroy() argument 49 msm_kms_destroy(&mdp_kms->base); in mdp_kms_destroy() [all …]
|
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_irq.c | 13 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp4_set_irqmask() argument 16 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_CLEAR, in mdp4_set_irqmask() 18 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_ENABLE, irqmask); in mdp4_set_irqmask() 46 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() local 47 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq_postinstall() 54 mdp_irq_register(mdp_kms, error_handler); in mdp4_irq_postinstall() 69 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() local 70 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq() 81 mdp_dispatch_irqs(mdp_kms, status); in mdp4_irq()
|
D | mdp4_kms.h | 20 struct mdp_kms base; 152 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
|
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_irq.c | 15 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp5_set_irqmask() argument 18 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_CLEAR, in mdp5_set_irqmask() 20 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask() 52 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() local 53 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq_postinstall() 64 mdp_irq_register(mdp_kms, error_handler); in mdp5_irq_postinstall() 82 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() local 83 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq() 94 mdp_dispatch_irqs(mdp_kms, status); in mdp5_irq()
|
D | mdp5_kms.h | 21 struct mdp_kms base; 264 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
|
/Linux-v6.6/drivers/gpu/drm/msm/ |
D | Makefile | 91 disp/mdp_kms.o \
|