Lines Matching refs:resp
95 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_set() local
103 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_set()
106 if (resp->ic_dlen != 0) in ipmi_send_sunoem_led_set()
116 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_get() local
124 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_get()
127 if (resp->ic_dlen != 1) in ipmi_send_sunoem_led_get()
130 *result = *((uint8_t *)resp->ic_data); in ipmi_send_sunoem_led_get()
178 ipmi_cmd_t cmd, *resp; in ipmi_sunoem_uptime() local
190 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sunoem_uptime()
193 if (resp->ic_dlen != 2 * sizeof (uint32_t)) in ipmi_sunoem_uptime()
197 *uptime = BE_IN32(&((uint32_t *)resp->ic_data)[0]); in ipmi_sunoem_uptime()
199 *gen = BE_IN32(&((uint32_t *)resp->ic_data)[1]); in ipmi_sunoem_uptime()
207 ipmi_cmd_t cmd, *resp; in ipmi_sunoem_update_fru() local
237 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sunoem_update_fru()
240 if (resp->ic_dlen != 0) in ipmi_sunoem_update_fru()