Lines Matching +full:0 +full:x01 +full:- +full:negative
4 * SPDX-License-Identifier: Apache-2.0
35 PECI_GENERAL_SENSOR_ERROR = 0x8000,
36 PECI_UNDERFLOW_SENSOR_ERROR = 0x8002,
37 PECI_OVERFLOW_SENSOR_ERROR = 0x8003,
44 PECI_CMD_PING = 0x00,
45 PECI_CMD_GET_TEMP0 = 0x01,
46 PECI_CMD_GET_TEMP1 = 0x02,
47 PECI_CMD_RD_PCI_CFG0 = 0x61,
48 PECI_CMD_RD_PCI_CFG1 = 0x62,
49 PECI_CMD_WR_PCI_CFG0 = 0x65,
50 PECI_CMD_WR_PCI_CFG1 = 0x66,
51 PECI_CMD_RD_PKG_CFG0 = 0xA1,
52 PECI_CMD_RD_PKG_CFG1 = 0xA,
53 PECI_CMD_WR_PKG_CFG0 = 0xA5,
54 PECI_CMD_WR_PKG_CFG1 = 0xA6,
55 PECI_CMD_RD_IAMSR0 = 0xB1,
56 PECI_CMD_RD_IAMSR1 = 0xB2,
57 PECI_CMD_WR_IAMSR0 = 0xB5,
58 PECI_CMD_WR_IAMSR1 = 0xB6,
59 PECI_CMD_RD_PCI_CFG_LOCAL0 = 0xE1,
60 PECI_CMD_RD_PCI_CFG_LOCAL1 = 0xE2,
61 PECI_CMD_WR_PCI_CFG_LOCAL0 = 0xE5,
62 PECI_CMD_WR_PCI_CFG_LOCAL1 = 0xE6,
63 PECI_CMD_GET_DIB = 0xF7,
70 #define PECI_CC_RSP_SUCCESS (0x40U)
71 #define PECI_CC_RSP_TIMEOUT (0x80U)
72 #define PECI_CC_OUT_OF_RESOURCES_TIMEOUT (0x81U)
73 #define PECI_CC_RESOURCES_LOWPWR_TIMEOUT (0x82U)
74 #define PECI_CC_ILLEGAL_REQUEST (0x90U)
81 #define PECI_PING_WR_LEN (0U)
82 #define PECI_PING_RD_LEN (0U)
93 #define PECI_GET_DIB_DEVINFO (0U)
95 #define PECI_GET_DIB_DOMAIN_BIT_MASK (0x4U)
96 #define PECI_GET_DIB_MAJOR_REV_MASK 0xF0
97 #define PECI_GET_DIB_MINOR_REV_MASK 0x0F
107 #define PECI_GET_TEMP_LSB (0U)
109 #define PECI_GET_TEMP_ERR_MSB (0x80U)
110 #define PECI_GET_TEMP_ERR_LSB_GENERAL (0x0U)
111 #define PECI_GET_TEMP_ERR_LSB_RES (0x1U)
112 #define PECI_GET_TEMP_ERR_LSB_TEMP_LO (0x2U)
113 #define PECI_GET_TEMP_ERR_LSB_TEMP_HI (0x3U)
269 * @retval 0 If successful.
270 * @retval Negative errno code if failure.
279 api = (struct peci_driver_api *)dev->api; in z_impl_peci_config()
280 return api->config(dev, bitrate); in z_impl_peci_config()
288 * @retval 0 If successful.
289 * @retval Negative errno code if failure.
297 api = (struct peci_driver_api *)dev->api; in z_impl_peci_enable()
298 return api->enable(dev); in z_impl_peci_enable()
306 * @retval 0 If successful.
307 * @retval Negative errno code if failure.
315 api = (struct peci_driver_api *)dev->api; in z_impl_peci_disable()
316 return api->disable(dev); in z_impl_peci_disable()
325 * @retval 0 If successful.
326 * @retval Negative errno code if failure.
336 api = (struct peci_driver_api *)dev->api; in z_impl_peci_transfer()
337 return api->transfer(dev, msg); in z_impl_peci_transfer()