Home
last modified time | relevance | path

Searched refs:vme_base (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/staging/vme_user/
H A Dvme_fake.c45 unsigned long long vme_base; member
54 unsigned long long vme_base; member
155 unsigned long long vme_base, unsigned long long size, in fake_slave_set() argument
195 vme_bound = vme_base + size - granularity; in fake_slave_set()
197 if (vme_base & (granularity - 1)) { in fake_slave_set()
209 bridge->slaves[i].vme_base = vme_base; in fake_slave_set()
224 unsigned long long *vme_base, unsigned long long *size, in fake_slave_get() argument
237 *vme_base = bridge->slaves[i].vme_base; in fake_slave_get()
252 unsigned long long vme_base, unsigned long long size, in fake_master_set() argument
265 if (vme_base & 0xFFFF) { in fake_master_set()
[all …]
H A Dvme.c164 unsigned long long vme_base, unsigned long long size) in vme_check_window() argument
168 if (vme_base + size < size) in vme_check_window()
173 if (vme_base + size > VME_A16_MAX) in vme_check_window()
177 if (vme_base + size > VME_A24_MAX) in vme_check_window()
181 if (vme_base + size > VME_A32_MAX) in vme_check_window()
188 if (vme_base + size > VME_CRCSR_MAX) in vme_check_window()
328 unsigned long long vme_base, unsigned long long size, in vme_slave_set() argument
353 retval = vme_check_window(bridge, aspace, vme_base, size); in vme_slave_set()
357 return bridge->slave_set(image, enabled, vme_base, size, buf_base, in vme_slave_set()
378 unsigned long long *vme_base, unsigned long long *size, in vme_slave_get() argument
[all …]
H A Dvme_tsi148.c467 unsigned long long vme_base, unsigned long long size, in tsi148_slave_set() argument
507 reg_split(vme_base, &vme_base_high, &vme_base_low); in tsi148_slave_set()
513 vme_bound = vme_base + size - granularity; in tsi148_slave_set()
515 pci_offset = (unsigned long long)pci_base - vme_base; in tsi148_slave_set()
610 unsigned long long *vme_base, unsigned long long *size, in tsi148_slave_get() argument
642 reg_join(vme_base_high, vme_base_low, vme_base); in tsi148_slave_get()
646 *pci_base = (dma_addr_t)(*vme_base + pci_offset); in tsi148_slave_get()
673 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in tsi148_slave_get()
799 unsigned long long vme_base, unsigned long long size, in tsi148_master_set() argument
821 if (vme_base & 0xFFFF) { in tsi148_master_set()
[all …]
H A Dvme.h136 unsigned long long vme_base, unsigned long long size);