| /kernel/linux/linux-6.6/arch/powerpc/crypto/ |
| D | crct10dif-vpmsum_asm.S | 21 /* x^261184 mod p(x), x^261120 mod p(x) */ 24 /* x^260160 mod p(x), x^260096 mod p(x) */ 27 /* x^259136 mod p(x), x^259072 mod p(x) */ 30 /* x^258112 mod p(x), x^258048 mod p(x) */ 33 /* x^257088 mod p(x), x^257024 mod p(x) */ 36 /* x^256064 mod p(x), x^256000 mod p(x) */ 39 /* x^255040 mod p(x), x^254976 mod p(x) */ 42 /* x^254016 mod p(x), x^253952 mod p(x) */ 45 /* x^252992 mod p(x), x^252928 mod p(x) */ 48 /* x^251968 mod p(x), x^251904 mod p(x) */ [all …]
|
| D | crc32c-vpmsum_asm.S | 17 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 20 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 23 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 26 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 29 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 32 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 35 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 38 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 41 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 44 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/crypto/ |
| D | crct10dif-vpmsum_asm.S | 21 /* x^261184 mod p(x), x^261120 mod p(x) */ 24 /* x^260160 mod p(x), x^260096 mod p(x) */ 27 /* x^259136 mod p(x), x^259072 mod p(x) */ 30 /* x^258112 mod p(x), x^258048 mod p(x) */ 33 /* x^257088 mod p(x), x^257024 mod p(x) */ 36 /* x^256064 mod p(x), x^256000 mod p(x) */ 39 /* x^255040 mod p(x), x^254976 mod p(x) */ 42 /* x^254016 mod p(x), x^253952 mod p(x) */ 45 /* x^252992 mod p(x), x^252928 mod p(x) */ 48 /* x^251968 mod p(x), x^251904 mod p(x) */ [all …]
|
| D | crc32c-vpmsum_asm.S | 17 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 20 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 23 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 26 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 29 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 32 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 35 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 38 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 41 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 44 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | module.c | 177 static void mod_tree_insert(struct module *mod) in mod_tree_insert() argument 179 mod->core_layout.mtn.mod = mod; in mod_tree_insert() 180 mod->init_layout.mtn.mod = mod; in mod_tree_insert() 182 __mod_tree_insert(&mod->core_layout.mtn); in mod_tree_insert() 183 if (mod->init_layout.size) in mod_tree_insert() 184 __mod_tree_insert(&mod->init_layout.mtn); in mod_tree_insert() 187 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init() argument 189 if (mod->init_layout.size) in mod_tree_remove_init() 190 __mod_tree_remove(&mod->init_layout.mtn); in mod_tree_remove_init() 193 static void mod_tree_remove(struct module *mod) in mod_tree_remove() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/can/ |
| D | janz-ican3.c | 292 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) in ican3_set_page() argument 295 iowrite8(page, &mod->dpmctrl->window_address); in ican3_set_page() 305 * LOCKING: must hold mod->lock 309 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_recv_msg() argument 315 ican3_set_page(mod, QUEUE_OLD_CONTROL); in ican3_old_recv_msg() 316 peer = ioread8(mod->dpm + MSYNC_PEER); in ican3_old_recv_msg() 317 locl = ioread8(mod->dpm + MSYNC_LOCL); in ican3_old_recv_msg() 321 netdev_dbg(mod->ndev, "no mbox for reading\n"); in ican3_old_recv_msg() 333 ican3_set_page(mod, mbox_page); in ican3_old_recv_msg() 334 memcpy_fromio(msg, mod->dpm, sizeof(*msg)); in ican3_old_recv_msg() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/can/ |
| D | janz-ican3.c | 291 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) in ican3_set_page() argument 294 iowrite8(page, &mod->dpmctrl->window_address); in ican3_set_page() 304 * LOCKING: must hold mod->lock 308 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_recv_msg() argument 314 ican3_set_page(mod, QUEUE_OLD_CONTROL); in ican3_old_recv_msg() 315 peer = ioread8(mod->dpm + MSYNC_PEER); in ican3_old_recv_msg() 316 locl = ioread8(mod->dpm + MSYNC_LOCL); in ican3_old_recv_msg() 320 netdev_dbg(mod->ndev, "no mbox for reading\n"); in ican3_old_recv_msg() 332 ican3_set_page(mod, mbox_page); in ican3_old_recv_msg() 333 memcpy_fromio(msg, mod->dpm, sizeof(*msg)); in ican3_old_recv_msg() [all …]
|
| /kernel/linux/linux-6.6/kernel/module/ |
| D | sysfs.c | 72 static void add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() argument 116 if (sysfs_create_group(&mod->mkobj.kobj, §_attrs->grp)) in add_sect_attrs() 119 mod->sect_attrs = sect_attrs; in add_sect_attrs() 125 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs() argument 127 if (mod->sect_attrs) { in remove_sect_attrs() 128 sysfs_remove_group(&mod->mkobj.kobj, in remove_sect_attrs() 129 &mod->sect_attrs->grp); in remove_sect_attrs() 134 free_sect_attrs(mod->sect_attrs); in remove_sect_attrs() 135 mod->sect_attrs = NULL; in remove_sect_attrs() 172 static void add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() argument [all …]
|
| D | main.c | 116 static void mod_update_bounds(struct module *mod) in mod_update_bounds() argument 119 struct module_memory *mod_mem = &mod->mem[type]; in mod_update_bounds() 152 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get() argument 154 BUG_ON(mod && mod->state == MODULE_STATE_UNFORMED); in strong_try_module_get() 155 if (mod && mod->state == MODULE_STATE_COMING) in strong_try_module_get() 157 if (try_module_get(mod)) in strong_try_module_get() 163 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module() argument 167 set_bit(flag, &mod->taints); in add_taint_module() 174 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit() argument 176 module_put(mod); in __module_put_and_kthread_exit() [all …]
|
| D | kallsyms.c | 25 const struct module *mod) in is_exported() argument 29 if (!mod) in is_exported() 32 ks = lookup_exported_symbol(name, mod->syms, mod->syms + mod->num_syms); in is_exported() 113 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab() argument 119 struct module_memory *mod_mem_data = &mod->mem[MOD_DATA]; in layout_symtab() 120 struct module_memory *mod_mem_init_data = &mod->mem[MOD_INIT_DATA]; in layout_symtab() 124 symsect->sh_entsize = module_get_offset_and_type(mod, MOD_INIT_DATA, in layout_symtab() 133 if (i == 0 || is_livepatch_module(mod) || in layout_symtab() 151 strsect->sh_entsize = module_get_offset_and_type(mod, MOD_INIT_DATA, in layout_symtab() 170 void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-janz-ttl.c | 59 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local 64 shadow = &mod->porta_shadow; in ttl_get_value() 66 shadow = &mod->portb_shadow; in ttl_get_value() 69 shadow = &mod->portc_shadow; in ttl_get_value() 73 spin_lock(&mod->lock); in ttl_get_value() 75 spin_unlock(&mod->lock); in ttl_get_value() 81 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local 86 port = &mod->regs->porta; in ttl_set_value() 87 shadow = &mod->porta_shadow; in ttl_set_value() 89 port = &mod->regs->portb; in ttl_set_value() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-janz-ttl.c | 59 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local 64 shadow = &mod->porta_shadow; in ttl_get_value() 66 shadow = &mod->portb_shadow; in ttl_get_value() 69 shadow = &mod->portc_shadow; in ttl_get_value() 73 spin_lock(&mod->lock); in ttl_get_value() 75 spin_unlock(&mod->lock); in ttl_get_value() 81 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local 86 port = &mod->regs->porta; in ttl_set_value() 87 shadow = &mod->porta_shadow; in ttl_set_value() 89 port = &mod->regs->portb; in ttl_set_value() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
| D | ssi.c | 80 struct rsnd_mod mod; member 112 #define rsnd_mod_to_ssi(_mod) container_of((_mod), struct rsnd_ssi, mod) 114 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument 115 (rsnd_ssi_multi_secondaries(io) & (1 << rsnd_mod_id(mod))) 116 #define rsnd_ssi_is_run_mods(mod, io) \ argument 117 (rsnd_ssi_run_mods(io) & (1 << rsnd_mod_id(mod))) 118 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument 120 static int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod); 124 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() local 125 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_use_busif() [all …]
|
| D | src.c | 24 struct rsnd_mod mod; member 35 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument 38 container_of((_mod), struct rsnd_src, mod) 57 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() argument 59 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_activation() 60 rsnd_mod_write(mod, SRC_SWRSR, 1); in rsnd_src_activation() 63 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() argument 65 rsnd_mod_write(mod, SRC_SRCIR, 1); in rsnd_src_halt() 66 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_halt() 70 struct rsnd_mod *mod) in rsnd_src_dma_req() argument [all …]
|
| D | dvc.c | 37 struct rsnd_mod mod; member 49 container_of((_mod), struct rsnd_dvc, mod) 57 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation() argument 59 rsnd_mod_write(mod, DVC_SWRSR, 0); in rsnd_dvc_activation() 60 rsnd_mod_write(mod, DVC_SWRSR, 1); in rsnd_dvc_activation() 63 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt() argument 65 rsnd_mod_write(mod, DVC_DVUIR, 1); in rsnd_dvc_halt() 66 rsnd_mod_write(mod, DVC_SWRSR, 0); in rsnd_dvc_halt() 74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter() argument 76 struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod); in rsnd_dvc_volume_parameter() [all …]
|
| D | ssiu.c | 12 struct rsnd_mod mod; member 24 #define rsnd_mod_to_ssiu(_mod) container_of((_mod), struct rsnd_ssiu, mod) 48 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status() argument 52 struct rsnd_ssiu *ssiu = rsnd_mod_to_ssiu(mod); in rsnd_ssiu_get_status() 53 int busif = rsnd_mod_id_sub(mod); in rsnd_ssiu_get_status() 58 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init() argument 65 int id = rsnd_mod_id(mod); in rsnd_ssiu_init() 78 rsnd_mod_write(mod, SSI_SYS_STATUS(i * 2), 0xf << (id * 4)); in rsnd_ssiu_init() 82 rsnd_mod_write(mod, SSI_SYS_STATUS((i * 2) + 1), 0xf << 4); in rsnd_ssiu_init() 89 rsnd_mod_bset(mod, SSI_MODE0, (1 << id), !use_busif << id); in rsnd_ssiu_init() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
| D | src.c | 33 struct rsnd_mod mod; member 45 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument 48 container_of((_mod), struct rsnd_src, mod) 67 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() argument 69 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_activation() 70 rsnd_mod_write(mod, SRC_SWRSR, 1); in rsnd_src_activation() 73 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() argument 75 rsnd_mod_write(mod, SRC_SRCIR, 1); in rsnd_src_halt() 76 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_halt() 80 struct rsnd_mod *mod) in rsnd_src_dma_req() argument [all …]
|
| D | ssi.c | 80 struct rsnd_mod mod; member 112 #define rsnd_mod_to_ssi(_mod) container_of((_mod), struct rsnd_ssi, mod) 114 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument 115 (rsnd_ssi_multi_secondaries(io) & (1 << rsnd_mod_id(mod))) 116 #define rsnd_ssi_is_run_mods(mod, io) \ argument 117 (rsnd_ssi_run_mods(io) & (1 << rsnd_mod_id(mod))) 118 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument 122 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() local 123 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_use_busif() 126 if (!rsnd_ssi_is_dma_mode(mod)) in rsnd_ssi_use_busif() [all …]
|
| D | dvc.c | 37 struct rsnd_mod mod; member 49 container_of((_mod), struct rsnd_dvc, mod) 57 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation() argument 59 rsnd_mod_write(mod, DVC_SWRSR, 0); in rsnd_dvc_activation() 60 rsnd_mod_write(mod, DVC_SWRSR, 1); in rsnd_dvc_activation() 63 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt() argument 65 rsnd_mod_write(mod, DVC_DVUIR, 1); in rsnd_dvc_halt() 66 rsnd_mod_write(mod, DVC_SWRSR, 0); in rsnd_dvc_halt() 74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter() argument 76 struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod); in rsnd_dvc_volume_parameter() [all …]
|
| D | ssiu.c | 12 struct rsnd_mod mod; member 24 #define rsnd_mod_to_ssiu(_mod) container_of((_mod), struct rsnd_ssiu, mod) 50 #define rsnd_ssiu_busif_err_irq_enable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 1) argument 51 #define rsnd_ssiu_busif_err_irq_disable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 0) argument 52 static void rsnd_ssiu_busif_err_irq_ctrl(struct rsnd_mod *mod, int enable) in rsnd_ssiu_busif_err_irq_ctrl() argument 54 int id = rsnd_mod_id(mod); in rsnd_ssiu_busif_err_irq_ctrl() 78 u32 sys_int_enable = rsnd_mod_read(mod, reg); in rsnd_ssiu_busif_err_irq_ctrl() 84 rsnd_mod_write(mod, reg, sys_int_enable); in rsnd_ssiu_busif_err_irq_ctrl() 88 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) in rsnd_ssiu_busif_err_status_clear() argument 91 int id = rsnd_mod_id(mod); in rsnd_ssiu_busif_err_status_clear() [all …]
|
| /kernel/linux/common_modules/pac/include/ |
| D | pointer_auth_common.h | 11 #define pauth_sign(type, key, addr, mod) \ argument 12 pauth_common(pac, type, key, addr, mod) 14 #define pauth_validate(type, key, addr, mod) \ argument 15 pauth_common(aut, type, key, addr, mod) 25 #define pauth_hash(addr, mod) ((unsigned int) (pauth_pacga(addr, mod) >> 32)) argument 27 #define pauth_common(prefix, type, key, addr, mod) \ argument 30 unsigned long __mod = (unsigned long)(mod); \ 32 if (__builtin_constant_p(mod) && (__mod == 0)) \ 48 #define pauth_sign_function(fun, mod, key) \ argument 51 unsigned long __mod = (unsigned long)(mod); \ [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | module.c | 156 apply_imm64 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm64() argument 160 mod->name, slot(insn)); in apply_imm64() 168 apply_imm60 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm60() argument 172 mod->name, slot(insn)); in apply_imm60() 177 mod->name, (long) val); in apply_imm60() 185 apply_imm22 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm22() argument 189 mod->name, (long)val); in apply_imm22() 200 apply_imm21b (struct module *mod, struct insn *insn, uint64_t val) in apply_imm21b() argument 204 mod->name, (long)val); in apply_imm21b() 235 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument [all …]
|
| /kernel/linux/linux-6.6/arch/ia64/kernel/ |
| D | module.c | 156 apply_imm64 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm64() argument 160 mod->name, slot(insn)); in apply_imm64() 168 apply_imm60 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm60() argument 172 mod->name, slot(insn)); in apply_imm60() 177 mod->name, (long) val); in apply_imm60() 185 apply_imm22 (struct module *mod, struct insn *insn, uint64_t val) in apply_imm22() argument 189 mod->name, (long)val); in apply_imm22() 200 apply_imm21b (struct module *mod, struct insn *insn, uint64_t val) in apply_imm21b() argument 204 mod->name, (long)val); in apply_imm21b() 235 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/livepatch/ |
| D | functions.sh | 114 local mod="$1" 116 modprobe --dry-run "$mod" &>/dev/null 120 local mod="$1" 122 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then 130 local mod="$1"; shift 132 local msg="% modprobe $mod $*" 134 ret=$(modprobe "$mod" "$@" 2>&1) 140 loop_until '[[ -e "/sys/module/$mod" ]]' || 141 die "failed to load module $mod" 149 local mod="$1"; shift [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/livepatch/ |
| D | functions.sh | 131 local mod="$1" 133 modprobe --dry-run "$mod" &>/dev/null 137 local mod="$1" 139 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then 147 local mod="$1"; shift 149 local msg="% modprobe $mod $*" 151 ret=$(modprobe "$mod" "$@" 2>&1) 157 loop_until '[[ -e "/sys/module/$mod" ]]' || 158 die "failed to load module $mod" 166 local mod="$1"; shift [all …]
|