Searched refs:pb_bus (Results 1 – 2 of 2) sorted by relevance
81 std::optional<ICanController::BusConfig> fromPbBus(const Bus& pb_bus) { in fromPbBus() argument83 bus_cfg.name = pb_bus.name(); in fromPbBus()85 switch (pb_bus.iface_type_case()) { in fromPbBus()87 const auto ifname = pb_bus.native().ifname(); in fromPbBus()88 const auto serialno = pb_bus.native().serialno(); in fromPbBus()94 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()102 const auto ttyname = pb_bus.slcan().ttyname(); in fromPbBus()103 const auto serialno = pb_bus.slcan().serialno(); in fromPbBus()108 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()117 const auto ifname = pb_bus.virtual_().ifname(); in fromPbBus()[all …]
39 std::optional<V1_0::ICanController::BusConfig> fromPbBus(const Bus& pb_bus);47 std::optional<V1_0::ICanController::InterfaceType> getHalIftype(const Bus& pb_bus);