/arch/avr32/kernel/ |
D | module.c | 22 void module_arch_freeing_init(struct module *mod) in module_arch_freeing_init() 28 static inline int check_rela(Elf32_Rela *rela, struct module *module, in check_rela() argument 33 info = module->arch.syminfo + ELF32_R_SYM(rela->r_info); in check_rela() 49 info->got_offset = module->arch.got_size; in check_rela() 50 module->arch.got_size += sizeof(void *); in check_rela() 61 char *secstrings, struct module *module) in module_frob_arch_sections() argument 79 printk(KERN_ERR "module %s: no symbol table\n", module->name); in module_frob_arch_sections() 84 module->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections() 85 module->arch.syminfo = vmalloc(module->arch.nsyms in module_frob_arch_sections() 87 if (!module->arch.syminfo) in module_frob_arch_sections() [all …]
|
/arch/arm/mach-omap2/ |
D | cm2xxx_3xxx.h | 53 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg() argument 55 return readl_relaxed(cm_base + module + idx); in omap2_cm_read_mod_reg() 58 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg() argument 60 writel_relaxed(val, cm_base + module + idx); in omap2_cm_write_mod_reg() 64 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits() argument 69 v = omap2_cm_read_mod_reg(module, idx); in omap2_cm_rmw_mod_reg_bits() 72 omap2_cm_write_mod_reg(v, module, idx); in omap2_cm_rmw_mod_reg_bits() 89 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits() argument 91 return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_cm_set_mod_reg_bits() 94 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits() argument [all …]
|
D | prm2xxx_3xxx.h | 56 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg() argument 58 return readl_relaxed(prm_base + module + idx); in omap2_prm_read_mod_reg() 61 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg() argument 63 writel_relaxed(val, prm_base + module + idx); in omap2_prm_write_mod_reg() 67 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits() argument 72 v = omap2_prm_read_mod_reg(module, idx); in omap2_prm_rmw_mod_reg_bits() 75 omap2_prm_write_mod_reg(v, module, idx); in omap2_prm_rmw_mod_reg_bits() 92 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits() argument 94 return omap2_prm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_prm_set_mod_reg_bits() 97 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits() argument [all …]
|
D | cm2xxx.h | 22 #define OMAP2420_CM_REGADDR(module, reg) \ argument 23 OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg)) 24 #define OMAP2430_CM_REGADDR(module, reg) \ argument 25 OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg))
|
D | cm2xxx.c | 46 static void _write_clktrctrl(u8 c, s16 module, u32 mask) in _write_clktrctrl() argument 50 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); in _write_clktrctrl() 53 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL); in _write_clktrctrl() 56 static bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) in omap2xxx_cm_is_clkdm_in_hwsup() argument 60 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); in omap2xxx_cm_is_clkdm_in_hwsup() 67 static void omap2xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) in omap2xxx_cm_clkdm_enable_hwsup() argument 69 _write_clktrctrl(OMAP24XX_CLKSTCTRL_ENABLE_AUTO, module, mask); in omap2xxx_cm_clkdm_enable_hwsup() 72 static void omap2xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) in omap2xxx_cm_clkdm_disable_hwsup() argument 74 _write_clktrctrl(OMAP24XX_CLKSTCTRL_DISABLE_AUTO, module, mask); in omap2xxx_cm_clkdm_disable_hwsup()
|
D | prm2xxx.h | 23 #define OMAP2420_PRM_REGADDR(module, reg) \ argument 24 OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE + (module) + (reg)) 25 #define OMAP2430_PRM_REGADDR(module, reg) \ argument 26 OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE + (module) + (reg))
|
D | prm3xxx.c | 230 static int omap3xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask) in omap3xxx_prm_clear_mod_irqs() argument 240 wkst = omap2_prm_read_mod_reg(module, wkst_off); in omap3xxx_prm_clear_mod_irqs() 241 wkst &= omap2_prm_read_mod_reg(module, grpsel_off); in omap3xxx_prm_clear_mod_irqs() 244 iclk = omap2_cm_read_mod_reg(module, iclk_off); in omap3xxx_prm_clear_mod_irqs() 245 fclk = omap2_cm_read_mod_reg(module, fclk_off); in omap3xxx_prm_clear_mod_irqs() 248 omap2_cm_set_mod_reg_bits(clken, module, iclk_off); in omap3xxx_prm_clear_mod_irqs() 253 if (module == OMAP3430ES2_USBHOST_MOD) in omap3xxx_prm_clear_mod_irqs() 255 omap2_cm_set_mod_reg_bits(clken, module, fclk_off); in omap3xxx_prm_clear_mod_irqs() 256 omap2_prm_write_mod_reg(wkst, module, wkst_off); in omap3xxx_prm_clear_mod_irqs() 257 wkst = omap2_prm_read_mod_reg(module, wkst_off); in omap3xxx_prm_clear_mod_irqs() [all …]
|
/arch/mips/kernel/ |
D | module-rela.c | 27 extern int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v); 29 static int apply_r_mips_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rela() 36 static int apply_r_mips_26_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rela() 54 static int apply_r_mips_hi16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rela() 62 static int apply_r_mips_lo16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rela() 69 static int apply_r_mips_pc_rela(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_pc_rela() 96 static int apply_r_mips_pc16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc16_rela() 101 static int apply_r_mips_pc21_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc21_rela() 106 static int apply_r_mips_pc26_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc26_rela() 111 static int apply_r_mips_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_64_rela() [all …]
|
D | module.c | 56 int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_none() 61 static int apply_r_mips_32_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rel() 68 static int apply_r_mips_26_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rel() 88 static int apply_r_mips_hi16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rel() 120 static int apply_r_mips_lo16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rel() 186 static int apply_r_mips_pc_rel(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_pc_rel() 217 static int apply_r_mips_pc16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc16_rel() 222 static int apply_r_mips_pc21_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc21_rel() 227 static int apply_r_mips_pc26_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_pc26_rel() 232 static int (*reloc_handlers_rel[]) (struct module *me, u32 *location, [all …]
|
/arch/arc/kernel/ |
D | module.c | 30 char *secstr, struct module *mod) in module_frob_arch_sections() 40 void module_arch_cleanup(struct module *mod) in module_arch_cleanup() 52 struct module *module) in apply_relocate_add() argument 70 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add() 89 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add() 117 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add() 118 module->arch.unw_sec_idx = tgtsec; in apply_relocate_add() 125 module->name, ELF32_R_TYPE(rel_entry[i].r_info)); in apply_relocate_add() 136 struct module *mod) in module_finalize()
|
/arch/arm/mach-integrator/ |
D | Kconfig | 38 The IM-PD1 is an add-on logic module for the Integrator which 42 To compile this driver as a module, choose M here: the 43 module will be called impd1. 46 bool "Integrator/CM7TDMI core module" 52 bool "Integrator/CM720T core module" 58 bool "Integrator/CM740T core module" 64 bool "Integrator/CM920T core module" 70 bool "Integrator/CM922T-XA10 core module" 76 bool "Integrator/CM926EJ-S core module" 82 bool "Integrator/CM940T core module" [all …]
|
/arch/mips/lantiq/falcon/ |
D | sysctrl.c | 87 do {} while (--err && ((sysctl_r32(clk->module, reg) in sysctl_wait() 91 clk->module, clk->bits, test, in sysctl_wait() 92 sysctl_r32(clk->module, reg) & clk->bits); in sysctl_wait() 97 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_activate() 98 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_activate() 105 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); in sysctl_deactivate() 106 sysctl_w32(clk->module, clk->bits, SYSCTL_DEACT); in sysctl_deactivate() 112 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_clken() 113 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_clken() 120 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); in sysctl_clkdis() [all …]
|
/arch/arm/mach-imx/ |
D | hardware.h | 32 #define IMX_IO_P2V_MODULE(addr, module) \ argument 33 (((addr) - module ## _BASE_ADDR) < module ## _SIZE ? \ 34 (addr) - (module ## _BASE_ADDR) + (module ## _BASE_ADDR_VIRT) : 0)
|
/arch/unicore32/kernel/ |
D | module.c | 34 unsigned int relindex, struct module *module) in apply_relocate() argument 52 module->name, relindex, i); in apply_relocate() 62 module->name, relindex, i, rel->r_offset, in apply_relocate() 91 "%d reloc %d sym '%s'\n", module->name, in apply_relocate() 104 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/arch/powerpc/kernel/ |
D | module_32.c | 149 struct module *me) in module_frob_arch_sections() 185 struct module *mod) in do_plt_call() 216 struct module *module) in apply_relocate_add() argument 265 sechdrs, module); in apply_relocate_add() 292 module->name, in apply_relocate_add() 302 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs) in module_finalize_ftrace() argument 304 module->arch.tramp = do_plt_call(module->core_layout.base, in module_finalize_ftrace() 306 sechdrs, module); in module_finalize_ftrace() 307 if (!module->arch.tramp) in module_finalize_ftrace()
|
/arch/mips/lantiq/xway/ |
D | sysctrl.c | 166 void ltq_pmu_enable(unsigned int module) in ltq_pmu_enable() argument 171 pmu_w32(pmu_r32(PMU_PWDCR) & ~module, PMU_PWDCR); in ltq_pmu_enable() 172 do {} while (--retry && (pmu_r32(PMU_PWDSR) & module)); in ltq_pmu_enable() 181 void ltq_pmu_disable(unsigned int module) in ltq_pmu_disable() argument 186 pmu_w32(pmu_r32(PMU_PWDCR) | module, PMU_PWDCR); in ltq_pmu_disable() 187 do {} while (--retry && (!(pmu_r32(PMU_PWDSR) & module))); in ltq_pmu_disable() 215 pmu_w32(clk->bits, PWDCR_EN_XRX(clk->module)); in pmu_enable() 217 (!(pmu_r32(PWDSR_XRX(clk->module)) & clk->bits))); in pmu_enable() 221 pmu_w32(pmu_r32(PWDCR(clk->module)) & ~clk->bits, in pmu_enable() 222 PWDCR(clk->module)); in pmu_enable() [all …]
|
/arch/microblaze/kernel/ |
D | module.c | 22 unsigned int symindex, unsigned int relsec, struct module *module) in apply_relocate_add() argument 112 module->name, in apply_relocate_add() 121 struct module *module) in module_finalize() argument
|
/arch/hexagon/kernel/ |
D | module.c | 42 struct module *mod) in module_frob_arch_sections() 82 struct module *module) in apply_relocate_add() argument 120 module->name, in apply_relocate_add() 152 module->name); in apply_relocate_add() 156 module->name, in apply_relocate_add()
|
/arch/arm/kernel/ |
D | module.c | 56 unsigned int relindex, struct module *module) in apply_relocate() argument 77 module->name, relindex, i); in apply_relocate() 86 module->name, relindex, i, symname, in apply_relocate() 108 module->name, relindex, i, symname); in apply_relocate() 128 offset = get_module_plt(module, loc, in apply_relocate() 135 module->name, relindex, i, symname, in apply_relocate() 194 module->name, relindex, i, symname); in apply_relocate() 232 offset = get_module_plt(module, loc, in apply_relocate() 239 module->name, relindex, i, symname, in apply_relocate() 295 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate() [all …]
|
/arch/powerpc/include/asm/ |
D | module.h | 85 int module_trampoline_target(struct module *mod, unsigned long trampoline, 89 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 91 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
/arch/x86/kvm/ |
D | Kconfig | 53 This module provides access to the hardware capabilities through 56 To compile this as a module, choose M here: the module 70 To compile this as a module, choose M here: the module 80 To compile this as a module, choose M here: the module 87 This option adds a R/W kVM module parameter 'mmu_audit', which allows
|
/arch/mips/boot/dts/ingenic/ |
D | jz4780.dtsi | 55 clock-names = "baud", "module"; 68 clock-names = "baud", "module"; 81 clock-names = "baud", "module"; 94 clock-names = "baud", "module"; 107 clock-names = "baud", "module";
|
/arch/m68k/include/asm/ |
D | module.h | 37 struct module; 38 extern void module_fixup(struct module *mod, struct m68k_fixup_info *start,
|
/arch/m68k/kernel/ |
D | module.c | 26 struct module *me) in apply_relocate() 66 struct module *me) in apply_relocate_add() 104 struct module *mod) in module_finalize() 112 void module_fixup(struct module *mod, struct m68k_fixup_info *start, in module_fixup()
|
/arch/x86/include/asm/ |
D | alternative.h | 65 struct module; 68 extern void alternatives_smp_module_add(struct module *mod, char *name, 71 extern void alternatives_smp_module_del(struct module *mod); 76 static inline void alternatives_smp_module_add(struct module *mod, char *name, in alternatives_smp_module_add() 79 static inline void alternatives_smp_module_del(struct module *mod) {} in alternatives_smp_module_del()
|