Lines Matching refs:self_partition
49 int self_partition; member
232 iowrite64(sndev->self_partition, &ctl->bar_entry[bar].xlate_addr); in switchtec_ntb_mw_clr_direct()
257 iowrite64(sndev->self_partition | addr, in switchtec_ntb_mw_set_direct()
266 iowrite64((NTB_CTRL_LUT_EN | (sndev->self_partition << 1) | addr), in switchtec_ntb_mw_set_lut()
446 switchtec_ntb_part_link_speed(sndev, sndev->self_partition, in switchtec_ntb_set_link_speed()
471 int m = i | sndev->self_partition << 2; in crosslink_init_dbmsgs()
853 sndev->self_partition = sndev->stdev->partition; in switchtec_ntb_init_sndev()
857 self = sndev->self_partition; in switchtec_ntb_init_sndev()
864 part_map &= ~(1 << sndev->self_partition); in switchtec_ntb_init_sndev()
896 sndev->self_partition, sndev->stdev->partition_count); in switchtec_ntb_init_sndev()
903 sndev->mmio_self_ctrl = &sndev->mmio_ctrl[sndev->self_partition]; in switchtec_ntb_init_sndev()
905 sndev->mmio_self_dbmsg = &sndev->mmio_dbmsg[sndev->self_partition]; in switchtec_ntb_init_sndev()
1240 } else if (sndev->self_partition < sndev->peer_partition) { in switchtec_ntb_init_db()
1340 sndev->self_partition, in switchtec_ntb_init_shared_mw()
1468 sndev->self_partition, in switchtec_ntb_reinit_peer()