| /arch/arm/mach-omap2/ |
| A D | cm2xxx_3xxx.h | 50 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg() argument 52 return readl_relaxed(cm_base.va + module + idx); in omap2_cm_read_mod_reg() 55 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg() argument 57 writel_relaxed(val, cm_base.va + module + idx); in omap2_cm_write_mod_reg() 61 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits() argument 66 v = omap2_cm_read_mod_reg(module, idx); in omap2_cm_rmw_mod_reg_bits() 69 omap2_cm_write_mod_reg(v, module, idx); in omap2_cm_rmw_mod_reg_bits() 86 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits() argument 88 return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_cm_set_mod_reg_bits() 91 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits() argument [all …]
|
| A D | prm2xxx_3xxx.h | 53 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg() argument 55 return readl_relaxed(prm_base.va + module + idx); in omap2_prm_read_mod_reg() 58 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg() argument 60 writel_relaxed(val, prm_base.va + module + idx); in omap2_prm_write_mod_reg() 64 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits() argument 69 v = omap2_prm_read_mod_reg(module, idx); in omap2_prm_rmw_mod_reg_bits() 72 omap2_prm_write_mod_reg(v, module, idx); in omap2_prm_rmw_mod_reg_bits() 89 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits() argument 91 return omap2_prm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_prm_set_mod_reg_bits() 94 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits() argument [all …]
|
| A D | cm2xxx.h | 19 #define OMAP2420_CM_REGADDR(module, reg) \ argument 20 OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg)) 21 #define OMAP2430_CM_REGADDR(module, reg) \ argument 22 OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg))
|
| A D | cm2xxx.c | 43 static void _write_clktrctrl(u8 c, s16 module, u32 mask) in _write_clktrctrl() argument 47 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); in _write_clktrctrl() 50 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL); in _write_clktrctrl() 53 static bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) in omap2xxx_cm_is_clkdm_in_hwsup() argument 57 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); in omap2xxx_cm_is_clkdm_in_hwsup() 64 static void omap2xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) in omap2xxx_cm_clkdm_enable_hwsup() argument 66 _write_clktrctrl(OMAP24XX_CLKSTCTRL_ENABLE_AUTO, module, mask); in omap2xxx_cm_clkdm_enable_hwsup() 69 static void omap2xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) in omap2xxx_cm_clkdm_disable_hwsup() argument 71 _write_clktrctrl(OMAP24XX_CLKSTCTRL_DISABLE_AUTO, module, mask); in omap2xxx_cm_clkdm_disable_hwsup()
|
| A D | prm3xxx.c | 238 wkst = omap2_prm_read_mod_reg(module, wkst_off); in omap3xxx_prm_clear_mod_irqs() 239 wkst &= omap2_prm_read_mod_reg(module, grpsel_off); in omap3xxx_prm_clear_mod_irqs() 242 iclk = omap2_cm_read_mod_reg(module, iclk_off); in omap3xxx_prm_clear_mod_irqs() 243 fclk = omap2_cm_read_mod_reg(module, fclk_off); in omap3xxx_prm_clear_mod_irqs() 246 omap2_cm_set_mod_reg_bits(clken, module, iclk_off); in omap3xxx_prm_clear_mod_irqs() 251 if (module == OMAP3430ES2_USBHOST_MOD) in omap3xxx_prm_clear_mod_irqs() 253 omap2_cm_set_mod_reg_bits(clken, module, fclk_off); in omap3xxx_prm_clear_mod_irqs() 254 omap2_prm_write_mod_reg(wkst, module, wkst_off); in omap3xxx_prm_clear_mod_irqs() 255 wkst = omap2_prm_read_mod_reg(module, wkst_off); in omap3xxx_prm_clear_mod_irqs() 259 omap2_cm_write_mod_reg(iclk, module, iclk_off); in omap3xxx_prm_clear_mod_irqs() [all …]
|
| A D | prm2xxx.h | 20 #define OMAP2420_PRM_REGADDR(module, reg) \ argument 21 OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE + (module) + (reg)) 22 #define OMAP2430_PRM_REGADDR(module, reg) \ argument 23 OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE + (module) + (reg))
|
| /arch/riscv/kernel/ |
| A D | module.c | 37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 38 int (*accumulate_handler)(struct module *me, void *location, 97 static int apply_r_riscv_branch_rela(struct module *me, void *location, in apply_r_riscv_branch_rela() 109 static int apply_r_riscv_jal_rela(struct module *me, void *location, in apply_r_riscv_jal_rela() 190 static int apply_r_riscv_hi20_rela(struct module *me, void *location, in apply_r_riscv_hi20_rela() 267 static int apply_r_riscv_call_rela(struct module *me, void *location, in apply_r_riscv_call_rela() 598 process_accumulated_relocations(struct module *me, in process_accumulated_relocations() 654 static int add_relocation_to_accumulate(struct module *me, int type, in add_relocation_to_accumulate() 769 struct module *me) in apply_relocate_add() 772 int (*handler)(struct module *me, void *location, Elf_Addr v); in apply_relocate_add() [all …]
|
| /arch/arc/kernel/ |
| A D | module.c | 27 char *secstr, struct module *mod) in module_frob_arch_sections() 37 void module_arch_cleanup(struct module *mod) in module_arch_cleanup() 49 struct module *module) in apply_relocate_add() argument 67 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add() 86 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add() 114 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add() 115 module->arch.unw_sec_idx = tgtsec; in apply_relocate_add() 122 module->name, ELF32_R_TYPE(rel_entry[i].r_info)); in apply_relocate_add() 133 struct module *mod) in module_finalize()
|
| /arch/mips/lantiq/falcon/ |
| A D | sysctrl.c | 85 clk->module, clk->bits, test, in sysctl_wait() 86 sysctl_r32(clk->module, reg) & clk->bits); in sysctl_wait() 91 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_activate() 92 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_activate() 100 sysctl_w32(clk->module, clk->bits, SYSCTL_DEACT); in sysctl_deactivate() 106 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_clken() 107 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_clken() 123 act = sysctl_r32(clk->module, SYSCTL_ACT); in sysctl_reboot() 126 sysctl_w32(clk->module, bits, SYSCTL_CLKEN); in sysctl_reboot() 127 sysctl_w32(clk->module, bits, SYSCTL_ACT); in sysctl_reboot() [all …]
|
| /arch/powerpc/kernel/ |
| A D | module_32.c | 123 struct module *me) in module_frob_arch_sections() 160 struct module *mod) in do_plt_call() 200 struct module *module) in apply_relocate_add() argument 248 sechdrs, module); in apply_relocate_add() 278 module->name, in apply_relocate_add() 322 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs) in module_finalize_ftrace() argument 324 module->arch.tramp = do_plt_call(module->mem[MOD_TEXT].base, in module_finalize_ftrace() 326 sechdrs, module); in module_finalize_ftrace() 327 if (!module->arch.tramp) in module_finalize_ftrace() 331 module->arch.tramp_regs = do_plt_call(module->mem[MOD_TEXT].base, in module_finalize_ftrace() [all …]
|
| /arch/arm/mach-imx/ |
| A D | hardware.h | 19 #define IMX_IO_P2V_MODULE(addr, module) \ argument 20 (((addr) - module ## _BASE_ADDR) < module ## _SIZE ? \ 21 (addr) - (module ## _BASE_ADDR) + (module ## _BASE_ADDR_VIRT) : 0)
|
| /arch/mips/lantiq/xway/ |
| A D | sysctrl.c | 159 void ltq_pmu_enable(unsigned int module) in ltq_pmu_enable() argument 174 void ltq_pmu_disable(unsigned int module) in ltq_pmu_disable() argument 208 pmu_w32(clk->bits, PWDCR_EN_XRX(clk->module)); in pmu_enable() 215 PWDCR(clk->module)); in pmu_enable() 240 PWDCR(clk->module)); in pmu_disable() 316 int shift = 14 - (2 * clk->module); in clkout_enable() 317 int enable = 7 - clk->module; in clkout_enable() 332 unsigned int module, unsigned int bits) in clkdev_add_pmu() argument 343 clk->module = module; in clkdev_add_pmu() 389 clk->module = 0; in clkdev_add_pci() [all …]
|
| /arch/x86/include/asm/ |
| A D | alternative.h | 106 struct module; 115 struct module *mod); 122 struct module *mod) {} in callthunks_patch_module_calls() 135 extern void its_init_mod(struct module *mod); 136 extern void its_fini_mod(struct module *mod); 137 extern void its_free_mod(struct module *mod); 140 static inline void its_init_mod(struct module *mod) { } in its_init_mod() 141 static inline void its_fini_mod(struct module *mod) { } in its_fini_mod() 142 static inline void its_free_mod(struct module *mod) { } in its_free_mod() 169 extern void alternatives_smp_module_del(struct module *mod); [all …]
|
| /arch/microblaze/kernel/ |
| A D | module.c | 19 unsigned int symindex, unsigned int relsec, struct module *module) in apply_relocate_add() argument 83 module->name, in apply_relocate_add() 92 struct module *module) in module_finalize() argument
|
| /arch/loongarch/kernel/ |
| A D | module.c | 47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() 53 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() 60 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() 67 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() 105 static int apply_r_larch_sop_push_plt_pcrel(struct module *mod, in apply_r_larch_sop_push_plt_pcrel() 120 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop() 279 static int apply_r_larch_b26(struct module *mod, in apply_r_larch_b26() 347 static int apply_r_larch_got_pc(struct module *mod, in apply_r_larch_got_pc() 424 struct module *mod) in apply_relocate_add() 494 const Elf_Shdr *sechdrs, struct module *mod) in module_init_ftrace_plt() [all …]
|
| /arch/arm/kernel/ |
| A D | module.c | 77 unsigned int relindex, struct module *module) in apply_relocate() argument 101 module->name, relindex, i); in apply_relocate() 110 module->name, relindex, i, symname, in apply_relocate() 132 module->name, relindex, i, symname); in apply_relocate() 151 offset = get_module_plt(module, loc, in apply_relocate() 158 module->name, relindex, i, symname, in apply_relocate() 185 module->name, relindex, i, symname, in apply_relocate() 262 module->name, relindex, i, symname, in apply_relocate() 322 offset = get_module_plt(module, loc, in apply_relocate() 415 struct module *mod) in module_finalize() [all …]
|
| /arch/hexagon/kernel/ |
| A D | module.c | 29 struct module *mod) in module_frob_arch_sections() 69 struct module *module) in apply_relocate_add() argument 107 module->name, in apply_relocate_add() 139 module->name); in apply_relocate_add() 143 module->name, in apply_relocate_add()
|
| /arch/mips/kernel/ |
| A D | module.c | 38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() 59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() 98 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() 170 static int apply_r_mips_pc(struct module *me, u32 *location, u32 base, in apply_r_mips_pc() 201 static int apply_r_mips_pc16(struct module *me, u32 *location, u32 base, in apply_r_mips_pc16() 207 static int apply_r_mips_pc21(struct module *me, u32 *location, u32 base, in apply_r_mips_pc21() 305 struct module *me, bool rela) in __apply_relocate() 378 struct module *me) in apply_relocate() 386 struct module *me) in apply_relocate_add() 416 struct module *me) in module_finalize() [all …]
|
| /arch/arm64/boot/dts/marvell/ |
| A D | ac5x-rd-carrier-cn9131.dts | 6 * Utilizing the CN913x COM Express CPU module board. 8 * only maintains a PCIe link with the CPU module, 13 * which would allow it to use an external CN9131 CPU COM Express module, 24 * CN9131 COM Express CPU module. 25 * What runs the Linux is the CN9131 on the COM Express CPU module, 34 model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board with CN9131 CPU module"; 36 "marvell,cn9131-cpu-module", "marvell,cn9131",
|
| /arch/arm/boot/dts/ti/omap/ |
| A D | dra7-l4.dtsi | 51 target-module@2000 { /* 0x4a002000, ap 3 08.0 */ 140 target-module@5000 { /* 0x4a005000, ap 5 10.0 */ 166 target-module@8000 { /* 0x4a008000, ap 7 0e.0 */ 191 target-module@56000 { /* 0x4a056000, ap 9 02.0 */ 230 target-module@5e000 { /* 0x4a05e000, ap 11 1a.0 */ 238 target-module@80000 { /* 0x4a080000, ap 13 20.0 */ 305 target-module@90000 { /* 0x4a090000, ap 59 42.0 */ 563 target-module@2000 { /* 0x4a102000, ap 27 3c.0 */ 865 target-module@0 { /* 0x4a200000, ap 77 3e.0 */ 4326 target-module@0 { /* 0x4ae10000, ap 5 20.0 */ [all …]
|
| A D | am33xx-l4.dtsi | 36 target-module@0 { /* 0x44d00000, ap 4 28.0 */ 96 target-module@0 { /* 0x44e00000, ap 8 58.0 */ 121 target-module@3000 { /* 0x44e03000, ap 10 0a.0 */ 129 target-module@5000 { /* 0x44e05000, ap 12 30.0 */ 182 target-module@9000 { /* 0x44e09000, ap 16 04.0 */ 213 target-module@b000 { /* 0x44e0b000, ap 18 48.0 */ 245 target-module@d000 { /* 0x44e0d000, ap 20 38.0 */ 330 compatible = "ti,am335x-usb-ctrl-module"; 527 target-module@c000 { /* 0x47c0c000, ap 3 04.0 */ 966 target-module@0 { /* 0x4b140000, ap 5 02.2 */ [all …]
|
| A D | omap5-l4.dtsi | 55 target-module@2000 { /* 0x4a002000, ap 3 44.0 */ 120 target-module@4000 { /* 0x4a004000, ap 5 5c.0 */ 146 target-module@8000 { /* 0x4a008000, ap 21 4c.0 */ 171 target-module@20000 { /* 0x4a020000, ap 109 08.0 */ 216 target-module@56000 { /* 0x4a056000, ap 7 02.0 */ 253 target-module@58000 { /* 0x4a058000, ap 10 06.0 */ 264 target-module@5e000 { /* 0x4a05e000, ap 69 2a.0 */ 272 target-module@62000 { /* 0x4a062000, ap 11 0e.0 */ 435 target-module@0 { /* 0x4a080000, ap 83 28.0 */ 2342 target-module@0 { /* 0x4ae10000, ap 5 10.0 */ [all …]
|
| A D | omap4-l4.dtsi | 47 target-module@2000 { /* 0x4a002000, ap 3 06.0 */ 89 target-module@4000 { /* 0x4a004000, ap 5 02.0 */ 114 target-module@8000 { /* 0x4a008000, ap 23 32.0 */ 139 target-module@56000 { /* 0x4a056000, ap 7 0a.0 */ 176 target-module@58000 { /* 0x4a058000, ap 10 0e.0 */ 235 target-module@5e000 { /* 0x4a05e000, ap 80 68.0 */ 243 target-module@62000 { /* 0x4a062000, ap 11 16.0 */ 421 ctrl-module = <&omap_control_usbotg>; 453 ctrl-module = <&omap_control_usb2phy>; 656 target-module@0 { /* 0x4a100000, ap 21 2a.0 */ [all …]
|
| /arch/powerpc/include/asm/ |
| A D | module.h | 80 int module_trampoline_target(struct module *mod, unsigned long trampoline, 82 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 84 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
| /arch/arm64/boot/dts/freescale/ |
| A D | imx8-apalis-v1.1.dtsi | 379 /* On-module I2C */ 787 /* On-module Wi-Fi */ 846 /* TODO: Apalis USBH2, Apalis USBH3 and on-module Wi-Fi via on-module HSIC Hub */ 877 /* On-module eMMC */ 1183 /* On-module HDMI_CTRL */ 1188 /* On-module I2C */ 1299 /* On-module PCIe_Wi-Fi */ 1306 /* On-module PCIe_CLK_EN1 */ 1311 /* On-module PCIe_CLK_EN2 */ 1456 /* On-module eMMC */ [all …]
|