Home
last modified time | relevance | path

Searched hist:"0 f141368281b9878e161f5dcbce579cd4033db62" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/pci/
H A Dpci-uclass.c0f141368281b9878e161f5dcbce579cd4033db62 Mon Oct 15 09:21:21 UTC 2018 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: dm: pci: Add APIs to find next capability and extended capability

This introduces two new APIs dm_pci_find_next_capability() and
dm_pci_find_next_ext_capability() to get PCI capability address
and PCI express extended capability address for a given PCI device
starting from a given offset.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[cherry-picked from a8c5f8d3d02807f72d048950d72b0c73d55bd7fb]
Change-Id: Idf9867b415b066984757bf021f4e441fe3c5d787
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
/rk3399_rockchip-uboot/include/
H A Dpci.h0f141368281b9878e161f5dcbce579cd4033db62 Mon Oct 15 09:21:21 UTC 2018 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: dm: pci: Add APIs to find next capability and extended capability

This introduces two new APIs dm_pci_find_next_capability() and
dm_pci_find_next_ext_capability() to get PCI capability address
and PCI express extended capability address for a given PCI device
starting from a given offset.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[cherry-picked from a8c5f8d3d02807f72d048950d72b0c73d55bd7fb]
Change-Id: Idf9867b415b066984757bf021f4e441fe3c5d787
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>