Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/linux/drivers/net/can/
A Djanz-ican3.c480 mod->fastrx_start = mod->free_page; in ican3_init_fast_host_interface()
497 ican3_set_page(mod, mod->free_page); in ican3_init_fast_host_interface()
516 mod->fasttx_start = mod->free_page; in ican3_init_fast_host_interface()
533 ican3_set_page(mod, mod->free_page); in ican3_init_fast_host_interface()
1356 ican3_set_page(mod, mod->fasttx_start + (mod->fasttx_num / 16)); in ican3_txok()
1385 ican3_set_page(mod, mod->fastrx_start + (mod->fastrx_num / 16)); in ican3_recv_skb()
1433 ican3_set_page(mod, mod->fastrx_start + (mod->fastrx_num / 16)); in ican3_recv_skb()
1704 ican3_set_page(mod, mod->fasttx_start + (mod->fasttx_num / 16)); in ican3_xmit()
1959 mod->dpmctrl = mod->dpm + DPM_PAGE_SIZE; in ican3_probe()
2005 free_irq(mod->irq, mod); in ican3_probe()
[all …]
/linux/kernel/
A Dmodule.c179 mod->core_layout.mtn.mod = mod; in mod_tree_insert()
180 mod->init_layout.mtn.mod = mod; in mod_tree_insert()
538 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in find_symbol()
540 { mod->gpl_syms, mod->gpl_syms + mod->num_gpl_syms, in find_symbol()
952 if (mod->init && !mod->exit) { in SYSCALL_DEFINE2()
1832 mod->mkobj.mod = mod; in mod_sysfs_init()
2246 { mod->syms, mod->num_syms }, in verify_exported_symbols()
3641 sort_extable(mod->extable, mod->extable + mod->num_exentries); in post_relocation()
4105 after_dashes = parse_args(mod->name, mod->args, mod->kp, mod->num_kp, in load_module()
4117 err = mod_sysfs_setup(mod, info, mod->kp, mod->num_kp); in load_module()
[all …]
A Dstatic_call.c147 .mod = NULL, in __static_call_update()
153 struct module *mod = site_mod->mod; in __static_call_update() local
168 if (mod) { in __static_call_update()
225 if ((mod && within_module_init((unsigned long)site_addr, mod)) || in __static_call_init()
241 if (!mod) { in __static_call_init()
268 site_mod->mod = mod; in __static_call_init()
321 mod = NULL; in __static_call_mod_text_reserved()
324 if (!mod) in __static_call_mod_text_reserved()
328 mod->static_call_sites + mod->num_static_call_sites, in __static_call_mod_text_reserved()
331 module_put(mod); in __static_call_mod_text_reserved()
[all …]
A Djump_label.c546 key->next = mod; in static_key_set_mod()
559 mod = NULL; in __jump_label_mod_text_reserved()
562 if (!mod) in __jump_label_mod_text_reserved()
566 mod->jump_entries + mod->num_jump_entries, in __jump_label_mod_text_reserved()
569 module_put(mod); in __jump_label_mod_text_reserved()
578 for (mod = static_key_mod(key); mod; mod = mod->next) { in __jump_label_mod_update()
589 m = mod->mod; in __jump_label_mod_update()
672 jlm->mod = mod; in jump_label_add_module()
710 while (jlm && jlm->mod != mod) { in jump_label_del_module()
821 if (mod) { in jump_label_update()
[all …]
/linux/arch/ia64/kernel/
A Dmodule.c445 if (!mod->arch.core_plt || !mod->arch.init_plt || !mod->arch.got || !mod->arch.opd) { in module_frob_arch_sections()
484 mod->arch.got->sh_size, mod->arch.opd->sh_size); in module_frob_arch_sections()
503 return in_init(mod, value) || in_core(mod, value); in is_internal()
644 if ((in_init(mod, val) && in_core(mod, (uint64_t)location)) || in do_reloc()
645 (in_core(mod, val) && in_init(mod, (uint64_t)location))) { in do_reloc()
680 val -= (uint64_t) (in_init(mod, val) ? mod->init_layout.base : mod->core_layout.base); in do_reloc()
705 val = get_fdesc(mod, get_plt(mod, location, val, &ok), &ok); in do_reloc()
824 mod->arch.gp = gp; in apply_relocate_add()
886 mod->name, mod->arch.gp, num_init, num_core); in register_unwind_table()
892 mod->arch.core_unw_table = unw_add_unwind_table(mod->name, 0, mod->arch.gp, in register_unwind_table()
[all …]
/linux/sound/soc/sh/rcar/
A Dsrc.c33 struct rsnd_mod mod; member
44 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument
79 struct rsnd_mod *mod) in rsnd_src_dma_req() argument
85 SRC_NAME, mod, in rsnd_src_dma_req()
90 struct rsnd_mod *mod) in rsnd_src_convert_rate() argument
346 rsnd_mod_write(mod, SRC_BUSIF_DALIGN, rsnd_get_dalign(mod, io)); in rsnd_src_set_convert_rate()
470 rsnd_mod_power_on(mod); in rsnd_src_init()
472 rsnd_src_activation(mod); in rsnd_src_init()
487 rsnd_src_halt(mod); in rsnd_src_quit()
489 rsnd_mod_power_off(mod); in rsnd_src_quit()
[all …]
A Dssi.c80 struct rsnd_mod mod; member
118 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument
179 if (!mod) in rsnd_ssi_multi_secondaries()
483 rsnd_mod_power_on(mod); in rsnd_ssi_init()
512 rsnd_mod_power_off(mod); in rsnd_ssi_quit()
835 dev_name(dev), mod); in rsnd_ssi_common_probe()
851 if (pure_ssi_mod != mod) in rsnd_ssi_common_remove()
856 free_irq(ssi->irq, mod); in rsnd_ssi_common_remove()
1028 struct rsnd_mod *mod) in rsnd_ssi_debug_info() argument
1118 struct rsnd_mod *mod; in rsnd_parse_connect_ssi() local
[all …]
A Dssiu.c12 struct rsnd_mod mod; member
49 #define rsnd_ssiu_busif_err_irq_enable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 1) argument
50 #define rsnd_ssiu_busif_err_irq_disable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 0) argument
53 int id = rsnd_mod_id(mod); in rsnd_ssiu_busif_err_irq_ctrl()
88 int id = rsnd_mod_id(mod); in rsnd_ssiu_busif_err_status_clear()
144 int id = rsnd_mod_id(mod); in rsnd_ssiu_init()
404 struct rsnd_mod *mod) in rsnd_ssiu_debug_info() argument
452 rsnd_dai_connect(mod, io, mod->type); in rsnd_parse_connect_ssiu_compatible()
473 struct rsnd_mod *mod; in rsnd_parse_connect_ssiu() local
480 rsnd_dai_connect(mod, io_p, mod->type); in rsnd_parse_connect_ssiu()
[all …]
A Ddvc.c37 struct rsnd_mod mod; member
74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter() argument
94 struct rsnd_mod *mod) in rsnd_dvc_volume_init() argument
144 struct rsnd_mod *mod) in rsnd_dvc_volume_update() argument
189 rsnd_mod_power_on(mod); in rsnd_dvc_init()
191 rsnd_dvc_activation(mod); in rsnd_dvc_init()
204 rsnd_dvc_halt(mod); in rsnd_dvc_quit()
206 rsnd_mod_power_off(mod); in rsnd_dvc_quit()
280 struct rsnd_mod *mod) in rsnd_dvc_dma_req() argument
285 DVC_NAME, mod, "tx"); in rsnd_dvc_dma_req()
[all …]
A Dmix.c39 struct rsnd_mod mod; member
85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter() argument
105 struct rsnd_mod *mod) in rsnd_mix_volume_init() argument
126 struct rsnd_mod *mod) in rsnd_mix_volume_update() argument
149 rsnd_mod_power_on(mod); in rsnd_mix_init()
151 rsnd_mix_activation(mod); in rsnd_mix_init()
153 rsnd_mix_volume_init(io, mod); in rsnd_mix_init()
155 rsnd_mix_volume_update(io, mod); in rsnd_mix_init()
164 rsnd_mix_halt(mod); in rsnd_mix_quit()
166 rsnd_mod_power_off(mod); in rsnd_mix_quit()
[all …]
A Dctu.c73 struct rsnd_mod mod; member
115 struct rsnd_mod *mod) in rsnd_ctu_value_init() argument
152 struct rsnd_mod *mod) in rsnd_ctu_value_reset() argument
174 rsnd_mod_power_on(mod); in rsnd_ctu_init()
176 rsnd_ctu_activation(mod); in rsnd_ctu_init()
178 rsnd_ctu_value_init(io, mod); in rsnd_ctu_init()
187 rsnd_ctu_halt(mod); in rsnd_ctu_quit()
189 rsnd_mod_power_off(mod); in rsnd_ctu_quit()
266 return mod->id / 4; in rsnd_ctu_id()
275 return mod->id % 4; in rsnd_ctu_id_sub()
[all …]
A Ddma.c35 struct rsnd_mod mod; member
205 rsnd_mod_name(mod), in rsnd_dmaen_start()
383 if ((mod == ssi) || in rsnd_dmapp_get_id()
384 (mod == ssiu)) { in rsnd_dmapp_get_id()
661 if (!mod) in rsnd_dma_addr()
712 mod[i] = NULL; in rsnd_dma_of_path()
738 mod[idx++] = src; in rsnd_dma_of_path()
741 mod[idx++] = ctu; in rsnd_dma_of_path()
744 mod[idx++] = mix; in rsnd_dma_of_path()
747 mod[idx++] = dvc; in rsnd_dma_of_path()
[all …]
A Drsnd.h298 struct rsnd_mod *mod);
317 int (*irq)(struct rsnd_mod *mod,
420 #define rsnd_mod_to_priv(mod) ((mod)->priv) argument
421 #define rsnd_mod_power_on(mod) clk_enable((mod)->clk) argument
422 #define rsnd_mod_power_off(mod) clk_disable((mod)->clk) argument
426 struct rsnd_mod *mod,
433 struct rsnd_mod *mod);
593 struct rsnd_mod *mod,
726 struct rsnd_mod *mod; member
754 struct rsnd_mod *mod),
[all …]
A Dcmd.c11 struct rsnd_mod mod; member
23 static int rsnd_cmd_init(struct rsnd_mod *mod, in rsnd_cmd_init() argument
41 if (ARRAY_SIZE(path) < rsnd_mod_id(mod) + 1) in rsnd_cmd_init()
90 rsnd_mod_write(mod, CMD_ROUTE_SLCT, data); in rsnd_cmd_init()
91 rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1); in rsnd_cmd_init()
92 rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io)); in rsnd_cmd_init()
94 rsnd_adg_set_cmd_timsel_gen2(mod, io); in rsnd_cmd_init()
103 rsnd_mod_write(mod, CMD_CTRL, 0x10); in rsnd_cmd_start()
112 rsnd_mod_write(mod, CMD_CTRL, 0); in rsnd_cmd_stop()
120 struct rsnd_mod *mod) in rsnd_cmd_debug_info() argument
[all …]
/linux/tools/testing/selftests/livepatch/
A Dfunctions.sh114 local mod="$1"
120 local mod="$1"
130 local mod="$1"; shift
149 local mod="$1"; shift
151 assert_mod "$mod" ||
165 local mod="$1"; shift
167 assert_mod "$mod" ||
184 local mod="$1"; shift
211 local mod="$1"
217 log "% rmmod $mod"
[all …]
/linux/drivers/gpio/
A Dgpio-janz-ttl.c73 spin_lock(&mod->lock); in ttl_get_value()
75 spin_unlock(&mod->lock); in ttl_get_value()
86 port = &mod->regs->porta; in ttl_set_value()
98 spin_lock(&mod->lock); in ttl_set_value()
105 spin_unlock(&mod->lock); in ttl_set_value()
143 struct ttl_module *mod; in ttl_probe() local
153 mod = devm_kzalloc(&pdev->dev, sizeof(*mod), GFP_KERNEL); in ttl_probe()
154 if (!mod) in ttl_probe()
162 if (IS_ERR(mod->regs)) in ttl_probe()
165 ttl_setup_device(mod); in ttl_probe()
[all …]
/linux/net/can/
A Dgw.c533 (*gwj->mod.modfunc[modidx++])(cf, &gwj->mod); in can_can_gw_rcv()
550 (*gwj->mod.csumfunc.crc8)(cf, &gwj->mod.csum.crc8); in can_can_gw_rcv()
553 (*gwj->mod.csumfunc.xor)(cf, &gwj->mod.csum.xor); in can_can_gw_rcv()
803 memset(mod, 0, sizeof(*mod)); in cgw_parse_attr()
1079 if (mod.uid) { in cgw_create_job()
1084 if (gwj->mod.uid != mod.uid) in cgw_create_job()
1093 memcpy(&gwj->mod, &mod, sizeof(mod)); in cgw_create_job()
1115 memcpy(&gwj->mod, &mod, sizeof(mod)); in cgw_create_job()
1212 if (gwj->mod.uid || mod.uid) { in cgw_remove_job()
1213 if (gwj->mod.uid != mod.uid) in cgw_remove_job()
[all …]
/linux/arch/riscv/kernel/
A Dmodule-sections.c102 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()
113 if (!mod->arch.got.shdr) { in module_frob_arch_sections()
117 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
142 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
143 mod->arch.plt.max_entries = num_plts; in module_frob_arch_sections()
149 mod->arch.got.num_entries = 0; in module_frob_arch_sections()
150 mod->arch.got.max_entries = num_gots; in module_frob_arch_sections()
[all …]
/linux/drivers/usb/renesas_usbhs/
A Dmod.c69 info->mod[id] = mod; in usbhs_mod_register()
70 mod->priv = priv; in usbhs_mod_register()
81 ret = info->mod[id]; in usbhs_mod_get()
93 if (!mod) in usbhs_mod_is_host()
96 return info->mod[USBHS_HOST] == mod; in usbhs_mod_is_host()
116 mod = info->mod[id]; in usbhs_mod_change()
121 info->curt = mod; in usbhs_mod_change()
211 if (mod) { in usbhs_status_get_each_irq()
344 if (mod) { in usbhs_irq_callback_update()
354 if (mod->irq_empty && mod->irq_bempsts) { in usbhs_irq_callback_update()
[all …]
/linux/include/trace/events/
A Dmodule.h33 TP_PROTO(struct module *mod),
35 TP_ARGS(mod),
39 __string( name, mod->name )
43 __entry->taints = mod->taints;
52 TP_PROTO(struct module *mod),
54 TP_ARGS(mod),
57 __string( name, mod->name )
74 TP_ARGS(mod, ip),
79 __string( name, mod->name )
96 TP_ARGS(mod, ip)
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dtopology.c169 if (mod) { in audioreach_tplg_alloc_module()
171 return mod; in audioreach_tplg_alloc_module()
174 mod = kzalloc(sizeof(*mod), GFP_KERNEL); in audioreach_tplg_alloc_module()
175 if (!mod) in audioreach_tplg_alloc_module()
190 kfree(mod); in audioreach_tplg_alloc_module()
201 return mod; in audioreach_tplg_alloc_module()
433 return mod; in audioreach_parse_common_tokens()
473 if (mod) { in audioreach_parse_common_tokens()
485 return mod; in audioreach_parse_common_tokens()
736 audioreach_gain_set_vol_ctrl(apm, mod, mod->gain); in audioreach_pga_event()
[all …]
/linux/scripts/mod/
A D.file2alias.o.cmd1mod/file2alias.o := gcc -Wp,-MMD,scripts/mod/.file2alias.o.d -Wall -Wmissing-prototypes -Wstrict-p…
3 source_scripts/mod/file2alias.o := scripts/mod/file2alias.c
5 deps_scripts/mod/file2alias.o := \
6 scripts/mod/modpost.h \
7 scripts/mod/elfconfig.h \
8 scripts/mod/devicetable-offsets.h \
9 scripts/mod/../../include/linux/mod_devicetable.h \
11 scripts/mod/file2alias.o: $(deps_scripts/mod/file2alias.o)
13 $(deps_scripts/mod/file2alias.o):
A D.modpost.o.cmd1mod/modpost.o := gcc -Wp,-MMD,scripts/mod/.modpost.o.d -Wall -Wmissing-prototypes -Wstrict-prototy…
3 source_scripts/mod/modpost.o := scripts/mod/modpost.c
5 deps_scripts/mod/modpost.o := \
12 scripts/mod/modpost.h \
13 scripts/mod/elfconfig.h \
14 scripts/mod/../../include/linux/license.h \
16 scripts/mod/modpost.o: $(deps_scripts/mod/modpost.o)
18 $(deps_scripts/mod/modpost.o):
/linux/arch/arm/kernel/
A Dmodule-plts.c33 return loc - (u32)mod->init_layout.base < mod->init_layout.size; in in_init()
53 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in get_module_plt()
54 &mod->arch.init; in get_module_plt()
228 mod->arch.core.plt = s; in module_frob_arch_sections()
230 mod->arch.init.plt = s; in module_frob_arch_sections()
235 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections()
272 mod->arch.core.plt_count = 0; in module_frob_arch_sections()
273 mod->arch.core.plt_ent = NULL; in module_frob_arch_sections()
280 mod->arch.init.plt_count = 0; in module_frob_arch_sections()
281 mod->arch.init.plt_ent = NULL; in module_frob_arch_sections()
[all …]
/linux/kernel/printk/
A Dindex.c26 if (mod) { in pi_get_entry()
27 entries = mod->printk_index_start; in pi_get_entry()
28 nr_entries = mod->printk_index_size; in pi_get_entry()
46 struct pi_entry *entry = pi_get_entry(mod, *pos); in pi_next()
130 return mod ? mod->name : "vmlinux"; in pi_get_module_name()
139 static void pi_create_file(struct module *mod) in pi_create_file() argument
142 mod, &dfs_index_fops); in pi_create_file()
146 static void pi_remove_file(struct module *mod) in pi_remove_file() argument
154 struct module *mod = data; in pi_module_notify() local
158 pi_create_file(mod); in pi_module_notify()
[all …]

Completed in 106 milliseconds

12345678910>>...22