Searched refs:base_unit (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/pwm/ |
H A D | pwm-lpss.c | 129 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 D | numeric_sensor.cpp | 59 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 D | terminus.cpp | 483 parsedPdr->base_unit = pdr->base_unit; in parseCompactNumericSensorPDR()
|
/openbmc/libpldm/include/libpldm/ |
H A D | platform.h | 654 uint8_t base_unit; member 735 uint8_t base_unit; member 808 uint8_t base_unit; member
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_numeric_effecter.hpp | 93 pdr->base_unit = e.value("base_unit", 0); in generateNumericEffecterPDR()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 1006 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 D | platform.c | 1832 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 D | platform.cpp | 3895 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 D | gcc.dump | 11956 'name' => 'base_unit',
|