Lines Matching refs:hm
173 struct hpi_message hm; in hpi_stream_host_buffer_attach() local
179 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach()
184 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach()
185 &hm.obj_index); in hpi_stream_host_buffer_attach()
187 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach()
188 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach()
189 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach()
190 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach()
196 struct hpi_message hm; in hpi_stream_host_buffer_detach() local
203 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach()
208 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_detach()
209 &hm.obj_index); in hpi_stream_host_buffer_detach()
210 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; in hpi_stream_host_buffer_detach()
211 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_detach()