Age | Commit message (Collapse) | Author |
|
Create a test function that validates the offset and fields for the
IPA_REG_*_RSRC_GRP_*_RSRC_TYPE_N registers, for every IPA version,
making sure they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the IPA_REG_*_RSRC_GRP_*_RSRC_TYPE_N register offsets and
fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
IPA_REG_TIMERS_PULSE_GRAN_CFG register, for every IPA version,
making sure they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the IPA_REG_TIMERS_PULSE_GRAN_CFG register offset and fields
for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
IPA_REG_TIMERS_XO_CLK_DIV_CFG register, for every IPA version,
making sure they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the IPA_REG_TIMERS_XO_CLK_DIV_CFG register offset and fields
for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
QTIME_TIMESTAMP_CFG register, for every IPA version, making sure
they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the QTIME_TIMESTAMP_CFG register offset and fields for each
IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
IDLE_INDICATION_CFG register, for every IPA version, making sure
they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the IDLE_INDICATION_CFG register offset and fields for each
IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
FLAVOR_0 register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the FLAVOR_0 register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
TX_CFG register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the TX_CFG register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
COUNTER_CFG register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the COUNTER_CFG offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset for the
AGGR_FORCE_CLOSE register, for every IPA version, making sure it
matches what's already defined in "ipa_reg.h". Validate that no
fields are defined for this register.
Signed-off-by: Alex Elder <elder@linaro.org
|
|
Define the AGGR_FORCE_CLOSE register offset for each IPA version.
This register has no fields; it's a bitmap of endpoints.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
LOCAL_PKT_PROC_CNTXT register, for every IPA version, making sure
they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the LOCAL_PKT_PROC_CNTXT register offset and fields for each
IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
BCR register, for every IPA version, making sure they match what's
already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the BCR register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset for the
STATE_AGGR_ACTIVE register, for every IPA version, making sure it
matches what's already defined in "ipa_reg.h". Validate that no
fields are defined for this register.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the STATE_AGGR_ACTIVE register offset for each IPA version.
This register has no fields; it's a bitmap of endpoints.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
FILT_ROUT_HASH_FLUSH register, for every IPA version, making sure
they match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the FILT_ROUT_HASH_FLUSH register offset and fields for each
IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
FILT_ROUT_HASH_EN register, for every IPA version, making sure they
match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the FILT_ROUT_HASH_EN register offset and fields for each IPA
version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
QSB_MAX_READS register, for every IPA version, making sure they
match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the QSB_MAX_READS register offset and fields for each IPA
version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
QSB_MAX_WRITES register, for every IPA version, making sure they
match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the QSB_MAX_WRITES register offset and fields for each IPA
version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for the
SHARED_MEM_SIZE register, for every IPA version, making sure they
match what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the SHARED_MEM_SIZE register offset and fields for each IPA
version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for
the ROUTE register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the ROUTE register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for
the CLKON_CFG register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the CLKON_CFG register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a test function that validates the offset and fields for
the COMP_CFG register, for every IPA version, making sure they match
what's already defined in "ipa_reg.h".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Define the COMP_CFG register offset and fields for each IPA version.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Remove the definition of IPA_VERSION_5_0 because we haven't defined
the IPA v5.0 registers yet
Define a new symbol IPA_VERSION_COUNT that represents the number of
defined IPA versions.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create an initial "regs.c" which includes "ipa_reg.h", and an
initial Makefile that defines the basic rules and dependencies.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create new header file "gsi_ee.h" that just contains the definition
of the gsi_ee_id enumerated type. Include it in "ipa_reg.h".
Include "bitfield.h" instead of the standard Linux header in both
"ipa_reg.h" and "gsi_reg.h". Also include <stdbool.h> to get the
definition of "bool".
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
The mask for the EOT_COAL_GRANULARITY field in the COUTNER_CFG IPA
register is missing its "_FMASK" suffix. Add that back.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Create a new header file that defines a bunch of things taken from
the Linux kernel environment. Update "bitfield.h" so it uses that
rather than the standard Linux headers.
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Copy "bitfield.h" directly from "include/linux/bitfield.h" and
"const_hweight.h" from "include/asm-generic/bitops/const_hweight.h".
These are from Chrome OS branch "chromeos-v5.15" when it was at
commit 17a4935d4b1e5 ("CHROMIUM: drm/i915/pxp: enable userspace to
pass vtags").
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
Signed-off-by: Alex Elder <elder@linaro.org>
|
|
The files here were copied from branch chromeos-5.15-dev, when it
was at commit a5fc6c63bfb49 ("net: ipa: don't parse ODL buffers").
Signed-off-by: Alex Elder <elder@linaro.org>
|