/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
H A D | hbm.c | 444 struct ishtp_msg_hdr *ishtp_hdr = in ishtp_hbm_dma_xfer_ack() local 449 for (msg_offs = 0; msg_offs < ishtp_hdr->length; in ishtp_hbm_dma_xfer_ack() 508 struct ishtp_msg_hdr *ishtp_hdr = in ishtp_hbm_dma_xfer() local 513 for (msg_offs = 0; msg_offs < ishtp_hdr->length; in ishtp_hbm_dma_xfer() 533 ishtp_hbm_hdr(&hdr, ishtp_hdr->length); in ishtp_hbm_dma_xfer() 556 struct ishtp_msg_hdr ishtp_hdr; in ishtp_hbm_dispatch() local 652 ishtp_hbm_hdr(&ishtp_hdr, len); in ishtp_hbm_dispatch() 653 ishtp_write_message(dev, &ishtp_hdr, in ishtp_hbm_dispatch() 764 * @ishtp_hdr: received bus message 769 void recv_hbm(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) in recv_hbm() argument 875 recv_fixed_cl_msg(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) recv_fixed_cl_msg() argument 927 struct ishtp_msg_hdr ishtp_hdr; ishtp_send_suspend() local 953 struct ishtp_msg_hdr ishtp_hdr; ishtp_send_resume() local 979 struct ishtp_msg_hdr ishtp_hdr; ishtp_query_subscribers() local [all...] |
H A D | client.c | 642 struct ishtp_msg_hdr ishtp_hdr; in ipc_tx_send() local 682 ishtp_hdr.host_addr = cl->host_client_id; in ipc_tx_send() 683 ishtp_hdr.fw_addr = cl->fw_client_id; in ipc_tx_send() 684 ishtp_hdr.reserved = 0; in ipc_tx_send() 689 ishtp_hdr.length = rem; in ipc_tx_send() 690 ishtp_hdr.msg_complete = 1; in ipc_tx_send() 692 ishtp_write_message(dev, &ishtp_hdr, pmsg); in ipc_tx_send() 699 ishtp_hdr.length = dev->mtu; in ipc_tx_send() 700 ishtp_hdr.msg_complete = 0; in ipc_tx_send() 702 ishtp_write_message(dev, &ishtp_hdr, pms in ipc_tx_send() 827 recv_ishtp_cl_msg(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) recv_ishtp_cl_msg() argument [all...] |
H A D | bus.c | 39 struct ishtp_msg_hdr *ishtp_hdr; in ishtp_recv() local 48 ishtp_hdr = (struct ishtp_msg_hdr *)&msg_hdr; in ishtp_recv() 52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv() 55 (unsigned int)ishtp_hdr->length, msg_hdr); in ishtp_recv() 60 if (!ishtp_hdr->host_addr && !ishtp_hdr->fw_addr) in ishtp_recv() 61 recv_hbm(dev, ishtp_hdr); in ishtp_recv() 63 else if (!ishtp_hdr->host_addr) in ishtp_recv() 64 recv_fixed_cl_msg(dev, ishtp_hdr); in ishtp_recv() 67 recv_ishtp_cl_msg(dev, ishtp_hdr); in ishtp_recv() [all...] |
H A D | hbm.h | 301 void recv_hbm(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr); 303 struct ishtp_msg_hdr *ishtp_hdr);
|
H A D | client.h | 116 struct ishtp_msg_hdr *ishtp_hdr);
|
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/ |
H A D | hbm.c | 444 struct ishtp_msg_hdr *ishtp_hdr = in ishtp_hbm_dma_xfer_ack() local 449 for (msg_offs = 0; msg_offs < ishtp_hdr->length; in ishtp_hbm_dma_xfer_ack() 508 struct ishtp_msg_hdr *ishtp_hdr = in ishtp_hbm_dma_xfer() local 513 for (msg_offs = 0; msg_offs < ishtp_hdr->length; in ishtp_hbm_dma_xfer() 533 ishtp_hbm_hdr(&hdr, ishtp_hdr->length); in ishtp_hbm_dma_xfer() 556 struct ishtp_msg_hdr ishtp_hdr; in ishtp_hbm_dispatch() local 652 ishtp_hbm_hdr(&ishtp_hdr, len); in ishtp_hbm_dispatch() 653 ishtp_write_message(dev, &ishtp_hdr, in ishtp_hbm_dispatch() 764 * @ishtp_hdr: received bus message 769 void recv_hbm(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) in recv_hbm() argument 875 recv_fixed_cl_msg(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) recv_fixed_cl_msg() argument 927 struct ishtp_msg_hdr ishtp_hdr; ishtp_send_suspend() local 953 struct ishtp_msg_hdr ishtp_hdr; ishtp_send_resume() local 979 struct ishtp_msg_hdr ishtp_hdr; ishtp_query_subscribers() local [all...] |
H A D | client.c | 642 struct ishtp_msg_hdr ishtp_hdr; in ipc_tx_send() local 682 ishtp_hdr.host_addr = cl->host_client_id; in ipc_tx_send() 683 ishtp_hdr.fw_addr = cl->fw_client_id; in ipc_tx_send() 684 ishtp_hdr.reserved = 0; in ipc_tx_send() 689 ishtp_hdr.length = rem; in ipc_tx_send() 690 ishtp_hdr.msg_complete = 1; in ipc_tx_send() 692 ishtp_write_message(dev, &ishtp_hdr, pmsg); in ipc_tx_send() 699 ishtp_hdr.length = dev->mtu; in ipc_tx_send() 700 ishtp_hdr.msg_complete = 0; in ipc_tx_send() 702 ishtp_write_message(dev, &ishtp_hdr, pms in ipc_tx_send() 835 recv_ishtp_cl_msg(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr) recv_ishtp_cl_msg() argument [all...] |
H A D | bus.c | 39 struct ishtp_msg_hdr *ishtp_hdr; in ishtp_recv() local 48 ishtp_hdr = (struct ishtp_msg_hdr *)&msg_hdr; in ishtp_recv() 52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv() 55 (unsigned int)ishtp_hdr->length, msg_hdr); in ishtp_recv() 60 if (!ishtp_hdr->host_addr && !ishtp_hdr->fw_addr) in ishtp_recv() 61 recv_hbm(dev, ishtp_hdr); in ishtp_recv() 63 else if (!ishtp_hdr->host_addr) in ishtp_recv() 64 recv_fixed_cl_msg(dev, ishtp_hdr); in ishtp_recv() 67 recv_ishtp_cl_msg(dev, ishtp_hdr); in ishtp_recv() [all...] |
H A D | hbm.h | 302 void recv_hbm(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr); 304 struct ishtp_msg_hdr *ishtp_hdr);
|
H A D | client.h | 116 struct ishtp_msg_hdr *ishtp_hdr);
|