Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/chipidea/
H A Dci_hdrc_usb2.c52 struct ci_hdrc_platform_data *ci_pdata = dev_get_platdata(dev); in ci_hdrc_usb2_probe() local
56 if (!ci_pdata) { in ci_hdrc_usb2_probe()
57 ci_pdata = devm_kmalloc(dev, sizeof(*ci_pdata), GFP_KERNEL); in ci_hdrc_usb2_probe()
58 if (!ci_pdata) in ci_hdrc_usb2_probe()
60 *ci_pdata = ci_default_pdata; /* struct copy */ in ci_hdrc_usb2_probe()
66 *ci_pdata = *(struct ci_hdrc_platform_data *)match->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()
/kernel/linux/linux-6.6/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 = *(struct ci_hdrc_platform_data *)match->data; in ci_hdrc_usb2_probe()
84 ci_pdata->name = dev_name(dev); in ci_hdrc_usb2_probe()
87 pdev->num_resources, ci_pdata); in ci_hdrc_usb2_probe()

Completed in 1 milliseconds