Lines Matching full:uv
10 * Cross Partition Communication (XPC) uv-based functions.
26 #include <asm/uv/uv_hub.h>
27 #include <asm/uv/bios.h>
28 #include <asm/uv/uv_irq.h>
57 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
74 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
314 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
320 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
321 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
337 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
358 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv()
609 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv()
694 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv()
734 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv()
735 rp->sn.uv.heartbeat_gpa = uv_gpa(xpc_heartbeat_uv); in xpc_setup_rsvd_page_uv()
736 rp->sn.uv.activate_gru_mq_desc_gpa = in xpc_setup_rsvd_page_uv()
792 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_get_remote_heartbeat_uv()
821 part->sn.uv.heartbeat_gpa = remote_rp->sn.uv.heartbeat_gpa; in xpc_request_partition_activation_uv()
822 part->sn.uv.activate_gru_mq_desc_gpa = in xpc_request_partition_activation_uv()
823 remote_rp->sn.uv.activate_gru_mq_desc_gpa; in xpc_request_partition_activation_uv()
829 if (part->sn.uv.remote_act_state == XPC_P_AS_INACTIVE) { in xpc_request_partition_activation_uv()
831 msg.heartbeat_gpa = xpc_rsvd_page->sn.uv.heartbeat_gpa; in xpc_request_partition_activation_uv()
833 xpc_rsvd_page->sn.uv.activate_gru_mq_desc_gpa; in xpc_request_partition_activation_uv()
857 if (part->sn.uv.remote_act_state != XPC_P_AS_DEACTIVATING && in xpc_request_partition_deactivation_uv()
858 part->sn.uv.remote_act_state != XPC_P_AS_INACTIVE) { in xpc_request_partition_deactivation_uv()
928 * Setup the channel structures that are uv specific.
937 ch_uv = &part->channels[ch_number].sn.uv; in xpc_setup_ch_structures_uv()
947 * Teardown the channel structures that are uv specific.
969 while (!((part->sn.uv.remote_act_state == XPC_P_AS_ACTIVATING) || in xpc_make_first_contact_uv()
970 (part->sn.uv.remote_act_state == XPC_P_AS_ACTIVE))) { in xpc_make_first_contact_uv()
1003 struct xpc_channel_uv *ch_uv = &ch->sn.uv; in xpc_allocate_send_msg_slot_uv()
1037 struct xpc_channel_uv *ch_uv = &ch->sn.uv; in xpc_allocate_recv_msg_slot_uv()
1074 struct xpc_channel_uv *ch_uv = &ch->sn.uv; in xpc_setup_msg_structures_uv()
1103 struct xpc_channel_uv *ch_uv = &ch->sn.uv; in xpc_teardown_msg_structures_uv()
1190 struct xpc_channel_uv *ch_uv = &ch->sn.uv; in xpc_save_remote_msgqueue_pa_uv()
1218 struct xpc_partition_uv *part_uv = &xpc_partitions[partid].sn.uv; in xpc_assume_partition_disengaged_uv()
1229 return (xpc_partitions[partid].sn.uv.flags & XPC_P_ENGAGED_UV) != 0; in xpc_partition_engaged_uv()
1239 part_uv = &xpc_partitions[partid].sn.uv; in xpc_any_partition_engaged_uv()
1255 entry = xpc_get_fifo_entry_uv(&ch->sn.uv.msg_slot_free_list); in xpc_allocate_msg_slot_uv()
1276 xpc_put_fifo_entry_uv(&ch->sn.uv.msg_slot_free_list, &msg_slot->next); in xpc_free_msg_slot_uv()
1313 msg_slot = &ch->sn.uv.send_msg_slots[entry]; in xpc_handle_notify_mq_ack_uv()
1328 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_notify_mq_msg_uv()
1368 ch_uv = &ch->sn.uv; in xpc_handle_notify_mq_msg_uv()
1425 return xpc_n_of_fifo_entries_uv(&ch->sn.uv.recv_msg_list); in xpc_n_of_deliverable_payloads_uv()
1500 ret = xpc_send_gru_msg(ch->sn.uv.cached_notify_gru_mq_desc, msg, in xpc_send_payload_uv()
1552 msg_slot = &ch->sn.uv.send_msg_slots[entry]; in xpc_notify_senders_of_disconnect_uv()
1569 entry = xpc_get_fifo_entry_uv(&ch->sn.uv.recv_msg_list); in xpc_get_deliverable_payload_uv()
1592 ret = xpc_send_gru_msg(ch->sn.uv.cached_notify_gru_mq_desc, msg, in xpc_received_payload_uv()