linux/drivers/net/ipa
Alex Elder 62b9c009a8 net: ipa: define some more IPA register fields
Define the fields for the SHARED_MEM_SIZE, QSB_MAX_WRITES,
QSB_MAX_READS, FILT_ROUT_HASH_EN, and FILT_ROUT_HASH_FLUSH IPA
registers for all supported IPA versions.

Create enumerated types to identify fields for these registers.  Use
IPA_REG_FIELDS() to specify the field mask values defined for these
registers, for each supported version of IPA.

Use ipa_reg_bit() and ipa_reg_encode() to build up the values to be
written to these registers rather than using the *_FMASK
preprocessor symbols.

Remove the definition of the now unused *_FMASK symbols.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-27 18:42:50 -07:00
..
data net: ipa: define BCR values using an enum 2022-09-23 20:56:28 -07:00
reg net: ipa: define some more IPA register fields 2022-09-27 18:42:50 -07:00
gsi_private.h net: ipa: don't have gsi_channel_update() return a value 2022-09-09 11:45:25 +01:00
gsi_reg.h net: ipa: don't define unneeded GSI register offsets 2022-09-20 07:45:46 -07:00
gsi_trans.c net: ipa: don't have gsi_channel_update() return a value 2022-09-09 11:45:25 +01:00
gsi_trans.h net: ipa: kill all other transaction lists 2022-09-09 11:45:25 +01:00
gsi.c net: ipa: don't have gsi_channel_update() return a value 2022-09-09 11:45:25 +01:00
gsi.h net: ipa: move the definition of gsi_ee_id 2022-09-20 07:45:46 -07:00
ipa_cmd.c net: ipa: introduce ipa_reg() 2022-09-27 18:42:50 -07:00
ipa_cmd.h net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
ipa_data.h net: ipa: rename a few endpoint config data types 2022-05-20 11:12:24 +01:00
ipa_endpoint.c net: ipa: define CLKON_CFG and ROUTE IPA register fields 2022-09-27 18:42:50 -07:00
ipa_endpoint.h net: ipa: rename endpoint->trans_tre_max 2022-06-13 12:01:58 +01:00
ipa_gsi.c net: ipa: include declarations in "ipa_gsi.c" 2020-07-07 12:43:18 -07:00
ipa_gsi.h net: ipa: fix kerneldoc comments 2020-07-13 17:11:53 -07:00
ipa_interrupt.c net: ipa: introduce ipa_reg() 2022-09-27 18:42:50 -07:00
ipa_interrupt.h net: ipa: set up IPA interrupts earlier 2021-07-26 23:09:18 +01:00
ipa_main.c net: ipa: define some more IPA register fields 2022-09-27 18:42:50 -07:00
ipa_mem.c net: ipa: define some more IPA register fields 2022-09-27 18:42:50 -07:00
ipa_mem.h net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_modem.c net: ipa: save a copy of endpoint default config 2022-05-20 11:12:24 +01:00
ipa_modem.h net: ipa: kill ipa_modem_init() 2021-11-25 19:37:33 -08:00
ipa_power.c net: ipa: use struct_size() for the interconnect array 2022-03-11 22:50:07 -08:00
ipa_power.h net: ipa: request IPA register values be retained 2022-02-03 08:03:43 -08:00
ipa_qmi_msg.c net: ipa: properly limit modem routing table use 2022-09-20 08:11:13 -07:00
ipa_qmi_msg.h net: ipa: properly limit modem routing table use 2022-09-20 08:11:13 -07:00
ipa_qmi.c net: ipa: properly limit modem routing table use 2022-09-20 08:11:13 -07:00
ipa_qmi.h net: ipa: kill ipa_modem_setup() 2021-07-26 23:09:18 +01:00
ipa_reg.c net: ipa: introduce ipa_reg() 2022-09-27 18:42:50 -07:00
ipa_reg.h net: ipa: define some more IPA register fields 2022-09-27 18:42:50 -07:00
ipa_resource.c net: ipa: introduce ipa_reg() 2022-09-27 18:42:50 -07:00
ipa_resource.h net: ipa: get rid of empty IPA functions 2021-04-09 20:57:25 -07:00
ipa_smp2p.c net: ipa: separate disabling setup from modem stop 2021-11-23 12:06:40 +00:00
ipa_smp2p.h net: ipa: separate disabling setup from modem stop 2021-11-23 12:06:40 +00:00
ipa_sysfs.c net: ipa: add an endpoint device attribute group 2022-07-20 21:03:26 -07:00
ipa_sysfs.h net: ipa: add an endpoint device attribute group 2022-07-20 21:03:26 -07:00
ipa_table.c net: ipa: define some more IPA register fields 2022-09-27 18:42:50 -07:00
ipa_table.h net: ipa: properly limit modem routing table use 2022-09-20 08:11:13 -07:00
ipa_uc.c net: ipa: introduce ipa_reg() 2022-09-27 18:42:50 -07:00
ipa_uc.h net: ipa: rename ipa_clock_* symbols 2021-08-22 09:44:17 +01:00
ipa_version.h net: ipa: move and redefine ipa_version_valid() 2022-09-20 07:45:47 -07:00
ipa.h net: ipa: add per-version IPA register definition files 2022-09-27 18:42:49 -07:00
Kconfig net: ipa: add an interconnect dependency 2022-03-02 22:14:05 -08:00
Makefile net: ipa: add per-version IPA register definition files 2022-09-27 18:42:49 -07:00