| /openbmc/phosphor-modbus/rtu/firmware/ |
| H A D | device_firmware.cpp | 57 PortIntf& serialPort) : in DeviceFirmware() argument 62 config(config), serialPort(serialPort) in DeviceFirmware() 90 auto ret = co_await serialPort.readHoldingRegisters( in readVersionRegister()
|
| H A D | device_firmware.hpp | 39 PortIntf& serialPort); 52 PortIntf& serialPort; member in phosphor::modbus::rtu::device::DeviceFirmware
|
| /openbmc/phosphor-modbus/rtu/inventory/ |
| H A D | modbus_inventory.cpp | 60 auto serialPort = std::get<std::string>(serialPortIter->second); in processModbusAddressInterface() local 62 config.addressMap[serialPort].push_back(AddressRange{ in processModbusAddressInterface() 66 "PORT", serialPort, "START", rangeStart, "END", rangeEnd); in processModbusAddressInterface() 241 for (const auto& [serialPort, _] : config.addressMap) in Device() 243 if (serialPorts.find(serialPort) == serialPorts.end()) in Device() 245 error("Serial port {PORT} not found for {NAME}", "PORT", serialPort, in Device() 257 for (const auto& [serialPort, _] : config.addressMap) in probePorts() 259 if (serialPorts.find(serialPort) == serialPorts.end()) in probePorts() 263 ctx.spawn(probePort(serialPort)); in probePorts()
|
| /openbmc/phosphor-modbus/rtu/device/ |
| H A D | device_factory.cpp | 41 PortIntf& serialPort, EventIntf::Events& events) in create() argument 47 return std::make_unique<ReservoirPumpUnit>(ctx, config, serialPort, in create()
|
| H A D | reservoir_pump_unit.cpp | 21 PortIntf& serialPort, EventIntf::Events& events) : in ReservoirPumpUnit() argument 22 BaseDevice(ctx, config, serialPort, events) in ReservoirPumpUnit()
|
| H A D | base_device.hpp | 40 const config::Config& config, PortIntf& serialPort, 59 PortIntf& serialPort; member in phosphor::modbus::rtu::device::BaseDevice
|
| H A D | base_device.cpp | 14 const config::Config& config, PortIntf& serialPort, in BaseDevice() argument 16 ctx(ctx), config(config), serialPort(serialPort), events(events) in BaseDevice() 23 std::make_unique<DeviceFirmware>(ctx, config, serialPort); in BaseDevice() 149 auto ret = co_await serialPort.readHoldingRegisters( in readSensorRegisters() 256 auto ret = co_await serialPort.readHoldingRegisters( in readStatusRegisters()
|
| H A D | reservoir_pump_unit.hpp | 22 PortIntf& serialPort, EventIntf::Events& events);
|
| H A D | device_factory.hpp | 47 PortIntf& serialPort, EventIntf::Events& events)
|
| /openbmc/phosphor-modbus/rtu/ |
| H A D | device_manager.cpp | 147 auto serialPort = ports.find(config.portName); in processDeviceAdded() local 148 if (serialPort == ports.end()) in processDeviceAdded() 156 *(serialPort->second), events); in processDeviceAdded()
|
| /openbmc/phosphor-modbus/tests/ |
| H A D | test_firmware.cpp | 35 PortIntf::BasePort& serialPort) : in TestFirmware() argument 36 DeviceIntf::DeviceFirmware(ctx, config, serialPort) in TestFirmware()
|