Home
last modified time | relevance | path

Searched refs:object (Results 1 – 12 of 12) 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()
305 hpi_init_response(phr, phm->object, phm->function, in hpi_send_recv_ex()
312 hpi_init_response(phr, phm->object, phm->function, in hpi_send_recv_ex()
317 switch (phm->object) { in hpi_send_recv_ex()
698 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/intel/avs/
Dtopology.c125 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset);
129 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_uuid_token() argument
132 guid_t *val = (guid_t *)((u8 *)object + offset); in avs_parse_uuid_token()
140 avs_parse_bool_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_bool_token() argument
143 bool *val = (bool *)((u8 *)object + offset); in avs_parse_bool_token()
151 avs_parse_byte_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_byte_token() argument
154 u8 *val = ((u8 *)object + offset); in avs_parse_byte_token()
162 avs_parse_short_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_short_token() argument
165 u16 *val = (u16 *)((u8 *)object + offset); in avs_parse_short_token()
173 avs_parse_word_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_word_token() argument
[all …]
/sound/soc/sof/
Dtopology.c52 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id, in sof_update_ipc_object() argument
86 u32 *val = (u32 *)((u8 *)object + tokens[i].offset + in sof_update_ipc_object()
95 u16 *val = (u16 *)((u8 *)object + tokens[i].offset + in sof_update_ipc_object()
110 tokens[i].get_token((void *)tuples[j].value.s, object, in sof_update_ipc_object()
335 int get_token_u32(void *elem, void *object, u32 offset) in get_token_u32() argument
338 u32 *val = (u32 *)((u8 *)object + offset); in get_token_u32()
344 int get_token_u16(void *elem, void *object, u32 offset) in get_token_u16() argument
347 u16 *val = (u16 *)((u8 *)object + offset); in get_token_u16()
353 int get_token_uuid(void *elem, void *object, u32 offset) in get_token_uuid() argument
356 u8 *dst = (u8 *)object + offset; in get_token_uuid()
[all …]
Dsof-audio.h255 int (*get_token)(void *elem, void *object, u32 offset);
529 int get_token_u32(void *elem, void *object, u32 offset);
530 int get_token_u16(void *elem, void *object, u32 offset);
531 int get_token_comp_format(void *elem, void *object, u32 offset);
532 int get_token_dai_type(void *elem, void *object, u32 offset);
533 int get_token_uuid(void *elem, void *object, u32 offset);
534 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id,
Dipc3-topology.c61 static int get_token_process_type(void *elem, void *object, u32 offset) in get_token_process_type() argument
63 u32 *val = (u32 *)((u8 *)object + offset); in get_token_process_type()