diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2024-06-26 14:48:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 16:08:06 +0200 |
commit | 36b1235a8ae79caacd6f2bbd7120ac7860cab734 (patch) | |
tree | bf9dbc4a11418283bceeb88403fca9e8e3b9f0f4 /crypto/jitterentropy-kcapi.c | |
parent | xhci: Apply XHCI_RESET_TO_DEFAULT quirk to TGL (diff) | |
download | linux-36b1235a8ae79caacd6f2bbd7120ac7860cab734.tar.xz linux-36b1235a8ae79caacd6f2bbd7120ac7860cab734.zip |
xhci: sort out TRB Endpoint ID bitfield macros
xhci macros that read and write endpoint ID bitfields of TRBs are mixing
the 1-based Endpoint ID as described in the xHCI specification, and
0-based endpoint index used by driver as an array index.
Sort this out by naming macros that deal with 1 based Endpoint ID fields
to *_EP_ID_*, and 0 based endpoint index values to *_EP_INDEX_*.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240626124835.1023046-22-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/jitterentropy-kcapi.c')
0 files changed, 0 insertions, 0 deletions