summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-14regs: test the IPA_REG_*_RSRC_GRP_*_RSRC_TYPE_N registerAlex Elder
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>
2022-07-14regs: define the IPA_REG_*_RSRC_GRP_*_RSRC_TYPE_N registersAlex Elder
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>
2022-07-14regs: test the IPA_REG_TIMERS_PULSE_GRAN_CFG registerAlex Elder
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>
2022-07-14regs: define the IPA_REG_TIMERS_PULSE_GRAN_CFG registerAlex Elder
Define the IPA_REG_TIMERS_PULSE_GRAN_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the IPA_REG_TIMERS_XO_CLK_DIV_CFG registerAlex Elder
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>
2022-07-14regs: define the IPA_REG_TIMERS_XO_CLK_DIV_CFG registerAlex Elder
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>
2022-07-14regs: test the QTIME_TIMESTAMP_CFG registerAlex Elder
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>
2022-07-14regs: define the QTIME_TIMESTAMP_CFG registerAlex Elder
Define the QTIME_TIMESTAMP_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the IDLE_INDICATION_CFG registerAlex Elder
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>
2022-07-14regs: define the IDLE_INDICATION_CFG registerAlex Elder
Define the IDLE_INDICATION_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the FLAVOR_0 registerAlex Elder
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>
2022-07-14regs: define the FLAVOR_0 registerAlex Elder
Define the FLAVOR_0 register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the TX_CFG registerAlex Elder
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>
2022-07-14regs: define the TX_CFG registerAlex Elder
Define the TX_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the COUNTER_CFG registerAlex Elder
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>
2022-07-14regs: define the COUNTER_CFG registerAlex Elder
Define the COUNTER_CFG offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the AGGR_FORCE_CLOSE registerAlex Elder
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
2022-07-14regs: define the AGGR_FORCE_CLOSE registerAlex Elder
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>
2022-07-14regs: test the LOCAL_PKT_PROC_CNTXT registerAlex Elder
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>
2022-07-14regs: define the LOCAL_PKT_PROC_CNTXT registerAlex Elder
Define the LOCAL_PKT_PROC_CNTXT register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the BCR registerAlex Elder
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>
2022-07-14regs: define the BCR registerAlex Elder
Define the BCR register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the STATE_AGGR_ACTIVE registerAlex Elder
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>
2022-07-14regs: define the STATE_AGGR_ACTIVE registerAlex Elder
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>
2022-07-14regs: test the FILT_ROUT_HASH_FLUSH registerAlex Elder
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>
2022-07-14regs: define the FILT_ROUT_HASH_FLUSH registerAlex Elder
Define the FILT_ROUT_HASH_FLUSH register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the FILT_ROUT_HASH_EN registerAlex Elder
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>
2022-07-14regs: define the FILT_ROUT_HASH_EN registerAlex Elder
Define the FILT_ROUT_HASH_EN register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the QSB_MAX_READS registerAlex Elder
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>
2022-07-14regs: define the QSB_MAX_READS registerAlex Elder
Define the QSB_MAX_READS register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the QSB_MAX_WRITES registerAlex Elder
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>
2022-07-14regs: define the QSB_MAX_WRITES registerAlex Elder
Define the QSB_MAX_WRITES register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the SHARED_MEM_SIZE registerAlex Elder
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>
2022-07-14regs: define the SHARED_MEM_SIZE registerAlex Elder
Define the SHARED_MEM_SIZE register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the ROUTE registerAlex Elder
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>
2022-07-14regs: define the ROUTE registerAlex Elder
Define the ROUTE register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the CLKON_CFG registerAlex Elder
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>
2022-07-14regs: define the CLKON_CFG registerAlex Elder
Define the CLKON_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-14regs: test the COMP_CFG registerAlex Elder
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>
2022-07-14regs: define the COMP_CFG registerAlex Elder
Define the COMP_CFG register offset and fields for each IPA version. Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-13regs: revise ipa_versionAlex Elder
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>
2022-07-13regs: introduce "ipa_reg.c"Alex Elder
Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-13regs: introduce "regs.c" and "Makefile"Alex Elder
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>
2022-07-13regs: introduce "gsi_ee.h"Alex Elder
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>
2022-07-13net: ipa: fix a field mask symbolAlex Elder
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>
2022-07-13regs: introduce "linux.h"Alex Elder
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>
2022-07-12regs: add some stock linux filesAlex Elder
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>
2022-07-12regs: add basic .gitignore fileAlex Elder
Signed-off-by: Alex Elder <elder@linaro.org>
2022-07-12regs: initial commit of IPA register filesAlex Elder
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>