Lines Matching refs:object
27 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument
32 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_message()
33 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_message()
34 size = msg_size[object]; in hpi_init_message()
46 phm->object = object; in hpi_init_message()
56 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
61 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_response()
62 object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1); in hpi_init_response()
63 size = res_size[object]; in hpi_init_response()
71 phr->object = object; in hpi_init_response()
79 struct hpi_response *phr, u16 object, u16 function) in hpi_init_message_response() argument
81 hpi_init_message(phm, object, function); in hpi_init_message_response()
84 hpi_init_response(phr, object, function, in hpi_init_message_response()
89 u16 object, u16 function) in hpi_init_messageV1() argument
92 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) { in hpi_init_messageV1()
95 phm->object = object; in hpi_init_messageV1()
103 u16 object, u16 function) in hpi_init_responseV1() argument
105 (void)object; in hpi_init_responseV1()
115 struct hpi_response_header *phr, u16 res_size, u16 object, in hpi_init_message_responseV1() argument
118 hpi_init_messageV1(phm, msg_size, object, function); in hpi_init_message_responseV1()
119 hpi_init_responseV1(phr, res_size, object, function); in hpi_init_message_responseV1()