Home
last modified time | relevance | path

Searched refs:bus_cfg (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.cpp82 ICanController::BusConfig bus_cfg = {}; in fromPbBus() local
83 bus_cfg.name = pb_bus.name(); in fromPbBus()
94 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()
98 bus_cfg.interfaceId.socketcan(socketcan); in fromPbBus()
108 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()
112 bus_cfg.interfaceId.slcan(slcan); in fromPbBus()
122 bus_cfg.interfaceId.virtualif({ifname}); in fromPbBus()
131 bus_cfg.interfaceId.indexed({uint8_t(index)}); in fromPbBus()
135 LOG(ERROR) << "Invalid config: bad interface type for " << bus_cfg.name; in fromPbBus()
138 return bus_cfg; in fromPbBus()
Dcanhalconfigurator.cpp45 auto bus_cfg = config::fromPbBus(bus); in processPbCfg() local
46 if (!bus_cfg.has_value()) { in processPbCfg()
52 if (libcanhaltools::configureIface(*bus_cfg) != ICanController::Result::OK) { in processPbCfg()