/arch/arm/include/asm/ |
H A D | bL_switcher.h | 43 int bL_switcher_register_notifier(struct notifier_block *nb); 44 int bL_switcher_unregister_notifier(struct notifier_block *nb); 61 static inline int bL_switcher_register_notifier(struct notifier_block *nb) argument 66 static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) argument
|
/arch/powerpc/xmon/ |
H A D | nonstdio.c | 15 static int xmon_write(const void *ptr, int nb) argument 17 return udbg_write(ptr, nb); 91 char *xmon_gets(char *str, int nb) argument 96 for (p = str; p < str + nb - 1; ) {
|
/arch/x86/include/asm/ |
H A D | intel_scu_ipc.h | 55 static inline void intel_scu_notifier_add(struct notifier_block *nb) argument 57 blocking_notifier_chain_register(&intel_scu_notifier, nb); 60 static inline void intel_scu_notifier_remove(struct notifier_block *nb) argument 62 blocking_notifier_chain_unregister(&intel_scu_notifier, nb);
|
H A D | amd_nb.h | 59 struct amd_northbridge *nb; member in struct:amd_northbridge_info 81 return (node < amd_northbridges.num) ? &amd_northbridges.nb[node] : NULL;
|
H A D | mce.h | 117 extern void mce_register_decode_chain(struct notifier_block *nb); 118 extern void mce_unregister_decode_chain(struct notifier_block *nb);
|
/arch/x86/kernel/cpu/ |
H A D | perf_event_amd.c | 209 struct amd_nb *nb = cpuc->amd_nb; local 211 return nb && nb->nb_id != -1; 238 struct amd_nb *nb = cpuc->amd_nb; local 250 if (cmpxchg(nb->owners + i, event, NULL) == event) 296 struct amd_nb *nb = cpuc->amd_nb; local 319 old = cmpxchg(nb->owners + idx, NULL, event); 320 else if (nb->owners[idx] == event) 331 cmpxchg(nb->owners + new, event, NULL); 342 return &nb 347 struct amd_nb *nb; local 385 struct amd_nb *nb; local 422 struct amd_nb *nb = cpuhw->amd_nb; local [all...] |
H A D | intel_cacheinfo.c | 159 struct amd_northbridge *nb; member in struct:_cpuid4_info_regs 305 static void amd_calc_l3_indices(struct amd_northbridge *nb) argument 307 struct amd_l3_cache *l3 = &nb->l3_cache; 311 pci_read_config_dword(nb->misc, 0x1C4, &val); 337 this_leaf->nb = node_to_amd_nb(node); 338 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) 339 amd_calc_l3_indices(this_leaf->nb); 349 int amd_get_l3_disable_slot(struct amd_northbridge *nb, unsigned slot) argument 353 pci_read_config_dword(nb 387 amd_l3_disable_index(struct amd_northbridge *nb, int cpu, unsigned slot, unsigned long idx) argument 427 amd_set_l3_disable_slot(struct amd_northbridge *nb, int cpu, unsigned slot, unsigned long index) argument [all...] |
/arch/x86/kernel/ |
H A D | amd_nb.c | 62 struct amd_northbridge *nb; local 75 nb = kzalloc(i * sizeof(struct amd_northbridge), GFP_KERNEL); 76 if (!nb) 79 amd_northbridges.nb = nb; 187 struct amd_northbridge *nb = node_to_amd_nb(amd_get_nb_id(cpu)); local 196 pci_read_config_dword(nb->link, 0x1d4, &reset); 197 pci_read_config_dword(nb->misc, 0x1b8, &ban); 203 pci_read_config_dword(nb->misc, 0x1b8, ®); 204 pci_write_config_dword(nb [all...] |
/arch/x86/mm/ |
H A D | amdtopology.c | 77 int i, j, nb; local 84 nb = find_northbridge(); 85 if (nb < 0) 86 return nb; 88 pr_info("Scanning NUMA topology in Northbridge %d\n", nb); 90 reg = read_pci_config(0, nb, 0, 0x60); 101 base = read_pci_config(0, nb, 1, 0x40 + i*8); 102 limit = read_pci_config(0, nb, 1, 0x44 + i*8);
|
/arch/mips/include/asm/ |
H A D | traps.h | 30 extern int register_nmi_notifier(struct notifier_block *nb);
|
H A D | cop2.h | 59 extern int register_cu2_notifier(struct notifier_block *nb);
|
H A D | cpu-info.h | 103 extern int register_proc_cpuinfo_notifier(struct notifier_block *nb);
|
/arch/powerpc/kernel/ |
H A D | align.c | 240 unsigned int reg, unsigned int nb, 254 if (unlikely((nb > 4) || !user_mode(regs))) 261 nb = regs->xer & 127; 262 if (nb == 0) 272 nb = (instr >> 11) & 0x1f; 273 if (nb == 0) 274 nb = 32; 276 if (nb + reg * 4 > 128) { 277 nb0 = nb + reg * 4 - 128; 278 nb 239 emulate_multiple(struct pt_regs *regs, unsigned char __user *addr, unsigned int reg, unsigned int nb, unsigned int flags, unsigned int instr, unsigned long swiz) argument 477 unsigned int nb, flags; local 738 unsigned int instr, nb, flags, instruction = 0; local [all...] |
/arch/powerpc/lib/ |
H A D | sstep.c | 84 static long __kprobes address_ok(struct pt_regs *regs, unsigned long ea, int nb) argument 88 return __access_ok(ea, nb, USER_DS); 173 int nb) 178 switch (nb) { 200 int nb, struct pt_regs *regs) 205 int len = nb; /* save a copy of the length for byte reversal */ 210 for (; nb > 0; nb -= c) { 217 if (c > nb) 218 c = max_align(nb); 172 read_mem_aligned(unsigned long *dest, unsigned long ea, int nb) argument 199 read_mem_unaligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 250 read_mem(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 260 write_mem_aligned(unsigned long val, unsigned long ea, int nb) argument 284 write_mem_unaligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 327 write_mem(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 342 do_fp_load(int rn, int (*func)(int, unsigned long), unsigned long ea, int nb, struct pt_regs *regs) argument 383 do_fp_store(int rn, int (*func)(int, unsigned long), unsigned long ea, int nb, struct pt_regs *regs) argument 1773 int i, rd, nb; local [all...] |
/arch/powerpc/include/asm/ |
H A D | cache.h | 79 extern void cacheable_memzero(void *p, unsigned int nb);
|
/arch/x86/tools/ |
H A D | test_get_len.c | 123 int nb = 0; local 146 insn_buf[nb++] = (unsigned char) b; 154 if (insn.length != nb) { 160 "insn_get_length() says %d\n", nb,
|
/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 225 int opal_notifier_register(struct notifier_block *nb) argument 227 if (!nb) { 229 __func__, nb); 233 atomic_notifier_chain_register(&opal_notifier_head, nb); 238 int opal_notifier_unregister(struct notifier_block *nb) argument 240 if (!nb) { 242 __func__, nb); 246 atomic_notifier_chain_unregister(&opal_notifier_head, nb); 306 struct notifier_block *nb) 308 if (!nb) { 305 opal_message_notifier_register(enum OpalMessageType msg_type, struct notifier_block *nb) argument 361 opal_message_notify(struct notifier_block *nb, unsigned long events, void *change) argument [all...] |
/arch/arm/boot/dts/ |
H A D | sama5d4.dtsi | 125 atmel,nb-banks = <1>; 131 atmel,nb-banks = <3>; 139 atmel,nb-banks = <3>; 147 atmel,nb-banks = <2>; 155 atmel,nb-banks = <2>; 163 atmel,nb-banks = <2>; 171 atmel,nb-banks = <2>; 179 atmel,nb-banks = <2>; 187 atmel,nb-banks = <2>; 194 atmel,nb [all...] |
H A D | sama5d3.dtsi | 1278 atmel,nb-banks = <1>; 1284 atmel,nb-banks = <3>; 1292 atmel,nb-banks = <3>; 1300 atmel,nb-banks = <2>; 1307 atmel,nb-banks = <2>; 1314 atmel,nb-banks = <2>; 1321 atmel,nb-banks = <2>; 1328 atmel,nb-banks = <2>; 1335 atmel,nb-banks = <2>; 1341 atmel,nb [all...] |
/arch/x86/kernel/cpu/mcheck/ |
H A D | mce_amd.c | 571 struct amd_northbridge *nb = NULL; local 577 nb = node_to_amd_nb(amd_get_nb_id(cpu)); 580 if (nb && nb->bank4) { 582 b = nb->bank4; 613 /* nb is already initialized, see above */ 614 if (nb) { 615 WARN_ON(nb->bank4); 616 nb->bank4 = b; 690 struct amd_northbridge *nb; local [all...] |
/arch/mips/mm/ |
H A D | c-octeon.c | 311 int register_co_cache_error_notifier(struct notifier_block *nb) argument 313 return raw_notifier_chain_register(&co_cache_error_chain, nb); 317 int unregister_co_cache_error_notifier(struct notifier_block *nb) argument 319 return raw_notifier_chain_unregister(&co_cache_error_chain, nb);
|
/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_msic.c | 43 static int msic_scu_status_change(struct notifier_block *nb, argument
|
/arch/x86/lib/ |
H A D | insn.c | 79 int i, nb; local 84 nb = 0; 90 for (i = 0; i < nb; i++) 93 if (nb == 4) 96 prefixes->bytes[nb++] = b; 119 for (i = 0; i < nb; i++)
|
/arch/arm/mach-highbank/ |
H A D | highbank.c | 79 static int highbank_platform_notifier(struct notifier_block *nb, argument 131 static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) argument
|
/arch/mips/kernel/ |
H A D | proc.c | 25 int __ref register_proc_cpuinfo_notifier(struct notifier_block *nb) argument 27 return raw_notifier_chain_register(&proc_cpuinfo_chain, nb);
|