/drivers/base/ |
D | auxiliary.c | 162 const struct auxiliary_device *auxdev) in auxiliary_match_id() argument 165 const char *p = strrchr(dev_name(&auxdev->dev), '.'); in auxiliary_match_id() 170 match_size = p - dev_name(&auxdev->dev); in auxiliary_match_id() 174 !strncmp(dev_name(&auxdev->dev), id->name, match_size)) in auxiliary_match_id() 182 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_match() local 185 return !!auxiliary_match_id(auxdrv->id_table, auxdev); in auxiliary_match() 207 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_bus_probe() local 216 ret = auxdrv->probe(auxdev, auxiliary_match_id(auxdrv->id_table, auxdev)); in auxiliary_bus_probe() 226 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_bus_remove() local 229 auxdrv->remove(auxdev); in auxiliary_bus_remove() [all …]
|
/drivers/soundwire/ |
D | intel_init.c | 23 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in intel_link_dev_release() local 24 struct sdw_intel_link_dev *ldev = auxiliary_dev_to_sdw_intel_link_dev(auxdev); in intel_link_dev_release() 38 struct auxiliary_device *auxdev; in intel_link_dev_register() local 45 auxdev = &ldev->auxdev; in intel_link_dev_register() 46 auxdev->name = name; in intel_link_dev_register() 47 auxdev->dev.parent = res->parent; in intel_link_dev_register() 48 auxdev->dev.fwnode = fwnode; in intel_link_dev_register() 49 auxdev->dev.release = intel_link_dev_release; in intel_link_dev_register() 52 auxdev->id = link_id; in intel_link_dev_register() 78 ret = auxiliary_device_init(auxdev); in intel_link_dev_register() [all …]
|
D | intel.h | 50 int intel_link_startup(struct auxiliary_device *auxdev); 51 int intel_link_process_wakeen_event(struct auxiliary_device *auxdev); 54 struct auxiliary_device auxdev; member 59 container_of(auxiliary_dev, struct sdw_intel_link_dev, auxdev)
|
D | intel.c | 1492 static int intel_link_probe(struct auxiliary_device *auxdev, in intel_link_probe() argument 1496 struct device *dev = &auxdev->dev; in intel_link_probe() 1497 struct sdw_intel_link_dev *ldev = auxiliary_dev_to_sdw_intel_link_dev(auxdev); in intel_link_probe() 1510 sdw->instance = auxdev->id; in intel_link_probe() 1517 bus->link_id = auxdev->id; in intel_link_probe() 1527 auxiliary_set_drvdata(auxdev, cdns); in intel_link_probe() 1554 int intel_link_startup(struct auxiliary_device *auxdev) in intel_link_startup() argument 1556 struct device *dev = &auxdev->dev; in intel_link_startup() 1557 struct sdw_cdns *cdns = auxiliary_get_drvdata(auxdev); in intel_link_startup() 1658 static void intel_link_remove(struct auxiliary_device *auxdev) in intel_link_remove() argument [all …]
|
/drivers/platform/x86/intel/pmt/ |
D | telemetry.c | 94 static void pmt_telem_remove(struct auxiliary_device *auxdev) in pmt_telem_remove() argument 96 struct pmt_telem_priv *priv = auxiliary_get_drvdata(auxdev); in pmt_telem_remove() 103 static int pmt_telem_probe(struct auxiliary_device *auxdev, const struct auxiliary_device_id *id) in pmt_telem_probe() argument 105 struct intel_vsec_device *intel_vsec_dev = auxdev_to_ivdev(auxdev); in pmt_telem_probe() 111 priv = devm_kzalloc(&auxdev->dev, size, GFP_KERNEL); in pmt_telem_probe() 115 auxiliary_set_drvdata(auxdev, priv); in pmt_telem_probe() 131 pmt_telem_remove(auxdev); in pmt_telem_probe()
|
D | crashlog.c | 260 static void pmt_crashlog_remove(struct auxiliary_device *auxdev) in pmt_crashlog_remove() argument 262 struct pmt_crashlog_priv *priv = auxiliary_get_drvdata(auxdev); in pmt_crashlog_remove() 269 static int pmt_crashlog_probe(struct auxiliary_device *auxdev, in pmt_crashlog_probe() argument 272 struct intel_vsec_device *intel_vsec_dev = auxdev_to_ivdev(auxdev); in pmt_crashlog_probe() 278 priv = devm_kzalloc(&auxdev->dev, size, GFP_KERNEL); in pmt_crashlog_probe() 282 auxiliary_set_drvdata(auxdev, priv); in pmt_crashlog_probe() 298 pmt_crashlog_remove(auxdev); in pmt_crashlog_probe()
|
D | class.c | 308 struct device *dev = &intel_vsec_dev->auxdev.dev; in intel_pmt_dev_create()
|
/drivers/platform/x86/intel/ |
D | vsec.h | 35 struct auxiliary_device auxdev; member 52 return container_of(dev, struct intel_vsec_device, auxdev.dev); in dev_to_ivdev() 55 static inline struct intel_vsec_device *auxdev_to_ivdev(struct auxiliary_device *auxdev) in auxdev_to_ivdev() argument 57 return container_of(auxdev, struct intel_vsec_device, auxdev); in auxdev_to_ivdev()
|
D | vsec.c | 136 ida_free(intel_vsec_dev->ida, intel_vsec_dev->auxdev.id); in intel_vsec_dev_release() 147 struct auxiliary_device *auxdev = &intel_vsec_dev->auxdev; in intel_vsec_add_aux() local 171 auxdev->id = id; in intel_vsec_add_aux() 172 auxdev->name = name; in intel_vsec_add_aux() 173 auxdev->dev.parent = parent; in intel_vsec_add_aux() 174 auxdev->dev.release = intel_vsec_dev_release; in intel_vsec_add_aux() 176 ret = auxiliary_device_init(auxdev); in intel_vsec_add_aux() 179 ida_free(intel_vsec_dev->ida, auxdev->id); in intel_vsec_add_aux() 186 ret = auxiliary_device_add(auxdev); in intel_vsec_add_aux() 188 auxiliary_device_uninit(auxdev); in intel_vsec_add_aux() [all …]
|
D | sdsi.c | 537 static int sdsi_probe(struct auxiliary_device *auxdev, const struct auxiliary_device_id *id) in sdsi_probe() argument 539 struct intel_vsec_device *intel_cap_dev = auxdev_to_ivdev(auxdev); in sdsi_probe() 546 priv = devm_kzalloc(&auxdev->dev, sizeof(*priv), GFP_KERNEL); in sdsi_probe() 550 priv->dev = &auxdev->dev; in sdsi_probe() 552 auxiliary_set_drvdata(auxdev, priv); in sdsi_probe() 556 disc_addr = devm_ioremap_resource(&auxdev->dev, disc_res); in sdsi_probe()
|