Searched refs:dbus_if (Results 1 – 1 of 1) sorted by relevance
377 uint8_t get_type_from_interface(dbus_interface_t dbus_if) in get_type_from_interface() argument384 if (dbus_if.interface[0] == 0) in get_type_from_interface()390 if (dbus_if.sensortype != 0) in get_type_from_interface()392 type = dbus_if.sensortype; in get_type_from_interface()397 char* p = strrchr(dbus_if.path, '/'); in get_type_from_interface()408 dbus_interface_t dbus_if; in find_type_for_sensor_number() local409 r = find_openbmc_path(num, &dbus_if); in find_type_for_sensor_number()415 return get_type_from_interface(dbus_if); in find_type_for_sensor_number()