Home
last modified time | relevance | path

Searched refs:phm (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/sound/pci/asihpi/
H A Dhpimsgx.c66 hpi_entry_points[phm->adapter_index] (phm, phr); in hw_entry_point()
68 hpi_init_response(phr, phm->object, phm->function, in hw_entry_point()
152 phm->adapter_index, phm->function); in subsys_message()
396 instream_user_open[phm->adapter_index][phm-> in instream_open()
409 instream_user_open[phm->adapter_index][phm-> in instream_open()
413 instream_user_open[phm->adapter_index][phm-> in instream_open()
415 instream_user_open[phm->adapter_index][phm-> in instream_open()
437 instream_user_open[phm->adapter_index][phm-> in instream_close()
442 instream_user_open[phm->adapter_index][phm-> in instream_close()
453 instream_user_open[phm->adapter_index][phm-> in instream_close()
[all …]
H A Dhpi6205.c377 hpi_init_response(phr, phm->object, phm->function, in _HPI_6205()
440 hpi_init_response(phr, phm->object, phm->function, in HPI_6205()
737 hpi_init_response(phr, phm->object, phm->function, 0); in outstream_host_buffer_allocate()
765 [phm->obj_index], phm->u.d.u.buffer.buffer_size, in outstream_host_buffer_allocate()
800 if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. 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()
1191 hpi_init_response(phr, phm->object, phm->function, 0); in instream_read()
1240 hpi_init_response(phr, phm->object, phm->function, 0); in instream_get_info()
[all …]
H A Dhpimsginit.c36 size = sizeof(*phm); in hpi_init_message()
39 memset(phm, 0, size); in hpi_init_message()
40 phm->size = size; in hpi_init_message()
46 phm->object = object; in hpi_init_message()
47 phm->function = function; in hpi_init_message()
48 phm->version = 0; in hpi_init_message()
91 memset(phm, 0, size); in hpi_init_messageV1()
93 phm->size = size; in hpi_init_messageV1()
95 phm->object = object; in hpi_init_messageV1()
96 phm->function = function; in hpi_init_messageV1()
[all …]
H A Dhpicmn.c154 int count = phm->obj_index; in subsys_get_adapter()
517 phm->u.c.attribute); in hpi_check_control_cache_single()
522 phr->object = phm->object; in hpi_check_control_cache_single()
537 phm->adapter_index); in hpi_check_control_cache()
546 *)pI, phm, phr); in hpi_check_control_cache()
564 if (phm->u.c.param1) in hpi_cmn_control_cache_sync_to_msg_single()
625 phm->adapter_index); in hpi_cmn_control_cache_sync_to_msg()
675 switch (phm->function) { in subsys_message()
700 switch (phm->type) { in HPI_COMMON()
702 switch (phm->object) { in HPI_COMMON()
[all …]
H A Dhpi6000.c210 switch (phm->function) { in subsys_message()
328 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
331 phm->adapter_index); in HPI_6000()
337 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
340 phm->adapter_index); in HPI_6000()
346 hpi_init_response(phr, phm->object, phm->function, in HPI_6000()
349 switch (phm->type) { in HPI_6000()
351 switch (phm->object) { in HPI_6000()
1317 length = phm->size; in hpi6000_message_response_sequence()
1320 p_data = (u32 *)phm; in hpi6000_message_response_sequence()
[all …]
H A Dhpidebug.c37 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) in hpi_debug_message() argument
39 if (phm) { in hpi_debug_message()
40 printk(KERN_DEBUG "HPI_MSG%d,%d,%d,%d,%d\n", phm->version, in hpi_debug_message()
41 phm->adapter_index, phm->obj_index, phm->function, in hpi_debug_message()
42 phm->u.c.attribute); in hpi_debug_message()
H A Dhpicmn.h53 struct hpi_message *phm, struct hpi_response *phr);
56 struct hpi_message *phm, struct hpi_response *phr);
64 struct hpi_message *phm, struct hpi_response *phr);
67 *pC, struct hpi_message *phm, struct hpi_response *phr);
69 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
H A Dhpidebug.h59 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline);
69 #define HPI_DEBUG_MESSAGE(level, phm) \ argument
72 hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \
H A Dhpimsginit.h25 void hpi_init_message_response(struct hpi_message *phm,
31 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
H A Dhpioctl.c58 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument
61 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f()
62 && (phm->object != HPI_OBJ_SUBSYSTEM)) in hpi_send_recv_f()
65 hpi_send_recv_ex(phm, phr, file); in hpi_send_recv_f()
72 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) in hpi_send_recv() argument
74 hpi_send_recv_f(phm, phr, HOWNER_KERNEL); in hpi_send_recv()
118 if (get_user(puhm, &phpi_ioctl_data->phm) in asihpi_hpi_ioctl()
H A Dhpimsgx.h20 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
H A Dhpioctl.h25 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
H A Dhpios.h65 void __user *phm; member
H A Dhpi_internal.h1394 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);