Searched refs:auxdev (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/drivers/base/ |
D | auxiliary.c | 21 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 …]
|
/Linux-v5.15/include/linux/ |
D | auxiliary_bus.h | 21 int (*probe)(struct auxiliary_device *auxdev, const struct auxiliary_device_id *id); 22 void (*remove)(struct auxiliary_device *auxdev); 23 void (*shutdown)(struct auxiliary_device *auxdev); 24 int (*suspend)(struct auxiliary_device *auxdev, pm_message_t state); 25 int (*resume)(struct auxiliary_device *auxdev); 41 int auxiliary_device_init(struct auxiliary_device *auxdev); 42 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname); 43 #define auxiliary_device_add(auxdev) __auxiliary_device_add(auxdev, KBUILD_MODNAME) argument 45 static inline void auxiliary_device_uninit(struct auxiliary_device *auxdev) in auxiliary_device_uninit() argument 47 put_device(&auxdev->dev); in auxiliary_device_uninit() [all …]
|
/Linux-v5.15/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 | 1262 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() 1320 int intel_link_startup(struct auxiliary_device *auxdev) in intel_link_startup() argument 1323 struct device *dev = &auxdev->dev; in intel_link_startup() 1463 static void intel_link_remove(struct auxiliary_device *auxdev) in intel_link_remove() argument 1465 struct device *dev = &auxdev->dev; in intel_link_remove() 1483 int intel_link_process_wakeen_event(struct auxiliary_device *auxdev) in intel_link_process_wakeen_event() argument [all …]
|
/Linux-v5.15/Documentation/driver-api/ |
D | auxiliary_bus.rst | 182 struct auxiliary_device auxdev; 183 void (*connect)(struct auxiliary_device *auxdev); 184 void (*disconnect)(struct auxiliary_device *auxdev); 190 the auxdev member of the above structure. The parent provides a name for the 203 void (*send)(struct auxiliary_device *auxdev); 204 void (*receive)(struct auxiliary_device *auxdev);
|