Home
last modified time | relevance | path

Searched refs:mmio_ctrl (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c56 struct ntb_ctrl_regs __iomem *mmio_ctrl; member
898 sndev->mmio_ctrl = (void * __iomem)sndev->mmio_ntb + in switchtec_ntb_init_sndev()
903 sndev->mmio_self_ctrl = &sndev->mmio_ctrl[sndev->self_partition]; in switchtec_ntb_init_sndev()
904 sndev->mmio_peer_ctrl = &sndev->mmio_ctrl[sndev->peer_partition]; in switchtec_ntb_init_sndev()
951 struct ntb_ctrl_regs __iomem *mmio_ctrl, in config_req_id_table() argument
958 if (ioread16(&mmio_ctrl->req_id_table_size) < count) { in config_req_id_table()
964 rc = switchtec_ntb_part_op(sndev, mmio_ctrl, in config_req_id_table()
972 &mmio_ctrl->req_id_table[i]); in config_req_id_table()
974 proxy_id = ioread32(&mmio_ctrl->req_id_table[i]); in config_req_id_table()
982 rc = switchtec_ntb_part_op(sndev, mmio_ctrl, in config_req_id_table()
[all …]
/linux-6.1.9/drivers/pci/
Dquirks.c5599 struct ntb_ctrl_regs __iomem *mmio_ctrl; in quirk_switchtec_ntb_dma_alias() local
5619 mmio_ctrl = (void __iomem *) mmio_ntb + SWITCHTEC_NTB_REG_CTRL_OFFSET; in quirk_switchtec_ntb_dma_alias()
5637 mmio_peer_ctrl = &mmio_ctrl[pp]; in quirk_switchtec_ntb_dma_alias()