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