| /arch/s390/appldata/ |
| A D | appldata_base.c | 118 ops->callback(ops->data); in appldata_work_fn() 292 ops = ctl->data; in appldata_generic_handler() 314 ops->callback(ops->data); // init record in appldata_generic_handler() 317 (unsigned long) ops->data, ops->size, in appldata_generic_handler() 318 ops->mod_lvl); in appldata_generic_handler() 324 ops->active = 1; in appldata_generic_handler() 326 ops->active = 0; in appldata_generic_handler() 328 (unsigned long) ops->data, ops->size, in appldata_generic_handler() 329 ops->mod_lvl); in appldata_generic_handler() 362 ops->ctl_table[0].procname = ops->name; in appldata_register_ops() [all …]
|
| A D | appldata_os.c | 79 static struct appldata_ops ops = { variable 133 if (ops.size != new_size) { in appldata_get_os_data() 134 if (ops.active) { in appldata_get_os_data() 138 ops.mod_lvl); in appldata_get_os_data() 145 (unsigned long) ops.data, ops.size, in appldata_get_os_data() 146 ops.mod_lvl); in appldata_get_os_data() 151 ops.size = new_size; in appldata_get_os_data() 185 ops.data = appldata_os_data; in appldata_os_init() 186 ops.callback = &appldata_get_os_data; in appldata_os_init() 187 rc = appldata_register_ops(&ops); in appldata_os_init() [all …]
|
| A D | appldata_net_sum.c | 116 static struct appldata_ops ops = { variable 135 ops.data = kzalloc(sizeof(struct appldata_net_sum_data), GFP_KERNEL); in appldata_net_init() 136 if (!ops.data) in appldata_net_init() 139 ret = appldata_register_ops(&ops); in appldata_net_init() 141 kfree(ops.data); in appldata_net_init() 153 appldata_unregister_ops(&ops); in appldata_net_exit() 154 kfree(ops.data); in appldata_net_exit()
|
| A D | appldata_mem.c | 114 static struct appldata_ops ops = { variable 133 ops.data = kzalloc(sizeof(struct appldata_mem_data), GFP_KERNEL); in appldata_mem_init() 134 if (!ops.data) in appldata_mem_init() 137 ret = appldata_register_ops(&ops); in appldata_mem_init() 139 kfree(ops.data); in appldata_mem_init() 151 appldata_unregister_ops(&ops); in appldata_mem_exit() 152 kfree(ops.data); in appldata_mem_exit()
|
| /arch/um/kernel/ |
| A D | tlb.c | 53 struct vm_ops *ops) in update_pte_range() argument 82 ret = ops->mmap(ops->mm_idp, addr, PAGE_SIZE, in update_pte_range() 85 ret = ops->unmap(ops->mm_idp, addr, PAGE_SIZE); in update_pte_range() 105 ret = ops->unmap(ops->mm_idp, addr, in update_pmd_range() 128 ret = ops->unmap(ops->mm_idp, addr, in update_pud_range() 151 ret = ops->unmap(ops->mm_idp, addr, in update_p4d_range() 164 struct vm_ops ops; in um_tlb_sync() local 173 ops.mmap = kern_map; in um_tlb_sync() 176 ops.mmap = map; in um_tlb_sync() 177 ops.unmap = unmap; in um_tlb_sync() [all …]
|
| /arch/x86/kernel/ |
| A D | ftrace.c | 382 *ptr = (unsigned long)ops; in create_trampoline() 425 struct ftrace_ops *ops; in set_ftrace_ops_ro() local 473 if (!ops->trampoline) { in arch_ftrace_update_trampoline() 474 ops->trampoline = create_trampoline(ops, &size); in arch_ftrace_update_trampoline() 475 if (!ops->trampoline) in arch_ftrace_update_trampoline() 477 ops->trampoline_size = size; in arch_ftrace_update_trampoline() 489 ip = ops->trampoline + offset; in arch_ftrace_update_trampoline() 528 if (ops && ops->trampoline) { in static_tramp_func() 556 if (!ops || !(ops->flags & FTRACE_OPS_FL_ALLOC_TRAMP)) in arch_ftrace_trampoline_func() 565 if (!ops || !(ops->flags & FTRACE_OPS_FL_ALLOC_TRAMP)) in arch_ftrace_trampoline_free() [all …]
|
| /arch/mips/pci/ |
| A D | Makefile | 13 obj-$(CONFIG_MIPS_BONITO64) += ops-bonito64.o 14 obj-$(CONFIG_PCI_GT64XXX_PCI0) += ops-gt64xxx_pci0.o 15 obj-$(CONFIG_MIPS_MSC) += ops-msc.o 16 obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o 19 ops-bcm63xx.o 30 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o 31 obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o 34 obj-$(CONFIG_SGI_IP32) += fixup-ip32.o ops-mace.o pci-ip32.o 38 obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o 40 obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o [all …]
|
| /arch/arm/kernel/ |
| A D | cpuidle.c | 67 return m->ops; in arm_cpuidle_get_ops() 89 const struct cpuidle_ops *ops; in arm_cpuidle_read_ops() local 95 ops = arm_cpuidle_get_ops(enable_method); in arm_cpuidle_read_ops() 96 if (!ops) { in arm_cpuidle_read_ops() 102 if (!ops->init || !ops->suspend) { in arm_cpuidle_read_ops() 108 cpuidle_ops[cpu] = *ops; /* structure copy */ in arm_cpuidle_read_ops()
|
| /arch/powerpc/platforms/cell/spufs/ |
| A D | run.c | 58 *stat = ctx->ops->status_read(ctx); in spu_stopped() 131 ctx->ops->signal2_write(ctx, in spu_setup_isolated() 134 ctx->ops->runcntl_write(ctx, in spu_setup_isolated() 209 runcntl = ctx->ops->runcntl_read(ctx) & in spu_run_init() 221 ctx->ops->privcntl_write(ctx, privcntl); in spu_run_init() 222 ctx->ops->npc_write(ctx, *npc); in spu_run_init() 225 ctx->ops->runcntl_write(ctx, runcntl); in spu_run_init() 251 *status = ctx->ops->status_read(ctx); in spu_run_fini() 252 *npc = ctx->ops->npc_read(ctx); in spu_run_fini() 318 npc = ctx->ops->npc_read(ctx) & ~3; in spu_process_callback() [all …]
|
| /arch/sh/drivers/pci/ |
| A D | Makefile | 7 obj-$(CONFIG_CPU_SUBTYPE_SH7751) += pci-sh7751.o ops-sh4.o 8 obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += pci-sh7751.o ops-sh4.o 9 obj-$(CONFIG_CPU_SUBTYPE_SH7763) += pci-sh7780.o ops-sh4.o 10 obj-$(CONFIG_CPU_SUBTYPE_SH7780) += pci-sh7780.o ops-sh4.o 11 obj-$(CONFIG_CPU_SUBTYPE_SH7785) += pci-sh7780.o ops-sh4.o 12 obj-$(CONFIG_CPU_SUBTYPE_SH7786) += pcie-sh7786.o ops-sh7786.o 14 obj-$(CONFIG_SH_DREAMCAST) += ops-dreamcast.o fixups-dreamcast.o \
|
| /arch/um/drivers/ |
| A D | chan_kern.c | 97 if (chan->ops->open == NULL) in open_one_chan() 262 if (chan->ops->close != NULL) in close_one_chan() 358 if (chan->ops->free != NULL) in free_one_chan() 359 (*chan->ops->free)(chan->data); in free_one_chan() 438 const struct chan_ops *ops; member 481 const struct chan_ops *ops; in parse_chan() local 486 ops = NULL; in parse_chan() 491 ops = entry->ops; in parse_chan() 496 if (ops == NULL) { in parse_chan() 523 .ops = ops, in parse_chan() [all …]
|
| A D | virt-pci.c | 82 dev->ops->cfgspace_write(dev, offset, size, val); in um_pci_cfgspace_write() 248 const struct logic_iomem_ops **ops, in um_pci_map_cfgspace() argument 255 *ops = &um_pci_device_cfgspace_ops; in um_pci_map_cfgspace() 278 const struct logic_iomem_ops **ops; member 309 *data->ops = &um_pci_device_bar_ops; in um_pci_map_iomem_walk() 322 const struct logic_iomem_ops **ops, in um_pci_map_iomem() argument 329 .ops = ops, in um_pci_map_iomem() 447 const struct logic_iomem_ops **ops, in um_pci_map_platform() argument 453 *ops = &um_pci_device_bar_ops; in um_pci_map_platform() 567 .ops = &um_pci_inner_domain_ops, in um_pci_init() [all …]
|
| /arch/arm64/kernel/ |
| A D | smp.c | 103 if (ops->cpu_boot) in boot_secondary() 229 if (ops->cpu_postboot) in secondary_start_kernel() 230 ops->cpu_postboot(); in secondary_start_kernel() 283 if (!ops || !ops->cpu_die) in op_cpu_disable() 290 if (ops->cpu_disable) in op_cpu_disable() 335 if (!ops->cpu_kill) in op_cpu_kill() 383 ops->cpu_die(cpu); in cpu_die() 394 if (ops && ops->cpu_die) in __cpu_try_die() 395 ops->cpu_die(cpu); in __cpu_try_die() 804 if (!ops) in smp_prepare_cpus() [all …]
|
| A D | cpu_ops.c | 41 const struct cpu_operations *const *ops; in cpu_get_ops() local 43 ops = acpi_disabled ? dt_supported_cpu_ops : acpi_supported_cpu_ops; in cpu_get_ops() 45 while (*ops) { in cpu_get_ops() 46 if (!strcmp(name, (*ops)->name)) in cpu_get_ops() 47 return *ops; in cpu_get_ops() 49 ops++; in cpu_get_ops()
|
| /arch/arm/include/asm/mach/ |
| A D | arch.h | 17 #define smp_ops(ops) (&(ops)) argument 18 #define smp_init_ops(ops) (&(ops)) argument 20 #define smp_ops(ops) (struct smp_operations *)NULL argument 21 #define smp_init_ops(ops) (bool (*)(void))NULL argument
|
| /arch/sh/kernel/ |
| A D | unwinder.c | 83 static int unwinder_enqueue(struct unwinder *ops) in unwinder_enqueue() argument 91 if (o == ops) in unwinder_enqueue() 94 if (o->rating >= ops->rating) in unwinder_enqueue() 97 list_add(&ops->list, entry); in unwinder_enqueue() 133 unsigned long *sp, const struct stacktrace_ops *ops, in unwind_stack() argument 163 curr_unwinder->dump(task, regs, sp, ops, data); in unwind_stack()
|
| A D | dumpstack.c | 56 const struct stacktrace_ops *ops, in print_ftrace_graph_addr() argument 75 ops->address(data, ret_addr, 1); in print_ftrace_graph_addr() 82 const struct stacktrace_ops *ops, in print_ftrace_graph_addr() argument 89 unsigned long *sp, const struct stacktrace_ops *ops, in stack_reader_dump() argument 102 ops->address(data, addr, 1); in stack_reader_dump() 104 print_ftrace_graph_addr(addr, data, ops, in stack_reader_dump()
|
| /arch/arm/mach-omap1/ |
| A D | clock_data.c | 97 .ops = &clkops_generic, 107 .ops = &clkops_generic, 128 .ops = &clkops_generic, 146 .ops = &clkops_generic, 155 .ops = &clkops_generic, 199 .ops = &clkops_generic, 218 .ops = &clkops_dspck, 229 .ops = &clkops_dspck, 236 .ops = &clkops_dspck, 269 .ops = &clkops_generic, [all …]
|
| /arch/riscv/kernel/ |
| A D | ftrace.c | 83 const struct ftrace_ops *ops = NULL; in riscv64_rec_get_ops() local 86 ops = ftrace_find_unique_ops(rec); in riscv64_rec_get_ops() 87 WARN_ON_ONCE(!ops); in riscv64_rec_get_ops() 90 if (!ops) in riscv64_rec_get_ops() 91 ops = &ftrace_list_ops; in riscv64_rec_get_ops() 93 return ops; in riscv64_rec_get_ops() 96 static int ftrace_rec_set_ops(const struct dyn_ftrace *rec, const struct ftrace_ops *ops) in ftrace_rec_set_ops() argument 100 return patch_text_nosync((void *)literal, &ops, sizeof(ops)); in ftrace_rec_set_ops()
|
| /arch/sh/drivers/dma/ |
| A D | dma-api.c | 82 if (info->ops->get_residue) in get_dma_residue() 83 return info->ops->get_residue(channel); in get_dma_residue() 101 if (info->ops->request) { in request_dma() 102 result = info->ops->request(channel); in request_dma() 118 if (info->ops->free) in free_dma() 119 info->ops->free(channel); in free_dma() 132 (info->ops->get_residue(channel) == 0)); in dma_wait_for_completion() 136 while (info->ops->get_residue(channel)) in dma_wait_for_completion() 146 if (info->ops->configure) in dma_configure_channel() 147 info->ops->configure(channel, flags); in dma_configure_channel() [all …]
|
| /arch/sparc/kernel/ |
| A D | pci_msi.c | 20 const struct sparc64_msiq_ops *ops; in sparc64_msiq_interrupt() local 24 ops = pbm->msi_ops; in sparc64_msiq_interrupt() 26 err = ops->get_head(pbm, msiqid, &head); in sparc64_msiq_interrupt() 49 err = ops->set_head(pbm, msiqid, head); in sparc64_msiq_interrupt() 150 err = ops->msi_setup(pbm, msiqid, msi, in sparc64_setup_msi_irq() 204 err = ops->msi_teardown(pbm, msi_num); in sparc64_teardown_msi_irq() 278 const struct sparc64_msiq_ops *ops, in bringup_one_msi_queue() argument 320 const struct sparc64_msiq_ops *ops) in sparc64_pbm_msi_init() argument 404 if (ops->msiq_alloc(pbm)) { in sparc64_pbm_msi_init() 411 ops->msiq_free(pbm); in sparc64_pbm_msi_init() [all …]
|
| /arch/riscv/mm/ |
| A D | cache-ops.c | 11 riscv_noncoherent_register_cache_ops(const struct riscv_nonstd_cache_ops *ops) in riscv_noncoherent_register_cache_ops() argument 13 if (!ops) in riscv_noncoherent_register_cache_ops() 15 noncoherent_cache_ops = *ops; in riscv_noncoherent_register_cache_ops()
|
| /arch/powerpc/sysdev/ |
| A D | fsl_rio.c | 448 struct rio_ops *ops; in fsl_rio_setup() local 474 if (!ops) { in fsl_rio_setup() 478 ops->lcread = fsl_local_config_read; in fsl_rio_setup() 480 ops->cread = fsl_rio_config_read; in fsl_rio_setup() 481 ops->cwrite = fsl_rio_config_write; in fsl_rio_setup() 482 ops->dsend = fsl_rio_doorbell_send; in fsl_rio_setup() 483 ops->pwenable = fsl_rio_pw_enable; in fsl_rio_setup() 491 ops->map_inb = fsl_map_inb_mem; in fsl_rio_setup() 492 ops->unmap_inb = fsl_unmap_inb_mem; in fsl_rio_setup() 619 port->ops = ops; in fsl_rio_setup() [all …]
|
| /arch/powerpc/platforms/powernv/ |
| A D | opal-sensor-groups.c | 129 static int __init add_attr_group(const __be32 *ops, int len, struct sensor_group *sg, in add_attr_group() argument 137 if (be32_to_cpu(ops[i]) == ops_info[j].opal_no) { in add_attr_group() 147 static int __init get_nr_attrs(const __be32 *ops, int len) in get_nr_attrs() argument 154 if (be32_to_cpu(ops[i]) == ops_info[j].opal_no) in get_nr_attrs() 182 const __be32 *ops; in opal_sensor_groups_init() local 185 ops = of_get_property(node, "ops", &len); in opal_sensor_groups_init() 186 if (!ops) in opal_sensor_groups_init() 189 nr_attrs = get_nr_attrs(ops, len); in opal_sensor_groups_init() 218 if (add_attr_group(ops, len, &sgs[i], sgid)) { in opal_sensor_groups_init()
|
| /arch/arm/include/asm/ |
| A D | firmware.h | 72 static inline void register_firmware_ops(const struct firmware_ops *ops) in register_firmware_ops() argument 74 BUG_ON(!ops); in register_firmware_ops() 76 firmware_ops = ops; in register_firmware_ops()
|