Lines Matching refs:fru_type

106     int fru_type, int16_t value);
113 static int add_env_nodes(int envmon_fd, uint8_t fru_type,
836 add_value_prop(picl_nodehdl_t node_hdl, const char *prop_name, int fru_type,
845 if (fru_to_ptype[fru_type] == PICL_PTYPE_FLOAT)
850 err = add_regular_prop(node_hdl, prop_name, fru_to_ptype[fru_type],
851 PICL_READ, fru_to_size[fru_type], &val_buf, NULL);
913 uint8_t fru_type;
929 fru_type = handle_arr.fru_types[index];
931 cmd = fru_to_cmd[fru_type];
939 switch (fru_type) {
989 switch (fru_type) {
1011 fru_to_size[fru_type]);
1018 (void) strlcpy(buf, cptr, fru_to_size[fru_type]);
1025 (void) strlcpy(buf, cptr, fru_to_size[fru_type]);
1044 uint8_t fru_type;
1053 fru_type = handle_arr.fru_types[index];
1054 if (fru_type != ENVMON_LED_IND)
1114 * Add nodes for environmental devices of type fru_type
1118 add_env_nodes(int envmon_fd, uint8_t fru_type, picl_nodehdl_t envmonh)
1142 cmd = fru_to_cmd[fru_type];
1150 handle_arr.fru_types[index] = fru_type;
1156 switch (fru_type) {
1198 syslog(LOG_ERR, EM_NODE_ACCESS, id, fru_type, err);
1224 fru_to_class[fru_type], &node_hdl);
1228 err = add_volatile_prop(node_hdl, fru_to_prop[fru_type],
1229 fru_to_ptype[fru_type],
1230 PICL_READ | (fru_type == ENVMON_LED_IND ? PICL_WRITE : 0),
1231 fru_to_size[fru_type], read_vol_data,
1232 fru_type == ENVMON_LED_IND ? write_led_data : NULL,
1243 fru_type, lows.warning);
1250 fru_type, lows.shutdown);
1257 fru_type, lows.poweroff);
1264 fru_type, highs.warning);
1271 fru_type, highs.shutdown);
1278 fru_type, highs.poweroff);
1287 if (fru_type == ENVMON_FAN_SENS) {
1299 if (fru_type == ENVMON_LED_IND) {
1320 if ((fru_type != ENVMON_KEY_SWITCH) &&
1321 (fru_type != ENVMON_CHASSIS)) {
1557 int fru_type;
1616 for (fru_type = 0; fru_type < ENVMONTYPES;
1617 fru_type++) {
1618 (void) add_env_nodes(envmon_fd, fru_type,
1725 int fru_type;
1785 for (fru_type = 0; fru_type < ENVMONTYPES; fru_type++) {
1786 (void) add_env_nodes(envmon_fd, fru_type, envmoninfh);