• Home
  • Raw
  • Download

Lines Matching refs:u

247 			} else if (phm->u.c.attribute == HPI_METER_PEAK) {  in control_message()
471 ao.pci = *phm->u.s.resource.r.pci; in subsys_create_adapter()
481 phr->u.s.data = os_error_code; in subsys_create_adapter()
485 phr->u.s.adapter_type = ao.type; in subsys_create_adapter()
486 phr->u.s.adapter_index = ao.index; in subsys_create_adapter()
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()
733 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_allocate()
744 phm->u.d.u.buffer.buffer_size = in outstream_host_buffer_allocate()
745 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); in outstream_host_buffer_allocate()
748 phr->u.d.u.stream_info.data_available = in outstream_host_buffer_allocate()
750 phr->u.d.u.stream_info.buffer_size = in outstream_host_buffer_allocate()
751 phm->u.d.u.buffer.buffer_size; in outstream_host_buffer_allocate()
754 phm->u.d.u.buffer.buffer_size) { in outstream_host_buffer_allocate()
765 [phm->obj_index], phm->u.d.u.buffer.buffer_size, in outstream_host_buffer_allocate()
776 &phm->u.d.u.buffer.pci_address); in outstream_host_buffer_allocate()
781 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_host_buffer_allocate()
782 phm->u.d.u.buffer.pci_address; in outstream_host_buffer_allocate()
800 if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. in outstream_host_buffer_allocate()
804 phm->u.d.u.buffer.buffer_size); in outstream_host_buffer_allocate()
809 phm->u.d.u.buffer.buffer_size; in outstream_host_buffer_allocate()
816 status->size_in_bytes = phm->u.d.u.buffer.buffer_size; in outstream_host_buffer_allocate()
851 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; in outstream_host_buffer_get_info()
852 phr->u.d.u.hostbuffer_info.p_status = status; in outstream_host_buffer_get_info()
864 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_free()
910 if (space_available < phm->u.d.u.data.data_size) { in outstream_write()
917 if (phm->u.d.u.data.pb_data in outstream_write()
922 u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; in outstream_write()
934 min(phm->u.d.u.data.data_size, in outstream_write()
943 phm->u.d.u.data.data_size - l_first_write); in outstream_write()
963 status->host_index += phm->u.d.u.data.data_size; in outstream_write()
982 phr->u.d.u.stream_info.state = (u16)status->stream_state; in outstream_get_info()
983 phr->u.d.u.stream_info.samples_transferred = in outstream_get_info()
985 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; in outstream_get_info()
986 phr->u.d.u.stream_info.data_available = in outstream_get_info()
988 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_get_info()
1019 u32 command = phm->u.d.u.buffer.command; in instream_host_buffer_allocate()
1028 phm->u.d.u.buffer.buffer_size = in instream_host_buffer_allocate()
1029 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); in instream_host_buffer_allocate()
1030 phr->u.d.u.stream_info.data_available = in instream_host_buffer_allocate()
1032 phr->u.d.u.stream_info.buffer_size = in instream_host_buffer_allocate()
1033 phm->u.d.u.buffer.buffer_size; in instream_host_buffer_allocate()
1036 phm->u.d.u.buffer.buffer_size) { in instream_host_buffer_allocate()
1047 obj_index], phm->u.d.u.buffer.buffer_size, in instream_host_buffer_allocate()
1058 &phm->u.d.u.buffer.pci_address); in instream_host_buffer_allocate()
1061 phr->u.d.u.stream_info.auxiliary_data_available = in instream_host_buffer_allocate()
1062 phm->u.d.u.buffer.pci_address; in instream_host_buffer_allocate()
1076 if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. in instream_host_buffer_allocate()
1080 phm->u.d.u.buffer.buffer_size); in instream_host_buffer_allocate()
1086 phm->u.d.u.buffer.buffer_size; in instream_host_buffer_allocate()
1093 status->size_in_bytes = phm->u.d.u.buffer.buffer_size; in instream_host_buffer_allocate()
1128 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; in instream_host_buffer_get_info()
1129 phr->u.d.u.hostbuffer_info.p_status = status; in instream_host_buffer_get_info()
1141 u32 command = phm->u.d.u.buffer.command; in instream_host_buffer_free()
1185 u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; in instream_read()
1195 if (data_available < phm->u.d.u.data.data_size) { in instream_read()
1212 min(phm->u.d.u.data.data_size, in instream_read()
1222 phm->u.d.u.data.data_size - l_first_read); in instream_read()
1224 status->host_index += phm->u.d.u.data.data_size; in instream_read()
1242 phr->u.d.u.stream_info.state = (u16)status->stream_state; in instream_get_info()
1243 phr->u.d.u.stream_info.samples_transferred = in instream_get_info()
1245 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; in instream_get_info()
1246 phr->u.d.u.stream_info.data_available = in instream_get_info()
1248 phr->u.d.u.stream_info.auxiliary_data_available = in instream_get_info()
2011 memcpy((void *)&interface->u.b_data[0], in hpi6205_transfer_data()
2034 (void *)&interface->u.b_data[0], this_copy); in hpi6205_transfer_data()
2093 if (phm->size > sizeof(interface->u.message_buffer)) { in message_response_sequence()
2095 phr->specific_error = sizeof(interface->u.message_buffer); in message_response_sequence()
2099 sizeof(interface->u.message_buffer)); in message_response_sequence()
2111 memcpy(&interface->u.message_buffer, phm, phm->size); in message_response_sequence()
2131 if (interface->u.response_buffer.response.size <= phr->size) in message_response_sequence()
2132 memcpy(phr, &interface->u.response_buffer, in message_response_sequence()
2133 interface->u.response_buffer.response.size); in message_response_sequence()
2137 interface->u.response_buffer.response.size, in message_response_sequence()
2139 memcpy(phr, &interface->u.response_buffer, in message_response_sequence()
2143 interface->u.response_buffer.response.size; in message_response_sequence()
2202 err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, in hw_message()
2203 phm->u.d.u.data.data_size, H620_HIF_SEND_DATA); in hw_message()
2208 err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, in hw_message()
2209 phm->u.d.u.data.data_size, H620_HIF_GET_DATA); in hw_message()