linux/drivers/net/ipa
Alex Elder 81772e444d net: ipa: start generalizing "ipa_reg"
IPA register definitions have evolved with each new version.  The
changes required to support more than 32 endpoints in IPA v5.0 made
it best to define a unified mechanism for defining registers and
their fields.

GSI register definitions, meanwhile, have remained fairly stable.
And even as the total number of IPA endpoints goes beyond 32, the
number of GSI channels on a given EE that underly endpoints still
remains 32 or less.

Despite that, GSI v3.0 (which is used with IPA v5.0) extends the
number of channels (and events) it supports to be about 256, and as
a result, many GSI register definitions must change significantly.
To address this, we'll use the same "ipa_reg" mechanism to define
the GSI registers.

As a first step in generalizing the "ipa_reg" to also support GSI
registers, isolate the definitions of the "ipa_reg" and "ipa_regs"
structure types (and some supporting macros) into a new header file,
and remove the "ipa_" and "IPA_" from symbol names.

Separate the IPA register ID validity checking from the generic
check that a register ID is in range.  Aside from that, this is
intended to have no functional effect on the code.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-02-10 08:06:32 +00:00
..
data net: ipa: correct IPA v4.7 IMEM offset 2023-01-09 07:26:59 +00:00
reg net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
gsi_private.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
gsi_reg.h net: ipa: GSI register cleanup 2023-02-10 08:06:32 +00:00
gsi_trans.c net: ipa: Proactively round up to kmalloc bucket size 2022-10-20 10:13:54 +02:00
gsi_trans.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
gsi.c net: ipa: GSI register cleanup 2023-02-10 08:06:32 +00:00
gsi.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_cmd.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_cmd.h net: ipa: introduce ipa_cmd_init() 2022-10-25 11:15:19 +02:00
ipa_data.h net: ipa: add IPA v4.7 support 2022-12-12 15:55:06 -08:00
ipa_endpoint.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_endpoint.h net: ipa: support more endpoints 2023-01-31 21:45:51 -08: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: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_interrupt.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-01-20 12:28:23 -08:00
ipa_main.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_mem.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_mem.h net: ipa: define two new memory regions 2023-01-31 21:45:52 -08:00
ipa_modem.c net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_modem.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_power.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-01-20 12:28:23 -08:00
ipa_power.h net: ipa: register IPA interrupt handlers directly 2023-01-05 22:03:14 -08:00
ipa_qmi_msg.c net: ipa: Make QMI message rules const 2022-10-21 12:39:16 +01:00
ipa_qmi_msg.h net: ipa: Make QMI message rules const 2022-10-21 12:39:16 +01:00
ipa_qmi.c net: ipa: don't assume 8 modem routing table entries 2022-10-27 13:38:13 +02:00
ipa_qmi.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_reg.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_reg.h net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_resource.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00: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: update copyrights 2022-10-03 16:49:20 -07:00
ipa_smp2p.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_sysfs.c net: ipa: use sysfs_emit() to instead of scnprintf() 2022-12-05 11:03:49 +00:00
ipa_sysfs.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_table.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_table.h net: ipa: support more filtering endpoints 2022-11-04 10:16:53 +00:00
ipa_uc.c net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
ipa_uc.h net: ipa: register IPA interrupt handlers directly 2023-01-05 22:03:14 -08:00
ipa_version.h net: ipa: add some new IPA versions 2023-02-10 08:06:31 +00:00
ipa.h net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
Kconfig net: ipa: add an interconnect dependency 2022-03-02 22:14:05 -08:00
Makefile net: ipa: add IPA v4.7 support 2022-12-12 15:55:06 -08:00
reg.h net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00