Home
last modified time | relevance | path

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

/external/u-boot/drivers/pci/
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 …]
Dpci-uclass.c1178 pci_addr_t bus_addr, unsigned long flags, in _dm_pci_bus_to_phys() argument
1186 *pa = bus_addr; in _dm_pci_bus_to_phys()
1199 if (bus_addr >= res->bus_start && in _dm_pci_bus_to_phys()
1200 (bus_addr - res->bus_start) < res->size) { in _dm_pci_bus_to_phys()
1201 *pa = (bus_addr - res->bus_start + res->phys_start); in _dm_pci_bus_to_phys()
1209 phys_addr_t dm_pci_bus_to_phys(struct udevice *dev, pci_addr_t bus_addr, in dm_pci_bus_to_phys() argument
1224 ret = _dm_pci_bus_to_phys(ctlr, bus_addr, in dm_pci_bus_to_phys()
1231 ret = _dm_pci_bus_to_phys(ctlr, bus_addr, flags, 0, &phys_addr); in dm_pci_bus_to_phys()
1245 pci_addr_t bus_addr; in _dm_pci_phys_to_bus() local
1267 bus_addr = phys_addr - res->phys_start + res->bus_start; in _dm_pci_phys_to_bus()
[all …]
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()
/external/u-boot/board/ti/common/
Dboard_detect.c28 int __maybe_unused ti_i2c_set_alen(int bus_addr, int dev_addr, int alen) in ti_i2c_set_alen() argument
34 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_set_alen()
47 int __maybe_unused ti_i2c_set_alen(int bus_addr, int dev_addr, int alen) in ti_i2c_set_alen() argument
122 static int __maybe_unused ti_i2c_eeprom_get(int bus_addr, int dev_addr, in ti_i2c_eeprom_get() argument
129 rc = ti_i2c_eeprom_init(bus_addr, dev_addr); in ti_i2c_eeprom_get()
138 rc = ti_i2c_set_alen(bus_addr, dev_addr, byte); in ti_i2c_eeprom_get()
155 rc = ti_i2c_set_alen(bus_addr, dev_addr, byte); in ti_i2c_eeprom_get()
199 int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_am_get() argument
218 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_am_get()
245 int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_dra7_get() argument
[all …]
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);
/external/libusb/libusb/os/
Dwince_usb.c148 unsigned char bus_addr, unsigned char dev_addr) in init_device() argument
153 dev->bus_number = bus_addr; in init_device()
282 unsigned char bus_addr, dev_addr; in wince_get_device_list() local
297 success = UkwGetDeviceAddress(devices[i], &bus_addr, &dev_addr, &session_id); in wince_get_device_list()
307 bus_addr, dev_addr, session_id); in wince_get_device_list()
314 bus_addr, dev_addr, session_id); in wince_get_device_list()
321 r = init_device(dev, devices[i], bus_addr, dev_addr); in wince_get_device_list()
/external/u-boot/arch/x86/include/asm/
Du-boot-x86.h53 u32 isa_map_rom(u32 bus_addr, int size);