Lines Matching refs:p_msg
427 sig_model_msg *p_msg = (sig_model_msg *)p_arg; in light_ctl_event_handler() local
429 if (p_msg) { in light_ctl_event_handler()
430 GENIE_LOG_INFO("SIG mesg ElemID(%d) in %s\n", p_msg->element_id, __func__); in light_ctl_event_handler()
431 if (p_msg->opcode == 0x8202) { in light_ctl_event_handler()
432 if (p_msg->data[0] == 0x00) { in light_ctl_event_handler()
434 GENIE_LOG_INFO("rec SIG mesg: turn off cmd in ElemID(%d)\n", p_msg->element_id); in light_ctl_event_handler()
435 } else if (p_msg->data[0] == 0x01) { in light_ctl_event_handler()
437 GENIE_LOG_INFO("rec SIG mesg: turn on cmd in ElemID(%d)\n", p_msg->element_id); in light_ctl_event_handler()
443 genie_transport_model_param_t *p_msg = (genie_transport_model_param_t *)p_arg; in light_ctl_event_handler() local
445 if (p_msg && p_msg->p_model && p_msg->p_model->user_data) { in light_ctl_event_handler()
446 … sig_model_element_state_t *p_elem_state = (sig_model_element_state_t *)p_msg->p_model->user_data; in light_ctl_event_handler()
447 GENIE_LOG_INFO("ElemID(%d) TID(%02X)\n", p_elem_state->element_id, p_msg->tid); in light_ctl_event_handler()
453 genie_down_msg_t *p_msg = (genie_down_msg_t *)p_arg; in light_ctl_event_handler() local