Home
last modified time | relevance | path

Searched defs:mod (Results 1 – 25 of 249) sorted by relevance

12345678910

/linux/scripts/mod/
H A Dfile2alias.c48 module_alias_printf(struct module *mod, bool append_wildcard, in module_alias_printf()
185 unsigned char max, struct module *mod) in do_usb_entry()
287 static void do_usb_entry_multi(struct module *mod, void *symval) in do_usb_entry_multi()
352 static void do_of_entry(struct module *mod, void *symval) in do_of_entry()
379 static void do_hid_entry(struct module *mod, void *symval) in do_hid_entry()
397 static void do_ieee1394_entry(struct module *mod, void *symval) in do_ieee1394_entry()
420 static void do_pci_entry(struct module *mod, void *symval) in do_pci_entry()
475 static void do_ccw_entry(struct module *mod, void *symval) in do_ccw_entry()
498 static void do_ap_entry(struct module *mod, void *symval) in do_ap_entry()
506 static void do_css_entry(struct module *mod, void *symval) in do_css_entry()
[all …]
H A Dmodpost.c178 struct module *mod; in find_module() local
190 struct module *mod; in new_module() local
253 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved()
263 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module()
351 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
613 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol()
1066 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol()
1136 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch()
1331 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela()
1373 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel()
[all …]
/linux/drivers/net/can/
H A Djanz-ican3.c292 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) in ican3_set_page()
309 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_recv_msg()
354 static int ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_send_msg()
391 static void ican3_init_new_host_interface(struct ican3_dev *mod) in ican3_init_new_host_interface()
470 static void ican3_init_fast_host_interface(struct ican3_dev *mod) in ican3_init_fast_host_interface()
558 static int ican3_new_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_new_send_msg()
589 static int ican3_new_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_new_recv_msg()
621 static int ican3_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_send_msg()
637 static int ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_recv_msg()
657 static int ican3_msg_connect(struct ican3_dev *mod) in ican3_msg_connect()
[all …]
/linux/sound/soc/renesas/rcar/
H A Dssi.c82 struct rsnd_mod mod; member
116 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument
118 #define rsnd_ssi_is_run_mods(mod, io) \ argument
120 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument
124 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() local
139 static void rsnd_ssi_status_clear(struct rsnd_mod *mod) in rsnd_ssi_status_clear()
144 static u32 rsnd_ssi_status_get(struct rsnd_mod *mod) in rsnd_ssi_status_get()
149 static void rsnd_ssi_status_check(struct rsnd_mod *mod, in rsnd_ssi_status_check()
179 struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]); in rsnd_ssi_multi_secondaries() local
266 static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, in rsnd_ssi_master_clk_start()
[all …]
H A Dsrc.c34 struct rsnd_mod mod; member
46 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument
68 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation()
74 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt()
81 struct rsnd_mod *mod) in rsnd_src_dma_req()
92 struct rsnd_mod *mod) in rsnd_src_convert_rate()
203 struct rsnd_mod *mod) in rsnd_src_set_convert_rate()
263 struct rsnd_mod *mod) in rsnd_src_init_convert_rate()
409 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq()
448 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear()
[all …]
H A Dcore.c116 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure()
128 struct rsnd_mod *mod) in rsnd_mod_dma_req()
138 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name()
167 u32 *rsnd_mod_get_status(struct rsnd_mod *mod, in rsnd_mod_get_status()
174 int rsnd_mod_id_raw(struct rsnd_mod *mod) in rsnd_mod_id_raw()
179 int rsnd_mod_id(struct rsnd_mod *mod) in rsnd_mod_id()
187 int rsnd_mod_id_sub(struct rsnd_mod *mod) in rsnd_mod_id_sub()
196 struct rsnd_mod *mod, in rsnd_mod_init()
216 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit()
222 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt()
[all …]
/linux/kernel/module/
H A Dmain.c118 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
154 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
165 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
200 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit()
369 struct module *mod; in find_symbol() local
405 struct module *mod; in find_module_all() local
424 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
429 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
453 static void percpu_modfree(struct module *mod) in percpu_modfree()
463 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
[all …]
H A Dkallsyms.c25 const struct module *mod) in is_exported() argument
113 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab() argument
170 add_kallsyms(struct module * mod,const struct load_info * info) add_kallsyms() argument
228 init_build_id(struct module * mod,const struct load_info * info) init_build_id() argument
242 init_build_id(struct module * mod,const struct load_info * info) init_build_id() argument
256 find_kallsyms_symbol(struct module * mod,unsigned long addr,unsigned long * size,unsigned long * offset) find_kallsyms_symbol() argument
314 dereference_module_function_descriptor(struct module * mod,void * ptr) dereference_module_function_descriptor() argument
332 struct module *mod; module_address_lookup() local
361 struct module *mod; lookup_module_symbol_name() local
387 struct module *mod; module_get_kallsym() local
414 __find_kallsyms_symbol_value(struct module * mod,const char * name) __find_kallsyms_symbol_value() argument
431 struct module *mod; __module_kallsyms_lookup_name() local
466 find_kallsyms_symbol_value(struct module * mod,const char * name) find_kallsyms_symbol_value() argument
480 struct module *mod; module_kallsyms_on_each_symbol() local
[all...]
H A Dinternal.h64 struct module *mod; member
85 unsigned int mod; member
151 copy_module_elf(struct module * mod,struct load_info * info) copy_module_elf() argument
156 free_module_elf(struct module * mod) free_module_elf() argument
159 set_livepatch_module(struct module * mod) set_livepatch_module() argument
269 try_add_tainted_module(struct module * mod) try_add_tainted_module() argument
315 mod_tree_insert(struct module * mod) mod_tree_insert() argument
316 mod_tree_remove_init(struct module * mod) mod_tree_remove_init() argument
317 mod_tree_remove(struct module * mod) mod_tree_remove() argument
320 struct module *mod; mod_find() local
351 kmemleak_load_module(const struct module * mod,const struct load_info * info) kmemleak_load_module() argument
365 init_build_id(struct module * mod,const struct load_info * info) init_build_id() argument
366 layout_symtab(struct module * mod,struct load_info * info) layout_symtab() argument
367 add_kallsyms(struct module * mod,const struct load_info * info) add_kallsyms() argument
376 mod_sysfs_setup(struct module * mod,const struct load_info * info,struct kernel_param * kparam,unsigned int num_params) mod_sysfs_setup() argument
384 mod_sysfs_teardown(struct module * mod) mod_sysfs_teardown() argument
385 init_param_lock(struct module * mod) init_param_lock() argument
407 check_version(const struct load_info * info,const char * symname,struct module * mod,const u32 * crc) check_version() argument
414 check_modstruct_version(const struct load_info * info,struct module * mod) check_modstruct_version() argument
[all...]
H A Dprocfs.c16 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
65 static unsigned int module_total_size(struct module *mod) in module_total_size()
76 struct module *mod = list_entry(p, struct module, list); in m_show() local
/linux/arch/loongarch/kernel/
H A Dmodule.c47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
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()
74 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
80 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
86 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
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()
166 static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_imm_field()
257 static int apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_add_sub()
[all …]
/linux/lib/
H A Dcodetag.c24 struct module *mod; member
128 static void *get_symbol(struct module *mod, const char *prefix, const char *name) in get_symbol()
148 static struct codetag_range get_section_range(struct module *mod, in get_section_range()
157 static const char *get_mod_name(__maybe_unused struct module *mod) in get_mod_name()
166 static int codetag_module_init(struct codetag_type *cttype, struct module *mod) in codetag_module_init()
223 bool codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
251 void *codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
276 void codetag_free_module_sections(struct module *mod) in codetag_free_module_sections()
292 void codetag_module_replaced(struct module *mod, struct module *new_mod) in codetag_module_replaced()
308 int codetag_load_module(struct module *mod) in codetag_load_module()
[all …]
H A Dbug.c69 struct module *mod; module_find_bug() local
89 module_bug_finalize(const Elf_Ehdr * hdr,const Elf_Shdr * sechdrs,struct module * mod) module_bug_finalize() argument
117 module_bug_cleanup(struct module * mod) module_bug_cleanup() argument
236 struct module *mod; generic_bug_clear_once() local
[all...]
H A Donce.c25 static void once_disable_jump(struct static_key_true *key, struct module *mod) in once_disable_jump()
61 unsigned long *flags, struct module *mod) in __do_once_done()
91 struct module *mod) in __do_once_sleepable_done()
/linux/sound/soc/intel/avs/
H A Dpath.c33 struct avs_path_module *mod; in avs_path_find_module() local
351 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_copier_create()
385 static int avs_whm_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_whm_create()
420 static struct soc_mixer_control *avs_get_module_control(struct avs_path_module *mod, in avs_get_module_control()
444 int avs_peakvol_set_volume(struct avs_dev *adev, struct avs_path_module *mod, in avs_peakvol_set_volume()
480 int avs_peakvol_set_mute(struct avs_dev *adev, struct avs_path_module *mod, in avs_peakvol_set_mute()
516 static int avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_peakvol_create()
559 static int avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_updown_mix_create()
581 static int avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_src_create()
598 static int avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_asrc_create()
[all …]
/linux/kernel/printk/
H A Dindex.c20 static struct pi_entry *pi_get_entry(const struct module *mod, loff_t pos) in pi_get_entry()
45 const struct module *mod = s->file->f_inode->i_private; in pi_next() local
128 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
133 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
139 static void pi_create_file(struct module *mod) in pi_create_file()
146 static void pi_remove_file(struct module *mod) in pi_remove_file()
154 struct module *mod = data; in pi_module_notify() local
/linux/include/linux/
H A Dkmod.h25 #define request_module(mod...) __request_module(true, mod) argument
26 #define request_module_nowait(mod...) __request_module(false, mod) argument
27 #define try_then_request_module(x, mod...) \ argument
32 #define try_then_request_module(x, mod...) (x) argument
H A Dcodetag.h98 codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
101 codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
104 static inline void codetag_free_module_sections(struct module *mod) {} in codetag_free_module_sections()
105 static inline void codetag_module_replaced(struct module *mod, struct module *new_mod) {} in codetag_module_replaced()
106 static inline int codetag_load_module(struct module *mod) { return 0; } in codetag_load_module()
107 static inline void codetag_unload_module(struct module *mod) {} in codetag_unload_module()
H A Dmodule.h47 struct module *mod; member
331 struct module *mod; member
617 static inline bool module_is_live(struct module *mod) in module_is_live()
622 static inline bool module_is_coming(struct module *mod) in module_is_coming()
635 const struct module *mod, in within_module_mem_type()
646 const struct module *mod) in within_module_core()
656 const struct module *mod) in within_module_init()
665 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
746 #define module_name(mod) \ argument
765 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_panel.c40 struct panel_module *mod; member
86 struct panel_module *mod) in panel_encoder_create()
123 struct panel_module *mod; member
187 struct panel_module *mod, struct drm_encoder *encoder) in panel_connector_create()
225 static int panel_modeset_init(struct tilcdc_module *mod, struct drm_device *dev) in panel_modeset_init()
309 struct tilcdc_module *mod; in panel_probe() local
373 struct tilcdc_module *mod = dev_get_platdata(&pdev->dev); in panel_remove() local
/linux/drivers/gpio/
H A Dgpio-janz-ttl.c59 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local
81 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local
110 static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) in ttl_write_reg()
116 static void ttl_setup_device(struct ttl_module *mod) in ttl_setup_device()
145 struct ttl_module *mod; in ttl_probe() local
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c167 struct audioreach_module *mod; in audioreach_tplg_alloc_module() local
424 struct audioreach_module *mod = NULL; in audioreach_parse_common_tokens() local
578 struct audioreach_module *mod; in audioreach_widget_load_module_common() local
605 struct audioreach_module *mod; in audioreach_widget_load_enc_dec_cnv() local
640 static int audioreach_widget_log_module_load(struct audioreach_module *mod, in audioreach_widget_log_module_load()
670 static int audioreach_widget_dma_module_load(struct audioreach_module *mod, in audioreach_widget_dma_module_load()
699 static int audioreach_widget_i2s_module_load(struct audioreach_module *mod, in audioreach_widget_i2s_module_load()
734 static int audioreach_widget_dp_module_load(struct audioreach_module *mod, in audioreach_widget_dp_module_load()
762 struct audioreach_module *mod; in audioreach_widget_load_buffer() local
846 struct audioreach_module *mod = w->dobj.private; in audioreach_pga_event() local
[all …]
/linux/net/ethtool/
H A Dnetlink.h75 bool *mod) in ethnl_update_u32() argument
101 bool *mod) in ethnl_update_u8() argument
127 ethnl_update_bool32(u32 * dst,const struct nlattr * attr,bool * mod) ethnl_update_bool32() argument
153 ethnl_update_bool(bool * dst,const struct nlattr * attr,bool * mod) ethnl_update_bool() argument
180 ethnl_update_binary(void * dst,unsigned int len,const struct nlattr * attr,bool * mod) ethnl_update_binary() argument
204 ethnl_update_bitfield32(u32 * dst,const struct nlattr * attr,bool * mod) ethnl_update_bitfield32() argument
[all...]
/linux/drivers/usb/renesas_usbhs/
H A Dmod.c65 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register()
90 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhs_mod_is_host() local
109 struct usbhs_mod *mod = NULL; in usbhs_mod_change() local
194 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhs_status_get_each_irq() local
303 void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod) in usbhs_irq_callback_update()
/linux/net/can/
H A Dgw.c173 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
181 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
189 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata()
197 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata()
237 static void mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_ccdlc()
244 static void mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_ccdlc()
251 static void mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_ccdlc()
258 static void mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_ccdlc()
462 struct cf_mod *mod; in can_can_gw_rcv() local
632 struct cf_mod *mod; in cgw_put_job() local
[all …]

12345678910