Home
last modified time | relevance | path

Searched refs:bus_addr (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/pci/
H A Dpci_common.c144 pci_addr_t bus_addr, in __pci_hose_bus_to_phys() argument
161 if (bus_addr >= res->bus_start && in __pci_hose_bus_to_phys()
162 (bus_addr - res->bus_start) < res->size) { in __pci_hose_bus_to_phys()
163 *pa = (bus_addr - res->bus_start + res->phys_start); in __pci_hose_bus_to_phys()
172 pci_addr_t bus_addr, in pci_hose_bus_to_phys() argument
188 ret = __pci_hose_bus_to_phys(hose, bus_addr, in pci_hose_bus_to_phys()
194 ret = __pci_hose_bus_to_phys(hose, bus_addr, flags, 0, &phys_addr); in pci_hose_bus_to_phys()
209 pci_addr_t bus_addr; in __pci_hose_phys_to_bus() local
221 bus_addr = phys_addr - res->phys_start + res->bus_start; in __pci_hose_phys_to_bus()
223 if (bus_addr >= res->bus_start && in __pci_hose_phys_to_bus()
[all …]
H A Dpci-uclass.c1213 pci_addr_t bus_addr, unsigned long flags, in _dm_pci_bus_to_phys() argument
1221 *pa = bus_addr; in _dm_pci_bus_to_phys()
1234 if (bus_addr >= res->bus_start && in _dm_pci_bus_to_phys()
1235 (bus_addr - res->bus_start) < res->size) { in _dm_pci_bus_to_phys()
1236 *pa = (bus_addr - res->bus_start + res->phys_start); in _dm_pci_bus_to_phys()
1244 phys_addr_t dm_pci_bus_to_phys(struct udevice *dev, pci_addr_t bus_addr, in dm_pci_bus_to_phys() argument
1259 ret = _dm_pci_bus_to_phys(ctlr, bus_addr, in dm_pci_bus_to_phys()
1266 ret = _dm_pci_bus_to_phys(ctlr, bus_addr, flags, 0, &phys_addr); in dm_pci_bus_to_phys()
1280 pci_addr_t bus_addr; in _dm_pci_phys_to_bus() local
1302 bus_addr = phys_addr - res->phys_start + res->bus_start; in _dm_pci_phys_to_bus()
[all …]
H A Dpcie_layerscape.c95 u64 phys, u64 bus_addr, pci_size_t size) in ls_pcie_atu_outbound_set() argument
101 dbi_writel(pcie, (u32)bus_addr, PCIE_ATU_LOWER_TARGET); in ls_pcie_atu_outbound_set()
102 dbi_writel(pcie, bus_addr >> 32, PCIE_ATU_UPPER_TARGET); in ls_pcie_atu_outbound_set()
/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-santabarbara/plat-svc/files/
H A Dsantabarbara-early-sys-init50 bus_addr=$(basename "$dev") # e.g. "43-0021"
51 bus=${bus_addr%%-*} # "43"
52 addr=0x${bus_addr#*-00} # "0x21"
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-catalina/plat-svc/files/clemente/
H A Dplatform-early-sys-init28 bus_addr="$(printf "1-%04x" $addr)"
29 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/unbind
30 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/bind
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-catalina/plat-svc/files/catalina/
H A Dplatform-early-sys-init28 bus_addr="$(printf "18-%04x" $addr)"
29 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/unbind
30 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/bind
/openbmc/u-boot/board/ti/common/
H A Dboard_detect.c78 static int __maybe_unused ti_i2c_eeprom_get(int bus_addr, int dev_addr, in ti_i2c_eeprom_get() argument
88 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_eeprom_get()
133 rc = ti_i2c_eeprom_init(bus_addr, dev_addr); in ti_i2c_eeprom_get()
195 int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_am_get() argument
214 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_am_get()
241 int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_dra7_get() argument
262 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, DRA7_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_dra7_get()
H A Dboard_detect.h110 int ti_i2c_eeprom_am_get(int bus_addr, int dev_addr);
117 int ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr);
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/
H A Dventura-early-sys-init76 bus_addr="$(printf "18-%04x" $addr)"
77 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/unbind
78 echo "$bus_addr" > /sys/bus/i2c/drivers/max31790/bind
/openbmc/u-boot/arch/x86/include/asm/
H A Du-boot-x86.h52 u32 isa_map_rom(u32 bus_addr, int size);