Lines Matching refs:bau_control
121 static DEFINE_PER_CPU(struct bau_control, bau_control);
128 struct bau_control *bcp; in set_bau_on()
136 bcp = &per_cpu(bau_control, cpu); in set_bau_on()
147 struct bau_control *bcp; in set_bau_off()
151 bcp = &per_cpu(bau_control, cpu); in set_bau_off()
195 static void reply_to_message(struct msg_desc *mdp, struct bau_control *bcp, in reply_to_message()
214 struct bau_control *bcp) in bau_process_retry_msg()
270 static void bau_process_message(struct msg_desc *mdp, struct bau_control *bcp, in bau_process_message()
278 struct bau_control *smaster = bcp->socket_master; in bau_process_message()
335 static int pnode_to_first_cpu(int pnode, struct bau_control *smaster) in pnode_to_first_cpu()
361 struct bau_control *bcp = &per_cpu(bau_control, smp_processor_id()); in do_reset()
407 static void reset_with_ipi(struct pnmask *distribution, struct bau_control *bcp) in reset_with_ipi()
414 struct bau_control *smaster = bcp->socket_master; in reset_with_ipi()
486 static inline void quiesce_local_uvhub(struct bau_control *hmaster) in quiesce_local_uvhub()
494 static inline void end_uvhub_quiesce(struct bau_control *hmaster) in end_uvhub_quiesce()
515 struct bau_control *bcp, long try) in uv1_wait_completion()
583 int normal_busy(struct bau_control *bcp) in normal_busy()
600 int handle_uv2_busy(struct bau_control *bcp) in handle_uv2_busy()
611 struct bau_control *bcp, long try) in uv2_3_wait_completion()
680 static int wait_completion(struct bau_desc *bau_desc, struct bau_control *bcp, long try) in wait_completion()
706 struct bau_control *bcp, in destination_plugged()
707 struct bau_control *hmaster, struct ptc_stats *stat) in destination_plugged()
729 struct bau_control *bcp, struct bau_control *hmaster, in destination_timeout()
754 static void disable_for_period(struct bau_control *bcp, struct ptc_stats *stat) in disable_for_period()
757 struct bau_control *tbcp; in disable_for_period()
758 struct bau_control *hmaster; in disable_for_period()
767 tbcp = &per_cpu(bau_control, tcpu); in disable_for_period()
778 static void count_max_concurr(int stat, struct bau_control *bcp, in count_max_concurr()
779 struct bau_control *hmaster) in count_max_concurr()
793 struct bau_control *bcp, struct ptc_stats *stat, in record_send_stats()
836 static void uv1_throttle(struct bau_control *hmaster, struct ptc_stats *stat) in uv1_throttle()
854 struct bau_control *bcp, struct bau_control *hmaster, in handle_cmplt()
873 int uv_flush_send_and_wait(struct cpumask *flush_mask, struct bau_control *bcp, in uv_flush_send_and_wait()
884 struct bau_control *hmaster = bcp->uvhub_master; in uv_flush_send_and_wait()
964 static int check_enable(struct bau_control *bcp, struct ptc_stats *stat) in check_enable()
967 struct bau_control *tbcp; in check_enable()
968 struct bau_control *hmaster; in check_enable()
975 tbcp = &per_cpu(bau_control, tcpu); in check_enable()
1024 static int set_distrib_bits(struct cpumask *flush_mask, struct bau_control *bcp, in set_distrib_bits()
1090 struct bau_control *bcp; in uv_flush_tlb_others()
1094 bcp = &per_cpu(bau_control, cpu); in uv_flush_tlb_others()
1160 struct bau_control *bcp) in find_another_by_swack()
1183 void process_uv2_message(struct msg_desc *mdp, struct bau_control *bcp) in process_uv2_message()
1247 struct bau_control *bcp; in uv_bau_message_interrupt()
1254 bcp = &per_cpu(bau_control, smp_processor_id()); in uv_bau_message_interrupt()
1365 struct bau_control *bcp; in ptc_seq_show()
1384 bcp = &per_cpu(bau_control, cpu); in ptc_seq_show()
1524 static int parse_tunables_write(struct bau_control *bcp, char *instr, in parse_tunables_write()
1589 struct bau_control *bcp; in tunables_write()
1599 bcp = &per_cpu(bau_control, cpu); in tunables_write()
1606 bcp = &per_cpu(bau_control, cpu); in tunables_write()
1701 struct bau_control *bcp; in activation_descriptor_init()
1761 bcp = &per_cpu(bau_control, cpu); in activation_descriptor_init()
1783 struct bau_control *bcp; in pq_init()
1797 bcp = &per_cpu(bau_control, cpu); in pq_init()
1883 struct bau_control *bcp; in init_per_cpu_tunables()
1886 bcp = &per_cpu(bau_control, cpu); in init_per_cpu_tunables()
1921 struct bau_control *bcp; in get_cpu_topology()
1926 bcp = &per_cpu(bau_control, cpu); in get_cpu_topology()
1928 memset(bcp, 0, sizeof(struct bau_control)); in get_cpu_topology()
1968 static void make_per_cpu_thp(struct bau_control *smaster) in make_per_cpu_thp()
1984 static void make_per_hub_cpumask(struct bau_control *hmaster) in make_per_hub_cpumask()
1997 struct bau_control **smasterp, in scan_sock()
1998 struct bau_control **hmasterp) in scan_sock()
2002 struct bau_control *bcp; in scan_sock()
2006 bcp = &per_cpu(bau_control, cpu); in scan_sock()
2051 struct bau_control *smaster = NULL; in summarize_uvhub_sockets()
2052 struct bau_control *hmaster = NULL; in summarize_uvhub_sockets()