Home
last modified time | relevance | path

Searched refs:mw_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/arm/
Dmalidp_mw.c68 struct malidp_mw_connector_state *mw_state = in malidp_mw_connector_reset() local
69 kzalloc(sizeof(*mw_state), GFP_KERNEL); in malidp_mw_connector_reset()
77 if (mw_state) in malidp_mw_connector_reset()
78 __drm_atomic_helper_connector_reset(connector, &mw_state->base); in malidp_mw_connector_reset()
95 struct malidp_mw_connector_state *mw_state, *mw_current_state; in malidp_mw_connector_duplicate_state() local
100 mw_state = kzalloc(sizeof(*mw_state), GFP_KERNEL); in malidp_mw_connector_duplicate_state()
101 if (!mw_state) in malidp_mw_connector_duplicate_state()
105 mw_state->rgb2yuv_coeffs = mw_current_state->rgb2yuv_coeffs; in malidp_mw_connector_duplicate_state()
106 mw_state->rgb2yuv_initialized = mw_current_state->rgb2yuv_initialized; in malidp_mw_connector_duplicate_state()
108 __drm_atomic_helper_connector_duplicate_state(connector, &mw_state->base); in malidp_mw_connector_duplicate_state()
[all …]
Dmalidp_hw.c524 if (hwdev->mw_state != MW_NOT_ENABLED) in malidp500_enable_memwrite()
525 hwdev->mw_state = MW_RESTART; in malidp500_enable_memwrite()
527 hwdev->mw_state = MW_START; in malidp500_enable_memwrite()
566 if (hwdev->mw_state == MW_START || hwdev->mw_state == MW_RESTART) in malidp500_disable_memwrite()
567 hwdev->mw_state = MW_STOP; in malidp500_disable_memwrite()
864 hwdev->mw_state = MW_ONESHOT; in malidp550_enable_memwrite()
1316 switch (hwdev->mw_state) { in malidp_se_irq()
1323 hwdev->mw_state = MW_NOT_ENABLED; in malidp_se_irq()
1382 hwdev->mw_state = MW_NOT_ENABLED; in malidp_se_irq_init()
Dmalidp_hw.h250 u8 mw_state; member