• Alex Elder's avatar
    net: ipa: define GSI CH_C_QOS register fields · f50ca7ce
    Alex Elder authored
    Define the fields within the CH_C_QOS GSI register using an array of
    field masks in that register's reg structure.  Use the reg functions
    for encoding values in those fields.
    
    One field in the register is present for IPA v4.0-4.2 only, two
    others are present starting at IPA v4.5, and one more is there
    starting at IPA v4.9.
    
    Drop the "GSI_" prefix in symbols defined in the gsi_prefetch_mode
    enumerated type, and define their values using decimal rather than
    hexidecimal values.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    f50ca7ce
gsi_reg-v3.1.c 7.02 KB