freebsd-dev/sys/dev/sdhci
Marius Strobl ab00a509ee o Don't allocate resources for SDMA in sdhci(4) if the controller or the
front-end doesn't support SDMA or the latter implements a platform-
  specific transfer method instead. While at it, factor out allocation
  and freeing of SDMA resources to sdhci_dma_{alloc,free}() in order to
  keep the code more readable when adding support for ADMA variants.

o Base the size of the SDMA bounce buffer on MAXPHYS up to the maximum
  of 512 KiB instead of using a fixed 4-KiB-buffer. With the default
  MAXPHYS of 128 KiB and depending on the controller and medium, this
  reduces the number of SDHCI interrupts by a factor of ~16 to ~32 on
  sequential reads while an increase of throughput of up to ~84 % was
  seen.

  Front-ends for broken controllers that only support an SDMA buffer
  boundary of a specific size may set SDHCI_QUIRK_BROKEN_SDMA_BOUNDARY
  and supply a size via struct sdhci_slot. According to Linux, only
  Qualcomm MSM-type SDHCI controllers are affected by this, though.

  Requested by: Shreyank Amartya (unconditional bump to 512 KiB)

o Introduce a SDHCI_DEPEND macro for specifying the dependency of the
  front-end modules on the sdhci(4) one and bump the module version
  of sdhci(4) to 2 via an also newly introduced SDHCI_VERSION in order
  to ensure that all components are in sync WRT struct sdhci_slot.

o In sdhci(4):
  - Make pointers const were applicable,
  - replace a few device_printf(9) calls with slot_printf() for
    consistency, and
  - sync some local functions with their prototypes WRT static.
2018-12-30 23:08:06 +00:00
..
fsl_sdhci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_acpi.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_fdt_gpio.c Release all previously allocated resources. 2017-03-08 14:52:03 +00:00
sdhci_fdt_gpio.h Add new helper routines for sdhci bridge drivers that use gpio pins for 2017-01-09 01:54:36 +00:00
sdhci_fdt.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_if.m o Add support for eMMC HS200 and HS400 bus speed modes at 200 MHz to 2017-07-23 16:11:47 +00:00
sdhci_pci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_xenon.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_xenon.h Add support to the Marvell Xenon SDHCI controller. 2018-08-14 16:33:30 +00:00
sdhci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci.h o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00