diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2019-02-23 08:48:52 +0000 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-02-26 14:53:30 -0600 |
commit | 51da14e96e9b5187bd42148e37628e59486e267f (patch) | |
tree | f9d8d44bc81225f936f353e9055435650f2281a5 /drivers/soc/fsl/dpio/dpio.h | |
parent | 390bf02d275cee595d551fc041bb62d71728cbfa (diff) | |
download | linux-stable-51da14e96e9b5187bd42148e37628e59486e267f.tar.gz linux-stable-51da14e96e9b5187bd42148e37628e59486e267f.tar.bz2 linux-stable-51da14e96e9b5187bd42148e37628e59486e267f.zip |
soc: fsl: dpio: configure cache stashing destination
Depending on the SoC version and the CPU id, configure the cache
stashing destination for a specific dpio.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl/dpio/dpio.h')
-rw-r--r-- | drivers/soc/fsl/dpio/dpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/soc/fsl/dpio/dpio.h b/drivers/soc/fsl/dpio/dpio.h index b2ac4ba4fb8e..da06f7258098 100644 --- a/drivers/soc/fsl/dpio/dpio.h +++ b/drivers/soc/fsl/dpio/dpio.h @@ -75,6 +75,11 @@ int dpio_get_attributes(struct fsl_mc_io *mc_io, u16 token, struct dpio_attr *attr); +int dpio_set_stashing_destination(struct fsl_mc_io *mc_io, + u32 cmd_flags, + u16 token, + u8 dest); + int dpio_get_api_version(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 *major_ver, |