p_msg_body 301 drivers/net/wireless/ath/wcn36xx/smd.c #define INIT_HAL_PTT_MSG(p_msg_body, ppt_msg_len) \ p_msg_body 303 drivers/net/wireless/ath/wcn36xx/smd.c memset(p_msg_body, 0, sizeof(*p_msg_body) + ppt_msg_len); \ p_msg_body 304 drivers/net/wireless/ath/wcn36xx/smd.c p_msg_body->header.msg_type = WCN36XX_HAL_PROCESS_PTT_REQ; \ p_msg_body 305 drivers/net/wireless/ath/wcn36xx/smd.c p_msg_body->header.msg_version = WCN36XX_HAL_MSG_VERSION0; \ p_msg_body 306 drivers/net/wireless/ath/wcn36xx/smd.c p_msg_body->header.len = sizeof(*p_msg_body) + ppt_msg_len; \ p_msg_body 315 drivers/net/wireless/ath/wcn36xx/smd.c #define PREPARE_HAL_PTT_MSG_BUF(send_buf, p_msg_body) \ p_msg_body 317 drivers/net/wireless/ath/wcn36xx/smd.c memset(send_buf, 0, p_msg_body->header.len); \ p_msg_body 318 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(send_buf, p_msg_body, p_msg_body->header.len); \ p_msg_body 814 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_hal_process_ptt_msg_req_msg *p_msg_body; p_msg_body 818 drivers/net/wireless/ath/wcn36xx/smd.c p_msg_body = kmalloc( p_msg_body 821 drivers/net/wireless/ath/wcn36xx/smd.c if (!p_msg_body) { p_msg_body 825 drivers/net/wireless/ath/wcn36xx/smd.c INIT_HAL_PTT_MSG(p_msg_body, len); p_msg_body 827 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(&p_msg_body->ptt_msg, ptt_msg, len); p_msg_body 829 drivers/net/wireless/ath/wcn36xx/smd.c PREPARE_HAL_PTT_MSG_BUF(wcn->hal_buf, p_msg_body); p_msg_body 831 drivers/net/wireless/ath/wcn36xx/smd.c ret = wcn36xx_smd_send_and_wait(wcn, p_msg_body->header.len); p_msg_body 843 drivers/net/wireless/ath/wcn36xx/smd.c kfree(p_msg_body);