Lines Matching defs:ap_msg
155 struct ap_message *ap_msg,
176 } __attribute__((packed)) *msg = ap_msg->message;
228 ap_msg->length = (size + 3) & -4;
242 struct ap_message *ap_msg,
263 } __attribute__((packed)) *msg = ap_msg->message;
292 ap_msg->length = (size + 3) & -4;
488 struct ap_message ap_msg;
492 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL);
493 if (!ap_msg.message)
495 ap_msg.length = PAGE_SIZE;
496 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
498 ap_msg.private = &work;
499 rc = ICAMEX_msg_to_type6MEX_msg(zdev, &ap_msg, mex);
503 ap_queue_message(zdev->ap_dev, &ap_msg);
507 rc = convert_response(zdev, &ap_msg, mex->outputdata,
511 ap_cancel_message(zdev->ap_dev, &ap_msg);
517 free_page((unsigned long) ap_msg.message);
531 struct ap_message ap_msg;
535 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL);
536 if (!ap_msg.message)
538 ap_msg.length = PAGE_SIZE;
539 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
541 ap_msg.private = &work;
542 rc = ICACRT_msg_to_type6CRT_msg(zdev, &ap_msg, crt);
546 ap_queue_message(zdev->ap_dev, &ap_msg);
550 rc = convert_response(zdev, &ap_msg, crt->outputdata,
554 ap_cancel_message(zdev->ap_dev, &ap_msg);
560 free_page((unsigned long) ap_msg.message);