Home
last modified time | relevance | path

Searched refs:object (Results 1 – 9 of 9) sorted by relevance

/sound/pci/asihpi/
Dhpimsginit.c27 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()
[all …]
Dhpimsginit.h22 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
26 struct hpi_response *phr, u16 object, u16 function);
29 u16 object, u16 function);
32 struct hpi_response_header *phr, u16 res_size, u16 object,
Dhpicmn.c44 if (phr->object != phm->object) { in hpi_validate_response()
46 phr->object); in hpi_validate_response()
522 phr->object = phm->object; in hpi_check_control_cache_single()
702 switch (phm->object) { in HPI_COMMON()
Dhpi6205.c377 hpi_init_response(phr, phm->object, phm->function, in _HPI_6205()
379 HPI_DEBUG_LOG(WARNING, " %d,%d dsp crashed.\n", phm->object, in _HPI_6205()
391 switch (phm->object) { in _HPI_6205()
428 if (phm->object != HPI_OBJ_SUBSYSTEM) { in HPI_6205()
440 hpi_init_response(phr, phm->object, phm->function, in HPI_6205()
633 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj()
737 hpi_init_response(phr, phm->object, phm->function, 0); in outstream_host_buffer_allocate()
906 hpi_init_response(phr, phm->object, phm->function, 0); in outstream_write()
978 hpi_init_response(phr, phm->object, phm->function, 0); in outstream_get_info()
1023 hpi_init_response(phr, phm->object, phm->function, 0); in instream_host_buffer_allocate()
[all …]
Dhpimsgx.c68 hpi_init_response(phr, phm->object, phm->function, in hw_entry_point()
310 hpi_init_response(phr, phm->object, phm->function, in hpi_send_recv_ex()
317 hpi_init_response(phr, phm->object, phm->function, in hpi_send_recv_ex()
322 switch (phm->object) { in hpi_send_recv_ex()
703 hpi_init_response(&hr, phm->object, phm->function, in HPIMSGX__init()
Dhpi6000.c325 if (phm->object != HPI_OBJ_SUBSYSTEM) { in HPI_6000()
328 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
337 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
346 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
351 switch (phm->object) { in HPI_6000()
531 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj()
1710 switch (phm->object) { in get_dsp_index()
1747 hm.object = phm->u.d.u.stream.object_type; in hw_message()
Dhpioctl.c62 && (phm->object != HPI_OBJ_SUBSYSTEM)) in hpi_send_recv_f()
173 if (hm->h.object == HPI_OBJ_SUBSYSTEM) { in asihpi_hpi_ioctl()
187 hpi_init_response(&hr->r0, hm->h.object, in asihpi_hpi_ioctl()
Dhpi_internal.h991 u16 object; /* HPI_OBJ_* */ member
1002 u16 object; /* HPI_OBJ_* */ member
1053 u16 object; /* HPI_OBJ_* */ member
1064 u16 object; /* HPI_OBJ_* */ member
/sound/soc/sof/
Dtopology.c472 int (*get_token)(void *elem, void *object, u32 offset, u32 size);
477 static int get_token_u32(void *elem, void *object, u32 offset, u32 size) in get_token_u32() argument
480 u32 *val = (u32 *)((u8 *)object + offset); in get_token_u32()
486 static int get_token_u16(void *elem, void *object, u32 offset, u32 size) in get_token_u16() argument
489 u16 *val = (u16 *)((u8 *)object + offset); in get_token_u16()
495 static int get_token_uuid(void *elem, void *object, u32 offset, u32 size) in get_token_uuid() argument
498 u8 *dst = (u8 *)object + offset; in get_token_uuid()
505 static int get_token_comp_format(void *elem, void *object, u32 offset, u32 size) in get_token_comp_format() argument
508 u32 *val = (u32 *)((u8 *)object + offset); in get_token_comp_format()
514 static int get_token_dai_type(void *elem, void *object, u32 offset, u32 size) in get_token_dai_type() argument
[all …]