Home
last modified time | relevance | path

Searched refs:base_unit (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-lpss.c129 unsigned long long base_unit, freq = NSEC_PER_SEC; in pwm_lpss_prepare() local
141 base_unit = DIV_ROUND_CLOSEST_ULL(freq, c); in pwm_lpss_prepare()
143 base_unit = clamp_val(base_unit, 1, base_unit_range - 1); in pwm_lpss_prepare()
152 ctrl |= (u32) base_unit << PWM_BASE_UNIT_SHIFT; in pwm_lpss_prepare()
213 unsigned long long base_unit, freq, on_time_div; in pwm_lpss_get_state() local
222 base_unit = (ctrl >> PWM_BASE_UNIT_SHIFT) & (base_unit_range - 1); in pwm_lpss_get_state()
224 freq = base_unit * lpwm->info->clk_rate; in pwm_lpss_get_state()
/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp59 switch (pdr->base_unit) in NumericSensor()
101 sensorName, "UNIT", pdr->base_unit); in NumericSensor()
451 switch (pdr->base_unit) in NumericSensor()
493 sensorName, "UNIT", pdr->base_unit); in NumericSensor()
H A Dterminus.cpp483 parsedPdr->base_unit = pdr->base_unit; in parseCompactNumericSensorPDR()
/openbmc/libpldm/include/libpldm/
H A Dplatform.h654 uint8_t base_unit; member
735 uint8_t base_unit; member
808 uint8_t base_unit; member
/openbmc/pldm/libpldmresponder/
H A Dpdr_numeric_effecter.hpp93 pdr->base_unit = e.value("base_unit", 0); in generateNumericEffecterPDR()
/openbmc/pldm/pldmtool/
H A Dpldm_platform_cmd.cpp1006 output["baseUnit"] = unsigned(pdr->base_unit); in printNumericEffecterPDR()
1287 output["baseUnit"] = pdr.base_unit; in printNumericSensorPDR()
1465 output["baseUnit"] = unsigned(pdr->base_unit); in printCompactNumericSensorPDR()
/openbmc/libpldm/src/dsp/
H A Dplatform.c1832 pldm_msgbuf_extract(buf, pdr_value->base_unit); in decode_numeric_sensor_pdr_data()
2819 pldm_msgbuf_extract(buf, pdr_value->base_unit); in decode_numeric_effecter_pdr_data()
/openbmc/libpldm/tests/dsp/
H A Dplatform.cpp3895 EXPECT_EQ(PLDM_SENSOR_UNIT_DEGRESS_C, decodedPdr.base_unit); in TEST()
4780 EXPECT_EQ(PLDM_SENSOR_UNIT_DEGRESS_C, decodedPdr.base_unit); in TEST()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump11956 'name' => 'base_unit',