Lines Matching refs:req_ptr
209 tsal_pcp_alarm_req_t *req_ptr;
403 softc->req_ptr = NULL;
512 if ((softc->req_ptr = (tsal_pcp_alarm_req_t *)kmem_zalloc(
550 if (softc->req_ptr != NULL)
551 kmem_free(softc->req_ptr,
605 if (softc->req_ptr != NULL) {
606 kmem_free(softc->req_ptr,
608 softc->req_ptr = NULL;
733 tsal_pcp_alarm_req_t *req_ptr = NULL;
742 if (sc->req_ptr == NULL) {
746 req_ptr = sc->req_ptr;
748 req_ptr->alarm_action = PCP_ALARM_STATUS;
749 req_ptr->alarm_id = alarm_type;
754 send_msg.msg_data = (uint8_t *)req_ptr;
801 tsal_pcp_alarm_req_t *req_ptr = NULL;
810 if (sc->req_ptr == NULL) {
811 if ((sc->req_ptr = (tsal_pcp_alarm_req_t *)kmem_zalloc(
817 req_ptr = sc->req_ptr;
820 req_ptr->alarm_action = PCP_ALARM_ENABLE;
822 req_ptr->alarm_action = PCP_ALARM_DISABLE;
824 req_ptr->alarm_id = alarm_type;
829 send_msg.msg_data = (uint8_t *)req_ptr;
865 if ((req_ptr->alarm_action == PCP_ALARM_DISABLE) &&
869 } else if ((req_ptr->alarm_action == PCP_ALARM_ENABLE) &&