Lines Matching defs:context
29 int gxio_usb_host_init(gxio_usb_host_context_t *context, int usb_index,
50 context->fd = fd;
53 context->mmio_base =
56 if (context->mmio_base == NULL) {
57 hv_dev_close(context->fd);
66 int gxio_usb_host_destroy(gxio_usb_host_context_t *context)
68 iounmap((void __force __iomem *)(context->mmio_base));
69 hv_dev_close(context->fd);
71 context->mmio_base = NULL;
72 context->fd = -1;
79 void *gxio_usb_host_get_reg_start(gxio_usb_host_context_t *context)
81 return context->mmio_base;
86 size_t gxio_usb_host_get_reg_len(gxio_usb_host_context_t *context)