| /linux/sound/pci/asihpi/ |
| H A D | hpifunc.c | 99 struct hpi_message hm; 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() 111 struct hpi_message hm; 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() 123 struct hpi_message hm; in hpi_subsys_get_adapter() local 125 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_adapter() 127 hm.obj_index = (u16)iterator; in hpi_subsys_get_adapter() 128 hpi_send_recv(&hm, &hr); in hpi_subsys_get_adapter() [all …]
|
| H A D | hpioctl.c | 82 struct hpi_message hm; 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() 98 union hpi_message_buffer_v1 *hm; in asihpi_hpi_ioctl() local 108 hm = kmalloc_obj(*hm); in asihpi_hpi_ioctl() 110 if (!hm || !hr) { in asihpi_hpi_ioctl() 129 if (msg_size > sizeof(*hm)) in asihpi_hpi_ioctl() 130 msg_size = sizeof(*hm); in asihpi_hpi_ioctl() 132 /* printk(KERN_INFO "message size %d\n", hm in asihpi_hpi_ioctl() 352 struct hpi_message hm; asihpi_adapter_probe() local 531 struct hpi_message hm; asihpi_adapter_remove() local 574 struct hpi_message hm; asihpi_init() local 588 struct hpi_message hm; asihpi_exit() local [all...] |
| H A D | hpimsgx.c | 219 struct hpi_message hm; in adapter_message() local 221 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message() 223 hm.adapter_index = phm->adapter_index; in adapter_message() 224 hw_entry_point(&hm, &hr); in adapter_message() 380 struct hpi_message hm; in instream_open() local 401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open() 403 hm.adapter_index = phm->adapter_index; in instream_open() 404 hm.obj_index = phm->obj_index; in instream_open() 405 hw_entry_point(&hm, &hr); in instream_open() 430 struct hpi_message hm; in instream_close() local [all …]
|
| H A D | hpi6000.c | 522 struct hpi_message hm; in create_adapter_obj() local 528 memset(&hm, 0, sizeof(hm)); in create_adapter_obj() 529 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj() 530 hm.size = sizeof(struct hpi_message); in create_adapter_obj() 531 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj() 532 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj() 533 hm.adapter_index = 0; in create_adapter_obj() 539 error = hpi6000_message_response_sequence(pao, 0, &hm, &hr0); in create_adapter_obj() 550 error = hpi6000_message_response_sequence(pao, 1, &hm, in create_adapter_obj() 1742 struct hpi_message hm; hw_message() local [all...] |
| H A D | asihpi.c | 154 struct hpi_message hm; in hpi_stream_host_buffer_attach() local 160 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach() 165 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach() 166 &hm.obj_index); in hpi_stream_host_buffer_attach() 168 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach() 169 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach() 170 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach() 171 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach() 177 struct hpi_message hm; in hpi_stream_host_buffer_detach() local 184 hpi_init_message_response(&hm, in hpi_stream_host_buffer_detach() [all...] |
| H A D | hpi6205.c | 625 struct hpi_message hm; in create_adapter_obj() local 629 memset(&hm, 0, sizeof(hm)); in create_adapter_obj() 631 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj() 632 hm.size = sizeof(hm); in create_adapter_obj() 633 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj() 634 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj() 639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj()
|
| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | core.c | 705 struct pdsc_host_mem *hm = &pdsc->host_mem_reqs[index]; in pdsc_host_mem_add_one() local 720 hm->size = le32_to_cpu(comp.host_mem.size); in pdsc_host_mem_add_one() 721 hm->tag = le16_to_cpu(comp.host_mem.tag); in pdsc_host_mem_add_one() 723 hm->size, hm->tag); in pdsc_host_mem_add_one() 725 if (!hm->size || hm->size > PDSC_HOST_MEM_MAX_CONTIG) { in pdsc_host_mem_add_one() 727 hm->size, hm->tag); in pdsc_host_mem_add_one() 732 hm->order = get_order(hm->size); in pdsc_host_mem_add_one() 733 hm->pg = alloc_pages(GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN, hm->order); in pdsc_host_mem_add_one() 734 if (!hm->pg) { in pdsc_host_mem_add_one() 736 hm->order, hm->tag); in pdsc_host_mem_add_one() [all …]
|
| H A D | debugfs.c | 185 struct pdsc_host_mem *hm; in host_mem_show() local 199 hm = &pdsc->host_mem_reqs[i]; in host_mem_show() 201 if (!hm->pg) in host_mem_show() 205 hm->tag, hm->size, hm->order, &hm->pa); in host_mem_show()
|
| /linux/fs/xfs/ |
| H A D | xfs_trace.h | 5934 TP_PROTO(const struct xfs_healthmon *hm), 5935 TP_ARGS(hm), 5941 __entry->dev = hm->dev; 5942 __entry->lost_prev = hm->lost_prev_event; 5974 TP_PROTO(const struct xfs_healthmon *hm, const struct iov_iter *iov), 5975 TP_ARGS(hm, iov), 5985 __entry->dev = hm->dev; 5986 __entry->bufsize = hm->bufsize; 5987 __entry->inpos = hm->bufhead; 5988 __entry->outpos = hm->buftail; [all …]
|
| /linux/drivers/input/misc/ |
| H A D | yealink.c | 57 #define _PIC(t, h, hm, n) \ argument 59 .u = { .p = { .name = (n), .a = (h), .m = (hm) } } }
|