Home
last modified time | relevance | path

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

/linux/drivers/usb/chipidea/
H A Dci_hdrc_usb2.c53 struct ci_hdrc_platform_data *ci_pdata = dev_get_platdata(dev); in ci_hdrc_usb2_probe() local
57 if (!ci_pdata) { in ci_hdrc_usb2_probe()
58 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
59 if (!ci_pdata) in ci_hdrc_usb2_probe()
61 *ci_pdata = ci_default_pdata; /* struct copy */ in ci_hdrc_usb2_probe()
67 *ci_pdata = *data; in ci_hdrc_usb2_probe()
83 ci_pdata->name = dev_name(dev); in ci_hdrc_usb2_probe()
86 pdev->num_resources, ci_pdata); in ci_hdrc_usb2_probe()