Home
last modified time | relevance | path

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

/drivers/base/
Dauxiliary.c21 const struct auxiliary_device *auxdev) in auxiliary_match_id() argument
24 const char *p = strrchr(dev_name(&auxdev->dev), '.'); in auxiliary_match_id()
29 match_size = p - dev_name(&auxdev->dev); in auxiliary_match_id()
33 !strncmp(dev_name(&auxdev->dev), id->name, match_size)) in auxiliary_match_id()
41 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_match() local
44 return !!auxiliary_match_id(auxdrv->id_table, auxdev); in auxiliary_match()
66 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_bus_probe() local
75 ret = auxdrv->probe(auxdev, auxiliary_match_id(auxdrv->id_table, auxdev)); in auxiliary_bus_probe()
85 struct auxiliary_device *auxdev = to_auxiliary_dev(dev); in auxiliary_bus_remove() local
88 auxdrv->remove(auxdev); in auxiliary_bus_remove()
[all …]
/drivers/soundwire/
Dintel_init.c23 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 …]
Dintel.h50 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)
Dintel.c1262 static int intel_link_probe(struct auxiliary_device *auxdev, in intel_link_probe() argument
1266 struct device *dev = &auxdev->dev; in intel_link_probe()
1267 struct sdw_intel_link_dev *ldev = auxiliary_dev_to_sdw_intel_link_dev(auxdev); in intel_link_probe()
1280 sdw->instance = auxdev->id; in intel_link_probe()
1287 bus->link_id = auxdev->id; in intel_link_probe()
1324 int intel_link_startup(struct auxiliary_device *auxdev) in intel_link_startup() argument
1327 struct device *dev = &auxdev->dev; in intel_link_startup()
1466 static void intel_link_remove(struct auxiliary_device *auxdev) in intel_link_remove() argument
1468 struct device *dev = &auxdev->dev; in intel_link_remove()
1486 int intel_link_process_wakeen_event(struct auxiliary_device *auxdev) in intel_link_process_wakeen_event() argument
[all …]