Lines Matching refs:auxdev

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()
236 struct auxiliary_device *auxdev; in auxiliary_bus_shutdown() local
240 auxdev = to_auxiliary_dev(dev); in auxiliary_bus_shutdown()
244 auxdrv->shutdown(auxdev); in auxiliary_bus_shutdown()
274 int auxiliary_device_init(struct auxiliary_device *auxdev) in auxiliary_device_init() argument
276 struct device *dev = &auxdev->dev; in auxiliary_device_init()
283 if (!auxdev->name) { in auxiliary_device_init()
289 device_initialize(&auxdev->dev); in auxiliary_device_init()
313 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname) in __auxiliary_device_add() argument
315 struct device *dev = &auxdev->dev; in __auxiliary_device_add()
323 ret = dev_set_name(dev, "%s.%s.%d", modname, auxdev->name, auxdev->id); in __auxiliary_device_add()