Searched refs:onboard_dev (Results 1 – 1 of 1) sorted by relevance
298 struct dmi_dev_onboard *onboard_dev; in dmi_save_dev_onboard() local300 onboard_dev = dmi_alloc(sizeof(*onboard_dev) + strlen(name) + 1); in dmi_save_dev_onboard()301 if (!onboard_dev) { in dmi_save_dev_onboard()305 onboard_dev->instance = instance; in dmi_save_dev_onboard()306 onboard_dev->segment = segment; in dmi_save_dev_onboard()307 onboard_dev->bus = bus; in dmi_save_dev_onboard()308 onboard_dev->devfn = devfn; in dmi_save_dev_onboard()310 strcpy((char *)&onboard_dev[1], name); in dmi_save_dev_onboard()311 onboard_dev->dev.type = DMI_DEV_TYPE_DEV_ONBOARD; in dmi_save_dev_onboard()312 onboard_dev->dev.name = (char *)&onboard_dev[1]; in dmi_save_dev_onboard()[all …]