Home
last modified time | relevance | path

Searched refs:vme_master_resource (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/staging/vme_user/
H A Dvme_bridge.h11 struct vme_master_resource { struct
137 int (*master_get)(struct vme_master_resource *, int *, unsigned long long *,
139 int (*master_set)(struct vme_master_resource *, int, unsigned long long,
141 ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
142 ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
143 unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int,
H A Dvme.c53 return list_entry(resource->entry, struct vme_master_resource, in find_bridge()
486 struct vme_master_resource *allocated_image = NULL; in vme_master_request()
487 struct vme_master_resource *master_image = NULL; in vme_master_request()
499 struct vme_master_resource, list); in vme_master_request()
568 struct vme_master_resource *image; in vme_master_set()
576 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_set()
619 struct vme_master_resource *image; in vme_master_get()
626 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_get()
657 struct vme_master_resource *image; in vme_master_read()
670 image = list_entry(resource->entry, struct vme_master_resource, list); in vme_master_read()
[all …]
H A Dvme_fake.c251 static int fake_master_set(struct vme_master_resource *image, int enabled, in fake_master_set()
337 static int __fake_master_get(struct vme_master_resource *image, int *enabled, in __fake_master_get()
358 static int fake_master_get(struct vme_master_resource *image, int *enabled, in fake_master_get()
513 static ssize_t fake_master_read(struct vme_master_resource *image, void *buf, in fake_master_read()
702 static ssize_t fake_master_write(struct vme_master_resource *image, void *buf, in fake_master_write()
804 static unsigned int fake_master_rmw(struct vme_master_resource *image, in fake_master_rmw()
1063 struct vme_master_resource *master_image; in fake_init()
1228 master_image = list_entry(pos, struct vme_master_resource, in fake_init()
1245 struct vme_master_resource *master_image; in fake_exit()
1283 master_image = list_entry(pos, struct vme_master_resource, in fake_exit()
H A Dvme_tsi148.c708 static int tsi148_alloc_resource(struct vme_master_resource *image, in tsi148_alloc_resource()
786 static void tsi148_free_resource(struct vme_master_resource *image) in tsi148_free_resource()
798 static int tsi148_master_set(struct vme_master_resource *image, int enabled, in tsi148_master_set()
1033 static int __tsi148_master_get(struct vme_master_resource *image, int *enabled, in __tsi148_master_get()
1142 static int tsi148_master_get(struct vme_master_resource *image, int *enabled, in tsi148_master_get()
1158 static ssize_t tsi148_master_read(struct vme_master_resource *image, void *buf, in tsi148_master_read()
1243 static ssize_t tsi148_master_write(struct vme_master_resource *image, void *buf, in tsi148_master_write()
1345 static unsigned int tsi148_master_rmw(struct vme_master_resource *image, in tsi148_master_rmw()
2250 struct vme_master_resource *master_image; in tsi148_probe()
2515 master_image = list_entry(pos, struct vme_master_resource, in tsi148_probe()
[all …]
H A Dvme_tsi148.h41 struct vme_master_resource *flush_image;