Lines Matching refs:endpoint
116 struct xilly_endpoint *endpoint; in xilly_drv_probe() local
125 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe()
127 if (!endpoint) in xilly_drv_probe()
130 dev_set_drvdata(dev, endpoint); in xilly_drv_probe()
133 endpoint->registers = devm_ioremap_resource(dev, res); in xilly_drv_probe()
135 if (IS_ERR(endpoint->registers)) in xilly_drv_probe()
136 return PTR_ERR(endpoint->registers); in xilly_drv_probe()
140 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe()
143 dev_err(endpoint->dev, in xilly_drv_probe()
148 return xillybus_endpoint_discovery(endpoint); in xilly_drv_probe()
154 struct xilly_endpoint *endpoint = dev_get_drvdata(dev); in xilly_drv_remove() local
156 xillybus_endpoint_remove(endpoint); in xilly_drv_remove()