/arch/mips/include/asm/ |
D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 11 "1:\t"type##_lb("%0", "0(%2)")"\n" \ 12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\ 31 #define _LoadW(addr, value, res, type) \ argument 34 "1:\t"type##_lwl("%0", "(%2)")"\n" \ 35 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\ 53 #define _LoadW(addr, value, res, type) \ argument 58 "1:"type##_lb("%0", "0(%2)")"\n\t" \ 59 "2:"type##_lbu("$1", "1(%2)")"\n\t" \ 62 "3:"type##_lbu("$1", "2(%2)")"\n\t" \ [all …]
|
D | io.h | 218 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument 220 static inline void pfx##write##bwlq(type val, \ 223 volatile type *__mem; \ 224 type __val; \ 235 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \ 239 type __tmp; \ 260 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ 262 volatile type *__mem; \ 263 type __val; \ 270 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \ [all …]
|
D | sync.h | 162 # define __SYNC_rpt(type) (1 - (type == __SYNC_wmb)) argument 164 # define __SYNC_rpt(type) 1 argument 197 # define ___SYNC(type, reason, else) \ 198 ____SYNC(type, reason, else) 200 # define ___SYNC(type, reason, else) \ argument 201 __stringify(____SYNC(type, reason, else)) 204 #define __SYNC(type, reason) \ argument 205 ___SYNC(__SYNC_##type, __SYNC_##reason, ) 206 #define __SYNC_ELSE(type, reason, else) \ argument 207 ___SYNC(__SYNC_##type, __SYNC_##reason, else)
|
D | atomic.h | 26 #define ATOMIC_OPS(pfx, type) \ argument 27 static __always_inline type arch_##pfx##_read(const pfx##_t *v) \ 32 static __always_inline void arch_##pfx##_set(pfx##_t *v, type i) \ 44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 45 static __inline__ void arch_##pfx##_##op(type i, pfx##_t * v) \ 47 type temp; \ 71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 72 static __inline__ type \ 73 arch_##pfx##_##op##_return_relaxed(type i, pfx##_t * v) \ 75 type temp, result; \ [all …]
|
/arch/x86/events/intel/ |
D | uncore_discovery.c | 57 if (type_b->type > *type_id) in __type_cmp() 59 else if (type_b->type < *type_id) in __type_cmp() 75 return (__node_2_type(a)->type < __node_2_type(b)->type); in __type_less() 81 struct intel_uncore_discovery_type *type; in add_uncore_discovery_type() local 88 type = kzalloc(sizeof(struct intel_uncore_discovery_type), GFP_KERNEL); in add_uncore_discovery_type() 89 if (!type) in add_uncore_discovery_type() 92 type->box_ctrl_die = kcalloc(__uncore_max_dies, sizeof(u64), GFP_KERNEL); in add_uncore_discovery_type() 93 if (!type->box_ctrl_die) in add_uncore_discovery_type() 96 type->access_type = unit->access_type; in add_uncore_discovery_type() 97 num_discovered_types[type->access_type]++; in add_uncore_discovery_type() [all …]
|
D | uncore.h | 25 #define UNCORE_PCI_DEV_FULL_DATA(dev, func, type, idx) \ argument 26 ((dev << 24) | (func << 16) | (type << 8) | idx) 27 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx) argument 98 int (*get_topology)(struct intel_uncore_type *type); 99 void (*set_mapping)(struct intel_uncore_type *type); 100 void (*cleanup_mapping)(struct intel_uncore_type *type); 128 struct intel_uncore_type *type; member 260 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset() 264 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset() 272 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl() [all …]
|
D | uncore.c | 350 static struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, in uncore_alloc_box() argument 353 int i, size, numshared = type->num_shared_regs ; in uncore_alloc_box() 395 max_count = box->pmu->type->num_counters; in uncore_collect_events() 396 if (box->pmu->type->fixed_ctl) in uncore_collect_events() 429 struct intel_uncore_type *type = box->pmu->type; in uncore_get_event_constraint() local 432 if (type->ops->get_constraint) { in uncore_get_event_constraint() 433 c = type->ops->get_constraint(box, event); in uncore_get_event_constraint() 441 if (type->constraints) { in uncore_get_event_constraint() 442 for_each_event_constraint(c, type->constraints) { in uncore_get_event_constraint() 448 return &type->unconstrainted; in uncore_get_event_constraint() [all …]
|
/arch/powerpc/math-emu/ |
D | math.c | 234 int type = 0; in do_mathemu() local 241 case LFS: func = lfs; type = D; break; in do_mathemu() 242 case LFSU: func = lfs; type = DU; break; in do_mathemu() 243 case LFD: func = lfd; type = D; break; in do_mathemu() 244 case LFDU: func = lfd; type = DU; break; in do_mathemu() 245 case STFS: func = stfs; type = D; break; in do_mathemu() 246 case STFSU: func = stfs; type = DU; break; in do_mathemu() 247 case STFD: func = stfd; type = D; break; in do_mathemu() 248 case STFDU: func = stfd; type = DU; break; in do_mathemu() 252 case LFSX: func = lfs; type = XE; break; in do_mathemu() [all …]
|
/arch/arm/mach-omap1/ |
D | id.c | 33 u32 type; /* Cpu id bits [31:08], cpu class bits [07:00] */ member 40 { .jtag_id = 0xb574, .die_rev = 0x2, .omap_id = 0x03310315, .type = 0x03100000}, 41 { .jtag_id = 0x355f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300100}, 42 { .jtag_id = 0xb55f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300300}, 43 { .jtag_id = 0xb62c, .die_rev = 0x1, .omap_id = 0x03320500, .type = 0x08500000}, 44 { .jtag_id = 0xb470, .die_rev = 0x0, .omap_id = 0x03310100, .type = 0x15100000}, 45 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x16100000}, 46 { .jtag_id = 0xb576, .die_rev = 0x2, .omap_id = 0x03320100, .type = 0x16110000}, 47 { .jtag_id = 0xb576, .die_rev = 0x3, .omap_id = 0x03320100, .type = 0x16100c00}, 48 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320200, .type = 0x16100d00}, [all …]
|
/arch/powerpc/kernel/ |
D | hw_breakpoint_constraints.c | 56 static bool check_dawrx_constraints(struct pt_regs *regs, int type, in check_dawrx_constraints() argument 59 if (OP_IS_LOAD(type) && !(info->type & HW_BRK_TYPE_READ)) in check_dawrx_constraints() 67 if ((OP_IS_STORE(type) || type == CACHEOP) && !(info->type & HW_BRK_TYPE_WRITE)) in check_dawrx_constraints() 70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints() 73 if (user_mode(regs) && !(info->type & HW_BRK_TYPE_USER)) in check_dawrx_constraints() 84 unsigned long ea, int type, int size, in wp_check_constraints() argument 96 info->type |= HW_BRK_TYPE_EXTRANEOUS_IRQ; in wp_check_constraints() 108 dawrx_constraints = check_dawrx_constraints(regs, type, info); in wp_check_constraints() 110 if (type == UNKNOWN) { in wp_check_constraints() 123 info->type |= HW_BRK_TYPE_EXTRANEOUS_IRQ; in wp_check_constraints() [all …]
|
/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 88 boot_cpu_data.type = CPU_SH7750; in cpu_probe() 93 boot_cpu_data.type = CPU_SH7750S; in cpu_probe() 98 boot_cpu_data.type = CPU_SH7751; in cpu_probe() 102 boot_cpu_data.type = CPU_SH7770; in cpu_probe() 107 boot_cpu_data.type = CPU_SH7781; in cpu_probe() 109 boot_cpu_data.type = CPU_SH7763; in cpu_probe() 111 boot_cpu_data.type = CPU_SH7780; in cpu_probe() 117 boot_cpu_data.type = CPU_SH7343; in cpu_probe() 121 boot_cpu_data.type = CPU_SH7785; in cpu_probe() 125 boot_cpu_data.type = CPU_SH7786; in cpu_probe() [all …]
|
/arch/s390/hypfs/ |
D | hypfs_diag_fs.c | 39 static inline int info_blk_hdr__size(enum diag204_format type) in info_blk_hdr__size() argument 41 if (type == DIAG204_INFO_SIMPLE) in info_blk_hdr__size() 47 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() argument 49 if (type == DIAG204_INFO_SIMPLE) in info_blk_hdr__npar() 55 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() argument 57 if (type == DIAG204_INFO_SIMPLE) in info_blk_hdr__flags() 65 static inline int part_hdr__size(enum diag204_format type) in part_hdr__size() argument 67 if (type == DIAG204_INFO_SIMPLE) in part_hdr__size() 73 static inline __u8 part_hdr__rcpus(enum diag204_format type, void *hdr) in part_hdr__rcpus() argument 75 if (type == DIAG204_INFO_SIMPLE) in part_hdr__rcpus() [all …]
|
/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tmu.dtsi | 20 type = "active"; 25 type = "active"; 30 type = "active"; 35 type = "active"; 40 type = "active"; 45 type = "active"; 50 type = "active"; 108 type = "active"; 113 type = "active"; 118 type = "active"; [all …]
|
/arch/m68k/include/asm/ |
D | bootstd.h | 38 #define __bsc_return(type, res) \ argument 46 return (type)(res); \ 49 #define _bsc0(type,name) \ argument 50 type name(void) \ 57 __bsc_return(type,__res); \ 60 #define _bsc1(type,name,atype,a) \ argument 61 type name(atype a) \ 69 __bsc_return(type,__res); \ 72 #define _bsc2(type,name,atype,a,btype,b) \ argument 73 type name(atype a, btype b) \ [all …]
|
/arch/x86/kernel/ |
D | dumpstack_64.c | 31 const char *stack_type_name(enum stack_type type) in stack_type_name() argument 35 if (type == STACK_TYPE_TASK) in stack_type_name() 38 if (type == STACK_TYPE_IRQ) in stack_type_name() 41 if (type == STACK_TYPE_SOFTIRQ) in stack_type_name() 44 if (type == STACK_TYPE_ENTRY) { in stack_type_name() 53 if (type >= STACK_TYPE_EXCEPTION && type <= STACK_TYPE_EXCEPTION_LAST) in stack_type_name() 54 return exception_stack_names[type - STACK_TYPE_EXCEPTION]; in stack_type_name() 68 u16 type; member 76 .type = STACK_TYPE_EXCEPTION + ESTACK_ ##st, } 128 info->type = ep->type; in in_exception_stack() [all …]
|
D | jump_label.c | 36 __jump_label_patch(struct jump_entry *entry, enum jump_label_type type) in __jump_label_patch() argument 60 if (type == JUMP_LABEL_JMP) in __jump_label_patch() 72 addr, addr, addr, expect, size, type); in __jump_label_patch() 76 if (type == JUMP_LABEL_NOP) in __jump_label_patch() 84 enum jump_label_type type, in __jump_label_transform() argument 87 const struct jump_label_patch jlp = __jump_label_patch(entry, type); in __jump_label_transform() 109 enum jump_label_type type, in jump_label_transform() argument 113 __jump_label_transform(entry, type, init); in jump_label_transform() 118 enum jump_label_type type) in arch_jump_label_transform() argument 120 jump_label_transform(entry, type, 0); in arch_jump_label_transform() [all …]
|
D | dumpstack_32.c | 21 const char *stack_type_name(enum stack_type type) in stack_type_name() argument 23 if (type == STACK_TYPE_IRQ) in stack_type_name() 26 if (type == STACK_TYPE_SOFTIRQ) in stack_type_name() 29 if (type == STACK_TYPE_ENTRY) in stack_type_name() 32 if (type == STACK_TYPE_EXCEPTION) in stack_type_name() 50 info->type = STACK_TYPE_IRQ; in in_hardirq_stack() 75 info->type = STACK_TYPE_SOFTIRQ; in in_softirq_stack() 99 info->type = STACK_TYPE_EXCEPTION; in in_doublefault_stack() 143 if (*visit_mask & (1UL << info->type)) { in get_stack_info() 144 printk_deferred_once(KERN_WARNING "WARNING: stack recursion on stack type %d\n", info->type); in get_stack_info() [all …]
|
/arch/loongarch/kernel/ |
D | module.c | 47 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_none() argument 53 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_error() argument 55 pr_err("%s: Unsupport relocation type %u, please add its support.\n", me->name, type); in apply_r_larch_error() 60 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_32() argument 67 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_64() argument 74 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_pcrel() argument 80 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_absolute() argument 86 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_dup() argument 106 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_plt_pcrel() argument 116 return apply_r_larch_sop_push_pcrel(mod, location, v, rela_stack, rela_stack_top, type); in apply_r_larch_sop_push_plt_pcrel() [all …]
|
/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-inspur-nf5280m6.dts | 299 type = <PCA955X_TYPE_GPIO>; 304 type = <PCA955X_TYPE_GPIO>; 309 type = <PCA955X_TYPE_GPIO>; 314 type = <PCA955X_TYPE_GPIO>; 319 type = <PCA955X_TYPE_GPIO>; 324 type = <PCA955X_TYPE_GPIO>; 329 type = <PCA955X_TYPE_GPIO>; 344 type = <PCA955X_TYPE_GPIO>; 349 type = <PCA955X_TYPE_GPIO>; 354 type = <PCA955X_TYPE_GPIO>; [all …]
|
/arch/arm64/lib/ |
D | insn.c | 23 static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type, in aarch64_get_imm_shift_mask() argument 29 switch (type) { in aarch64_get_imm_shift_mask() 88 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() argument 93 switch (type) { in aarch64_insn_decode_immediate() 102 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_decode_immediate() 104 type); in aarch64_insn_decode_immediate() 112 u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type, in aarch64_insn_encode_immediate() argument 121 switch (type) { in aarch64_insn_encode_immediate() 132 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_encode_immediate() 134 type); in aarch64_insn_encode_immediate() [all …]
|
/arch/mips/fw/arc/ |
D | memory.c | 75 static inline int memtype_classify_arcs(union linux_memtypes type) in memtype_classify_arcs() argument 77 switch (type.arcs) { in memtype_classify_arcs() 95 static inline int memtype_classify_arc(union linux_memtypes type) in memtype_classify_arc() argument 97 switch (type.arc) { in memtype_classify_arc() 115 static int __init prom_memtype_classify(union linux_memtypes type) in prom_memtype_classify() argument 118 return memtype_classify_arcs(type); in prom_memtype_classify() 120 return memtype_classify_arc(type); in prom_memtype_classify() 134 i, p, p->base, p->pages, mtypes(p->type)); in prom_meminit() 144 long type; in prom_meminit() local 148 type = prom_memtype_classify(p->type); in prom_meminit() [all …]
|
/arch/alpha/include/uapi/asm/ |
D | ioctl.h | 40 #define _IOC(dir,type,nr,size) \ argument 43 ((type) << _IOC_TYPESHIFT) | \ 48 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 49 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/arch/powerpc/include/asm/ |
D | emulated_ops.h | 55 extern void ppc_warn_emulated_print(const char *type); 57 #define __PPC_WARN_EMULATED(type) \ argument 59 atomic_inc(&ppc_emulated.type.val); \ 61 ppc_warn_emulated_print(ppc_emulated.type.name); \ 66 #define __PPC_WARN_EMULATED(type) do { } while (0) argument 70 #define PPC_WARN_EMULATED(type, regs) \ argument 74 __PPC_WARN_EMULATED(type); \ 77 #define PPC_WARN_ALIGNMENT(type, regs) \ argument 81 __PPC_WARN_EMULATED(type); \
|
D | sstep.h | 52 #define OP_IS_LOAD(type) ((LOAD <= (type) && (type) <= LOAD_VSX) || (type) == LARX) argument 53 #define OP_IS_STORE(type) ((STORE <= (type) && (type) <= STORE_VSX) || (type) == STCX) argument 54 #define OP_IS_LOAD_STORE(type) (LOAD <= (type) && (type) <= STCX) argument 114 int type; member
|
/arch/sparc/include/uapi/asm/ |
D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 41 ((type) << _IOC_TYPESHIFT) | \ 45 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 46 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 47 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 48 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|