• Home
  • Raw
  • Download

Lines Matching refs:cpu

61 	u32 cpu=dev->id;						\
62 return sprintf(buf, "%llx\n", name[cpu]); \
70 unsigned int cpu=dev->id; \
71 name[cpu] = simple_strtoull(buf, NULL, 16); \
84 unsigned int cpu=dev->id; in show() local
88 printk(KERN_DEBUG "pal_mc_err_inject for cpu%d:\n", cpu); in show()
89 printk(KERN_DEBUG "err_type_info=%llx,\n", err_type_info[cpu]); in show()
90 printk(KERN_DEBUG "err_struct_info=%llx,\n", err_struct_info[cpu]); in show()
92 err_data_buffer[cpu].data1, in show()
93 err_data_buffer[cpu].data2, in show()
94 err_data_buffer[cpu].data3); in show()
100 status[cpu]=ia64_pal_mc_error_inject_phys(err_type_info[cpu], in show()
101 err_struct_info[cpu], in show()
102 ia64_tpa(&err_data_buffer[cpu]), in show()
103 &capabilities[cpu], in show()
104 &resources[cpu]); in show()
107 status[cpu]=ia64_pal_mc_error_inject_virt(err_type_info[cpu], in show()
108 err_struct_info[cpu], in show()
109 ia64_tpa(&err_data_buffer[cpu]), in show()
110 &capabilities[cpu], in show()
111 &resources[cpu]); in show()
114 status[cpu] = -EINVAL; in show()
119 printk(KERN_DEBUG "Returns: status=%d,\n", (int)status[cpu]); in show()
120 printk(KERN_DEBUG "capabilities=%llx,\n", capabilities[cpu]); in show()
121 printk(KERN_DEBUG "resources=%llx\n", resources[cpu]); in show()
133 unsigned int cpu=dev->id; in store() local
134 return sprintf(buf, "%llx\n", phys_addr[cpu]); in store()
141 unsigned int cpu=dev->id; in store_virtual_to_phys() local
153 phys_addr[cpu] = ia64_tpa(virt_addr); in store_virtual_to_phys()
164 unsigned int cpu=dev->id; in store() local
167 err_data_buffer[cpu].data1, in store()
168 err_data_buffer[cpu].data2, in store()
169 err_data_buffer[cpu].data3); in store()
177 unsigned int cpu=dev->id; in store_err_data_buffer() local
182 err_data_buffer[cpu].data1, in store_err_data_buffer()
183 err_data_buffer[cpu].data2, in store_err_data_buffer()
184 err_data_buffer[cpu].data3, in store_err_data_buffer()
185 cpu); in store_err_data_buffer()
188 &err_data_buffer[cpu].data1, in store_err_data_buffer()
189 &err_data_buffer[cpu].data2, in store_err_data_buffer()
190 &err_data_buffer[cpu].data3); in store_err_data_buffer()
227 static int err_inject_add_dev(unsigned int cpu) in err_inject_add_dev() argument
229 struct device *sys_dev = get_cpu_device(cpu); in err_inject_add_dev()
234 static int err_inject_remove_dev(unsigned int cpu) in err_inject_remove_dev() argument
236 struct device *sys_dev = get_cpu_device(cpu); in err_inject_remove_dev()