/arch/powerpc/kernel/ |
D | systbl.S | 20 #define SYSCALL(func) .llong .sys_##func,.sys_##func argument 21 #define COMPAT_SYS(func) .llong .sys_##func,.compat_sys_##func argument 22 #define PPC_SYS(func) .llong .ppc_##func,.ppc_##func argument 23 #define OLDSYS(func) .llong .sys_ni_syscall,.sys_ni_syscall argument 24 #define SYS32ONLY(func) .llong .sys_ni_syscall,.compat_sys_##func argument 27 #define SYSCALL(func) .long sys_##func argument 28 #define COMPAT_SYS(func) .long sys_##func argument 29 #define PPC_SYS(func) .long ppc_##func argument 30 #define OLDSYS(func) .long sys_##func argument 31 #define SYS32ONLY(func) .long sys_##func argument [all …]
|
D | systbl_chk.c | 18 #define SYSCALL(func) __NR_##func argument 19 #define COMPAT_SYS(func) __NR_##func argument 20 #define PPC_SYS(func) __NR_##func argument 22 #define OLDSYS(func) -1 argument 23 #define SYS32ONLY(func) -1 argument 25 #define OLDSYS(func) __NR_old##func argument 26 #define SYS32ONLY(func) __NR_##func argument 30 #define SYSCALL_SPU(func) SYSCALL(func) argument 31 #define COMPAT_SYS_SPU(func) COMPAT_SYS(func) argument 32 #define PPC_SYS_SPU(func) PPC_SYS(func) argument
|
/arch/x86/pci/ |
D | early.c | 10 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() argument 13 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config() 18 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() argument 21 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_byte() 26 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() argument 29 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_16() 34 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() argument 37 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config() 41 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte() argument 43 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config_byte() [all …]
|
D | broadcom_bus.c | 22 static void __init cnb20le_res(u8 bus, u8 slot, u8 func) in cnb20le_res() argument 34 fbus = read_pci_config_byte(bus, slot, func, 0x44); in cnb20le_res() 35 lbus = read_pci_config_byte(bus, slot, func, 0x45); in cnb20le_res() 54 word1 = read_pci_config_16(bus, slot, func, 0xc0); in cnb20le_res() 55 word2 = read_pci_config_16(bus, slot, func, 0xc2); in cnb20le_res() 64 word1 = read_pci_config_16(bus, slot, func, 0xc4); in cnb20le_res() 65 word2 = read_pci_config_16(bus, slot, func, 0xc6); in cnb20le_res() 74 word1 = read_pci_config_16(bus, slot, func, 0xd0); in cnb20le_res() 75 word2 = read_pci_config_16(bus, slot, func, 0xd2); in cnb20le_res()
|
/arch/x86/kernel/ |
D | early-quirks.c | 22 static void __init fix_hypertransport_config(int num, int slot, int func) in fix_hypertransport_config() argument 31 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config() 41 write_pci_config(num, slot, func, 0x68, htcfg); in fix_hypertransport_config() 48 static void __init via_bugs(int num, int slot, int func) in via_bugs() argument 71 static void __init nvidia_bugs(int num, int slot, int func) in nvidia_bugs() argument 100 static u32 __init ati_ixp4x0_rev(int num, int slot, int func) in ati_ixp4x0_rev() argument 105 b = read_pci_config_byte(num, slot, func, 0xac); in ati_ixp4x0_rev() 107 write_pci_config_byte(num, slot, func, 0xac, b); in ati_ixp4x0_rev() 109 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev() 111 write_pci_config(num, slot, func, 0x70, d); in ati_ixp4x0_rev() [all …]
|
D | aperture_64.c | 114 static u32 __init find_cap(int bus, int slot, int func, int cap) in find_cap() argument 119 if (!(read_pci_config_16(bus, slot, func, PCI_STATUS) & in find_cap() 123 pos = read_pci_config_byte(bus, slot, func, PCI_CAPABILITY_LIST); in find_cap() 128 id = read_pci_config_byte(bus, slot, func, pos+PCI_CAP_LIST_ID); in find_cap() 133 pos = read_pci_config_byte(bus, slot, func, in find_cap() 140 static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) in read_agp() argument 149 printk(KERN_INFO "AGP bridge at %02x:%02x:%02x\n", bus, slot, func); in read_agp() 150 apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14); in read_agp() 168 aper_low = read_pci_config(bus, slot, func, 0x10); in read_agp() 169 aper_hi = read_pci_config(bus, slot, func, 0x14); in read_agp() [all …]
|
/arch/powerpc/math-emu/ |
D | math.c | 222 int (*func)(void *, void *, void *, void *); in do_mathemu() local 272 case LFS: func = lfs; type = D; break; in do_mathemu() 273 case LFSU: func = lfs; type = DU; break; in do_mathemu() 274 case LFD: func = lfd; type = D; break; in do_mathemu() 275 case LFDU: func = lfd; type = DU; break; in do_mathemu() 276 case STFS: func = stfs; type = D; break; in do_mathemu() 277 case STFSU: func = stfs; type = DU; break; in do_mathemu() 278 case STFD: func = stfd; type = D; break; in do_mathemu() 279 case STFDU: func = stfd; type = DU; break; in do_mathemu() 283 case LFSX: func = lfs; type = XE; break; in do_mathemu() [all …]
|
/arch/powerpc/platforms/cell/ |
D | spu_callbacks.c | 37 #define SYSCALL(func) sys_ni_syscall, argument 38 #define COMPAT_SYS(func) sys_ni_syscall, argument 39 #define PPC_SYS(func) sys_ni_syscall, argument 40 #define OLDSYS(func) sys_ni_syscall, argument 41 #define SYS32ONLY(func) sys_ni_syscall, argument 44 #define SYSCALL_SPU(func) sys_##func, argument 45 #define COMPAT_SYS_SPU(func) sys_##func, argument 46 #define PPC_SYS_SPU(func) ppc_##func, argument
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 73 struct pmf_function *func; member 131 return handlers->name(cmd->func, cmd->instdata, \ 579 static int pmf_parse_one(struct pmf_function *func, in pmf_parse_one() argument 587 cmd.cmdptr = func->data; in pmf_parse_one() 588 cmd.cmdend = func->data + func->length; in pmf_parse_one() 589 cmd.func = func; in pmf_parse_one() 595 func->name, func->length, in pmf_parse_one() 631 func->length = cmd.cmdptr - func->data; in pmf_parse_one() 641 struct pmf_function *func = NULL; in pmf_add_function_prop() local 647 func = kzalloc(sizeof(struct pmf_function), GFP_KERNEL); in pmf_add_function_prop() [all …]
|
D | pfunc_base.c | 25 static int macio_do_gpio_irq_enable(struct pmf_function *func) in macio_do_gpio_irq_enable() argument 27 unsigned int irq = irq_of_parse_and_map(func->node, 0); in macio_do_gpio_irq_enable() 30 return request_irq(irq, macio_gpio_irq, 0, func->node->name, func); in macio_do_gpio_irq_enable() 33 static int macio_do_gpio_irq_disable(struct pmf_function *func) in macio_do_gpio_irq_disable() argument 35 unsigned int irq = irq_of_parse_and_map(func->node, 0); in macio_do_gpio_irq_disable() 38 free_irq(irq, func); in macio_do_gpio_irq_disable() 44 u8 __iomem *addr = (u8 __iomem *)func->driver_data; in macio_do_gpio_write() 57 tmp, func->node->full_name, addr); in macio_do_gpio_write() 66 u8 __iomem *addr = (u8 __iomem *)func->driver_data; in macio_do_gpio_read() 145 struct macio_chip *macio = func->driver_data; in macio_do_write_reg32() [all …]
|
/arch/powerpc/platforms/ps3/ |
D | time.c | 32 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) in _dump_tm() argument 34 pr_debug("%s:%d tm_sec %d\n", func, line, tm->tm_sec); in _dump_tm() 35 pr_debug("%s:%d tm_min %d\n", func, line, tm->tm_min); in _dump_tm() 36 pr_debug("%s:%d tm_hour %d\n", func, line, tm->tm_hour); in _dump_tm() 37 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); in _dump_tm() 38 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); in _dump_tm() 39 pr_debug("%s:%d tm_year %d\n", func, line, tm->tm_year); in _dump_tm() 40 pr_debug("%s:%d tm_wday %d\n", func, line, tm->tm_wday); in _dump_tm() 44 static void __maybe_unused _dump_time(int time, const char *func, in _dump_time() argument 51 pr_debug("%s:%d time %d\n", func, line, time); in _dump_time() [all …]
|
D | os-area.c | 323 static void _dump_header(const struct os_area_header *h, const char *func, in _dump_header() argument 329 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, in _dump_header() 331 pr_debug("%s:%d: h.hdr_version: %u\n", func, line, in _dump_header() 333 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, in _dump_header() 335 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, in _dump_header() 337 pr_debug("%s:%d: h.ldr_format: %u\n", func, line, in _dump_header() 339 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, in _dump_header() 344 static void _dump_params(const struct os_area_params *p, const char *func, in _dump_params() argument 347 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); in _dump_params() 348 pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); in _dump_params() [all …]
|
/arch/s390/crypto/ |
D | crypt_s390.h | 154 static inline int crypt_s390_km(long func, void *param, in crypt_s390_km() argument 157 register long __func asm("0") = func & CRYPT_S390_FUNC_MASK; in crypt_s390_km() 174 return (func & CRYPT_S390_FUNC_MASK) ? src_len - __src_len : __src_len; in crypt_s390_km() 190 static inline int crypt_s390_kmc(long func, void *param, in crypt_s390_kmc() argument 193 register long __func asm("0") = func & CRYPT_S390_FUNC_MASK; in crypt_s390_kmc() 210 return (func & CRYPT_S390_FUNC_MASK) ? src_len - __src_len : __src_len; in crypt_s390_kmc() 226 static inline int crypt_s390_kimd(long func, void *param, in crypt_s390_kimd() argument 229 register long __func asm("0") = func & CRYPT_S390_FUNC_MASK; in crypt_s390_kimd() 245 return (func & CRYPT_S390_FUNC_MASK) ? src_len - __src_len : __src_len; in crypt_s390_kimd() 260 static inline int crypt_s390_klmd(long func, void *param, in crypt_s390_klmd() argument [all …]
|
/arch/sparc/include/asm/ |
D | smp_32.h | 69 #define smp_cross_call(func,mask,arg1,arg2,arg3,arg4) BTFIXUP_CALL(smp_cross_call)(func,mask,arg1,a… in BTFIXUPDEF_BLACKBOX() argument 71 static inline void xc0(smpfunc_t func) { smp_cross_call(func, *cpu_online_mask, 0, 0, 0, 0); } in BTFIXUPDEF_BLACKBOX() 72 static inline void xc1(smpfunc_t func, unsigned long arg1) in xc1() argument 73 { smp_cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); } in xc1() 74 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument 75 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); } in xc2() 76 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument 78 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, arg3, 0); } in xc3() 79 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument 81 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, arg3, arg4); } in xc4()
|
/arch/ia64/scripts/ |
D | unwcheck.py | 26 def check_func (func, slots, rlen_sum): argument 30 if not func: func = "[%#x-%#x]" % (start, end) 31 print "ERROR: %s: %lu slots, total region length = %lu" % (func, slots, rlen_sum) 36 func = False variable 42 check_func(func, slots, rlen_sum) 44 func = m.group(1) variable 54 check_func(func, slots, rlen_sum)
|
/arch/x86/include/asm/ |
D | pci-direct.h | 9 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset); 10 extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset); 11 extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset); 12 extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val); 13 extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val); 14 extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val); 19 extern void early_dump_pci_device(u8 bus, u8 slot, u8 func);
|
D | apm.h | 26 static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in, in apm_bios_call_asm() argument 44 : "a" (func), "b" (ebx_in), "c" (ecx_in) in apm_bios_call_asm() 48 static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in, in apm_bios_call_simple_asm() argument 68 : "a" (func), "b" (ebx_in), "c" (ecx_in) in apm_bios_call_simple_asm()
|
/arch/mips/pmc-sierra/yosemite/ |
D | ht.c | 57 int dev, bus, func; in titan_ht_config_read_dword() local 63 func = PCI_FUNC(device->devfn); in titan_ht_config_read_dword() 67 address = (bus << 16) | (dev << 11) | (func << 8) | (offset & 0xfc) | in titan_ht_config_read_dword() 70 address = (dev << 11) | (func << 8) | (offset & 0xfc) | 0x80000000; in titan_ht_config_read_dword() 85 int dev, bus, func; in titan_ht_config_read_word() local 91 func = PCI_FUNC(device->devfn); in titan_ht_config_read_word() 95 address = (bus << 16) | (dev << 11) | (func << 8) | (offset & 0xfc) | in titan_ht_config_read_word() 98 address = (dev << 11) | (func << 8) | (offset & 0xfc) | 0x80000000; in titan_ht_config_read_word() 131 int dev, bus, func; in titan_ht_config_read_byte() local 138 func = PCI_FUNC(device->devfn); in titan_ht_config_read_byte() [all …]
|
/arch/s390/include/asm/ |
D | smp.h | 24 extern void smp_call_online_cpu(void (*func)(void *), void *); 25 extern void smp_call_ipl_cpu(void (*func)(void *), void *); 36 static inline void smp_call_ipl_cpu(void (*func)(void *), void *data) in smp_call_ipl_cpu() 38 func(data); in smp_call_ipl_cpu() 41 static inline void smp_call_online_cpu(void (*func)(void *), void *data) in smp_call_online_cpu() 43 func(data); in smp_call_online_cpu()
|
/arch/mips/pci/ |
D | ops-titan.c | 46 int dev, busno, func; in titan_read_config() local 50 func = PCI_FUNC(devfn); in titan_read_config() 52 address = (busno << 16) | (dev << 11) | (func << 8) | in titan_read_config() 75 int dev, busno, func; in titan_write_config() local 79 func = PCI_FUNC(devfn); in titan_write_config() 81 address = (busno << 16) | (dev << 11) | (func << 8) | in titan_write_config()
|
/arch/mips/loongson/common/ |
D | reset.c | 24 void (*func)(void); in loongson_reboot() 26 func = (void *)ioremap_nocache(LOONGSON_BOOT_BASE, 4); in loongson_reboot() 33 : [func] "r" (func)); in loongson_reboot()
|
/arch/powerpc/include/asm/ |
D | code-patching.h | 38 static inline unsigned long ppc_function_entry(void *func) in ppc_function_entry() argument 46 return ((func_descr_t *)func)->entry; in ppc_function_entry() 48 return (unsigned long)func; in ppc_function_entry()
|
/arch/parisc/kernel/ |
D | ftrace.c | 25 unsigned long func, int *depth) in push_return_trace() argument 41 current->ret_stack[index].func = func; in push_return_trace() 65 trace->func = current->ret_stack[index].func; in pop_return_trace() 137 trace.func = self_addr; in prepare_ftrace_return()
|
/arch/microblaze/pci/ |
D | xilinx_pci.c | 88 u32 val, dev, func, offset; in xilinx_early_pci_scan() local 93 for (func = 0; func < 1; func++) { in xilinx_early_pci_scan() 94 printk(KERN_INFO "%02x:%02x:%02x", bus, dev, func); in xilinx_early_pci_scan() 99 PCI_DEVFN(dev, func), offset, &val); in xilinx_early_pci_scan()
|
/arch/powerpc/platforms/44x/ |
D | warp.c | 108 void (*func)(void *arg); member 113 int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_register_shutdown() 121 shutdown->func = func; in pika_dtm_register_shutdown() 129 int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_unregister_shutdown() 134 if (shutdown->func == func && shutdown->arg == arg) { in pika_dtm_unregister_shutdown() 154 shutdown->func(shutdown->arg); in temp_isr() 305 int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_register_shutdown() 310 int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_unregister_shutdown()
|