Lines Matching refs:obj_index
297 if (phm->obj_index >= HPI_MAX_STREAMS) { in outstream_message()
301 "on adapter index %d\n", phm->obj_index, in outstream_message()
341 if (phm->obj_index >= HPI_MAX_STREAMS) { in instream_message()
345 "on adapter index %d\n", phm->obj_index, in instream_message()
742 phw->outstream_host_buffer_size[phm->obj_index]; in outstream_host_buffer_allocate()
746 if (phw->outstream_host_buffer_size[phm->obj_index] == in outstream_host_buffer_allocate()
753 obj_index])) in outstream_host_buffer_allocate()
755 [phm->obj_index]); in outstream_host_buffer_allocate()
758 [phm->obj_index], phm->u.d.u.buffer.buffer_size, in outstream_host_buffer_allocate()
763 phw->outstream_host_buffer_size[phm->obj_index] = 0; in outstream_host_buffer_allocate()
768 (&phw->outstream_host_buffers[phm->obj_index], in outstream_host_buffer_allocate()
779 [phm->obj_index]); in outstream_host_buffer_allocate()
780 phw->outstream_host_buffer_size[phm->obj_index] = 0; in outstream_host_buffer_allocate()
801 phw->outstream_host_buffer_size[phm->obj_index] = in outstream_host_buffer_allocate()
804 obj_index]; in outstream_host_buffer_allocate()
816 outstream_host_buffers[phm->obj_index])) { in outstream_host_buffer_allocate()
818 [phm->obj_index]); in outstream_host_buffer_allocate()
819 phw->outstream_host_buffer_size[phm->obj_index] = 0; in outstream_host_buffer_allocate()
833 obj_index])) { in outstream_host_buffer_get_info()
835 outstream_host_buffers[phm->obj_index], in outstream_host_buffer_get_info()
841 obj_index]; in outstream_host_buffer_get_info()
859 if (phw->outstream_host_buffer_size[phm->obj_index]) { in outstream_host_buffer_free()
862 phw->outstream_host_buffer_size[phm->obj_index] = 0; in outstream_host_buffer_free()
869 [phm->obj_index]); in outstream_host_buffer_free()
893 if (!phw->outstream_host_buffer_size[phm->obj_index]) { in outstream_write()
900 status = &interface->outstream_host_buffer_status[phm->obj_index]; in outstream_write()
912 obj_index])) { in outstream_write()
918 outstream_host_buffers[phm->obj_index], in outstream_write()
945 if (phw->flag_outstream_just_reset[phm->obj_index]) { in outstream_write()
948 phw->flag_outstream_just_reset[phm->obj_index] = 0; in outstream_write()
966 if (!phw->outstream_host_buffer_size[phm->obj_index]) { in outstream_get_info()
973 status = &interface->outstream_host_buffer_status[phm->obj_index]; in outstream_get_info()
995 phw->flag_outstream_just_reset[phm->obj_index] = 1; in outstream_reset()
1024 phw->instream_host_buffer_size[phm->obj_index]; in instream_host_buffer_allocate()
1028 if (phw->instream_host_buffer_size[phm->obj_index] == in instream_host_buffer_allocate()
1035 obj_index])) in instream_host_buffer_allocate()
1037 [phm->obj_index]); in instream_host_buffer_allocate()
1040 obj_index], phm->u.d.u.buffer.buffer_size, in instream_host_buffer_allocate()
1045 phw->instream_host_buffer_size[phm->obj_index] = 0; in instream_host_buffer_allocate()
1050 (&phw->instream_host_buffers[phm->obj_index], in instream_host_buffer_allocate()
1058 [phm->obj_index]); in instream_host_buffer_allocate()
1059 phw->instream_host_buffer_size[phm->obj_index] = 0; in instream_host_buffer_allocate()
1078 phw->instream_host_buffer_size[phm->obj_index] = in instream_host_buffer_allocate()
1081 obj_index]; in instream_host_buffer_allocate()
1093 instream_host_buffers[phm->obj_index])) { in instream_host_buffer_allocate()
1095 [phm->obj_index]); in instream_host_buffer_allocate()
1096 phw->instream_host_buffer_size[phm->obj_index] = 0; in instream_host_buffer_allocate()
1110 obj_index])) { in instream_host_buffer_get_info()
1112 instream_host_buffers[phm->obj_index], in instream_host_buffer_get_info()
1118 obj_index]; in instream_host_buffer_get_info()
1136 if (phw->instream_host_buffer_size[phm->obj_index]) { in instream_host_buffer_free()
1139 phw->instream_host_buffer_size[phm->obj_index] = 0; in instream_host_buffer_free()
1146 [phm->obj_index]); in instream_host_buffer_free()
1180 if (!phw->instream_host_buffer_size[phm->obj_index]) { in instream_read()
1186 status = &interface->instream_host_buffer_status[phm->obj_index]; in instream_read()
1194 obj_index])) { in instream_read()
1196 instream_host_buffers[phm->obj_index], in instream_read()
1226 if (!phw->instream_host_buffer_size[phm->obj_index]) { in instream_get_info()
1231 status = &interface->instream_host_buffer_status[phm->obj_index]; in instream_get_info()