Searched refs:hm (Results 1 – 6 of 6) sorted by relevance
/sound/pci/asihpi/ |
D | hpifunc.c | 99 struct hpi_message hm; in hpi_subsys_get_version_ex() local 102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_version_ex() 104 hpi_send_recv(&hm, &hr); in hpi_subsys_get_version_ex() 111 struct hpi_message hm; in hpi_subsys_get_num_adapters() local 113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_num_adapters() 115 hpi_send_recv(&hm, &hr); in hpi_subsys_get_num_adapters() 123 struct hpi_message hm; in hpi_subsys_get_adapter() local 125 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_adapter() 127 hm.obj_index = (u16)iterator; in hpi_subsys_get_adapter() 128 hpi_send_recv(&hm, &hr); in hpi_subsys_get_adapter() [all …]
|
D | hpioctl.c | 82 struct hpi_message hm; in asihpi_hpi_release() local 87 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in asihpi_hpi_release() 89 hpi_send_recv_ex(&hm, &hr, file); in asihpi_hpi_release() 98 union hpi_message_buffer_v1 *hm; in asihpi_hpi_ioctl() local 108 hm = kmalloc(sizeof(*hm), GFP_KERNEL); in asihpi_hpi_ioctl() 110 if (!hm || !hr) { in asihpi_hpi_ioctl() 129 if (msg_size > sizeof(*hm)) in asihpi_hpi_ioctl() 130 msg_size = sizeof(*hm); in asihpi_hpi_ioctl() 134 uncopied_bytes = copy_from_user(hm, puhm, msg_size); in asihpi_hpi_ioctl() 142 hm->h.size = msg_size; in asihpi_hpi_ioctl() [all …]
|
D | hpimsgx.c | 224 struct hpi_message hm; in adapter_message() local 226 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message() 228 hm.adapter_index = phm->adapter_index; in adapter_message() 229 hw_entry_point(&hm, &hr); in adapter_message() 385 struct hpi_message hm; in instream_open() local 406 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open() 408 hm.adapter_index = phm->adapter_index; in instream_open() 409 hm.obj_index = phm->obj_index; in instream_open() 410 hw_entry_point(&hm, &hr); in instream_open() 435 struct hpi_message hm; in instream_close() local [all …]
|
D | hpi6000.c | 522 struct hpi_message hm; in create_adapter_obj() local 528 memset(&hm, 0, sizeof(hm)); in create_adapter_obj() 529 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj() 530 hm.size = sizeof(struct hpi_message); in create_adapter_obj() 531 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj() 532 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj() 533 hm.adapter_index = 0; in create_adapter_obj() 539 error = hpi6000_message_response_sequence(pao, 0, &hm, &hr0); in create_adapter_obj() 545 error = hpi6000_message_response_sequence(pao, 1, &hm, in create_adapter_obj() 1744 struct hpi_message hm; in hw_message() local [all …]
|
D | asihpi.c | 163 struct hpi_message hm; in hpi_stream_host_buffer_attach() local 169 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach() 174 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach() 175 &hm.obj_index); in hpi_stream_host_buffer_attach() 177 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach() 178 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach() 179 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach() 180 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach() 186 struct hpi_message hm; in hpi_stream_host_buffer_detach() local 193 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach() [all …]
|
D | hpi6205.c | 625 struct hpi_message hm; in create_adapter_obj() local 629 memset(&hm, 0, sizeof(hm)); in create_adapter_obj() 631 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj() 632 hm.size = sizeof(hm); in create_adapter_obj() 633 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj() 634 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj() 639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj()
|