sde_hw_ctl.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
  5. */
  6. #ifndef _SDE_HW_CTL_H
  7. #define _SDE_HW_CTL_H
  8. #include "sde_hw_mdss.h"
  9. #include "sde_hw_util.h"
  10. #include "sde_hw_catalog.h"
  11. #include "sde_hw_sspp.h"
  12. #include "sde_fence.h"
  13. #define INVALID_CTL_STATUS 0xfffff88e
  14. #define CTL_MAX_DSPP_COUNT (DSPP_MAX - DSPP_0)
  15. /**
  16. * sde_ctl_mode_sel: Interface mode selection
  17. * SDE_CTL_MODE_SEL_VID: Video mode interface
  18. * SDE_CTL_MODE_SEL_CMD: Command mode interface
  19. */
  20. enum sde_ctl_mode_sel {
  21. SDE_CTL_MODE_SEL_VID = 0,
  22. SDE_CTL_MODE_SEL_CMD
  23. };
  24. /**
  25. * sde_ctl_rot_op_mode - inline rotation mode
  26. * SDE_CTL_ROT_OP_MODE_OFFLINE: offline rotation
  27. * SDE_CTL_ROT_OP_MODE_RESERVED: reserved
  28. * SDE_CTL_ROT_OP_MODE_INLINE_SYNC: inline rotation synchronous mode
  29. * SDE_CTL_ROT_OP_MODE_INLINE_ASYNC: inline rotation asynchronous mode
  30. */
  31. enum sde_ctl_rot_op_mode {
  32. SDE_CTL_ROT_OP_MODE_OFFLINE,
  33. SDE_CTL_ROT_OP_MODE_RESERVED,
  34. SDE_CTL_ROT_OP_MODE_INLINE_SYNC,
  35. SDE_CTL_ROT_OP_MODE_INLINE_ASYNC,
  36. };
  37. /**
  38. * ctl_hw_flush_type - active ctl hw types
  39. * SDE_HW_FLUSH_WB: WB block
  40. * SDE_HW_FLUSH_DSC: DSC block
  41. * SDE_HW_FLUSH_VDC: VDC bits of DSC block
  42. * SDE_HW_FLUSH_MERGE_3D: Merge 3D block
  43. * SDE_HW_FLUSH_CDM: CDM block
  44. * SDE_HW_FLUSH_CWB: CWB block
  45. * SDE_HW_FLUSH_PERIPH: Peripheral
  46. * SDE_HW_FLUSH_INTF: Interface
  47. */
  48. enum ctl_hw_flush_type {
  49. SDE_HW_FLUSH_WB,
  50. SDE_HW_FLUSH_DSC,
  51. SDE_HW_FLUSH_VDC,
  52. SDE_HW_FLUSH_MERGE_3D,
  53. SDE_HW_FLUSH_CDM,
  54. SDE_HW_FLUSH_CWB,
  55. SDE_HW_FLUSH_PERIPH,
  56. SDE_HW_FLUSH_INTF,
  57. SDE_HW_FLUSH_MAX
  58. };
  59. struct sde_hw_ctl;
  60. /**
  61. * struct sde_hw_stage_cfg - blending stage cfg
  62. * @stage : SSPP_ID at each stage
  63. * @multirect_index: index of the rectangle of SSPP.
  64. */
  65. struct sde_hw_stage_cfg {
  66. enum sde_sspp stage[SDE_STAGE_MAX][PIPES_PER_STAGE];
  67. enum sde_sspp_multirect_index multirect_index
  68. [SDE_STAGE_MAX][PIPES_PER_STAGE];
  69. };
  70. /**
  71. * struct sde_hw_intf_cfg :Describes how the SDE writes data to output interface
  72. * @intf : Interface id
  73. * @wb: Writeback id
  74. * @mode_3d: 3d mux configuration
  75. * @intf_mode_sel: Interface mode, cmd / vid
  76. * @stream_sel: Stream selection for multi-stream interfaces
  77. */
  78. struct sde_hw_intf_cfg {
  79. enum sde_intf intf;
  80. enum sde_wb wb;
  81. enum sde_3d_blend_mode mode_3d;
  82. enum sde_ctl_mode_sel intf_mode_sel;
  83. int stream_sel;
  84. };
  85. /**
  86. * struct sde_hw_intf_cfg_v1 :Describes the data strcuture to configure the
  87. * output interfaces for a particular display on a
  88. * platform which supports ctl path version 1.
  89. * @intf_count: No. of active interfaces for this display
  90. * @intf : Interface ids of active interfaces
  91. * @intf_mode_sel: Interface mode, cmd / vid
  92. * @intf_master: Master interface for split display
  93. * @wb_count: No. of active writebacks
  94. * @wb: Writeback ids of active writebacks
  95. * @merge_3d_count No. of active merge_3d blocks
  96. * @merge_3d: Id of the active merge 3d blocks
  97. * @cwb_count: No. of active concurrent writebacks
  98. * @cwb: Id of active cwb blocks
  99. * @cdm_count: No. of active chroma down module
  100. * @cdm: Id of active cdm blocks
  101. * @dsc_count: No. of active dsc blocks
  102. * @dsc: Id of active dsc blocks
  103. * @vdc_count: No. of active vdc blocks
  104. * @vdc: Id of active vdc blocks
  105. * @dnsc_blur_count: No. of active downscale blur blocks
  106. * @dnsc_blur: Id of active downscale blur blocks
  107. */
  108. struct sde_hw_intf_cfg_v1 {
  109. uint32_t intf_count;
  110. enum sde_intf intf[MAX_INTF_PER_CTL_V1];
  111. enum sde_ctl_mode_sel intf_mode_sel;
  112. enum sde_intf intf_master;
  113. uint32_t wb_count;
  114. enum sde_wb wb[MAX_WB_PER_CTL_V1];
  115. uint32_t merge_3d_count;
  116. enum sde_merge_3d merge_3d[MAX_MERGE_3D_PER_CTL_V1];
  117. uint32_t cwb_count;
  118. enum sde_cwb cwb[MAX_CWB_PER_CTL_V1];
  119. uint32_t cdm_count;
  120. enum sde_cdm cdm[MAX_CDM_PER_CTL_V1];
  121. uint32_t dsc_count;
  122. enum sde_dsc dsc[MAX_DSC_PER_CTL_V1];
  123. uint32_t vdc_count;
  124. enum sde_vdc vdc[MAX_VDC_PER_CTL_V1];
  125. uint32_t dnsc_blur_count;
  126. enum sde_dnsc_blur dnsc_blur[MAX_VDC_PER_CTL_V1];
  127. };
  128. /**
  129. * struct sde_ctl_flush_cfg - struct describing flush configuration managed
  130. * via set, trigger and clear ops.
  131. * set ops corresponding to the hw_block is called, when the block's
  132. * configuration is changed and needs to be committed on Hw. Flush mask caches
  133. * the different bits for the ongoing commit.
  134. * clear ops clears the bitmask and cancels the update to the corresponding
  135. * hw block.
  136. * trigger op will trigger the update on the hw for the blocks cached in the
  137. * pending flush mask.
  138. *
  139. * @pending_flush_mask: pending ctl_flush
  140. * CTL path version SDE_CTL_CFG_VERSION_1_0_0 has * two level flush mechanism
  141. * for lower pipe controls. individual control should be flushed before
  142. * exercising top level flush
  143. * @pending_hw_flush_mask: pending flush mask for each active HW blk
  144. * @pending_dspp_flush_masks: pending flush masks for sub-blks of each DSPP
  145. */
  146. struct sde_ctl_flush_cfg {
  147. u32 pending_flush_mask;
  148. u32 pending_hw_flush_mask[SDE_HW_FLUSH_MAX];
  149. u32 pending_dspp_flush_masks[CTL_MAX_DSPP_COUNT];
  150. };
  151. /**
  152. * struct sde_hw_ctl_ops - Interface to the wb Hw driver functions
  153. * Assumption is these functions will be called after clocks are enabled
  154. */
  155. struct sde_hw_ctl_ops {
  156. /**
  157. * hw fence control
  158. * @ctx : ctl path ctx pointer
  159. */
  160. void (*hw_fence_ctrl)(struct sde_hw_ctl *ctx, bool sw_set, bool sw_clear, u32 mode);
  161. /**
  162. * trigger hw fence fence-ready sw override
  163. * @ctx : ctl path ctx pointer
  164. */
  165. void (*hw_fence_trigger_sw_override)(struct sde_hw_ctl *ctx);
  166. /**
  167. * configure output hw fence trigger
  168. * @ctx : ctl path ctx pointer
  169. * @trigger_sel : select upon which event the output trigger will happen
  170. */
  171. void (*hw_fence_trigger_output_fence)(struct sde_hw_ctl *ctx, u32 trigger_sel);
  172. /**
  173. * get hw fence status
  174. * @ctx : ctl path ctx pointer
  175. * @Return: fence status
  176. */
  177. int (*get_hw_fence_status)(struct sde_hw_ctl *ctx);
  178. /**
  179. * update output hw fence ipcc client_id and signal_id
  180. * @ctx : ctl path ctx pointer
  181. * @client_id : value to write to update the client_id
  182. * @signal_id : value to write to update the signal_id
  183. */
  184. void (*hw_fence_update_output_fence)(struct sde_hw_ctl *ctx, u32 client_id, u32 signal_id);
  185. /**
  186. * update input hw fence ipcc client_id and signal_id
  187. * @ctx : ctl path ctx pointer
  188. * @client_id : value to write to update the client_id
  189. * @signal_id : value to write to update the signal_id
  190. */
  191. void (*hw_fence_update_input_fence)(struct sde_hw_ctl *ctx, u32 client_id, u32 signal_id);
  192. /**
  193. * kickoff hw operation for Sw controlled interfaces
  194. * DSI cmd mode and WB interface are SW controlled
  195. * @ctx : ctl path ctx pointer
  196. * @Return: error code
  197. */
  198. int (*trigger_start)(struct sde_hw_ctl *ctx);
  199. /**
  200. * kickoff prepare is in progress hw operation for sw
  201. * controlled interfaces: DSI cmd mode and WB interface
  202. * are SW controlled
  203. * @ctx : ctl path ctx pointer
  204. * @Return: error code
  205. */
  206. int (*trigger_pending)(struct sde_hw_ctl *ctx);
  207. /**
  208. * kickoff rotator operation for Sw controlled interfaces
  209. * DSI cmd mode and WB interface are SW controlled
  210. * @ctx : ctl path ctx pointer
  211. * @Return: error code
  212. */
  213. int (*trigger_rot_start)(struct sde_hw_ctl *ctx);
  214. /**
  215. * enable/disable UIDLE feature
  216. * @ctx : ctl path ctx pointer
  217. * @enable: true to enable the feature
  218. */
  219. void (*uidle_enable)(struct sde_hw_ctl *ctx, bool enable);
  220. /**
  221. * Clear the value of the cached pending_flush_mask
  222. * No effect on hardware
  223. * @ctx : ctl path ctx pointer
  224. * @Return: error code
  225. */
  226. int (*clear_pending_flush)(struct sde_hw_ctl *ctx);
  227. /**
  228. * Query the value of the cached pending_flush_mask
  229. * No effect on hardware
  230. * @ctx : ctl path ctx pointer
  231. * @cfg : current flush configuration
  232. * @Return: error code
  233. */
  234. int (*get_pending_flush)(struct sde_hw_ctl *ctx,
  235. struct sde_ctl_flush_cfg *cfg);
  236. /**
  237. * OR in the given flushbits to the flush_cfg
  238. * No effect on hardware
  239. * @ctx : ctl path ctx pointer
  240. * @cfg : flush configuration pointer
  241. * @Return: error code
  242. */
  243. int (*update_pending_flush)(struct sde_hw_ctl *ctx,
  244. struct sde_ctl_flush_cfg *cfg);
  245. /**
  246. * Write the value of the pending_flush_mask to hardware
  247. * @ctx : ctl path ctx pointer
  248. * @Return: error code
  249. */
  250. int (*trigger_flush)(struct sde_hw_ctl *ctx);
  251. /**
  252. * Read the value of the flush register
  253. * @ctx : ctl path ctx pointer
  254. * @Return: value of the ctl flush register.
  255. */
  256. u32 (*get_flush_register)(struct sde_hw_ctl *ctx);
  257. /**
  258. * Setup ctl_path interface config
  259. * @ctx
  260. * @cfg : interface config structure pointer
  261. * @Return: error code
  262. */
  263. int (*setup_intf_cfg)(struct sde_hw_ctl *ctx,
  264. struct sde_hw_intf_cfg *cfg);
  265. /**
  266. * Reset ctl_path interface config
  267. * @ctx : ctl path ctx pointer
  268. * @cfg : interface config structure pointer
  269. * @merge_3d_idx : index of merge3d blk
  270. * @Return: error code
  271. */
  272. int (*reset_post_disable)(struct sde_hw_ctl *ctx,
  273. struct sde_hw_intf_cfg_v1 *cfg, u32 merge_3d_idx);
  274. /** update cwb for ctl_path
  275. * @ctx : ctl path ctx pointer
  276. * @cfg : interface config structure pointer
  277. * @enable : enable/disable the dynamic sub-blocks in interface cfg
  278. * @Return: error code
  279. */
  280. int (*update_intf_cfg)(struct sde_hw_ctl *ctx,
  281. struct sde_hw_intf_cfg_v1 *cfg, bool enable);
  282. /**
  283. * Setup ctl_path interface config for SDE_CTL_ACTIVE_CFG
  284. * @ctx : ctl path ctx pointer
  285. * @cfg : interface config structure pointer
  286. * @Return: error code
  287. */
  288. int (*setup_intf_cfg_v1)(struct sde_hw_ctl *ctx,
  289. struct sde_hw_intf_cfg_v1 *cfg);
  290. /**
  291. * Update the interface selection with input WB config
  292. * @ctx : ctl path ctx pointer
  293. * @cfg : pointer to input wb config
  294. * @enable : set if true, clear otherwise
  295. */
  296. void (*update_wb_cfg)(struct sde_hw_ctl *ctx,
  297. struct sde_hw_intf_cfg *cfg, bool enable);
  298. int (*reset)(struct sde_hw_ctl *c);
  299. /**
  300. * get_reset - check ctl reset status bit
  301. * @ctx : ctl path ctx pointer
  302. * Returns: current value of ctl reset status
  303. */
  304. u32 (*get_reset)(struct sde_hw_ctl *ctx);
  305. /**
  306. * get_scheduler_reset - check ctl scheduler status bit
  307. * @ctx : ctl path ctx pointer
  308. * Returns: current value of ctl scheduler and idle status
  309. */
  310. u32 (*get_scheduler_status)(struct sde_hw_ctl *ctx);
  311. /**
  312. * hard_reset - force reset on ctl_path
  313. * @ctx : ctl path ctx pointer
  314. * @enable : whether to enable/disable hard reset
  315. */
  316. void (*hard_reset)(struct sde_hw_ctl *c, bool enable);
  317. /*
  318. * wait_reset_status - checks ctl reset status
  319. * @ctx : ctl path ctx pointer
  320. *
  321. * This function checks the ctl reset status bit.
  322. * If the reset bit is set, it keeps polling the status till the hw
  323. * reset is complete.
  324. * Returns: 0 on success or -error if reset incomplete within interval
  325. */
  326. int (*wait_reset_status)(struct sde_hw_ctl *ctx);
  327. /**
  328. * update_bitmask_sspp: updates mask corresponding to sspp
  329. * @blk : blk id
  330. * @enable : true to enable, 0 to disable
  331. */
  332. int (*update_bitmask_sspp)(struct sde_hw_ctl *ctx,
  333. enum sde_sspp blk, bool enable);
  334. /**
  335. * update_bitmask_mixer: updates mask corresponding to mixer
  336. * @blk : blk id
  337. * @enable : true to enable, 0 to disable
  338. */
  339. int (*update_bitmask_mixer)(struct sde_hw_ctl *ctx,
  340. enum sde_lm blk, bool enable);
  341. /**
  342. * update_bitmask_dspp: updates mask corresponding to dspp
  343. * @blk : blk id
  344. * @enable : true to enable, 0 to disable
  345. */
  346. int (*update_bitmask_dspp)(struct sde_hw_ctl *ctx,
  347. enum sde_dspp blk, bool enable);
  348. /**
  349. * update_bitmask_dspp_pavlut: updates mask corresponding to dspp pav
  350. * @blk : blk id
  351. * @enable : true to enable, 0 to disable
  352. */
  353. int (*update_bitmask_dspp_pavlut)(struct sde_hw_ctl *ctx,
  354. enum sde_dspp blk, bool enable);
  355. /**
  356. * Program DSPP sub block specific bit of dspp flush register.
  357. * @ctx : ctl path ctx pointer
  358. * @dspp : HW block ID of dspp block
  359. * @sub_blk : enum of DSPP sub block to flush
  360. * @enable : true to enable, 0 to disable
  361. *
  362. * This API is for CTL with DSPP flush hierarchy registers.
  363. */
  364. int (*update_bitmask_dspp_subblk)(struct sde_hw_ctl *ctx,
  365. enum sde_dspp dspp, u32 sub_blk, bool enable);
  366. /**
  367. * update_bitmask_sspp: updates mask corresponding to sspp
  368. * @blk : blk id
  369. * @enable : true to enable, 0 to disable
  370. */
  371. int (*update_bitmask_rot)(struct sde_hw_ctl *ctx,
  372. enum sde_rot blk, bool enable);
  373. /**
  374. * update_bitmask: updates flush mask
  375. * @type : blk type to flush
  376. * @blk_idx : blk idx
  377. * @enable : true to enable, 0 to disable
  378. */
  379. int (*update_bitmask)(struct sde_hw_ctl *ctx,
  380. enum ctl_hw_flush_type type, u32 blk_idx, bool enable);
  381. /**
  382. * update_dnsc_blur_bitmask: updates dnsc_blur flush mask
  383. * @type : blk type to flush
  384. * @blk_idx : blk idx
  385. * @enable : true to enable, 0 to disable
  386. */
  387. void (*update_dnsc_blur_bitmask)(struct sde_hw_ctl *ctx, u32 blk_idx, bool enable);
  388. /**
  389. * get interfaces for the active CTL .
  390. * @ctx : ctl path ctx pointer
  391. * @return : bit mask with the active interfaces for the CTL
  392. */
  393. u32 (*get_ctl_intf)(struct sde_hw_ctl *ctx);
  394. /**
  395. * read CTL layers register value and return
  396. * the data.
  397. * @ctx : ctl path ctx pointer
  398. * @index : layer index for this ctl path
  399. * @return : CTL layers register value
  400. */
  401. u32 (*read_ctl_layers)(struct sde_hw_ctl *ctx, int index);
  402. /**
  403. * read active register configuration for this block
  404. * @ctx : ctl path ctx pointer
  405. * @blk : hw blk type, supported blocks are DSC, MERGE_3D, INTF,
  406. * CDM, WB
  407. * @index : blk index
  408. * @return : true if blk at idx is active or false
  409. */
  410. bool (*read_active_status)(struct sde_hw_ctl *ctx,
  411. enum sde_hw_blk_type blk, int index);
  412. /**
  413. * Set all blend stages to disabled
  414. * @ctx : ctl path ctx pointer
  415. */
  416. void (*clear_all_blendstages)(struct sde_hw_ctl *ctx);
  417. /**
  418. * Configure layer mixer to pipe configuration
  419. * @ctx : ctl path ctx pointer
  420. * @lm : layer mixer enumeration
  421. * @cfg : blend stage configuration
  422. * @disable_border: if true disable border, else enable border out
  423. */
  424. void (*setup_blendstage)(struct sde_hw_ctl *ctx,
  425. enum sde_lm lm, struct sde_hw_stage_cfg *cfg,
  426. bool disable_border);
  427. /**
  428. * Get all the sspp staged on a layer mixer
  429. * @ctx : ctl path ctx pointer
  430. * @lm : layer mixer enumeration
  431. * @info : structure to populate connected sspp index info
  432. * @Return: count of sspps info elements populated
  433. */
  434. u32 (*get_staged_sspp)(struct sde_hw_ctl *ctx, enum sde_lm lm,
  435. struct sde_sspp_index_info *info);
  436. /**
  437. * Flush the reg dma by sending last command.
  438. * @ctx : ctl path ctx pointer
  439. * @blocking : if set to true api will block until flush is done
  440. * @Return: error code
  441. */
  442. int (*reg_dma_flush)(struct sde_hw_ctl *ctx, bool blocking);
  443. /**
  444. * check if ctl start trigger state to confirm the frame pending
  445. * status
  446. * @ctx : ctl path ctx pointer
  447. * @Return: error code
  448. */
  449. int (*get_start_state)(struct sde_hw_ctl *ctx);
  450. /**
  451. * set the active fetch pipes attached to this CTL
  452. * @ctx : ctl path ctx pointer
  453. * @fetch_active: bitmap of enum sde_sspp pipes attached
  454. */
  455. void (*set_active_pipes)(struct sde_hw_ctl *ctx,
  456. unsigned long *fetch_active);
  457. /**
  458. * Get all the sspp marked for fetching on the control path.
  459. * @ctx : ctl path ctx pointer
  460. * @Return: bitmap of enum sde_sspp pipes found
  461. */
  462. u32 (*get_active_pipes)(struct sde_hw_ctl *ctx);
  463. };
  464. /**
  465. * struct sde_hw_ctl : CTL PATH driver object
  466. * @base: hardware block base structure
  467. * @hw: block register map object
  468. * @idx: control path index
  469. * @caps: control path capabilities
  470. * @mixer_count: number of mixers
  471. * @mixer_hw_caps: mixer hardware capabilities
  472. * @flush: storage for pending ctl_flush managed via ops
  473. * @ops: operation list
  474. */
  475. struct sde_hw_ctl {
  476. struct sde_hw_blk_reg_map hw;
  477. /* ctl path */
  478. int idx;
  479. const struct sde_ctl_cfg *caps;
  480. int mixer_count;
  481. const struct sde_lm_cfg *mixer_hw_caps;
  482. struct sde_ctl_flush_cfg flush;
  483. /* hw fence */
  484. struct sde_hw_fence_data hwfence_data;
  485. /* ops */
  486. struct sde_hw_ctl_ops ops;
  487. };
  488. /**
  489. * to_sde_hw_ctl - convert base hw object to sde_hw_ctl container
  490. * @hw: Pointer to hardware block register map object
  491. * return: Pointer to hardware block container
  492. */
  493. static inline struct sde_hw_ctl *to_sde_hw_ctl(struct sde_hw_blk_reg_map *hw)
  494. {
  495. return container_of(hw, struct sde_hw_ctl, hw);
  496. }
  497. /**
  498. * sde_hw_ctl_init(): Initializes the ctl_path hw driver object.
  499. * should be called before accessing every ctl path registers.
  500. * @idx: ctl_path index for which driver object is required
  501. * @addr: mapped register io address of MDP
  502. * @m : pointer to mdss catalog data
  503. */
  504. struct sde_hw_blk_reg_map *sde_hw_ctl_init(enum sde_ctl idx,
  505. void __iomem *addr,
  506. struct sde_mdss_cfg *m);
  507. /**
  508. * sde_hw_ctl_destroy(): Destroys ctl driver context
  509. * @hw: Pointer to hardware block register map object
  510. */
  511. void sde_hw_ctl_destroy(struct sde_hw_blk_reg_map *hw);
  512. #endif /*_SDE_HW_CTL_H */