Lines Matching refs:hm
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()
198 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_detach()
199 &hm.obj_index); in hpi_stream_host_buffer_detach()
200 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; in hpi_stream_host_buffer_detach()
201 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_detach()