Searched refs:ci_pdata (Results 1 – 1 of 1) sorted by relevance
52 struct ci_hdrc_platform_data *ci_pdata = dev_get_platdata(dev); in ci_hdrc_usb2_probe() local56 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()