From be9a609b6e958f868da62f6b8d633bcd63bb321a Mon Sep 17 00:00:00 2001 From: Zhang Yubing Date: Tue, 23 Apr 2024 11:53:58 +0800 Subject: [PATCH] drm/rockchip: dw_hdcp2: describe member of hl_device Change-Id: I569ad2679976f581a2071f3398992d91844308b9 Signed-off-by: Zhang Yubing --- drivers/gpu/drm/rockchip/dw_hdcp2.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/dw_hdcp2.c b/drivers/gpu/drm/rockchip/dw_hdcp2.c index b7fd6a019941..6a52ae249c43 100644 --- a/drivers/gpu/drm/rockchip/dw_hdcp2.c +++ b/drivers/gpu/drm/rockchip/dw_hdcp2.c @@ -33,20 +33,31 @@ * info */ struct hl_device { + /** @allocated: is the memory allocated */ bool allocated; + /** @initialized: is the device initialized */ bool initialized; + /** @code_loaded: is the code loaded */ bool code_loaded; + /** @code_is_phys_mem: is physical address used for code */ bool code_is_phys_mem; + /** @code_base: dma address for code */ dma_addr_t code_base; + /** @code_size: code length */ uint32_t code_size; + /** @code: virtual address for code */ uint8_t *code; + /** @data_is_phys_mem: is physical address used for data */ bool data_is_phys_mem; + /** @data_base: dma address for data */ dma_addr_t data_base; + /** @data_size: data length */ uint32_t data_size; + /** @data: virtual address for data */ uint8_t *data; - /** @hpi_respurce: resource of HPI interface */ + /** @hpi_resource: resource of HPI interface */ struct resource *hpi_resource; /** @hpi: base address of HPI registers */ uint8_t __iomem *hpi;