Lines Matching refs:mmio_self_dbmsg
60 struct ntb_dbmsg_regs __iomem *mmio_self_dbmsg; member
630 ret = ioread64(&sndev->mmio_self_dbmsg->idb) >> sndev->db_shift; in switchtec_ntb_db_read()
639 iowrite64(db_bits << sndev->db_shift, &sndev->mmio_self_dbmsg->idb); in switchtec_ntb_db_clear()
655 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_set_mask()
673 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_clear_mask()
905 sndev->mmio_self_dbmsg = &sndev->mmio_dbmsg[sndev->self_partition]; in switchtec_ntb_init_sndev()
906 sndev->mmio_peer_dbmsg = sndev->mmio_self_dbmsg; in switchtec_ntb_init_sndev()
1236 if (sndev->mmio_peer_dbmsg != sndev->mmio_self_dbmsg) { in switchtec_ntb_init_db()
1250 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_init_db()
1263 for (i = 0; i < ARRAY_SIZE(sndev->mmio_self_dbmsg->imsg); i++) { in switchtec_ntb_init_msgs()
1269 iowrite32(msg_map, &sndev->mmio_self_dbmsg->msg_map); in switchtec_ntb_init_msgs()
1271 for (i = 0; i < ARRAY_SIZE(sndev->mmio_self_dbmsg->imsg); i++) in switchtec_ntb_init_msgs()
1273 &sndev->mmio_self_dbmsg->imsg[i]); in switchtec_ntb_init_msgs()
1389 for (i = 0; i < ARRAY_SIZE(sndev->mmio_self_dbmsg->imsg); i++) { in switchtec_ntb_message_isr()
1390 u64 msg = ioread64(&sndev->mmio_self_dbmsg->imsg[i]); in switchtec_ntb_message_isr()
1395 iowrite8(1, &sndev->mmio_self_dbmsg->imsg[i].status); in switchtec_ntb_message_isr()
1412 int idb_vecs = sizeof(sndev->mmio_self_dbmsg->idb_vec_map); in switchtec_ntb_init_db_msg_irq()
1427 &sndev->mmio_self_dbmsg->idb_vec_map[i]); in switchtec_ntb_init_db_msg_irq()
1431 &sndev->mmio_self_dbmsg->idb_vec_map[i]); in switchtec_ntb_init_db_msg_irq()