Lines Matching defs:ap_msg
85 struct ap_message *ap_msg,
94 struct type4_sme *sme = ap_msg->message;
96 ap_msg->length = sizeof(*sme);
105 struct type4_lme *lme = ap_msg->message;
107 ap_msg->length = sizeof(*lme);
134 struct ap_message *ap_msg,
145 struct type4_scr *scr = ap_msg->message;
147 ap_msg->length = sizeof(*scr);
159 struct type4_lcr *lcr = ap_msg->message;
161 ap_msg->length = sizeof(*lcr);
278 struct ap_message ap_msg;
282 ap_msg.message = kmalloc(PCICA_MAX_MESSAGE_SIZE, GFP_KERNEL);
283 if (!ap_msg.message)
285 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
287 ap_msg.private = &work;
288 rc = ICAMEX_msg_to_type4MEX_msg(zdev, &ap_msg, mex);
292 ap_queue_message(zdev->ap_dev, &ap_msg);
296 rc = convert_response(zdev, &ap_msg, mex->outputdata,
300 ap_cancel_message(zdev->ap_dev, &ap_msg);
306 kfree(ap_msg.message);
320 struct ap_message ap_msg;
324 ap_msg.message = kmalloc(PCICA_MAX_MESSAGE_SIZE, GFP_KERNEL);
325 if (!ap_msg.message)
327 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
329 ap_msg.private = &work;
330 rc = ICACRT_msg_to_type4CRT_msg(zdev, &ap_msg, crt);
334 ap_queue_message(zdev->ap_dev, &ap_msg);
338 rc = convert_response(zdev, &ap_msg, crt->outputdata,
342 ap_cancel_message(zdev->ap_dev, &ap_msg);
348 kfree(ap_msg.message);