/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() 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() 341 ican3_set_page(mod, QUEUE_OLD_CONTROL); in ican3_old_recv_msg() [all …]
|
/kernel/linux/linux-4.19/drivers/net/can/ |
D | janz-ican3.c | 295 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) in ican3_set_page() argument 298 iowrite8(page, &mod->dpmctrl->window_address); in ican3_set_page() 312 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_recv_msg() argument 318 ican3_set_page(mod, QUEUE_OLD_CONTROL); in ican3_old_recv_msg() 319 peer = ioread8(mod->dpm + MSYNC_PEER); in ican3_old_recv_msg() 320 locl = ioread8(mod->dpm + MSYNC_LOCL); in ican3_old_recv_msg() 324 netdev_dbg(mod->ndev, "no mbox for reading\n"); in ican3_old_recv_msg() 336 ican3_set_page(mod, mbox_page); in ican3_old_recv_msg() 337 memcpy_fromio(msg, mod->dpm, sizeof(*msg)); in ican3_old_recv_msg() 345 ican3_set_page(mod, QUEUE_OLD_CONTROL); in ican3_old_recv_msg() [all …]
|
/kernel/linux/linux-4.19/kernel/ |
D | module.c | 174 static void mod_tree_insert(struct module *mod) in mod_tree_insert() argument 176 mod->core_layout.mtn.mod = mod; in mod_tree_insert() 177 mod->init_layout.mtn.mod = mod; in mod_tree_insert() 179 __mod_tree_insert(&mod->core_layout.mtn); in mod_tree_insert() 180 if (mod->init_layout.size) in mod_tree_insert() 181 __mod_tree_insert(&mod->init_layout.mtn); in mod_tree_insert() 184 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init() argument 186 if (mod->init_layout.size) in mod_tree_remove_init() 187 __mod_tree_remove(&mod->init_layout.mtn); in mod_tree_remove_init() 190 static void mod_tree_remove(struct module *mod) in mod_tree_remove() argument [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-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) 141 die "failed to load module $mod" 149 local mod="$1"; shift 151 assert_mod "$mod" || [all …]
|
/kernel/linux/linux-4.19/sound/soc/sh/rcar/ |
D | ssi.c | 74 struct rsnd_mod mod; member 108 #define rsnd_mod_to_ssi(_mod) container_of((_mod), struct rsnd_ssi, mod) 110 #define rsnd_ssi_is_multi_slave(mod, io) \ argument 111 (rsnd_ssi_multi_slaves(io) & (1 << rsnd_mod_id(mod))) 112 #define rsnd_ssi_is_run_mods(mod, io) \ argument 113 (rsnd_ssi_run_mods(io) & (1 << rsnd_mod_id(mod))) 114 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument 118 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_hdmi_port() local 119 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_hdmi_port() 132 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() local [all …]
|
D | src.c | 24 struct rsnd_mod mod; member 36 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument 39 container_of((_mod), struct rsnd_src, mod) 58 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() argument 60 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_activation() 61 rsnd_mod_write(mod, SRC_SWRSR, 1); in rsnd_src_activation() 64 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() argument 66 rsnd_mod_write(mod, SRC_SRCIR, 1); in rsnd_src_halt() 67 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_halt() 71 struct rsnd_mod *mod) in rsnd_src_dma_req() argument [all …]
|
D | ctu.c | 73 struct rsnd_mod mod; member 94 container_of((_mod), struct rsnd_ctu, mod) 98 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation() argument 100 rsnd_mod_write(mod, CTU_SWRSR, 0); in rsnd_ctu_activation() 101 rsnd_mod_write(mod, CTU_SWRSR, 1); in rsnd_ctu_activation() 104 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt() argument 106 rsnd_mod_write(mod, CTU_CTUIR, 1); in rsnd_ctu_halt() 107 rsnd_mod_write(mod, CTU_SWRSR, 0); in rsnd_ctu_halt() 110 int rsnd_ctu_converted_channel(struct rsnd_mod *mod) in rsnd_ctu_converted_channel() argument 112 struct rsnd_ctu *ctu = rsnd_mod_to_ctu(mod); in rsnd_ctu_converted_channel() [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 | mix.c | 39 struct rsnd_mod mod; member 59 container_of((_mod), struct rsnd_mix, mod) 69 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation() argument 71 rsnd_mod_write(mod, MIX_SWRSR, 0); in rsnd_mix_activation() 72 rsnd_mod_write(mod, MIX_SWRSR, 1); in rsnd_mix_activation() 75 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt() argument 77 rsnd_mod_write(mod, MIX_MIXIR, 1); in rsnd_mix_halt() 78 rsnd_mod_write(mod, MIX_SWRSR, 0); in rsnd_mix_halt() 85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter() argument 87 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_mix_volume_parameter() [all …]
|
D | ssiu.c | 12 struct rsnd_mod mod; member 22 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init() argument 29 int id = rsnd_mod_id(mod); in rsnd_ssiu_init() 40 rsnd_mod_write(mod, SSI_SYS_STATUS0, 0xf << (id * 4)); in rsnd_ssiu_init() 41 rsnd_mod_write(mod, SSI_SYS_STATUS2, 0xf << (id * 4)); in rsnd_ssiu_init() 42 rsnd_mod_write(mod, SSI_SYS_STATUS4, 0xf << (id * 4)); in rsnd_ssiu_init() 43 rsnd_mod_write(mod, SSI_SYS_STATUS6, 0xf << (id * 4)); in rsnd_ssiu_init() 46 rsnd_mod_write(mod, SSI_SYS_STATUS1, 0xf << 4); in rsnd_ssiu_init() 47 rsnd_mod_write(mod, SSI_SYS_STATUS3, 0xf << 4); in rsnd_ssiu_init() 48 rsnd_mod_write(mod, SSI_SYS_STATUS5, 0xf << 4); in rsnd_ssiu_init() [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-4.19/drivers/gpio/ |
D | gpio-janz-ttl.c | 63 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local 68 shadow = &mod->porta_shadow; in ttl_get_value() 70 shadow = &mod->portb_shadow; in ttl_get_value() 73 shadow = &mod->portc_shadow; in ttl_get_value() 77 spin_lock(&mod->lock); in ttl_get_value() 79 spin_unlock(&mod->lock); in ttl_get_value() 85 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local 90 port = &mod->regs->porta; in ttl_set_value() 91 shadow = &mod->porta_shadow; in ttl_set_value() 93 port = &mod->regs->portb; in ttl_set_value() [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-4.19/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/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 …]
|
D | mix.c | 39 struct rsnd_mod mod; member 59 container_of((_mod), struct rsnd_mix, mod) 69 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation() argument 71 rsnd_mod_write(mod, MIX_SWRSR, 0); in rsnd_mix_activation() 72 rsnd_mod_write(mod, MIX_SWRSR, 1); in rsnd_mix_activation() 75 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt() argument 77 rsnd_mod_write(mod, MIX_MIXIR, 1); in rsnd_mix_halt() 78 rsnd_mod_write(mod, MIX_SWRSR, 0); in rsnd_mix_halt() 85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter() argument 87 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_mix_volume_parameter() [all …]
|
D | ctu.c | 73 struct rsnd_mod mod; member 91 container_of((_mod), struct rsnd_ctu, mod) 95 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation() argument 97 rsnd_mod_write(mod, CTU_SWRSR, 0); in rsnd_ctu_activation() 98 rsnd_mod_write(mod, CTU_SWRSR, 1); in rsnd_ctu_activation() 101 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt() argument 103 rsnd_mod_write(mod, CTU_CTUIR, 1); in rsnd_ctu_halt() 104 rsnd_mod_write(mod, CTU_SWRSR, 0); in rsnd_ctu_halt() 107 static int rsnd_ctu_probe_(struct rsnd_mod *mod, in rsnd_ctu_probe_() argument 111 return rsnd_cmd_attach(io, rsnd_mod_id(mod)); in rsnd_ctu_probe_() [all …]
|
/kernel/linux/linux-4.19/arch/riscv/kernel/ |
D | module-sections.c | 12 u64 module_emit_got_entry(struct module *mod, u64 val) in module_emit_got_entry() argument 14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 31 u64 module_emit_plt_entry(struct module *mod, u64 val) in module_emit_plt_entry() argument 33 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry() 35 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 88 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 99 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections() 101 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() 103 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections() 106 if (!mod->arch.plt.shdr) { in module_frob_arch_sections() [all …]
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | module-sections.c | 13 unsigned long module_emit_got_entry(struct module *mod, unsigned long val) in module_emit_got_entry() argument 15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() 32 unsigned long module_emit_plt_entry(struct module *mod, unsigned long val) in module_emit_plt_entry() argument 34 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry() 36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 91 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 102 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections() 104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections() 106 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections() 109 if (!mod->arch.plt.shdr) { in module_frob_arch_sections() [all …]
|
/kernel/linux/linux-5.10/net/can/ |
D | gw.c | 99 struct cf_mod *mod); 133 struct cf_mod mod; member 154 struct cf_mod *mod) { op ; } 156 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id) 157 MODFUNC(mod_and_len, cf->len &= mod->modframe.and.len) 158 MODFUNC(mod_and_flags, cf->flags &= mod->modframe.and.flags) 159 MODFUNC(mod_and_data, *(u64 *)cf->data &= *(u64 *)mod->modframe.and.data) 160 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id) 161 MODFUNC(mod_or_len, cf->len |= mod->modframe.or.len) 162 MODFUNC(mod_or_flags, cf->flags |= mod->modframe.or.flags) [all …]
|
/kernel/linux/linux-4.19/include/trace/events/ |
D | module.h | 33 TP_PROTO(struct module *mod), 35 TP_ARGS(mod), 39 __string( name, mod->name ) 43 __entry->taints = mod->taints; 44 __assign_str(name, mod->name); 52 TP_PROTO(struct module *mod), 54 TP_ARGS(mod), 57 __string( name, mod->name ) 61 __assign_str(name, mod->name); 72 TP_PROTO(struct module *mod, unsigned long ip), [all …]
|