2020-12-03 08:54:24 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2020-12-12 14:12:24 +08:00
|
|
|
.. _auxiliary_bus:
|
|
|
|
|
2020-12-03 08:54:24 +08:00
|
|
|
=============
|
|
|
|
Auxiliary Bus
|
|
|
|
=============
|
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: drivers/base/auxiliary.c
|
|
|
|
:doc: PURPOSE
|
2020-12-03 08:54:24 +08:00
|
|
|
|
|
|
|
When Should the Auxiliary Bus Be Used
|
|
|
|
=====================================
|
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: drivers/base/auxiliary.c
|
|
|
|
:doc: USAGE
|
2020-12-03 08:54:24 +08:00
|
|
|
|
|
|
|
|
2021-12-02 12:42:59 +08:00
|
|
|
Auxiliary Device Creation
|
|
|
|
=========================
|
2020-12-03 08:54:24 +08:00
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: include/linux/auxiliary_bus.h
|
|
|
|
:identifiers: auxiliary_device
|
2020-12-03 08:54:24 +08:00
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: drivers/base/auxiliary.c
|
|
|
|
:identifiers: auxiliary_device_init __auxiliary_device_add
|
|
|
|
auxiliary_find_device
|
2020-12-03 08:54:24 +08:00
|
|
|
|
|
|
|
Auxiliary Device Memory Model and Lifespan
|
|
|
|
------------------------------------------
|
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: include/linux/auxiliary_bus.h
|
|
|
|
:doc: DEVICE_LIFESPAN
|
2021-12-02 12:43:01 +08:00
|
|
|
|
2020-12-03 08:54:24 +08:00
|
|
|
|
|
|
|
Auxiliary Drivers
|
|
|
|
=================
|
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: include/linux/auxiliary_bus.h
|
|
|
|
:identifiers: auxiliary_driver module_auxiliary_driver
|
2021-12-02 12:43:00 +08:00
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: drivers/base/auxiliary.c
|
|
|
|
:identifiers: __auxiliary_driver_register auxiliary_driver_unregister
|
2021-12-02 12:43:00 +08:00
|
|
|
|
2020-12-03 08:54:24 +08:00
|
|
|
Example Usage
|
|
|
|
=============
|
|
|
|
|
2021-12-02 12:43:05 +08:00
|
|
|
.. kernel-doc:: drivers/base/auxiliary.c
|
|
|
|
:doc: EXAMPLE
|
2020-12-03 08:54:24 +08:00
|
|
|
|