Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/vme_user/
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 …]
Dvme.c193 int vme_check_window(u32 aspace, unsigned long long vme_base, in vme_check_window() argument
198 if (vme_base + size < size) in vme_check_window()
203 if (vme_base + size > VME_A16_MAX) in vme_check_window()
207 if (vme_base + size > VME_A24_MAX) in vme_check_window()
211 if (vme_base + size > VME_A32_MAX) in vme_check_window()
218 if (vme_base + size > VME_CRCSR_MAX) in vme_check_window()
362 unsigned long long vme_base, unsigned long long size, in vme_slave_set() argument
387 retval = vme_check_window(aspace, vme_base, size); in vme_slave_set()
391 return bridge->slave_set(image, enabled, vme_base, size, buf_base, in vme_slave_set()
412 unsigned long long *vme_base, unsigned long long *size, in vme_slave_get() argument
[all …]
Dvme_tsi148.c468 unsigned long long vme_base, unsigned long long size, in tsi148_slave_set() argument
508 reg_split(vme_base, &vme_base_high, &vme_base_low); in tsi148_slave_set()
514 vme_bound = vme_base + size - granularity; in tsi148_slave_set()
516 pci_offset = (unsigned long long)pci_base - vme_base; in tsi148_slave_set()
611 unsigned long long *vme_base, unsigned long long *size, in tsi148_slave_get() argument
643 reg_join(vme_base_high, vme_base_low, vme_base); in tsi148_slave_get()
647 *pci_base = (dma_addr_t)(*vme_base + pci_offset); in tsi148_slave_get()
674 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in tsi148_slave_get()
801 unsigned long long vme_base, unsigned long long size, u32 aspace, in tsi148_master_set() argument
823 if (vme_base & 0xFFFF) { in tsi148_master_set()
[all …]
Dvme.h135 int vme_check_window(u32 aspace, unsigned long long vme_base,