diff options
author | Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com> | 2013-06-26 19:57:06 (GMT) |
---|---|---|
committer | Rivera Jose-B46482 <German.Rivera@freescale.com> | 2013-08-28 14:15:07 (GMT) |
commit | fe09a8d7cd605ae4d4b20848e67b98063008b1cb (patch) | |
tree | 5d4b7c53a70fa1a269baad2ba814213f9cbf0150 /include/linux | |
parent | cd883c322033ed9e83dbd36e496d1085df2da183 (diff) | |
download | linux-fsl-qoriq-fe09a8d7cd605ae4d4b20848e67b98063008b1cb.tar.xz |
fsl_qman: support DCE channel
The dce accelerator uses QMan's direct connect portal.
Extend qm_dc_portal to support dce.
Add api to query the DCE channel.
This is consistent with other accelerators such as PME.
Signed-off-by: Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>
Change-Id: I7278684ce2b3c85e67e629605aa79a88c19a50f1
Reviewed-on: http://git.am.freescale.net:8181/4199
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Wang Haiying-R54964 <Haiying.Wang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_qman.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/fsl_qman.h b/include/linux/fsl_qman.h index 673724a..e328d1d 100644 --- a/include/linux/fsl_qman.h +++ b/include/linux/fsl_qman.h @@ -46,14 +46,18 @@ extern "C" { #define QMAN_CHANNEL_POOL1_REV3 0x401 #define QMAN_CHANNEL_CAAM_REV3 0x840 #define QMAN_CHANNEL_PME_REV3 0x860 +#define QMAN_CHANNEL_DCE 0x8a0 extern u16 qm_channel_pool1; extern u16 qm_channel_caam; extern u16 qm_channel_pme; +extern u16 qm_channel_dce; enum qm_dc_portal { qm_dc_portal_fman0 = 0, qm_dc_portal_fman1 = 1, qm_dc_portal_caam = 2, - qm_dc_portal_pme = 3 + qm_dc_portal_pme = 3, + qm_dc_portal_rman = 4, + qm_dc_portal_dce = 5 }; /* Portal processing (interrupt) sources */ @@ -327,8 +331,8 @@ struct qm_mr_entry { } __packed ern; struct { u8 colour:2; /* See QM_MR_DCERN_COLOUR_* */ - u8 __reserved1:4; - enum qm_dc_portal portal:2; + u8 __reserved1:3; + enum qm_dc_portal portal:3; u16 __reserved2; u8 rc; /* Rejection Code */ u32 __reserved3:24; |