/arch/sh/kernel/ |
D | kgdb.c | 21 #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) argument 22 #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) argument 23 #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ argument 24 (((op) & 0x7f ) << 1)) 25 #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) argument 26 #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) argument 27 #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) argument 28 #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ argument 29 (((op) & 0x7ff) << 1)) 30 #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) argument [all …]
|
/arch/powerpc/kernel/ |
D | ftrace.c | 51 static unsigned int op; in ftrace_call_replace() local 62 op = 0x48000001 | (ftrace_calc_offset(ip, addr) & 0x03fffffc); in ftrace_call_replace() 68 return (unsigned char *)&op; in ftrace_call_replace() 122 static int is_bl_op(unsigned int op) in is_bl_op() argument 124 return (op & 0xfc000003) == 0x48000001; in is_bl_op() 127 static unsigned long find_bl_target(unsigned long ip, unsigned int op) in find_bl_target() argument 131 offset = (op & 0x03fffffc); in find_bl_target() 144 unsigned int op; in __ftrace_make_nop() local 152 if (probe_kernel_read(&op, (void *)ip, sizeof(int))) in __ftrace_make_nop() 156 if (!is_bl_op(op)) { in __ftrace_make_nop() [all …]
|
/arch/sparc/kernel/ |
D | of_device_32.c | 14 struct of_device *op = to_of_device(dev); in node_match() local 17 return (op->node == dp); in node_match() 34 struct of_device *op = of_find_device_by_node(node); in irq_of_parse_and_map() local 36 if (!op || index >= op->num_irqs) in irq_of_parse_and_map() 39 return op->irqs[index]; in irq_of_parse_and_map() 53 struct of_device *op = of_find_device_by_node(dp); in of_propagate_archdata() local 55 op->dev.archdata.iommu = bus_sd->iommu; in of_propagate_archdata() 56 op->dev.archdata.stc = bus_sd->stc; in of_propagate_archdata() 57 op->dev.archdata.host_controller = bus_sd->host_controller; in of_propagate_archdata() 58 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata() [all …]
|
D | of_device_64.c | 40 struct of_device *op = to_of_device(dev); in node_match() local 43 return (op->node == dp); in node_match() 60 struct of_device *op = of_find_device_by_node(node); in irq_of_parse_and_map() local 62 if (!op || index >= op->num_irqs) in irq_of_parse_and_map() 65 return op->irqs[index]; in irq_of_parse_and_map() 79 struct of_device *op = of_find_device_by_node(dp); in of_propagate_archdata() local 81 op->dev.archdata.iommu = bus_sd->iommu; in of_propagate_archdata() 82 op->dev.archdata.stc = bus_sd->stc; in of_propagate_archdata() 83 op->dev.archdata.host_controller = bus_sd->host_controller; in of_propagate_archdata() 84 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata() [all …]
|
D | central.c | 61 static int __devinit clock_board_probe(struct of_device *op, in clock_board_probe() argument 72 p->clock_freq_regs = of_ioremap(&op->resource[0], 0, in clock_board_probe() 73 resource_size(&op->resource[0]), in clock_board_probe() 80 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe() 81 resource_size(&op->resource[1]), in clock_board_probe() 88 if (op->resource[2].flags) { in clock_board_probe() 89 p->clock_ver_reg = of_ioremap(&op->resource[2], 0, in clock_board_probe() 90 resource_size(&op->resource[2]), in clock_board_probe() 109 p->leds_pdev.dev.parent = &op->dev; in clock_board_probe() 127 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe() [all …]
|
D | sbus.c | 60 struct of_device *op = to_of_device(dev); in sbus_set_sbus64() local 66 regs = of_get_property(op->node, "reg", NULL); in sbus_set_sbus64() 69 op->node->full_name); in sbus_set_sbus64() 207 static unsigned int sbus_build_irq(struct of_device *op, unsigned int ino) in sbus_build_irq() argument 209 struct iommu *iommu = op->dev.archdata.iommu; in sbus_build_irq() 270 struct of_device *op = dev_id; in sysio_ue_handler() local 271 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ue_handler() 290 portid = of_getintprop_default(op->node, "portid", -1); in sysio_ue_handler() 344 struct of_device *op = dev_id; in sysio_ce_handler() local 345 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ce_handler() [all …]
|
D | power.c | 36 static int __devinit power_probe(struct of_device *op, const struct of_device_id *match) in power_probe() argument 38 struct resource *res = &op->resource[0]; in power_probe() 39 unsigned int irq= op->irqs[0]; in power_probe() 44 op->node->name, res->start); in power_probe() 46 if (has_button_interrupt(irq, op->node)) { in power_probe()
|
D | apc.c | 72 static inline void apc_free(struct of_device *op) in apc_free() argument 74 of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); in apc_free() 156 static int __devinit apc_probe(struct of_device *op, in apc_probe() argument 161 regs = of_ioremap(&op->resource[0], 0, in apc_probe() 162 resource_size(&op->resource[0]), APC_OBPNAME); in apc_probe() 171 apc_free(op); in apc_probe()
|
D | chmc.c | 395 static int __devinit jbusmc_probe(struct of_device *op, in jbusmc_probe() argument 428 prop = of_get_property(op->node, "portid", &len); in jbusmc_probe() 436 prop = of_get_property(op->node, "memory-control-register-1", &len); in jbusmc_probe() 445 p->regs = of_ioremap(&op->resource[0], 0, JBUSMC_REGS_SIZE, "jbusmc"); in jbusmc_probe() 452 ml = of_get_property(op->node, "memory-layout", &p->layout_len); in jbusmc_probe() 469 op->node->full_name); in jbusmc_probe() 471 dev_set_drvdata(&op->dev, p); in jbusmc_probe() 479 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_probe() 693 static int __devinit chmc_probe(struct of_device *op, in chmc_probe() argument 696 struct device_node *dp = op->node; in chmc_probe() [all …]
|
D | pci_sabre.c | 313 struct device_node *dp = pbm->op->node; in sabre_register_error_handlers() 314 struct of_device *op; in sabre_register_error_handlers() local 322 op = of_find_device_by_node(dp); in sabre_register_error_handlers() 323 if (!op) in sabre_register_error_handlers() 332 if (op->num_irqs < 4) in sabre_register_error_handlers() 344 err = request_irq(op->irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); in sabre_register_error_handlers() 354 err = request_irq(op->irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); in sabre_register_error_handlers() 358 err = request_irq(op->irqs[0], psycho_pcierr_intr, 0, in sabre_register_error_handlers() 446 struct of_device *op) in sabre_pbm_init() argument 448 psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); in sabre_pbm_init() [all …]
|
/arch/sparc/include/asm/ |
D | parport.h | 106 static int __devinit ecpp_probe(struct of_device *op, const struct of_device_id *match) in ecpp_probe() argument 108 unsigned long base = op->resource[0].start; in ecpp_probe() 109 unsigned long config = op->resource[1].start; in ecpp_probe() 110 unsigned long d_base = op->resource[2].start; in ecpp_probe() 116 parent = op->node->parent; in ecpp_probe() 119 op->irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe() 120 op->dev.parent->parent); in ecpp_probe() 123 dev_set_drvdata(&op->dev, p); in ecpp_probe() 137 d_len = (op->resource[2].end - d_base) + 1UL; in ecpp_probe() 139 of_ioremap(&op->resource[2], 0, d_len, "ECPP DMA"); in ecpp_probe() [all …]
|
/arch/x86/include/asm/xen/ |
D | hypercall.h | 217 HYPERVISOR_mmuext_op(struct mmuext_op *op, int count, in HYPERVISOR_mmuext_op() argument 220 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op() 331 struct evtchn_op op; in HYPERVISOR_event_channel_op() local 332 op.cmd = cmd; in HYPERVISOR_event_channel_op() 333 memcpy(&op.u, arg, sizeof(op.u)); in HYPERVISOR_event_channel_op() 334 rc = _hypercall1(int, event_channel_op_compat, &op); in HYPERVISOR_event_channel_op() 335 memcpy(arg, &op.u, sizeof(op.u)); in HYPERVISOR_event_channel_op() 357 struct physdev_op op; in HYPERVISOR_physdev_op() local 358 op.cmd = cmd; in HYPERVISOR_physdev_op() 359 memcpy(&op.u, arg, sizeof(op.u)); in HYPERVISOR_physdev_op() [all …]
|
/arch/mips/mm/ |
D | uasm.c | 232 u32 op; in build_insn() local 243 op = ip->match; in build_insn() 246 op |= build_rs(va_arg(ap, u32)); in build_insn() 248 op |= build_rt(va_arg(ap, u32)); in build_insn() 250 op |= build_rd(va_arg(ap, u32)); in build_insn() 252 op |= build_re(va_arg(ap, u32)); in build_insn() 254 op |= build_simm(va_arg(ap, s32)); in build_insn() 256 op |= build_uimm(va_arg(ap, u32)); in build_insn() 258 op |= build_bimm(va_arg(ap, s32)); in build_insn() 260 op |= build_jimm(va_arg(ap, u32)); in build_insn() [all …]
|
D | uasm.h | 13 #define Ip_u1u2u3(op) \ argument 15 uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 17 #define Ip_u2u1u3(op) \ argument 19 uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 21 #define Ip_u3u1u2(op) \ argument 23 uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 25 #define Ip_u1u2s3(op) \ argument 27 uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c) 29 #define Ip_u2s3u1(op) \ argument 31 uasm_i##op(u32 **buf, unsigned int a, signed int b, unsigned int c) [all …]
|
/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 78 unsigned long op; in lookup_prev_stack_frame() local 82 op = *(unsigned long *)prologue; in lookup_prev_stack_frame() 84 major = (op >> 26) & 0x3f; in lookup_prev_stack_frame() 85 src = (op >> 20) & 0x3f; in lookup_prev_stack_frame() 86 minor = (op >> 16) & 0xf; in lookup_prev_stack_frame() 87 disp = (op >> 10) & 0x3f; in lookup_prev_stack_frame() 88 dest = (op >> 4) & 0x3f; in lookup_prev_stack_frame() 133 offset_r14 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); in lookup_prev_stack_frame() 141 offset_r18 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); in lookup_prev_stack_frame() 153 dest, op); in lookup_prev_stack_frame() [all …]
|
/arch/x86/include/asm/ |
D | pda.h | 61 #define pda_to_op(op, field, val) \ argument 67 asm(op "w %1,%%gs:%c2" : \ 73 asm(op "l %1,%%gs:%c2" : \ 79 asm(op "q %1,%%gs:%c2": \ 89 #define pda_from_op(op, field) \ argument 94 asm(op "w %%gs:%c1,%0" : \ 100 asm(op "l %%gs:%c1,%0": \ 106 asm(op "q %%gs:%c1,%0": \
|
D | percpu.h | 114 #define percpu_to_op(op, var, val) \ argument 123 asm(op "b %1,"__percpu_seg"%0" \ 128 asm(op "w %1,"__percpu_seg"%0" \ 133 asm(op "l %1,"__percpu_seg"%0" \ 141 #define percpu_from_op(op, var) \ argument 146 asm(op "b "__percpu_seg"%1,%0" \ 151 asm(op "w "__percpu_seg"%1,%0" \ 156 asm(op "l "__percpu_seg"%1,%0" \
|
/arch/ia64/kernel/ |
D | smp.c | 145 send_IPI_single (int dest_cpu, int op) in send_IPI_single() argument 147 set_bit(op, &per_cpu(ipi_operation, dest_cpu)); in send_IPI_single() 155 send_IPI_allbutself (int op) in send_IPI_allbutself() argument 161 send_IPI_single(i, op); in send_IPI_allbutself() 169 send_IPI_mask(cpumask_t mask, int op) in send_IPI_mask() argument 174 send_IPI_single(cpu, op); in send_IPI_mask() 182 send_IPI_all (int op) in send_IPI_all() argument 187 send_IPI_single(i, op); in send_IPI_all() 195 send_IPI_self (int op) in send_IPI_self() argument 197 send_IPI_single(smp_processor_id(), op); in send_IPI_self()
|
/arch/ia64/include/asm/sn/ |
D | mspec.h | 26 #define FETCHOP_LOAD_OP(addr, op) ( \ argument 27 *(volatile long *)((char*) (addr) + (op))) 29 #define FETCHOP_STORE_OP(addr, op, x) ( \ argument 30 *(volatile long *)((char*) (addr) + (op)) = (long) (x))
|
/arch/mips/math-emu/ |
D | ieee754.c | 100 int ieee754si_xcpt(int r, const char *op, ...) in ieee754si_xcpt() argument 106 ax.op = op; in ieee754si_xcpt() 109 va_start(ax.ap, op); in ieee754si_xcpt() 115 s64 ieee754di_xcpt(s64 r, const char *op, ...) in ieee754di_xcpt() argument 121 ax.op = op; in ieee754di_xcpt() 124 va_start(ax.ap, op); in ieee754di_xcpt()
|
D | ieee754dp.c | 49 ieee754dp ieee754dp_xcpt(ieee754dp r, const char *op, ...) in ieee754dp_xcpt() argument 55 ax.op = op; in ieee754dp_xcpt() 58 va_start(ax.ap, op); in ieee754dp_xcpt() 64 ieee754dp ieee754dp_nanxcpt(ieee754dp r, const char *op, ...) in ieee754dp_nanxcpt() argument 82 ax.op = op; in ieee754dp_nanxcpt() 85 va_start(ax.ap, op); in ieee754dp_nanxcpt()
|
D | ieee754sp.c | 49 ieee754sp ieee754sp_xcpt(ieee754sp r, const char *op, ...) in ieee754sp_xcpt() argument 56 ax.op = op; in ieee754sp_xcpt() 59 va_start(ax.ap, op); in ieee754sp_xcpt() 65 ieee754sp ieee754sp_nanxcpt(ieee754sp r, const char *op, ...) in ieee754sp_nanxcpt() argument 83 ax.op = op; in ieee754sp_nanxcpt() 86 va_start(ax.ap, op); in ieee754sp_nanxcpt()
|
/arch/h8300/platform/h8300h/ |
D | ptrace_h8300h.c | 204 const struct optable *op; in getnextpc() local 210 op = optables[0].ptr; in getnextpc() 215 if ((inst & op->bitmask) == op->bitpattern) { in getnextpc() 216 if (op->length < 0) { in getnextpc() 217 op = optables[-op->length].ptr; in getnextpc() 218 op_len = optables[-op->length].size + 1; in getnextpc() 221 switch (op->type) { in getnextpc() 223 return pc + op->length; in getnextpc() 260 op++; in getnextpc()
|
/arch/mips/include/asm/ |
D | r4kcache.h | 33 #define cache_op(op,addr) \ argument 41 : "i" (op), "R" (*(unsigned char *)(addr))) 193 #define protected_cache_op(op,addr) \ argument 204 : "i" (op), "r" (addr)) 238 #define cache16_unroll32(base,op) \ argument 262 "i" (op)); 264 #define cache32_unroll32(base,op) \ argument 288 "i" (op)); 290 #define cache64_unroll32(base,op) \ argument 314 "i" (op)); [all …]
|
/arch/ia64/xen/ |
D | xcom_hcall.c | 64 xencomm_hypercall_event_channel_op(int cmd, void *op) in xencomm_hypercall_event_channel_op() argument 67 desc = xencomm_map_no_alloc(op, sizeof(struct evtchn_op)); in xencomm_hypercall_event_channel_op() 119 xencomm_hypercall_physdev_op(int cmd, void *op) in xencomm_hypercall_physdev_op() argument 143 (cmd, xencomm_map_no_alloc(op, argsize)); in xencomm_hypercall_physdev_op() 148 unsigned int cmd, void *op, unsigned int count, in xencommize_grant_table_op() argument 163 struct gnttab_setup_table *setup = op; in xencommize_grant_table_op() 198 *desc = __xencomm_map_no_alloc(op, count * argsize, *xc_area); in xencommize_grant_table_op() 207 xencomm_hypercall_grant_table_op(unsigned int cmd, void *op, in xencomm_hypercall_grant_table_op() argument 214 rc = xencommize_grant_table_op(&xc_area, cmd, op, count, &desc); in xencomm_hypercall_grant_table_op() 273 switch (mce->op) { in xencomm_hypercall_multicall() [all …]
|