MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / device_set_driver

Function device_set_driver

TactilityKernel/source/device.cpp:268–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void device_set_driver(struct Device* device, struct Driver* driver) {
269 device->internal->driver = driver;
270}
271
272struct Driver* device_get_driver(struct Device* device) {
273 return device->internal->driver;

Callers 4

DeviceTest.cppFile · 0.85
create_child_deviceFunction · 0.85
device_construct_addFunction · 0.85
createKernelDeviceHolderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected