| /linux/scripts/mod/ |
| H A D | file2alias.c | 48 module_alias_printf(struct module *mod, bool append_wildcard, in module_alias_printf() 186 unsigned char max, struct module *mod) in do_usb_entry() 288 static void do_usb_entry_multi(struct module *mod, void *symval) in do_usb_entry_multi() 353 static void do_of_entry(struct module *mod, void *symval) in do_of_entry() 380 static void do_hid_entry(struct module *mod, void *symval) in do_hid_entry() 398 static void do_ieee1394_entry(struct module *mod, void *symval) in do_ieee1394_entry() 421 static void do_pci_entry(struct module *mod, void *symval) in do_pci_entry() 476 static void do_ccw_entry(struct module *mod, void *symval) in do_ccw_entry() 499 static void do_ap_entry(struct module *mod, void *symval) in do_ap_entry() 507 static void do_css_entry(struct module *mod, void *symval) in do_css_entry() [all …]
|
| H A D | modpost.c | 178 struct module *mod; in find_module() local 190 struct module *mod; in new_module() local 258 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved() 268 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module() 356 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported() 627 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol() 1080 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol() 1150 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch() 1345 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela() 1387 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel() [all …]
|
| /linux/kernel/module/ |
| H A D | sysfs.c | 65 static int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 122 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs() 151 static int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 210 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs() 225 static inline int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 229 static inline void remove_sect_attrs(struct module *mod) { } in remove_sect_attrs() 230 static inline int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 234 static inline void remove_notes_attrs(struct module *mod) { } in remove_notes_attrs() 237 static void del_usage_links(struct module *mod) in del_usage_links() 249 static int add_usage_links(struct module *mod) in add_usage_links() [all …]
|
| H A D | main.c | 119 static void mod_update_bounds(struct module *mod) in mod_update_bounds() 183 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get() 194 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module() 229 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit() 399 struct module *mod; in find_symbol() local 431 struct module *mod; in find_module_all() local 450 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu() 455 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc() 479 static void percpu_modfree(struct module *mod) in percpu_modfree() 489 static void percpu_modcopy(struct module *mod, in percpu_modcopy() [all …]
|
| H A D | procfs.c | 16 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
|
| H A D | tree_lookup.c | 78 void mod_tree_insert(struct module *mod) in mod_tree_insert() 87 void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init() 95 void mod_tree_remove(struct module *mod) in mod_tree_remove()
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | ctu.c | 73 struct rsnd_mod mod; member 95 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation() 101 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt() 107 static int rsnd_ctu_probe_(struct rsnd_mod *mod, in rsnd_ctu_probe_() 115 struct rsnd_mod *mod) in rsnd_ctu_value_init() 152 struct rsnd_mod *mod) in rsnd_ctu_value_reset() 170 static int rsnd_ctu_init(struct rsnd_mod *mod, in rsnd_ctu_init() 187 static int rsnd_ctu_quit(struct rsnd_mod *mod, in rsnd_ctu_quit() 198 static int rsnd_ctu_pcm_new(struct rsnd_mod *mod, in rsnd_ctu_pcm_new() 264 static int rsnd_ctu_id(struct rsnd_mod *mod) in rsnd_ctu_id() [all …]
|
| H A D | ssiu.c | 12 struct rsnd_mod mod; member 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() 88 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) in rsnd_ssiu_busif_err_status_clear() 132 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status() 142 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init() 226 static int rsnd_ssiu_quit(struct rsnd_mod *mod, in rsnd_ssiu_quit() 243 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2() 333 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2() [all …]
|
| H A D | dvc.c | 37 struct rsnd_mod mod; member 57 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation() 63 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt() 74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter() 94 struct rsnd_mod *mod) in rsnd_dvc_volume_init() 144 struct rsnd_mod *mod) in rsnd_dvc_volume_update() 178 static int rsnd_dvc_probe_(struct rsnd_mod *mod, in rsnd_dvc_probe_() 185 static int rsnd_dvc_init(struct rsnd_mod *mod, in rsnd_dvc_init() 204 static int rsnd_dvc_quit(struct rsnd_mod *mod, in rsnd_dvc_quit() 215 static int rsnd_dvc_pcm_new(struct rsnd_mod *mod, in rsnd_dvc_pcm_new() [all …]
|
| H A D | mix.c | 39 struct rsnd_mod mod; member 69 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation() 75 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt() 85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter() 105 struct rsnd_mod *mod) in rsnd_mix_volume_init() 126 struct rsnd_mod *mod) in rsnd_mix_volume_update() 138 static int rsnd_mix_probe_(struct rsnd_mod *mod, in rsnd_mix_probe_() 145 static int rsnd_mix_init(struct rsnd_mod *mod, in rsnd_mix_init() 164 static int rsnd_mix_quit(struct rsnd_mod *mod, in rsnd_mix_quit() 175 static int rsnd_mix_pcm_new(struct rsnd_mod *mod, in rsnd_mix_pcm_new() [all …]
|
| H A D | dma.c | 34 struct rsnd_mod mod; member 82 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop() 89 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, in rsnd_dmaen_cleanup() 109 static int rsnd_dmaen_prepare(struct rsnd_mod *mod, in rsnd_dmaen_prepare() 138 static int rsnd_dmaen_start(struct rsnd_mod *mod, in rsnd_dmaen_start() 192 struct rsnd_mod *mod, char *x) in rsnd_dma_request_channel() 255 static int rsnd_dmaen_pointer(struct rsnd_mod *mod, in rsnd_dmaen_pointer() 317 struct rsnd_mod *mod) in rsnd_dmapp_get_id() 369 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_write() local 381 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_read() local [all …]
|
| H A D | core.c | 116 rsnd_mod_make_sure(struct rsnd_mod * mod,enum rsnd_mod_type type) rsnd_mod_make_sure() argument 128 rsnd_mod_dma_req(struct rsnd_dai_stream * io,struct rsnd_mod * mod) rsnd_mod_dma_req() argument 138 rsnd_mod_name(struct rsnd_mod * mod) rsnd_mod_name() argument 167 rsnd_mod_get_status(struct rsnd_mod * mod,struct rsnd_dai_stream * io,enum rsnd_mod_type type) rsnd_mod_get_status() argument 174 rsnd_mod_id_raw(struct rsnd_mod * mod) rsnd_mod_id_raw() argument 179 rsnd_mod_id(struct rsnd_mod * mod) rsnd_mod_id() argument 187 rsnd_mod_id_sub(struct rsnd_mod * mod) rsnd_mod_id_sub() argument 196 rsnd_mod_init(struct rsnd_priv * priv,struct rsnd_mod * mod,struct rsnd_mod_ops * ops,struct clk * clk,enum rsnd_mod_type type,int id) rsnd_mod_init() argument 216 rsnd_mod_quit(struct rsnd_mod * mod) rsnd_mod_quit() argument 222 rsnd_mod_interrupt(struct rsnd_mod * mod,void (* callback)(struct rsnd_mod * mod,struct rsnd_dai_stream * io)) rsnd_mod_interrupt() argument 223 rsnd_mod_interrupt(struct rsnd_mod * mod,void (* callback)(struct rsnd_mod * mod,struct rsnd_dai_stream * io)) rsnd_mod_interrupt() argument 349 rsnd_get_adinr_bit(struct rsnd_mod * mod,struct rsnd_dai_stream * io) rsnd_get_adinr_bit() argument 372 rsnd_get_dalign(struct rsnd_mod * mod,struct rsnd_dai_stream * io) rsnd_get_dalign() argument 429 rsnd_get_busif_shift(struct rsnd_dai_stream * io,struct rsnd_mod * mod) rsnd_get_busif_shift() argument 488 struct rsnd_mod *mod = rsnd_io_to_mod(io, type); rsnd_mod_next() local 532 rsnd_status_update(struct rsnd_dai_stream * io,struct rsnd_mod * mod,enum rsnd_mod_type type,int shift,int add,int timing) rsnd_status_update() argument 577 rsnd_dai_connect(struct rsnd_mod * mod,struct rsnd_dai_stream * io,enum rsnd_mod_type type) rsnd_dai_connect() argument 605 rsnd_dai_disconnect(struct rsnd_mod * mod,struct rsnd_dai_stream * io,enum rsnd_mod_type type) rsnd_dai_disconnect() argument 1156 struct rsnd_mod *mod; rsnd_parse_connect_common() local 1798 rsnd_kctrl_new(struct rsnd_mod * mod,struct rsnd_dai_stream * io,struct snd_soc_pcm_runtime * rtd,const unsigned char * name,int (* accept)(struct rsnd_dai_stream * io),void (* update)(struct rsnd_dai_stream * io,struct rsnd_mod * mod),struct rsnd_kctrl_cfg * cfg,const char * const * texts,int size,u32 max) rsnd_kctrl_new() argument 1804 rsnd_kctrl_new(struct rsnd_mod * mod,struct rsnd_dai_stream * io,struct snd_soc_pcm_runtime * rtd,const unsigned char * name,int (* accept)(struct rsnd_dai_stream * io),void (* update)(struct rsnd_dai_stream * io,struct rsnd_mod * mod),struct rsnd_kctrl_cfg * cfg,const char * const * texts,int size,u32 max) rsnd_kctrl_new() argument 1878 struct rsnd_mod *mod; rsnd_rdai_continuance_probe() local [all...] |
| /linux/arch/loongarch/kernel/ |
| H A D | module.c | 60 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() 73 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() 83 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() 91 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() 97 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() 103 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup() 122 static int apply_r_larch_sop_push_plt_pcrel(struct module *mod, in apply_r_larch_sop_push_plt_pcrel() 137 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop() 183 static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_imm_field() 274 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 D | codetag.c | 30 struct module *mod; member 138 static void *get_symbol(struct module *mod, const char *prefix, const char *name) in get_symbol() 158 static struct codetag_range get_section_range(struct module *mod, in get_section_range() 167 static const char *get_mod_name(__maybe_unused struct module *mod) in get_mod_name() 176 static int codetag_module_init(struct codetag_type *cttype, struct module *mod) in codetag_module_init() 234 bool codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section() 262 void *codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section() 287 void codetag_free_module_sections(struct module *mod) in codetag_free_module_sections() 303 void codetag_module_replaced(struct module *mod, struct module *new_mod) in codetag_module_replaced() 319 int codetag_load_module(struct module *mod) in codetag_load_module() [all …]
|
| H A D | once.c | 25 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()
|
| H A D | bug.c | 70 struct module *mod; in module_find_bug() local 85 struct module *mod) in module_bug_finalize() 113 void module_bug_cleanup(struct module *mod) in module_bug_cleanup() 295 struct module *mod; in generic_bug_clear_once() local
|
| /linux/kernel/printk/ |
| H A D | index.c | 20 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/sound/soc/intel/avs/ |
| H A D | path.c | 33 struct avs_path_module *mod; in avs_path_find_module() local 405 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_copier_create() 439 static int avs_whm_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_whm_create() 474 static struct soc_mixer_control *avs_get_module_control(struct avs_path_module *mod, in avs_get_module_control() 498 int avs_peakvol_set_volume(struct avs_dev *adev, struct avs_path_module *mod, in avs_peakvol_set_volume() 534 int avs_peakvol_set_mute(struct avs_dev *adev, struct avs_path_module *mod, in avs_peakvol_set_mute() 570 static int avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_peakvol_create() 613 static int avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_updown_mix_create() 635 static int avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_src_create() 652 static int avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_asrc_create() [all …]
|
| /linux/include/linux/ |
| H A D | kmod.h | 22 #define request_module(mod...) __request_module(true, mod) argument 23 #define request_module_nowait(mod...) __request_module(false, mod) argument 24 #define try_then_request_module(x, mod...) \ argument 29 #define try_then_request_module(x, mod...) (x) argument
|
| H A D | codetag.h | 102 codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section() 105 codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section() 108 static inline void codetag_free_module_sections(struct module *mod) {} in codetag_free_module_sections() 109 static inline void codetag_module_replaced(struct module *mod, struct module *new_mod) {} in codetag_module_replaced() 110 static inline int codetag_load_module(struct module *mod) { return 0; } in codetag_load_module() 111 static inline void codetag_unload_module(struct module *mod) {} in codetag_unload_module()
|
| /linux/drivers/gpio/ |
| H A D | gpio-janz-ttl.c | 59 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 D | topology.c | 167 struct audioreach_module *mod; in audioreach_tplg_alloc_module() local 452 struct audioreach_module *mod = NULL; audioreach_parse_common_tokens() local 598 struct audioreach_module *mod; audioreach_widget_load_module_common() local 627 struct audioreach_module *mod; audioreach_widget_load_enc_dec_cnv() local 662 audioreach_widget_log_module_load(struct audioreach_module * mod,const struct snd_soc_tplg_vendor_array * mod_array) audioreach_widget_log_module_load() argument 692 audioreach_widget_dma_module_load(struct audioreach_module * mod,const struct snd_soc_tplg_vendor_array * mod_array) audioreach_widget_dma_module_load() argument 721 audioreach_widget_i2s_module_load(struct audioreach_module * mod,const struct snd_soc_tplg_vendor_array * mod_array) audioreach_widget_i2s_module_load() argument 756 audioreach_widget_dp_module_load(struct audioreach_module * mod,const struct snd_soc_tplg_vendor_array * mod_array) audioreach_widget_dp_module_load() argument 784 struct audioreach_module *mod; audioreach_widget_load_buffer() local 868 struct audioreach_module *mod = w->dobj.private; audioreach_pga_event() local 891 struct audioreach_module *mod; audioreach_widget_load_pga() local 953 struct audioreach_module *mod; audioreach_widget_unload() local 1188 struct audioreach_module *mod = dw->dobj.private; audioreach_get_vol_ctrl_audio_mixer() local 1199 struct audioreach_module *mod = dw->dobj.private; audioreach_put_vol_ctrl_audio_mixer() local [all...] |
| /linux/drivers/usb/renesas_usbhs/ |
| H A D | mod.c | 65 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 D | gw.c | 174 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata() 182 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata() 190 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata() 198 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata() 238 static void mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_ccdlc() 245 static void mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_ccdlc() 252 static void mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_ccdlc() 259 static void mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_ccdlc() 464 struct cf_mod *mod; in can_can_gw_rcv() local 638 struct cf_mod *mod; in cgw_put_job() local [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_mgmt.c | 82 enum hinic_mod_type mod, in hinic_register_mgmt_msg_cb() 102 enum hinic_mod_type mod) in hinic_unregister_mgmt_msg_cb() 127 u16 msg_len, enum hinic_mod_type mod, in prepare_header() 201 enum hinic_mod_type mod, u8 cmd, in send_msg_to_mgmt() 246 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_sync() 320 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_async() 351 enum hinic_mod_type mod, u8 cmd, in hinic_msg_to_mgmt()
|