Lines Matching refs:phr
67 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
76 size = sizeof(*phr); in hpi_init_response()
79 memset(phr, 0, sizeof(*phr)); in hpi_init_response()
80 phr->size = size; in hpi_init_response()
81 phr->type = HPI_TYPE_RESPONSE; in hpi_init_response()
82 phr->object = object; in hpi_init_response()
83 phr->function = function; in hpi_init_response()
84 phr->error = error; in hpi_init_response()
85 phr->specific_error = 0; in hpi_init_response()
86 phr->version = 0; in hpi_init_response()
90 struct hpi_response *phr, u16 object, u16 function) in hpi_init_message_response() argument
95 hpi_init_response(phr, object, function, in hpi_init_message_response()
113 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size, in hpi_init_responseV1() argument
118 memset(phr, 0, size); in hpi_init_responseV1()
119 phr->size = size; in hpi_init_responseV1()
120 phr->version = 1; in hpi_init_responseV1()
121 phr->type = HPI_TYPE_RESPONSE; in hpi_init_responseV1()
122 phr->error = HPI_ERROR_PROCESSING_MESSAGE; in hpi_init_responseV1()
126 struct hpi_response_header *phr, u16 res_size, u16 object, in hpi_init_message_responseV1() argument
130 hpi_init_responseV1(phr, res_size, object, function); in hpi_init_message_responseV1()