Lines Matching defs:name
72 auto name = templateName;
75 auto pos = name.find('P');
78 name.replace(pos, 1, std::to_string(page));
81 return name;
113 std::string name;
115 auto path = basePath / "name";
122 file >> name;
126 lg2::error("Unable to read PMBus device name PATH={PATH}", "PATH",
130 return name;
133 bool PMBus::readBitInPage(const std::string& name, size_t page, Type type)
135 auto pagedBit = insertPageNum(name, page);
139 bool PMBus::readBit(const std::string& name, Type type)
145 path /= name;
188 bool PMBus::exists(const std::string& name, Type type)
191 path /= name;
195 uint64_t PMBus::read(const std::string& name, Type type, bool errTrace)
200 path /= name;
235 std::string PMBus::readString(const std::string& name, Type type)
240 path /= name;
267 std::vector<uint8_t> PMBus::readBinary(const std::string& name, Type type,
270 auto path = getPath(type) / name;
310 void PMBus::write(const std::string& name, int value, Type type)
315 path /= name;
340 void PMBus::writeBinary(const std::string& name, std::vector<uint8_t> data,
346 path /= name;