Searched refs:hr (Results 1 – 6 of 6) sorted by relevance
/sound/pci/asihpi/ |
D | hpifunc.c | 100 struct hpi_response hr; 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() 105 *pversion_ex = hr.u.s.data; in hpi_subsys_get_version_ex() 106 return hr.error; in hpi_subsys_get_version_ex() 112 struct hpi_response hr; 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() 116 *pn_num_adapters = (int)hr.u.s.num_adapters; in hpi_subsys_get_num_adapters() 117 return hr.error; in hpi_subsys_get_num_adapters() [all …]
|
D | hpioctl.c | 83 struct hpi_response hr; 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() 99 union hpi_response_buffer_v1 *hr; in asihpi_hpi_ioctl() local 109 hr = kzalloc(sizeof(*hr), GFP_KERNEL); in asihpi_hpi_ioctl() 110 if (!hm || !hr) { in asihpi_hpi_ioctl() 155 res_max_size = min_t(size_t, res_max_size, sizeof(*hr)); in asihpi_hpi_ioctl() 161 hr->h.size = sizeof(hr->h); in asihpi_hpi_ioctl() 162 hr->h.error = HPI_ERROR_INVALID_OPERATION; in asihpi_hpi_ioctl() 163 hr->h.function = hm->h.function; in asihpi_hpi_ioctl() [all …]
|
D | hpimsgx.c | 225 struct hpi_response hr; in adapter_message() local 226 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message() 229 hw_entry_point(&hm, &hr); in adapter_message() 386 struct hpi_response hr; in instream_open() local 406 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open() 410 hw_entry_point(&hm, &hr); in instream_open() 413 if (hr.error) { in instream_open() 416 phr->error = hr.error; in instream_open() 436 struct hpi_response hr; in instream_close() local 451 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_close() [all …]
|
D | hpi6205.c | 626 struct hpi_response hr; in create_adapter_obj() local 636 memset(&hr, 0, sizeof(hr)); in create_adapter_obj() 637 hr.size = sizeof(hr); in create_adapter_obj() 639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj() 645 if (hr.error) in create_adapter_obj() 646 return hr.error; in create_adapter_obj() 648 pao->type = hr.u.ax.info.adapter_type; in create_adapter_obj() 649 pao->index = hr.u.ax.info.adapter_index; in create_adapter_obj() 653 hr.u.ax.info.adapter_type, hr.u.ax.info.adapter_index, in create_adapter_obj() 654 hr.u.ax.info.serial_number); in create_adapter_obj()
|
D | asihpi.c | 165 struct hpi_response hr; in hpi_stream_host_buffer_attach() local 170 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach() 181 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach() 182 return hr.error; in hpi_stream_host_buffer_attach() 188 struct hpi_response hr; in hpi_stream_host_buffer_detach() local 194 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach() 202 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_detach() 203 return hr.error; in hpi_stream_host_buffer_detach()
|
/sound/firewire/digi00x/ |
D | amdtp-dot.c | 93 const u8 hr = (hn == 0x9) ? 0x9 : hir[(hio[hn] + off) % 15]; in dot_scrt() local 98 return ((nib[14 + off - len[ln]]) | (hr << 4)); in dot_scrt()
|