Lines Matching refs:p_msg_body
468 #define INIT_HAL_PTT_MSG(p_msg_body, ppt_msg_len) \ argument
470 memset(p_msg_body, 0, sizeof(*p_msg_body) + ppt_msg_len); \
471 p_msg_body->header.msg_type = WCN36XX_HAL_PROCESS_PTT_REQ; \
472 p_msg_body->header.msg_version = WCN36XX_HAL_MSG_VERSION0; \
473 p_msg_body->header.len = sizeof(*p_msg_body) + ppt_msg_len; \
482 #define PREPARE_HAL_PTT_MSG_BUF(send_buf, p_msg_body) \ argument
484 memcpy(send_buf, p_msg_body, p_msg_body->header.len); \
1095 struct wcn36xx_hal_process_ptt_msg_req_msg *p_msg_body; in wcn36xx_smd_process_ptt_msg() local
1099 p_msg_body = kmalloc( in wcn36xx_smd_process_ptt_msg()
1102 if (!p_msg_body) { in wcn36xx_smd_process_ptt_msg()
1106 INIT_HAL_PTT_MSG(p_msg_body, len); in wcn36xx_smd_process_ptt_msg()
1108 memcpy(&p_msg_body->ptt_msg, ptt_msg, len); in wcn36xx_smd_process_ptt_msg()
1110 PREPARE_HAL_PTT_MSG_BUF(wcn->hal_buf, p_msg_body); in wcn36xx_smd_process_ptt_msg()
1112 ret = wcn36xx_smd_send_and_wait(wcn, p_msg_body->header.len); in wcn36xx_smd_process_ptt_msg()
1124 kfree(p_msg_body); in wcn36xx_smd_process_ptt_msg()