/arch/s390/appldata/ |
D | appldata_base.c | 126 struct appldata_ops *ops; in appldata_work_fn() local 130 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 131 if (ops->active == 1) { in appldata_work_fn() 132 ops->callback(ops->data); in appldata_work_fn() 293 struct appldata_ops *ops = NULL, *tmp_ops; in appldata_generic_handler() local 311 ops = ctl->data; in appldata_generic_handler() 312 if (!try_module_get(ops->owner)) { // protect this function in appldata_generic_handler() 320 module_put(ops->owner); in appldata_generic_handler() 324 strncpy(buf, ops->active ? "1\n" : "0\n", ARRAY_SIZE(buf)); in appldata_generic_handler() 329 module_put(ops->owner); in appldata_generic_handler() [all …]
|
D | appldata_os.c | 84 static struct appldata_ops ops = { variable 139 if (ops.size != new_size) { in appldata_get_os_data() 140 if (ops.active) { in appldata_get_os_data() 143 (unsigned long) ops.data, new_size, in appldata_get_os_data() 144 ops.mod_lvl); in appldata_get_os_data() 151 (unsigned long) ops.data, ops.size, in appldata_get_os_data() 152 ops.mod_lvl); in appldata_get_os_data() 157 ops.size = new_size; in appldata_get_os_data() 192 ops.data = appldata_os_data; in appldata_os_init() 193 ops.callback = &appldata_get_os_data; in appldata_os_init() [all …]
|
/arch/microblaze/include/asm/ |
D | dma-mapping.h | 50 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported() local 52 if (unlikely(!ops)) in dma_supported() 54 if (!ops->dma_supported) in dma_supported() 56 return ops->dma_supported(dev, mask); in dma_supported() 61 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask() local 63 if (unlikely(ops == NULL)) in dma_set_mask() 65 if (ops->set_dma_mask) in dma_set_mask() 66 return ops->set_dma_mask(dev, dma_mask); in dma_set_mask() 93 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error() local 96 if (ops->mapping_error) in dma_mapping_error() [all …]
|
/arch/sh/include/asm/ |
D | dma-mapping.h | 17 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported() local 19 if (ops->dma_supported) in dma_supported() 20 return ops->dma_supported(dev, mask); in dma_supported() 27 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask() local 31 if (ops->set_dma_mask) in dma_set_mask() 32 return ops->set_dma_mask(dev, mask); in dma_set_mask() 47 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error() local 50 if (ops->mapping_error) in dma_mapping_error() 51 return ops->mapping_error(dev, dma_addr); in dma_mapping_error() 62 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs() local [all …]
|
/arch/mips/pci/ |
D | Makefile | 10 obj-$(CONFIG_MIPS_BONITO64) += ops-bonito64.o 11 obj-$(CONFIG_PCI_GT64XXX_PCI0) += ops-gt64xxx_pci0.o 12 obj-$(CONFIG_MIPS_MSC) += ops-msc.o 13 obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o 14 obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o 15 obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o 16 obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o 17 obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o 20 ops-bcm63xx.o 30 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o [all …]
|
/arch/x86/oprofile/ |
D | init.c | 20 extern int op_nmi_init(struct oprofile_operations *ops); 23 static int op_nmi_init(struct oprofile_operations *ops) { return -ENODEV; } in op_nmi_init() argument 29 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 31 ops->backtrace = x86_backtrace; in oprofile_arch_init() 32 return op_nmi_init(ops); in oprofile_arch_init()
|
/arch/mips/include/asm/ |
D | dma-mapping.h | 37 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported() local 38 return ops->dma_supported(dev, mask); in dma_supported() 43 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error() local 46 return ops->mapping_error(dev, mask); in dma_mapping_error() 52 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask() local 57 if (ops->set_dma_mask) in dma_set_mask() 58 return ops->set_dma_mask(dev, mask); in dma_set_mask() 75 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs() local 77 ret = ops->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs() 90 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs() local [all …]
|
/arch/blackfin/mach-bf609/ |
D | clock.c | 92 if (clk->ops && clk->ops->enable) in clk_enable() 93 ret = clk->ops->enable(clk); in clk_enable() 100 if (clk->ops && clk->ops->disable) in clk_disable() 101 clk->ops->disable(clk); in clk_disable() 109 if (clk->ops && clk->ops->get_rate) in clk_get_rate() 110 ret = clk->ops->get_rate(clk); in clk_get_rate() 118 if (clk->ops && clk->ops->round_rate) in clk_round_rate() 119 ret = clk->ops->round_rate(clk, rate); in clk_round_rate() 127 if (clk->ops && clk->ops->set_rate) in clk_set_rate() 128 ret = clk->ops->set_rate(clk, rate); in clk_set_rate() [all …]
|
/arch/sparc/oprofile/ |
D | init.c | 59 static int op_nmi_timer_init(struct oprofile_operations *ops) in op_nmi_timer_init() argument 64 ops->start = timer_start; in op_nmi_timer_init() 65 ops->stop = timer_stop; in op_nmi_timer_init() 66 ops->cpu_type = "timer"; in op_nmi_timer_init() 72 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 77 ret = op_nmi_timer_init(ops); in oprofile_arch_init()
|
/arch/arm/mach-omap1/ |
D | clock_data.c | 80 .ops = &clkops_null, 86 .ops = &clkops_null, 97 .ops = &clkops_generic, 110 .ops = &clkops_generic, 121 .ops = &clkops_null, 132 .ops = &clkops_generic, 151 .ops = &clkops_generic, 162 .ops = &clkops_generic, 175 .ops = &clkops_generic, 188 .ops = &clkops_generic, [all …]
|
/arch/metag/oprofile/ |
D | common.c | 38 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 40 ops->backtrace = metag_backtrace; in oprofile_arch_init() 50 return oprofile_perf_init(ops); in oprofile_arch_init() 59 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 61 ops->backtrace = metag_backtrace; in oprofile_arch_init()
|
/arch/arm/plat-versatile/ |
D | clock.c | 41 if (clk->ops && clk->ops->round) in clk_round_rate() 42 ret = clk->ops->round(clk, rate); in clk_round_rate() 50 if (clk->ops && clk->ops->set) in clk_set_rate() 51 ret = clk->ops->set(clk, rate); in clk_set_rate() 70 clk->ops->setvco(clk, vco); in icst_clk_set()
|
/arch/sh/oprofile/ |
D | common.c | 37 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 39 ops->backtrace = sh_backtrace; in oprofile_arch_init() 49 return oprofile_perf_init(ops); in oprofile_arch_init() 58 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 60 ops->backtrace = sh_backtrace; in oprofile_arch_init()
|
/arch/arm/mach-pxa/ |
D | clock.c | 21 clk->ops->enable(clk); in clk_enable() 39 clk->ops->disable(clk); in clk_disable() 49 if (clk->ops->getrate) in clk_get_rate() 50 rate = clk->ops->getrate(clk); in clk_get_rate() 61 if (clk->ops->setrate) { in clk_set_rate() 63 ret = clk->ops->setrate(clk, rate); in clk_set_rate() 85 .ops = &clk_dummy_ops,
|
/arch/sh/drivers/pci/ |
D | Makefile | 6 obj-$(CONFIG_CPU_SUBTYPE_SH7751) += pci-sh7751.o ops-sh4.o 7 obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += pci-sh7751.o ops-sh4.o 8 obj-$(CONFIG_CPU_SUBTYPE_SH7763) += pci-sh7780.o ops-sh4.o 9 obj-$(CONFIG_CPU_SUBTYPE_SH7780) += pci-sh7780.o ops-sh4.o 10 obj-$(CONFIG_CPU_SUBTYPE_SH7785) += pci-sh7780.o ops-sh4.o 11 obj-$(CONFIG_CPU_SUBTYPE_SH7786) += pcie-sh7786.o ops-sh7786.o 12 obj-$(CONFIG_CPU_SH5) += pci-sh5.o ops-sh5.o 14 obj-$(CONFIG_SH_DREAMCAST) += ops-dreamcast.o fixups-dreamcast.o \
|
/arch/powerpc/oprofile/ |
D | common.c | 192 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 204 ops->sync_start = model->sync_start; in oprofile_arch_init() 205 ops->sync_stop = model->sync_stop; in oprofile_arch_init() 231 ops->cpu_type = cur_cpu_spec->oprofile_cpu_type; in oprofile_arch_init() 232 ops->create_files = op_powerpc_create_files; in oprofile_arch_init() 233 ops->setup = op_powerpc_setup; in oprofile_arch_init() 234 ops->shutdown = op_powerpc_shutdown; in oprofile_arch_init() 235 ops->start = op_powerpc_start; in oprofile_arch_init() 236 ops->stop = op_powerpc_stop; in oprofile_arch_init() 237 ops->backtrace = op_powerpc_backtrace; in oprofile_arch_init() [all …]
|
/arch/arm64/kernel/ |
D | armv8_deprecated.c | 57 struct insn_emulation_ops *ops; member 67 static void register_emulation_hooks(struct insn_emulation_ops *ops) in register_emulation_hooks() argument 71 BUG_ON(!ops->hooks); in register_emulation_hooks() 73 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks() 76 pr_notice("Registered %s emulation handler\n", ops->name); in register_emulation_hooks() 79 static void remove_emulation_hooks(struct insn_emulation_ops *ops) in remove_emulation_hooks() argument 83 BUG_ON(!ops->hooks); in remove_emulation_hooks() 85 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks() 88 pr_notice("Removed %s emulation handler\n", ops->name); in remove_emulation_hooks() 94 if (insn->ops->set_hw_mode) in enable_insn_hw_mode() [all …]
|
D | cpu_ops.c | 38 const struct cpu_operations **ops = supported_cpu_ops; in cpu_get_ops() local 40 while (*ops) { in cpu_get_ops() 41 if (!strcmp(name, (*ops)->name)) in cpu_get_ops() 42 return *ops; in cpu_get_ops() 44 ops++; in cpu_get_ops()
|
/arch/mips/loongson/lemote-2f/ |
D | clock.c | 63 if (likely(clkp->ops && clkp->ops->recalc)) in propagate_rate() 64 clkp->ops->recalc(clkp); in propagate_rate() 99 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 103 ret = clk->ops->set_rate(clk, rate, 0); in clk_set_rate() 128 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate() 132 rounded = clk->ops->round_rate(clk, rate); in clk_round_rate()
|
/arch/arm/include/asm/mach/ |
D | arch.h | 20 #define smp_ops(ops) (&(ops)) argument 21 #define smp_init_ops(ops) (&(ops)) argument 23 #define smp_ops(ops) (struct smp_operations *)NULL argument 24 #define smp_init_ops(ops) (bool (*)(void))NULL argument
|
/arch/ia64/oprofile/ |
D | init.c | 15 extern int perfmon_init(struct oprofile_operations *ops); 19 int __init oprofile_arch_init(struct oprofile_operations *ops) in oprofile_arch_init() argument 25 ret = perfmon_init(ops); in oprofile_arch_init() 27 ops->backtrace = ia64_backtrace; in oprofile_arch_init()
|
/arch/arm64/include/asm/ |
D | dma-mapping.h | 50 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) in set_dma_ops() argument 52 dev->archdata.dma_ops = ops; in set_dma_ops() 76 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error() local 78 return ops->mapping_error(dev, dev_addr); in dma_mapping_error() 83 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported() local 84 return ops->dma_supported(dev, mask); in dma_supported() 115 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs() local 121 vaddr = ops->alloc(dev, size, dma_handle, flags, attrs); in dma_alloc_attrs() 130 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs() local 136 ops->free(dev, size, vaddr, dev_addr, attrs); in dma_free_attrs()
|
/arch/powerpc/platforms/cell/spufs/ |
D | run.c | 57 *stat = ctx->ops->status_read(ctx); in spu_stopped() 129 ctx->ops->signal1_write(ctx, (unsigned long)isolated_loader >> 32); in spu_setup_isolated() 130 ctx->ops->signal2_write(ctx, in spu_setup_isolated() 133 ctx->ops->runcntl_write(ctx, in spu_setup_isolated() 138 while (((status = ctx->ops->status_read(ctx)) & status_loading) == in spu_setup_isolated() 153 ctx->ops->runcntl_write(ctx, SPU_RUNCNTL_RUNNABLE); in spu_setup_isolated() 161 ctx->ops->runcntl_write(ctx, SPU_RUNCNTL_STOP); in spu_setup_isolated() 198 if (!(ctx->ops->status_read(ctx) & SPU_STATUS_ISOLATED_STATE)) { in spu_run_init() 208 runcntl = ctx->ops->runcntl_read(ctx) & in spu_run_init() 220 ctx->ops->privcntl_write(ctx, privcntl); in spu_run_init() [all …]
|
/arch/mips/jz4740/ |
D | clock.c | 304 .ops = &jz_clk_static_ops, 315 .ops = &jz_clk_pll_ops, 325 .ops = &jz_clk_pll_half_ops, 338 .ops = &jz_clk_main_ops, 347 .ops = &jz_clk_main_ops, 356 .ops = &jz_clk_main_ops, 366 .ops = &jz_clk_main_ops, 380 .ops = &jz_clk_ko_ops, 572 .ops = &jz_clk_ops_ld, 607 .ops = &jz_clk_i2s_ops, [all …]
|
/arch/ia64/include/asm/ |
D | dma-mapping.h | 32 struct dma_map_ops *ops = platform_dma_get_ops(dev); in dma_alloc_attrs() local 35 caddr = ops->alloc(dev, size, daddr, gfp, attrs); in dma_alloc_attrs() 46 struct dma_map_ops *ops = platform_dma_get_ops(dev); in dma_free_attrs() local 48 ops->free(dev, size, caddr, daddr, attrs); in dma_free_attrs() 60 struct dma_map_ops *ops = platform_dma_get_ops(dev); in dma_mapping_error() local 62 return ops->mapping_error(dev, daddr); in dma_mapping_error() 67 struct dma_map_ops *ops = platform_dma_get_ops(dev); in dma_supported() local 68 return ops->dma_supported(dev, mask); in dma_supported()
|