freebsd-dev/sys/dev/bhnd
Landon J. Fuller 9ed453245b bhnd(4): Add support for querying DMA address translation parameters
BHND Wi-Fi chipsets and SoCs share a common DMA engine, operating within
backplane address space. To support host DMA on Wi-Fi chipsets, the bridge
core maps host address space onto the backplane; any host addresses must
be translated to their corresponding backplane address.


- Defines a new bhnd_get_dma_translation(9) API to support querying DMA
  address translation parameters from the bhnd(4) bus.
- Extends bhndb(4) to provide DMA translation descriptors from a DMA
  address translation table defined in the host bridge-specific
  bhndb_hwcfg.
- Defines bhndb(4) DMA address translation tables for all supported host
  bridge cores.
- Extends mips/broadcom's bhnd_nexus driver to return an identity (no-op)
  DMA translation descriptor; no translation is required when addressing
  the SoC backplane.

Approved by:	adrian (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12582
2017-11-21 23:25:22 +00:00
..
bcma bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
cores bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
nvram bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
siba bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
tools bhnd: remove srand() to ensure deterministic output 2016-12-21 15:45:23 +00:00
bhnd_bus_if.m bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhnd_debug.h - Fix make in sys/modules/bhnd 2016-11-01 03:49:31 +00:00
bhnd_erom_if.m bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhnd_erom_types.h Implement a generic bhnd(4) device enumeration table API. 2016-09-03 23:57:17 +00:00
bhnd_erom.c bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhnd_erom.h bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhnd_eromvar.h bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhnd_ids.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhnd_match.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhnd_private.h bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bhnd_subr.c bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhnd_types.h bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bhnd.c bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhnd.h bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndreg.h bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhndvar.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00