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

/linux-4.4.14/drivers/vme/
H A Dvme.c180 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()
202 if ((size != 0) && (vme_base > U64_MAX + 1 - size)) vme_check_window()
206 if (((vme_base + size) > VME_CRCSR_MAX) || vme_check_window()
207 (vme_base > VME_CRCSR_MAX)) vme_check_window()
328 unsigned long long vme_base, unsigned long long size, vme_slave_set()
353 retval = vme_check_window(aspace, vme_base, size); vme_slave_set()
357 return bridge->slave_set(image, enabled, vme_base, size, buf_base, vme_slave_set()
363 unsigned long long *vme_base, unsigned long long *size, vme_slave_get()
381 return bridge->slave_get(image, enabled, vme_base, size, buf_base, vme_slave_get()
487 unsigned long long vme_base, unsigned long long size, u32 aspace, vme_master_set()
513 retval = vme_check_window(aspace, vme_base, size); vme_master_set()
517 return bridge->master_set(image, enabled, vme_base, size, aspace, vme_master_set()
523 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, vme_master_get()
541 return bridge->master_get(image, enabled, vme_base, size, aspace, vme_master_get()
327 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
362 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
486 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
522 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.4.14/drivers/vme/bridges/
H A Dvme_tsi148.c478 unsigned long long vme_base, unsigned long long size, tsi148_slave_set()
519 reg_split(vme_base, &vme_base_high, &vme_base_low); tsi148_slave_set()
525 vme_bound = vme_base + size - granularity; tsi148_slave_set()
527 pci_offset = (unsigned long long)pci_base - vme_base; tsi148_slave_set()
623 unsigned long long *vme_base, unsigned long long *size, tsi148_slave_get()
655 reg_join(vme_base_high, vme_base_low, vme_base); tsi148_slave_get()
659 *pci_base = (dma_addr_t)(*vme_base + pci_offset); tsi148_slave_get()
686 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); tsi148_slave_get()
816 unsigned long long vme_base, unsigned long long size, u32 aspace, tsi148_master_set()
838 if (vme_base & 0xFFFF) { tsi148_master_set()
880 vme_offset = vme_base - pci_base; tsi148_master_set()
1058 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, __tsi148_master_get()
1094 *vme_base = pci_base + vme_offset; __tsi148_master_get()
1168 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, tsi148_master_get()
1175 retval = __tsi148_master_get(image, enabled, vme_base, size, aspace, tsi148_master_get()
1187 unsigned long long vme_base, size; tsi148_master_read() local
1200 __tsi148_master_get(image, &enabled, &vme_base, &size, &aspace, tsi148_master_read()
1203 vme_base + offset, count); tsi148_master_read()
1258 retval = handler->first_error - (vme_base + offset); tsi148_master_read()
1273 unsigned long long vme_base, size; tsi148_master_write() local
1290 __tsi148_master_get(image, &enabled, &vme_base, &size, &aspace, tsi148_master_write()
1293 vme_base + offset, count); tsi148_master_write()
1356 retval = handler->first_error - (vme_base + offset); tsi148_master_write()
477 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
622 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
815 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
1057 __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
1167 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.c341 unsigned long long vme_base, unsigned long long size, ca91cx42_slave_set()
386 vme_bound = vme_base + size; ca91cx42_slave_set()
387 pci_offset = pci_base - vme_base; ca91cx42_slave_set()
394 if (vme_base & (granularity - 1)) { ca91cx42_slave_set()
416 iowrite32(vme_base, bridge->base + CA91CX42_VSI_BS[i]); ca91cx42_slave_set()
447 unsigned long long *vme_base, unsigned long long *size, ca91cx42_slave_get()
466 *vme_base = ioread32(bridge->base + CA91CX42_VSI_BS[i]); ca91cx42_slave_get()
470 *pci_base = (dma_addr_t)vme_base + pci_offset; ca91cx42_slave_get()
471 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); ca91cx42_slave_get()
599 unsigned long long vme_base, unsigned long long size, u32 aspace, ca91cx42_master_set()
621 if (vme_base & (granularity - 1)) { ca91cx42_master_set()
656 vme_offset = vme_base - pci_base; ca91cx42_master_set()
756 int *enabled, unsigned long long *vme_base, unsigned long long *size, __ca91cx42_master_get()
773 *vme_base = pci_base + vme_offset; __ca91cx42_master_get()
843 unsigned long long *vme_base, unsigned long long *size, u32 *aspace, ca91cx42_master_get()
850 retval = __ca91cx42_master_get(image, enabled, vme_base, size, aspace, ca91cx42_master_get()
340 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
446 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
598 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
755 __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
842 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
/linux-4.4.14/include/linux/
H A Dvme.h126 int vme_check_window(u32 aspace, unsigned long long vme_base,

Completed in 212 milliseconds