Home
last modified time | relevance | path

Searched refs:func_offset (Results 1 – 2 of 2) sorted by relevance

/drivers/pci/controller/dwc/
Dpcie-designware-ep.c49 unsigned int func_offset = 0; in dw_pcie_ep_func_select() local
52 func_offset = ep->ops->func_conf_select(ep, func_no); in dw_pcie_ep_func_select()
54 return func_offset; in dw_pcie_ep_func_select()
61 unsigned int func_offset = 0; in __dw_pcie_ep_reset_bar() local
64 func_offset = dw_pcie_ep_func_select(ep, func_no); in __dw_pcie_ep_reset_bar()
66 reg = func_offset + PCI_BASE_ADDRESS_0 + (4 * bar); in __dw_pcie_ep_reset_bar()
92 unsigned int func_offset = 0; in __dw_pcie_ep_find_next_cap() local
99 func_offset = dw_pcie_ep_func_select(ep, func_no); in __dw_pcie_ep_find_next_cap()
101 reg = dw_pcie_readw_dbi(pci, func_offset + cap_ptr); in __dw_pcie_ep_find_next_cap()
117 unsigned int func_offset = 0; in dw_pcie_ep_find_capability() local
[all …]
Dpci-layerscape-ep.c38 u32 func_offset; member
192 WARN_ON(func_no && !pcie->drvdata->func_offset); in ls_pcie_ep_func_conf_select()
193 return pcie->drvdata->func_offset * func_no; in ls_pcie_ep_func_conf_select()
208 .func_offset = 0x20000,
213 .func_offset = 0x8000,