b8265621f4
The pldmfw library is used to implement common logic needed to flash devices based on firmware files using the format described by the PLDM for Firmware Update standard. This library consists of logic to parse the PLDM file format from a firmware file object, as well as common logic for sending the relevant PLDM header data to the device firmware. A simple ops table is provided so that device drivers can implement device specific hardware interactions while keeping the common logic to the pldmfw library. This library will be used by the Intel ice networking driver as part of implementing device flash update via devlink. The library aims to be vendor and device agnostic. For this reason, it has been placed in lib/pldmfw, in the hopes that other devices which use the PLDM firmware file format may benefit from it in the future. However, do note that not all features defined in the PLDM standard have been implemented. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
117 lines
1.7 KiB
ReStructuredText
117 lines
1.7 KiB
ReStructuredText
========================================
|
|
The Linux driver implementer's API guide
|
|
========================================
|
|
|
|
The kernel offers a wide variety of interfaces to support the development
|
|
of device drivers. This document is an only somewhat organized collection
|
|
of some of those interfaces — it will hopefully get better over time! The
|
|
available subsections can be seen below.
|
|
|
|
.. class:: toc-title
|
|
|
|
Table of contents
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
driver-model/index
|
|
basics
|
|
infrastructure
|
|
ioctl
|
|
early-userspace/index
|
|
pm/index
|
|
clk
|
|
device-io
|
|
device_connection
|
|
dma-buf
|
|
device_link
|
|
component
|
|
message-based
|
|
infiniband
|
|
sound
|
|
frame-buffer
|
|
regulator
|
|
iio/index
|
|
input
|
|
usb/index
|
|
firewire
|
|
pci/index
|
|
spi
|
|
i2c
|
|
ipmb
|
|
ipmi
|
|
i3c/index
|
|
interconnect
|
|
devfreq
|
|
hsi
|
|
edac
|
|
scsi
|
|
libata
|
|
target
|
|
mtdnand
|
|
miscellaneous
|
|
mei/index
|
|
mtd/index
|
|
mmc/index
|
|
nvdimm/index
|
|
w1
|
|
rapidio/index
|
|
s390-drivers
|
|
vme
|
|
80211/index
|
|
uio-howto
|
|
firmware/index
|
|
pinctl
|
|
gpio/index
|
|
md/index
|
|
media/index
|
|
misc_devices
|
|
nfc/index
|
|
dmaengine/index
|
|
slimbus
|
|
soundwire/index
|
|
thermal/index
|
|
fpga/index
|
|
acpi/index
|
|
backlight/lp855x-driver.rst
|
|
connector
|
|
console
|
|
dcdbas
|
|
eisa
|
|
ipmb
|
|
isa
|
|
isapnp
|
|
io-mapping
|
|
io_ordering
|
|
generic-counter
|
|
lightnvm-pblk
|
|
memory-devices/index
|
|
men-chameleon-bus
|
|
ntb
|
|
nvmem
|
|
parport-lowlevel
|
|
pps
|
|
ptp
|
|
phy/index
|
|
pti_intel_mid
|
|
pwm
|
|
pldmfw/index
|
|
rfkill
|
|
serial/index
|
|
sm501
|
|
smsc_ece1099
|
|
switchtec
|
|
sync_file
|
|
vfio-mediated-device
|
|
vfio
|
|
xilinx/index
|
|
xillybus
|
|
zorro
|
|
|
|
.. only:: subproject and html
|
|
|
|
Indices
|
|
=======
|
|
|
|
* :ref:`genindex`
|