Lines Matching refs:ihp

79 check_sunoem(ipmi_handle_t *ihp)  in check_sunoem()  argument
83 if ((devid = ipmi_get_deviceid(ihp)) == NULL) in check_sunoem()
87 return (ipmi_set_error(ihp, EIPMI_INVALID_COMMAND, NULL)); in check_sunoem()
93 ipmi_send_sunoem_led_set(ipmi_handle_t *ihp, ipmi_cmd_sunoem_led_set_t *req) in ipmi_send_sunoem_led_set() argument
103 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_set()
107 return (ipmi_set_error(ihp, EIPMI_BAD_RESPONSE_LENGTH, NULL)); in ipmi_send_sunoem_led_set()
113 ipmi_send_sunoem_led_get(ipmi_handle_t *ihp, ipmi_cmd_sunoem_led_get_t *req, in ipmi_send_sunoem_led_get() argument
124 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_get()
128 return (ipmi_set_error(ihp, EIPMI_BAD_RESPONSE_LENGTH, NULL)); in ipmi_send_sunoem_led_get()
135 ipmi_sunoem_led_set(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, in ipmi_sunoem_led_set() argument
140 if (check_sunoem(ihp) != 0) in ipmi_sunoem_led_set()
152 return (ipmi_send_sunoem_led_set(ihp, &cmd)); in ipmi_sunoem_led_set()
156 ipmi_sunoem_led_get(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, in ipmi_sunoem_led_get() argument
161 if (check_sunoem(ihp) != 0) in ipmi_sunoem_led_get()
172 return (ipmi_send_sunoem_led_get(ihp, &cmd, mode)); in ipmi_sunoem_led_get()
176 ipmi_sunoem_uptime(ipmi_handle_t *ihp, uint32_t *uptime, uint32_t *gen) in ipmi_sunoem_uptime() argument
181 if (check_sunoem(ihp) != 0) in ipmi_sunoem_uptime()
190 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sunoem_uptime()
194 return (ipmi_set_error(ihp, EIPMI_BAD_RESPONSE_LENGTH, NULL)); in ipmi_sunoem_uptime()
205 ipmi_sunoem_update_fru(ipmi_handle_t *ihp, ipmi_sunoem_fru_t *req) in ipmi_sunoem_update_fru() argument
209 if (check_sunoem(ihp) != 0) in ipmi_sunoem_update_fru()
237 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sunoem_update_fru()
241 return (ipmi_set_error(ihp, EIPMI_BAD_RESPONSE_LENGTH, NULL)); in ipmi_sunoem_update_fru()