Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/chipidea/
Dci_hdrc_usb2.c49 struct ci_hdrc_platform_data *ci_pdata = dev_get_platdata(dev); in ci_hdrc_usb2_probe() local
53 if (!ci_pdata) { in ci_hdrc_usb2_probe()
54 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
55 *ci_pdata = ci_default_pdata; /* struct copy */ in ci_hdrc_usb2_probe()
61 *ci_pdata = *(struct ci_hdrc_platform_data *)match->data; in ci_hdrc_usb2_probe()
81 ci_pdata->name = dev_name(dev); in ci_hdrc_usb2_probe()
84 pdev->num_resources, ci_pdata); in ci_hdrc_usb2_probe()