Alex Elder 12c7ea7dfd net: ipa: define COMP_CFG IPA register fields
Create the ipa_reg_comp_cfg_field_id enumerated type, which
identifies the fields for the COMP_CFG IPA register.

Use IPA_REG_FIELDS() to specify the field mask values defined for
this register, for each supported version of IPA.

Use ipa_reg_bit() to build up the value to be written to this
register rather than using the *_FMASK preprocessor symbols.

Remove the definition of the *_FMASK symbols, along with the inline
functions that were used to encode certain fields whose position
and/or width within the register was dependent on IPA version.

Take this opportunity to represent all one-bit fields using BIT(x)
rather than GENMASK(x, x).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-27 18:42:50 -07:00
..
2022-09-27 18:42:50 -07:00
2022-05-22 20:46:12 +01:00
2022-09-27 18:42:50 -07:00
2020-07-13 17:11:53 -07:00
2022-09-27 18:42:50 -07:00
2022-09-27 18:42:50 -07:00
2021-11-25 19:37:33 -08:00
2021-07-26 23:09:18 +01:00
2022-09-27 18:42:50 -07:00
2022-09-27 18:42:50 -07:00
2022-09-27 18:42:50 -07:00
2022-09-27 18:42:50 -07:00
2021-08-22 09:44:17 +01:00