Lines Matching defs:phm
27 static void hpi_init_message(struct hpi_message *phm, u16 object,
36 size = sizeof(*phm);
39 memset(phm, 0, size);
40 phm->size = size;
43 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE;
45 phm->type = HPI_TYPE_REQUEST;
46 phm->object = object;
47 phm->function = function;
48 phm->version = 0;
49 phm->adapter_index = HPI_ADAPTER_INDEX_INVALID;
78 void hpi_init_message_response(struct hpi_message *phm,
81 hpi_init_message(phm, object, function);
88 static void hpi_init_messageV1(struct hpi_message_header *phm, u16 size,
91 memset(phm, 0, size);
93 phm->size = size;
94 phm->type = HPI_TYPE_REQUEST;
95 phm->object = object;
96 phm->function = function;
97 phm->version = 1;
114 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
118 hpi_init_messageV1(phm, msg_size, object, function);