Home
last modified time | relevance | path

Searched refs:fotg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-core.c55 fotg->map = map; in fotg210_gemini_init()
64 fotg->port = GEMINI_PORT_1; in fotg210_gemini_init()
107 switch (fotg->port) { in fotg210_vbus()
130 struct fotg210 *fotg; in fotg210_probe() local
134 fotg = devm_kzalloc(dev, sizeof(*fotg), GFP_KERNEL); in fotg210_probe()
135 if (!fotg) in fotg210_probe()
137 fotg->dev = dev; in fotg210_probe()
139 fotg->base = devm_platform_get_and_ioremap_resource(pdev, 0, &fotg->res); in fotg210_probe()
140 if (IS_ERR(fotg->base)) in fotg210_probe()
144 if (IS_ERR(fotg->pclk)) in fotg210_probe()
[all …]
H A Dfotg210.h20 void fotg210_vbus(struct fotg210 *fotg, bool enable);
23 int fotg210_hcd_probe(struct platform_device *pdev, struct fotg210 *fotg);
29 struct fotg210 *fotg) in fotg210_hcd_probe() argument
47 int fotg210_udc_probe(struct platform_device *pdev, struct fotg210 *fotg);
51 struct fotg210 *fotg) in fotg210_udc_probe() argument
H A Dfotg210-udc.h240 struct fotg210 *fotg; member
H A Dfotg210-udc.c1107 fotg210_vbus(fotg210->fotg, is_active); in fotg210_vbus_session()
1173 int fotg210_udc_probe(struct platform_device *pdev, struct fotg210 *fotg) in fotg210_udc_probe() argument
1191 fotg210->fotg = fotg; in fotg210_udc_probe()
1215 fotg210->reg = fotg->base; in fotg210_udc_probe()
H A Dfotg210-hcd.h185 struct fotg210 *fotg; /* Overarching FOTG210 device */ member
H A Dfotg210-hcd.c5555 int fotg210_hcd_probe(struct platform_device *pdev, struct fotg210 *fotg) in fotg210_hcd_probe() argument
5581 hcd->regs = fotg->base; in fotg210_hcd_probe()
5583 hcd->rsrc_start = fotg->res->start; in fotg210_hcd_probe()
5584 hcd->rsrc_len = resource_size(fotg->res); in fotg210_hcd_probe()
5588 fotg210->fotg = fotg; in fotg210_hcd_probe()