Lines Matching refs:phr
56 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
65 size = sizeof(*phr); in hpi_init_response()
68 memset(phr, 0, sizeof(*phr)); in hpi_init_response()
69 phr->size = size; in hpi_init_response()
70 phr->type = HPI_TYPE_RESPONSE; in hpi_init_response()
71 phr->object = object; in hpi_init_response()
72 phr->function = function; in hpi_init_response()
73 phr->error = error; in hpi_init_response()
74 phr->specific_error = 0; in hpi_init_response()
75 phr->version = 0; in hpi_init_response()
79 struct hpi_response *phr, u16 object, u16 function) in hpi_init_message_response() argument
84 hpi_init_response(phr, object, function, in hpi_init_message_response()
102 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size, in hpi_init_responseV1() argument
107 memset(phr, 0, size); in hpi_init_responseV1()
108 phr->size = size; in hpi_init_responseV1()
109 phr->version = 1; in hpi_init_responseV1()
110 phr->type = HPI_TYPE_RESPONSE; in hpi_init_responseV1()
111 phr->error = HPI_ERROR_PROCESSING_MESSAGE; in hpi_init_responseV1()
115 struct hpi_response_header *phr, u16 res_size, u16 object, in hpi_init_message_responseV1() argument
119 hpi_init_responseV1(phr, res_size, object, function); in hpi_init_message_responseV1()