18c2ecf20Sopenharmony_ci#ifndef SFPB_XML
28c2ecf20Sopenharmony_ci#define SFPB_XML
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci/* Autogenerated file, DO NOT EDIT manually!
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciThis file was generated by the rules-ng-ng headergen tool in this git repository:
78c2ecf20Sopenharmony_cihttp://github.com/freedreno/envytools/
88c2ecf20Sopenharmony_cigit clone https://github.com/freedreno/envytools.git
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciThe rules-ng-ng source files this header was generated from are:
118c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/msm.xml                 (    676 bytes, from 2020-07-23 21:58:14)
128c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/freedreno_copyright.xml (   1572 bytes, from 2020-07-23 21:58:14)
138c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/mdp/mdp4.xml            (  20915 bytes, from 2020-07-23 21:58:14)
148c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml      (   2849 bytes, from 2020-07-23 21:58:14)
158c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/mdp/mdp5.xml            (  37411 bytes, from 2020-07-23 21:58:14)
168c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/dsi/dsi.xml             (  42301 bytes, from 2020-07-23 21:58:14)
178c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/dsi/sfpb.xml            (    602 bytes, from 2020-07-23 21:58:14)
188c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml         (   1686 bytes, from 2020-07-23 21:58:14)
198c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml         (    600 bytes, from 2020-07-23 21:58:14)
208c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml           (  41874 bytes, from 2020-07-23 21:58:14)
218c2ecf20Sopenharmony_ci- /home/robclark/src/envytools/rnndb/edp/edp.xml             (  10416 bytes, from 2020-07-23 21:58:14)
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciCopyright (C) 2013-2020 by the following authors:
248c2ecf20Sopenharmony_ci- Rob Clark <robdclark@gmail.com> (robclark)
258c2ecf20Sopenharmony_ci- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining
288c2ecf20Sopenharmony_cia copy of this software and associated documentation files (the
298c2ecf20Sopenharmony_ci"Software"), to deal in the Software without restriction, including
308c2ecf20Sopenharmony_ciwithout limitation the rights to use, copy, modify, merge, publish,
318c2ecf20Sopenharmony_cidistribute, sublicense, and/or sell copies of the Software, and to
328c2ecf20Sopenharmony_cipermit persons to whom the Software is furnished to do so, subject to
338c2ecf20Sopenharmony_cithe following conditions:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciThe above copyright notice and this permission notice (including the
368c2ecf20Sopenharmony_cinext paragraph) shall be included in all copies or substantial
378c2ecf20Sopenharmony_ciportions of the Software.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
408c2ecf20Sopenharmony_ciEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
418c2ecf20Sopenharmony_ciMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
428c2ecf20Sopenharmony_ciIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
438c2ecf20Sopenharmony_ciLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
448c2ecf20Sopenharmony_ciOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
458c2ecf20Sopenharmony_ciWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
468c2ecf20Sopenharmony_ci*/
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_cienum sfpb_ahb_arb_master_port_en {
508c2ecf20Sopenharmony_ci	SFPB_MASTER_PORT_ENABLE = 3,
518c2ecf20Sopenharmony_ci	SFPB_MASTER_PORT_DISABLE = 0,
528c2ecf20Sopenharmony_ci};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci#define REG_SFPB_GPREG						0x00000058
558c2ecf20Sopenharmony_ci#define SFPB_GPREG_MASTER_PORT_EN__MASK				0x00001800
568c2ecf20Sopenharmony_ci#define SFPB_GPREG_MASTER_PORT_EN__SHIFT			11
578c2ecf20Sopenharmony_cistatic inline uint32_t SFPB_GPREG_MASTER_PORT_EN(enum sfpb_ahb_arb_master_port_en val)
588c2ecf20Sopenharmony_ci{
598c2ecf20Sopenharmony_ci	return ((val) << SFPB_GPREG_MASTER_PORT_EN__SHIFT) & SFPB_GPREG_MASTER_PORT_EN__MASK;
608c2ecf20Sopenharmony_ci}
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci#endif /* SFPB_XML */
64