Lines Matching refs:vme_resource
56 static struct vme_bridge *find_bridge(struct vme_resource *resource)
83 void *vme_alloc_consistent(struct vme_resource *resource, size_t size,
111 void vme_free_consistent(struct vme_resource *resource, size_t size,
135 size_t vme_get_size(struct vme_resource *resource)
219 struct vme_resource *vme_slave_request(struct device *dev,
226 struct vme_resource *resource = NULL;
262 resource = kmalloc(sizeof(struct vme_resource), GFP_KERNEL);
283 int vme_slave_set(struct vme_resource *resource, int enabled,
318 int vme_slave_get(struct vme_resource *resource, int *enabled,
342 void vme_slave_free(struct vme_resource *resource)
375 struct vme_resource *vme_master_request(struct device *dev,
382 struct vme_resource *resource = NULL;
421 resource = kmalloc(sizeof(struct vme_resource), GFP_KERNEL);
443 int vme_master_set(struct vme_resource *resource, int enabled,
479 int vme_master_get(struct vme_resource *resource, int *enabled,
506 ssize_t vme_master_read(struct vme_resource *resource, void *buf, size_t count,
543 ssize_t vme_master_write(struct vme_resource *resource, void *buf,
579 unsigned int vme_master_rmw(struct vme_resource *resource, unsigned int mask,
601 void vme_master_free(struct vme_resource *resource)
634 struct vme_resource *vme_dma_request(struct device *dev, vme_dma_route_t route)
640 struct vme_resource *resource = NULL;
677 resource = kmalloc(sizeof(struct vme_resource), GFP_KERNEL);
701 struct vme_dma_list *vme_new_dma_list(struct vme_resource *resource)
933 int vme_dma_free(struct vme_resource *resource)
1084 struct vme_resource *vme_lm_request(struct device *dev)
1090 struct vme_resource *resource = NULL;
1124 resource = kmalloc(sizeof(struct vme_resource), GFP_KERNEL);
1145 int vme_lm_count(struct vme_resource *resource)
1160 int vme_lm_set(struct vme_resource *resource, unsigned long long lm_base,
1182 int vme_lm_get(struct vme_resource *resource, unsigned long long *lm_base,
1204 int vme_lm_attach(struct vme_resource *resource, int monitor,
1226 int vme_lm_detach(struct vme_resource *resource, int monitor)
1247 void vme_lm_free(struct vme_resource *resource)