Home
last modified time | relevance | path

Searched refs:msg_addr (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c145 void *msg_addr, in ishtp_cl_release_dma_acked_mem() argument
153 if ((msg_addr - dev->ishtp_host_dma_tx_buf) % DMA_SLOT_SIZE) { in ishtp_cl_release_dma_acked_mem()
163 i = (msg_addr - dev->ishtp_host_dma_tx_buf) / DMA_SLOT_SIZE; in ishtp_cl_release_dma_acked_mem()
Dclient.c749 unsigned char *msg_addr; in ishtp_cl_send_msg_dma() local
767 msg_addr = ishtp_cl_get_dma_send_buf(dev, cl_msg->send_buf.size); in ishtp_cl_send_msg_dma()
768 if (!msg_addr) { in ishtp_cl_send_msg_dma()
780 cl->last_dma_addr = msg_addr; in ishtp_cl_send_msg_dma()
784 memcpy(msg_addr, cl_msg->send_buf.data, cl_msg->send_buf.size); in ishtp_cl_send_msg_dma()
792 clflush_cache_range(msg_addr, cl_msg->send_buf.size); in ishtp_cl_send_msg_dma()
795 off = msg_addr - (unsigned char *)dev->ishtp_host_dma_tx_buf; in ishtp_cl_send_msg_dma()
801 dma_xfer.msg_addr = dev->ishtp_host_dma_tx_buf_phys + off; in ishtp_cl_send_msg_dma()
Dclient.h135 void *msg_addr,
Dhbm.h225 uint64_t msg_addr; member
Dhbm.c451 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys; in ishtp_hbm_dma_xfer_ack()
516 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys; in ishtp_hbm_dma_xfer()
/linux-6.6.21/drivers/irqchip/
Dirq-alpine-msi.c95 phys_addr_t msg_addr = priv->addr; in alpine_msix_compose_msi_msg() local
97 msg_addr |= (data->hwirq << 3); in alpine_msix_compose_msi_msg()
99 msg->address_hi = upper_32_bits(msg_addr); in alpine_msix_compose_msi_msg()
100 msg->address_lo = lower_32_bits(msg_addr); in alpine_msix_compose_msi_msg()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-designware-ep.c504 u64 msg_addr; in dw_pcie_ep_raise_msi_irq() local
531 msg_addr = ((u64)msg_addr_upper) << 32 | in dw_pcie_ep_raise_msi_irq()
533 ret = dw_pcie_ep_map_addr(epc, func_no, 0, ep->msi_mem_phys, msg_addr, in dw_pcie_ep_raise_msi_irq()
576 u64 msg_addr; in dw_pcie_ep_raise_msix_irq() local
592 msg_addr = msix_tbl[(interrupt_num - 1)].msg_addr; in dw_pcie_ep_raise_msix_irq()
601 aligned_offset = msg_addr & (epc->mem->window.page_size - 1); in dw_pcie_ep_raise_msix_irq()
602 msg_addr = ALIGN_DOWN(msg_addr, epc->mem->window.page_size); in dw_pcie_ep_raise_msix_irq()
603 ret = dw_pcie_ep_map_addr(epc, func_no, 0, ep->msi_mem_phys, msg_addr, in dw_pcie_ep_raise_msix_irq()
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dvf.c303 u8 *msg_addr = (u8 *)(&msgbuf[1]); in e1000_rar_set_vf() local
308 memcpy(msg_addr, addr, ETH_ALEN); in e1000_rar_set_vf()
343 u8 *msg_addr = (u8 *)(&msgbuf[1]); in e1000_set_uc_addr_vf() local
352 memcpy(msg_addr, addr, ETH_ALEN); in e1000_set_uc_addr_vf()
/linux-6.6.21/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c492 u64 msg_addr; in cdns_pcie_ep_send_msix_irq() local
513 msg_addr = msix_tbl[(interrupt_num - 1)].msg_addr; in cdns_pcie_ep_send_msix_irq()
517 if (ep->irq_pci_addr != (msg_addr & ~pci_addr_mask) || in cdns_pcie_ep_send_msix_irq()
523 msg_addr & ~pci_addr_mask, in cdns_pcie_ep_send_msix_irq()
525 ep->irq_pci_addr = (msg_addr & ~pci_addr_mask); in cdns_pcie_ep_send_msix_irq()
528 writel(msg_data, ep->irq_cpu_addr + (msg_addr & pci_addr_mask)); in cdns_pcie_ep_send_msix_irq()
/linux-6.6.21/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c201 phys_addr_t msg_addr = pcie->pcie_reg_base; in mobiveil_pcie_enable_msi() local
205 msi->msi_pages_phys = (phys_addr_t)msg_addr; in mobiveil_pcie_enable_msi()
207 writel_relaxed(lower_32_bits(msg_addr), in mobiveil_pcie_enable_msi()
209 writel_relaxed(upper_32_bits(msg_addr), in mobiveil_pcie_enable_msi()
/linux-6.6.21/drivers/pci/controller/
Dpcie-mediatek-gen3.c111 phys_addr_t msg_addr; member
316 msi_set->msg_addr = pcie->reg_base + PCIE_MSI_SET_BASE_REG + in mtk_pcie_enable_msi()
320 writel_relaxed(lower_32_bits(msi_set->msg_addr), msi_set->base); in mtk_pcie_enable_msi()
321 writel_relaxed(upper_32_bits(msi_set->msg_addr), in mtk_pcie_enable_msi()
466 msg->address_hi = upper_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
467 msg->address_lo = lower_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
Dpcie-mediatek.c521 phys_addr_t msg_addr; in mtk_pcie_enable_msi() local
523 msg_addr = virt_to_phys(port->base + PCIE_MSI_VECTOR); in mtk_pcie_enable_msi()
524 val = lower_32_bits(msg_addr); in mtk_pcie_enable_msi()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dvf.c253 u8 *msg_addr = (u8 *)(&msgbuf[1]); in ixgbevf_set_uc_addr_vf() local
267 ether_addr_copy(msg_addr, addr); in ixgbevf_set_uc_addr_vf()
436 u8 *msg_addr = (u8 *)(&msgbuf[1]); in ixgbevf_set_rar_vf() local
441 ether_addr_copy(msg_addr, addr); in ixgbevf_set_rar_vf()
/linux-6.6.21/include/linux/
Dpci-epf.h193 u64 msg_addr; member
/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-ntb.c502 u64 msg_addr; in epf_ntb_configure_msix() local
524 msg_addr = ALIGN_DOWN(msix_tbl[i].msg_addr, align); in epf_ntb_configure_msix()
526 ret = pci_epc_map_addr(epc, func_no, vfunc_no, phys_addr, msg_addr, in epf_ntb_configure_msix()
536 peer_ctrl->db_offset[i] = msix_tbl[i].msg_addr & (align - 1); in epf_ntb_configure_msix()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c4085 &data->vf_pf_channel.msg_addr); in qed_sriov_eqe_event()
Dqed_hsi.h1001 struct regpair msg_addr; member