Searched refs:vme_base (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/vme/
H A Dvme.c180 static int vme_check_window(u32 aspace, unsigned long long vme_base, vme_check_window() argument
187 if (((vme_base + size) > VME_A16_MAX) || vme_check_window()
188 (vme_base > VME_A16_MAX)) vme_check_window()
192 if (((vme_base + size) > VME_A24_MAX) || vme_check_window()
193 (vme_base > VME_A24_MAX)) vme_check_window()
197 if (((vme_base + size) > VME_A32_MAX) || vme_check_window()
198 (vme_base > VME_A32_MAX)) vme_check_window()
208 if (((vme_base + size) > VME_CRCSR_MAX) || vme_check_window()
209 (vme_base > VME_CRCSR_MAX)) vme_check_window()
296 unsigned long long vme_base, unsigned long long size, vme_slave_set()
321 retval = vme_check_window(aspace, vme_base, size); vme_slave_set()
325 return bridge->slave_set(image, enabled, vme_base, size, buf_base, vme_slave_set()
331 unsigned long long *vme_base, unsigned long long *size, vme_slave_get()
349 return bridge->slave_get(image, enabled, vme_base, size, buf_base, vme_slave_get()
455 unsigned long long vme_base, unsigned long long size, u32 aspace, vme_master_set()
481 retval = vme_check_window(aspace, vme_base, size); vme_master_set()
485 return bridge->master_set(image, enabled, vme_base, size, aspace, vme_master_set()
491 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, vme_master_get()
509 return bridge->master_get(image, enabled, vme_base, size, aspace, vme_master_get()
295 vme_slave_set(struct vme_resource *resource, int enabled, unsigned long long vme_base, unsigned long long size, dma_addr_t buf_base, u32 aspace, u32 cycle) vme_slave_set() argument
330 vme_slave_get(struct vme_resource *resource, int *enabled, unsigned long long *vme_base, unsigned long long *size, dma_addr_t *buf_base, u32 *aspace, u32 *cycle) vme_slave_get() argument
454 vme_master_set(struct vme_resource *resource, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) vme_master_set() argument
490 vme_master_get(struct vme_resource *resource, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) vme_master_get() argument
/linux-4.1.27/drivers/vme/bridges/
H A Dvme_tsi148.c556 unsigned long long vme_base, unsigned long long size, tsi148_slave_set()
597 reg_split(vme_base, &vme_base_high, &vme_base_low); tsi148_slave_set()
603 vme_bound = vme_base + size - granularity; tsi148_slave_set()
605 pci_offset = (unsigned long long)pci_base - vme_base; tsi148_slave_set()
701 unsigned long long *vme_base, unsigned long long *size, tsi148_slave_get()
733 reg_join(vme_base_high, vme_base_low, vme_base); tsi148_slave_get()
737 *pci_base = (dma_addr_t)(*vme_base + pci_offset); tsi148_slave_get()
764 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); tsi148_slave_get()
894 unsigned long long vme_base, unsigned long long size, u32 aspace, tsi148_master_set()
916 if (vme_base & 0xFFFF) { tsi148_master_set()
958 vme_offset = vme_base - pci_base; tsi148_master_set()
1136 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, __tsi148_master_get()
1172 *vme_base = pci_base + vme_offset; __tsi148_master_get()
1246 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, tsi148_master_get()
1253 retval = __tsi148_master_get(image, enabled, vme_base, size, aspace, tsi148_master_get()
1265 unsigned long long vme_base, size; tsi148_master_read() local
1323 __tsi148_master_get(image, &enabled, &vme_base, &size, &aspace, &cycle, tsi148_master_read()
1326 vme_err = tsi148_find_error(tsi148_bridge, aspace, vme_base + offset, tsi148_master_read()
1331 retval = vme_err->address - (vme_base + offset); tsi148_master_read()
1333 tsi148_clear_errors(tsi148_bridge, aspace, vme_base + offset, tsi148_master_read()
1348 unsigned long long vme_base, size; tsi148_master_write() local
1420 __tsi148_master_get(image, &enabled, &vme_base, &size, &aspace, &cycle, tsi148_master_write()
1425 vme_err = tsi148_find_error(tsi148_bridge, aspace, vme_base + offset, tsi148_master_write()
1430 retval = vme_err->address - (vme_base + offset); tsi148_master_write()
1432 tsi148_clear_errors(tsi148_bridge, aspace, vme_base + offset, tsi148_master_write()
555 tsi148_slave_set(struct vme_slave_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, dma_addr_t pci_base, u32 aspace, u32 cycle) tsi148_slave_set() argument
700 tsi148_slave_get(struct vme_slave_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, dma_addr_t *pci_base, u32 *aspace, u32 *cycle) tsi148_slave_get() argument
893 tsi148_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) tsi148_master_set() argument
1135 __tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __tsi148_master_get() argument
1245 tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) tsi148_master_get() argument
H A Dvme_ca91cx42.c342 unsigned long long vme_base, unsigned long long size, ca91cx42_slave_set()
387 vme_bound = vme_base + size; ca91cx42_slave_set()
388 pci_offset = pci_base - vme_base; ca91cx42_slave_set()
395 if (vme_base & (granularity - 1)) { ca91cx42_slave_set()
417 iowrite32(vme_base, bridge->base + CA91CX42_VSI_BS[i]); ca91cx42_slave_set()
448 unsigned long long *vme_base, unsigned long long *size, ca91cx42_slave_get()
467 *vme_base = ioread32(bridge->base + CA91CX42_VSI_BS[i]); ca91cx42_slave_get()
471 *pci_base = (dma_addr_t)vme_base + pci_offset; ca91cx42_slave_get()
472 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); ca91cx42_slave_get()
600 unsigned long long vme_base, unsigned long long size, u32 aspace, ca91cx42_master_set()
622 if (vme_base & (granularity - 1)) { ca91cx42_master_set()
657 vme_offset = vme_base - pci_base; ca91cx42_master_set()
757 int *enabled, unsigned long long *vme_base, unsigned long long *size, __ca91cx42_master_get()
774 *vme_base = pci_base + vme_offset; __ca91cx42_master_get()
844 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, ca91cx42_master_get()
851 retval = __ca91cx42_master_get(image, enabled, vme_base, size, aspace, ca91cx42_master_get()
341 ca91cx42_slave_set(struct vme_slave_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, dma_addr_t pci_base, u32 aspace, u32 cycle) ca91cx42_slave_set() argument
447 ca91cx42_slave_get(struct vme_slave_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, dma_addr_t *pci_base, u32 *aspace, u32 *cycle) ca91cx42_slave_get() argument
599 ca91cx42_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) ca91cx42_master_set() argument
756 __ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __ca91cx42_master_get() argument
843 ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) ca91cx42_master_get() argument

Completed in 80 milliseconds