Home
last modified time | relevance | path

Searched refs:CHECK_RET (Results 1 – 12 of 12) sorted by relevance

/haiku/src/add-ons/kernel/busses/i2c/ocores/
H A Docores_i2c.cpp47 CHECK_RET(WaitCompletion()); in WriteByte()
59 CHECK_RET(WaitCompletion()); in ReadByte()
72 CHECK_RET(WriteByte({.start = true}, val)); in WriteAddress()
125 CHECK_RET(driver->InitDriverInt(node)); in InitDriver()
140 CHECK_RET(gDeviceManager->get_attr_string(parent.Get(), B_DEVICE_BUS, &bus, false)); in InitDriverInt()
146 CHECK_RET(gDeviceManager->get_driver(parent.Get(), in InitDriverInt()
200 CHECK_RET(WriteAddress(slaveAddress, false)); in ExecCommand()
210 CHECK_RET(WriteByte({.stop = cmdLength == 0 && dataLength == 0}, *cmdBuffer++)); in ExecCommand()
214 CHECK_RET(WriteAddress(slaveAddress, true)); in ExecCommand()
217 CHECK_RET(ReadByte({.stop = dataLength == 0}, *dataBuffer++)); in ExecCommand()
H A Docores_i2c.h18 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerACPI.cpp34 CHECK_RET(get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule)); in ReadResourceInfo()
37 CHECK_RET(acpiModule->get_table(ACPI_MCFG_SIGNATURE, 0, (void**)&mcfg)); in ReadResourceInfo()
39 CHECK_RET(gDeviceManager->get_driver(parent, (driver_module_info**)&acpiDeviceModule, in ReadResourceInfo()
70 CHECK_RET(fRegsArea.Get()); in ReadResourceInfo()
185 CHECK_RET(get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule)); in Finalize()
188 CHECK_RET(prepare_irq_routing(acpiModule, table, [](int32 gsi) {return true;})); in Finalize()
190 CHECK_RET(enable_irq_routing(acpiModule, table)); in Finalize()
H A DECAMPCIControllerFDT.cpp21 CHECK_RET(gDeviceManager->get_driver(fdtNode.Get(), in ReadResourceInfo()
91 CHECK_RET(fRegsArea.Get()); in ReadResourceInfo()
107 CHECK_RET(gDeviceManager->get_driver(parent.Get(), (driver_module_info**)&parentModule, in Finalize()
H A DECAMPCIController.cpp79 CHECK_RET(gDeviceManager->get_attr_string(parentNode.Get(), B_DEVICE_BUS, &bus, false)); in InitDriver()
92 CHECK_RET(driver->ReadResourceInfo()); in InitDriver()
H A DECAMPCIController.h19 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_module.cpp16 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro
104 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0202()
109 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0302()
114 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0402()
119 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0502()
131 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0702()
136 CHECK_RET(ResolveBDF(bus, device, function, dev)); in __anon31a29cbf0802()
H A Dpci_root.cpp21 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro
104CHECK_RET(gDeviceManager->get_driver(pciHostNode.Get(), (driver_module_info**)&pciHostModule, &pci… in pci_root_init()
112 CHECK_RET(gPCI->AddController(pciHostModule, pciHostDev, node, &domainData)); in pci_root_init()
/haiku/src/add-ons/kernel/busses/pci/designware/
H A DDWPCIController.cpp120 CHECK_RET(driver->InitDriverInt(node)); in InitDriver()
132 CHECK_RET(gDeviceManager->get_attr_string(fdtNode.Get(), B_DEVICE_BUS, &bus, false)); in ReadResourceInfo()
138 CHECK_RET(gDeviceManager->get_driver(fdtNode.Get(), in ReadResourceInfo()
251 CHECK_RET(ReadResourceInfo()); in InitDriverInt()
257 CHECK_RET(gDeviceManager->get_driver(fdtNode.Get(), in InitDriverInt()
274 CHECK_RET(fDbiArea.Get()); in InitDriverInt()
278 CHECK_RET(fConfigArea.Get()); in InitDriverInt()
280 CHECK_RET(fIrqCtrl.Init(GetDbuRegs(), msiIrq)); in InitDriverInt()
H A DDWPCIController.h18 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro
/haiku/src/add-ons/kernel/busses/pci/x86/
H A DX86PCIController.cpp114 CHECK_RET(driver->InitDriverInt(node)); in CreateDriver()
175 CHECK_RET(X86PCIController::InitDriverInt(node)); in InitDriverInt()
256 CHECK_RET(X86PCIController::InitDriverInt(node)); in InitDriverInt()
H A DX86PCIController.h18 #define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;} macro