/kernel/linux/linux-5.10/kernel/ |
H A 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 in mod_tree_insert() 187 mod_tree_remove_init(struct module *mod) mod_tree_remove_init() argument 193 mod_tree_remove(struct module *mod) mod_tree_remove() argument 214 mod_tree_insert(struct module *mod) mod_tree_insert() argument 215 mod_tree_remove_init(struct module *mod) mod_tree_remove_init() argument 216 mod_tree_remove(struct module *mod) mod_tree_remove() argument 220 struct module *mod; mod_find() local 248 mod_update_bounds(struct module *mod) mod_update_bounds() argument 323 strong_try_module_get(struct module *mod) strong_try_module_get() argument 334 add_taint_module(struct module *mod, unsigned flag, enum lockdep_ok lockdep_ok) add_taint_module() argument 345 __module_put_and_exit(struct module *mod, long code) __module_put_and_exit() argument 436 struct module *mod; each_symbol_section() local 629 struct module *mod; find_module_all() local 652 mod_percpu(struct module *mod) mod_percpu() argument 657 percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() argument 681 percpu_modfree(struct module *mod) percpu_modfree() argument 691 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 702 struct module *mod; __is_module_percpu_address() local 749 mod_percpu(struct module *mod) mod_percpu() argument 753 percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() argument 760 percpu_modfree(struct module *mod) percpu_modfree() argument 767 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 825 module_unload_init(struct module *mod) module_unload_init() argument 902 module_unload_free(struct module *mod) module_unload_free() argument 934 try_release_module_ref(struct module *mod) try_release_module_ref() argument 948 try_stop_module(struct module *mod, int flags, int *forced) try_stop_module() argument 972 module_refcount(struct module *mod) module_refcount() argument 984 struct module *mod; SYSCALL_DEFINE2() local 1058 print_unload_info(struct seq_file *m, struct module *mod) print_unload_info() argument 1170 print_unload_info(struct seq_file *m, struct module *mod) print_unload_info() argument 1176 module_unload_free(struct module *mod) module_unload_free() argument 1185 module_unload_init(struct module *mod) module_unload_init() argument 1191 module_flags_taint(struct module *mod, char *buf) module_flags_taint() argument 1288 try_to_force_load(struct module *mod, const char *reason) try_to_force_load() argument 1307 check_version(const struct load_info *info, const char *symname, struct module *mod, const s32 *crc) check_version() argument 1356 check_modstruct_version(const struct load_info *info, struct module *mod) check_modstruct_version() argument 1385 check_version(const struct load_info *info, const char *symname, struct module *mod, const s32 *crc) check_version() argument 1393 check_modstruct_version(const struct load_info *info, struct module *mod) check_modstruct_version() argument 1410 verify_namespace_is_imported(const struct load_info *info, const struct kernel_symbol *sym, struct module *mod) verify_namespace_is_imported() argument 1440 inherit_taint(struct module *mod, struct module *owner) inherit_taint() argument 1460 resolve_symbol(struct module *mod, const struct load_info *info, const char *name, char ownername[]) resolve_symbol() argument 1517 resolve_symbol_wait(struct module *mod, const struct load_info *info, const char *name) resolve_symbol_wait() argument 1596 add_sect_attrs(struct module *mod, const struct load_info *info) add_sect_attrs() argument 1648 remove_sect_attrs(struct module *mod) remove_sect_attrs() argument 1693 add_notes_attrs(struct module *mod, const struct load_info *info) add_notes_attrs() argument 1751 remove_notes_attrs(struct module *mod) remove_notes_attrs() argument 1759 add_sect_attrs(struct module *mod, const struct load_info *info) add_sect_attrs() argument 1764 remove_sect_attrs(struct module *mod) remove_sect_attrs() argument 1768 add_notes_attrs(struct module *mod, const struct load_info *info) add_notes_attrs() argument 1773 remove_notes_attrs(struct module *mod) remove_notes_attrs() argument 1778 del_usage_links(struct module *mod) del_usage_links() argument 1790 add_usage_links(struct module *mod) add_usage_links() argument 1812 module_add_modinfo_attrs(struct module *mod) module_add_modinfo_attrs() argument 1848 module_remove_modinfo_attrs(struct module *mod, int end) module_remove_modinfo_attrs() argument 1866 mod_kobject_put(struct module *mod) mod_kobject_put() argument 1874 mod_sysfs_init(struct module *mod) mod_sysfs_init() argument 1906 mod_sysfs_setup(struct module *mod, const struct load_info *info, struct kernel_param *kparam, unsigned int num_params) mod_sysfs_setup() argument 1952 mod_sysfs_fini(struct module *mod) mod_sysfs_fini() argument 1959 init_param_lock(struct module *mod) init_param_lock() argument 1965 mod_sysfs_setup(struct module *mod, const struct load_info *info, struct kernel_param *kparam, unsigned int num_params) mod_sysfs_setup() argument 1973 mod_sysfs_fini(struct module *mod) mod_sysfs_fini() argument 1977 module_remove_modinfo_attrs(struct module *mod, int end) module_remove_modinfo_attrs() argument 1981 del_usage_links(struct module *mod) del_usage_links() argument 1985 init_param_lock(struct module *mod) init_param_lock() argument 1990 mod_sysfs_teardown(struct module *mod) mod_sysfs_teardown() argument 2030 module_enable_x(const struct module *mod) module_enable_x() argument 2036 module_enable_x(const struct module *mod) module_enable_x() argument 2070 module_enable_ro(const struct module *mod, bool after_init) module_enable_ro() argument 2087 module_enable_nx(const struct module *mod) module_enable_nx() argument 2096 module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_enforce_rwx_sections() argument 2114 module_enable_nx(const struct module *mod) module_enable_nx() argument 2115 module_enable_ro(const struct module *mod, bool after_init) module_enable_ro() argument 2116 module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_enforce_rwx_sections() argument 2129 copy_module_elf(struct module *mod, struct load_info *info) copy_module_elf() argument 2181 free_module_elf(struct module *mod) free_module_elf() argument 2188 copy_module_elf(struct module *mod, struct load_info *info) copy_module_elf() argument 2193 free_module_elf(struct module *mod) free_module_elf() argument 2208 module_arch_cleanup(struct module *mod) module_arch_cleanup() argument 2212 module_arch_freeing_init(struct module *mod) module_arch_freeing_init() argument 2219 free_module(struct module *mod) free_module() argument 2314 verify_exported_symbols(struct module *mod) verify_exported_symbols() argument 2363 simplify_symbols(struct module *mod, const struct load_info *info) simplify_symbols() argument 2432 apply_relocations(struct module *mod, const struct load_info *info) apply_relocations() argument 2468 arch_mod_section_prepend(struct module *mod, unsigned int section) arch_mod_section_prepend() argument 2476 get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr, unsigned int section) get_offset() argument 2491 layout_sections(struct module *mod, struct load_info *info) layout_sections() argument 2579 set_license(struct module *mod, const char *license) set_license() argument 2643 setup_modinfo(struct module *mod, struct load_info *info) setup_modinfo() argument 2654 free_modinfo(struct module *mod) free_modinfo() argument 2676 is_exported(const char *name, unsigned long value, const struct module *mod) is_exported() argument 2762 layout_symtab(struct module *mod, struct load_info *info) layout_symtab() argument 2817 add_kallsyms(struct module *mod, const struct load_info *info) add_kallsyms() argument 2858 layout_symtab(struct module *mod, struct load_info *info) layout_symtab() argument 2862 add_kallsyms(struct module *mod, const struct load_info *info) add_kallsyms() argument 2867 dynamic_debug_setup(struct module *mod, struct _ddebug *debug, unsigned int num) dynamic_debug_setup() argument 2874 dynamic_debug_remove(struct module *mod, struct _ddebug *debug) dynamic_debug_remove() argument 2898 kmemleak_load_module(const struct module *mod, const struct load_info *info) kmemleak_load_module() argument 2918 kmemleak_load_module(const struct module *mod, const struct load_info *info) kmemleak_load_module() argument 2930 const void *mod = info->hdr; module_sig_check() local 3114 check_modinfo_livepatch(struct module *mod, struct load_info *info) check_modinfo_livepatch() argument 3126 check_modinfo_livepatch(struct module *mod, struct load_info *info) check_modinfo_livepatch() argument 3138 check_modinfo_retpoline(struct module *mod, struct load_info *info) check_modinfo_retpoline() argument 3268 check_modinfo(struct module *mod, struct load_info *info, int flags) check_modinfo() argument 3312 find_module_sections(struct module *mod, struct load_info *info) find_module_sections() argument 3427 move_module(struct module *mod, struct load_info *info) move_module() argument 3490 check_module_license_and_versions(struct module *mod) check_module_license_and_versions() argument 3531 flush_module_icache(const struct module *mod) flush_module_icache() argument 3546 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_frob_arch_sections() argument 3577 struct module *mod; layout_and_allocate() local 3635 module_deallocate(struct module *mod, struct load_info *info) module_deallocate() argument 3650 post_relocation(struct module *mod, const struct load_info *info) post_relocation() argument 3669 struct module *mod; finished_loading() local 3688 do_mod_ctors(struct module *mod) do_mod_ctors() argument 3726 do_init_module(struct module *mod) do_init_module() argument 3840 add_unformed_module(struct module *mod) add_unformed_module() argument 3889 complete_formation(struct module *mod, struct load_info *info) complete_formation() argument 3919 prepare_coming_module(struct module *mod) prepare_coming_module() argument 3940 struct module *mod = arg; unknown_module_param_cb() local 3962 struct module *mod; load_module() local 4258 find_kallsyms_symbol(struct module *mod, unsigned long addr, unsigned long *size, unsigned long *offset) find_kallsyms_symbol() argument 4309 dereference_module_function_descriptor(struct module *mod, void *ptr) dereference_module_function_descriptor() argument 4324 struct module *mod; module_address_lookup() local 4346 struct module *mod; lookup_module_symbol_name() local 4372 struct module *mod; lookup_module_symbol_attrs() local 4400 struct module *mod; module_get_kallsym() local 4427 find_kallsyms_symbol_value(struct module *mod, const char *name) find_kallsyms_symbol_value() argument 4445 struct module *mod; module_kallsyms_lookup_name() local 4470 struct module *mod; module_kallsyms_on_each_symbol() local 4498 cfi_init(struct module *mod) cfi_init() argument 4525 cfi_cleanup(struct module *mod) cfi_cleanup() argument 4536 module_flags(struct module *mod, char *buf) module_flags() argument 4579 struct module *mod = list_entry(p, struct module, list); m_show() local 4659 struct module *mod; search_module_extables() local 4709 struct module *mod; __module_address() local 4753 struct module *mod = __module_address(addr); __module_text_address() local 4766 struct module *mod; print_modules() local 4786 module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp, struct kernel_symbol *ks, struct tracepoint * const *tp) module_layout() argument [all...] |
/kernel/linux/linux-6.6/kernel/module/ |
H A 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 in add_taint_module() 174 __module_put_and_kthread_exit(struct module *mod, long code) __module_put_and_kthread_exit() argument 311 struct module *mod; find_symbol() local 349 struct module *mod; find_module_all() local 370 mod_percpu(struct module *mod) mod_percpu() argument 375 percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() argument 399 percpu_modfree(struct module *mod) percpu_modfree() argument 409 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 420 struct module *mod; __is_module_percpu_address() local 466 mod_percpu(struct module *mod) mod_percpu() argument 470 percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() argument 477 percpu_modfree(struct module *mod) percpu_modfree() argument 484 percpu_modcopy(struct module *mod, const void *from, unsigned long size) percpu_modcopy() argument 545 module_unload_init(struct module *mod) module_unload_init() argument 620 module_unload_free(struct module *mod) module_unload_free() argument 652 try_release_module_ref(struct module *mod) try_release_module_ref() argument 666 try_stop_module(struct module *mod, int flags, int *forced) try_stop_module() argument 689 module_refcount(struct module *mod) module_refcount() argument 701 struct module *mod; SYSCALL_DEFINE2() local 858 module_unload_free(struct module *mod) module_unload_free() argument 867 module_unload_init(struct module *mod) module_unload_init() argument 1000 try_to_force_load(struct module *mod, const char *reason) try_to_force_load() argument 1062 verify_namespace_is_imported(const struct load_info *info, const struct kernel_symbol *sym, struct module *mod) verify_namespace_is_imported() argument 1089 inherit_taint(struct module *mod, struct module *owner, const char *name) inherit_taint() argument 1109 resolve_symbol(struct module *mod, const struct load_info *info, const char *name, char ownername[]) resolve_symbol() argument 1165 resolve_symbol_wait(struct module *mod, const struct load_info *info, const char *name) resolve_symbol_wait() argument 1192 module_arch_cleanup(struct module *mod) module_arch_cleanup() argument 1196 module_arch_freeing_init(struct module *mod) module_arch_freeing_init() argument 1221 free_mod_mem(struct module *mod) free_mod_mem() argument 1241 free_module(struct module *mod) free_module() argument 1321 verify_exported_symbols(struct module *mod) verify_exported_symbols() argument 1367 simplify_symbols(struct module *mod, const struct load_info *info) simplify_symbols() argument 1438 apply_relocations(struct module *mod, const struct load_info *info) apply_relocations() argument 1474 arch_mod_section_prepend(struct module *mod, unsigned int section) arch_mod_section_prepend() argument 1481 module_get_offset_and_type(struct module *mod, enum mod_mem_type type, Elf_Shdr *sechdr, unsigned int section) module_get_offset_and_type() argument 1504 __layout_sections(struct module *mod, struct load_info *info, bool is_init) __layout_sections() argument 1563 layout_sections(struct module *mod, struct load_info *info) layout_sections() argument 1577 module_license_taint_check(struct module *mod, const char *license) module_license_taint_check() argument 1591 setup_modinfo(struct module *mod, struct load_info *info) setup_modinfo() argument 1602 free_modinfo(struct module *mod) free_modinfo() argument 1919 check_modinfo_livepatch(struct module *mod, struct load_info *info) check_modinfo_livepatch() argument 1933 check_modinfo_retpoline(struct module *mod, struct load_info *info) check_modinfo_retpoline() argument 2010 module_augment_kernel_taints(struct module *mod, struct load_info *info) module_augment_kernel_taints() argument 2076 check_modinfo(struct module *mod, struct load_info *info, int flags) check_modinfo() argument 2102 find_module_sections(struct module *mod, struct load_info *info) find_module_sections() argument 2222 move_module(struct module *mod, struct load_info *info) move_module() argument 2300 check_export_symbol_versions(struct module *mod) check_export_symbol_versions() argument 2312 flush_module_icache(const struct module *mod) flush_module_icache() argument 2334 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_frob_arch_sections() argument 2365 struct module *mod; layout_and_allocate() local 2421 module_deallocate(struct module *mod, struct load_info *info) module_deallocate() argument 2436 post_relocation(struct module *mod, const struct load_info *info) post_relocation() argument 2453 do_mod_ctors(struct module *mod) do_mod_ctors() argument 2506 do_init_module(struct module *mod) do_init_module() argument 2642 struct module *mod; finished_loading() local 2705 add_unformed_module(struct module *mod) add_unformed_module() argument 2726 complete_formation(struct module *mod, struct load_info *info) complete_formation() argument 2759 prepare_coming_module(struct module *mod) prepare_coming_module() argument 2780 struct module *mod = arg; unknown_module_param_cb() local 2836 struct module *mod; load_module() local 3197 module_flags(struct module *mod, char *buf, bool show_state) module_flags() argument 3227 struct module *mod; search_module_extables() local 3277 struct module *mod; __module_address() local 3329 struct module *mod = __module_address(addr); __module_text_address() local 3342 struct module *mod; print_modules() local [all...] |
H A 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, cons argument 230 remove_notes_attrs(struct module *mod) remove_notes_attrs() argument 237 add_sect_attrs(struct module *mod, const struct load_info *info) add_sect_attrs() argument 238 remove_sect_attrs(struct module *mod) remove_sect_attrs() argument 239 add_notes_attrs(struct module *mod, const struct load_info *info) add_notes_attrs() argument 240 remove_notes_attrs(struct module *mod) remove_notes_attrs() argument 243 del_usage_links(struct module *mod) del_usage_links() argument 255 add_usage_links(struct module *mod) add_usage_links() argument 275 module_remove_modinfo_attrs(struct module *mod, int end) module_remove_modinfo_attrs() argument 293 module_add_modinfo_attrs(struct module *mod) module_add_modinfo_attrs() argument 329 mod_kobject_put(struct module *mod) mod_kobject_put() argument 338 mod_sysfs_init(struct module *mod) mod_sysfs_init() argument 370 mod_sysfs_setup(struct module *mod, const struct load_info *info, struct kernel_param *kparam, unsigned int num_params) mod_sysfs_setup() argument 416 mod_sysfs_fini(struct module *mod) mod_sysfs_fini() argument 423 mod_sysfs_teardown(struct module *mod) mod_sysfs_teardown() argument 433 init_param_lock(struct module *mod) init_param_lock() argument [all...] |
H A D | kallsyms.c | 25 const struct module *mod) in is_exported() 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() 24 is_exported(const char *name, unsigned long value, const struct module *mod) is_exported() 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 D | internal.h | 64 struct module *mod; member 83 unsigned int sym, str, mod, vers, info, pcpu; member 105 int mod_verify_sig(const void *mod, struct load_info *info); 106 int try_to_force_load(struct module *mod, const char *reason); 110 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type, 112 char *module_flags(struct module *mod, char *buf, bool show_state); 141 int copy_module_elf(struct module *mod, struct load_info *info); 142 void free_module_elf(struct module *mod); 144 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() argument 149 static inline void free_module_elf(struct module *mod) { } in free_module_elf() argument 152 set_livepatch_module(struct module *mod) set_livepatch_module() argument 262 try_add_tainted_module(struct module *mod) try_add_tainted_module() argument 308 mod_tree_insert(struct module *mod) mod_tree_insert() argument 309 mod_tree_remove_init(struct module *mod) mod_tree_remove_init() argument 310 mod_tree_remove(struct module *mod) mod_tree_remove() argument 313 struct module *mod; mod_find() local 343 kmemleak_load_module(const struct module *mod, const struct load_info *info) kmemleak_load_module() argument 357 init_build_id(struct module *mod, const struct load_info *info) init_build_id() argument 358 layout_symtab(struct module *mod, struct load_info *info) layout_symtab() argument 359 add_kallsyms(struct module *mod, const struct load_info *info) add_kallsyms() argument 368 mod_sysfs_setup(struct module *mod, const struct load_info *info, struct kernel_param *kparam, unsigned int num_params) mod_sysfs_setup() argument 376 mod_sysfs_teardown(struct module *mod) mod_sysfs_teardown() argument 377 init_param_lock(struct module *mod) init_param_lock() argument 388 check_version(const struct load_info *info, const char *symname, struct module *mod, const s32 *crc) check_version() argument 396 check_modstruct_version(const struct load_info *info, struct module *mod) check_modstruct_version() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/can/ |
H A 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 in ican3_old_recv_msg() 353 ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_old_send_msg() argument 390 ican3_init_new_host_interface(struct ican3_dev *mod) ican3_init_new_host_interface() argument 469 ican3_init_fast_host_interface(struct ican3_dev *mod) ican3_init_fast_host_interface() argument 557 ican3_new_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_new_send_msg() argument 588 ican3_new_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_new_recv_msg() argument 620 ican3_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_send_msg() argument 636 ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_recv_msg() argument 656 ican3_msg_connect(struct ican3_dev *mod) ican3_msg_connect() argument 667 ican3_msg_disconnect(struct ican3_dev *mod) ican3_msg_disconnect() argument 678 ican3_msg_newhostif(struct ican3_dev *mod) ican3_msg_newhostif() argument 699 ican3_msg_fasthostif(struct ican3_dev *mod) ican3_msg_fasthostif() argument 732 ican3_set_id_filter(struct ican3_dev *mod, bool accept) ican3_set_id_filter() argument 776 ican3_set_bus_state(struct ican3_dev *mod, bool on) ican3_set_bus_state() argument 855 ican3_set_termination(struct ican3_dev *mod, bool on) ican3_set_termination() argument 868 ican3_send_inquiry(struct ican3_dev *mod, u8 subspec) ican3_send_inquiry() argument 881 ican3_set_buserror(struct ican3_dev *mod, u8 quota) ican3_set_buserror() argument 909 ican3_to_can_frame(struct ican3_dev *mod, struct ican3_fast_desc *desc, struct can_frame *cf) ican3_to_can_frame() argument 941 can_frame_to_ican3(struct ican3_dev *mod, struct can_frame *cf, struct ican3_fast_desc *desc) can_frame_to_ican3() argument 985 ican3_handle_idvers(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_idvers() argument 990 ican3_handle_msglost(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_msglost() argument 1032 ican3_handle_cevtind(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_cevtind() argument 1178 ican3_handle_inquiry(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_inquiry() argument 1198 ican3_handle_nmtsind(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_nmtsind() argument 1232 ican3_handle_unknown_message(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_unknown_message() argument 1242 ican3_handle_message(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_message() argument 1274 ican3_put_echo_skb(struct ican3_dev *mod, struct sk_buff *skb) ican3_put_echo_skb() argument 1284 ican3_get_echo_skb(struct ican3_dev *mod) ican3_get_echo_skb() argument 1322 ican3_echo_skb_matches(struct ican3_dev *mod, struct sk_buff *skb) ican3_echo_skb_matches() argument 1346 ican3_txok(struct ican3_dev *mod) ican3_txok() argument 1372 ican3_recv_skb(struct ican3_dev *mod) ican3_recv_skb() argument 1447 struct ican3_dev *mod = container_of(napi, struct ican3_dev, napi); ican3_napi() local 1491 struct ican3_dev *mod = dev_id; ican3_irq() local 1520 ican3_reset_module(struct ican3_dev *mod) ican3_reset_module() argument 1552 ican3_shutdown_module(struct ican3_dev *mod) ican3_shutdown_module() argument 1561 ican3_startup_module(struct ican3_dev *mod) ican3_startup_module() argument 1634 struct ican3_dev *mod = netdev_priv(ndev); ican3_open() local 1661 struct ican3_dev *mod = netdev_priv(ndev); ican3_stop() local 1685 struct ican3_dev *mod = netdev_priv(ndev); ican3_xmit() local 1772 struct ican3_dev *mod = netdev_priv(ndev); ican3_set_mode() local 1797 struct ican3_dev *mod = netdev_priv(ndev); ican3_get_berr_counter() local 1822 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); ican3_sysfs_show_term() local 1841 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); ican3_sysfs_set_term() local 1859 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); ican3_sysfs_show_fwinfo() local 1886 struct ican3_dev *mod; ican3_probe() local 2020 struct ican3_dev *mod = netdev_priv(ndev); ican3_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/can/ |
H A 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 in ican3_old_recv_msg() 354 ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_old_send_msg() argument 391 ican3_init_new_host_interface(struct ican3_dev *mod) ican3_init_new_host_interface() argument 470 ican3_init_fast_host_interface(struct ican3_dev *mod) ican3_init_fast_host_interface() argument 558 ican3_new_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_new_send_msg() argument 589 ican3_new_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_new_recv_msg() argument 621 ican3_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_send_msg() argument 637 ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) ican3_recv_msg() argument 657 ican3_msg_connect(struct ican3_dev *mod) ican3_msg_connect() argument 668 ican3_msg_disconnect(struct ican3_dev *mod) ican3_msg_disconnect() argument 679 ican3_msg_newhostif(struct ican3_dev *mod) ican3_msg_newhostif() argument 700 ican3_msg_fasthostif(struct ican3_dev *mod) ican3_msg_fasthostif() argument 733 ican3_set_id_filter(struct ican3_dev *mod, bool accept) ican3_set_id_filter() argument 777 ican3_set_bus_state(struct ican3_dev *mod, bool on) ican3_set_bus_state() argument 856 ican3_set_termination(struct ican3_dev *mod, bool on) ican3_set_termination() argument 869 ican3_send_inquiry(struct ican3_dev *mod, u8 subspec) ican3_send_inquiry() argument 882 ican3_set_buserror(struct ican3_dev *mod, u8 quota) ican3_set_buserror() argument 910 ican3_to_can_frame(struct ican3_dev *mod, struct ican3_fast_desc *desc, struct can_frame *cf) ican3_to_can_frame() argument 942 can_frame_to_ican3(struct ican3_dev *mod, struct can_frame *cf, struct ican3_fast_desc *desc) can_frame_to_ican3() argument 986 ican3_handle_idvers(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_idvers() argument 991 ican3_handle_msglost(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_msglost() argument 1033 ican3_handle_cevtind(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_cevtind() argument 1179 ican3_handle_inquiry(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_inquiry() argument 1199 ican3_handle_nmtsind(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_nmtsind() argument 1233 ican3_handle_unknown_message(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_unknown_message() argument 1243 ican3_handle_message(struct ican3_dev *mod, struct ican3_msg *msg) ican3_handle_message() argument 1275 ican3_put_echo_skb(struct ican3_dev *mod, struct sk_buff *skb) ican3_put_echo_skb() argument 1287 ican3_get_echo_skb(struct ican3_dev *mod) ican3_get_echo_skb() argument 1326 ican3_echo_skb_matches(struct ican3_dev *mod, struct sk_buff *skb) ican3_echo_skb_matches() argument 1350 ican3_txok(struct ican3_dev *mod) ican3_txok() argument 1376 ican3_recv_skb(struct ican3_dev *mod) ican3_recv_skb() argument 1452 struct ican3_dev *mod = container_of(napi, struct ican3_dev, napi); ican3_napi() local 1496 struct ican3_dev *mod = dev_id; ican3_irq() local 1525 ican3_reset_module(struct ican3_dev *mod) ican3_reset_module() argument 1557 ican3_shutdown_module(struct ican3_dev *mod) ican3_shutdown_module() argument 1566 ican3_startup_module(struct ican3_dev *mod) ican3_startup_module() argument 1639 struct ican3_dev *mod = netdev_priv(ndev); ican3_open() local 1666 struct ican3_dev *mod = netdev_priv(ndev); ican3_stop() local 1690 struct ican3_dev *mod = netdev_priv(ndev); ican3_xmit() local 1781 struct ican3_dev *mod = netdev_priv(ndev); ican3_set_mode() local 1806 struct ican3_dev *mod = netdev_priv(ndev); ican3_get_berr_counter() local 1831 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); termination_show() local 1850 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); termination_store() local 1868 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); fwinfo_show() local 1894 struct ican3_dev *mod; ican3_probe() local 2029 struct ican3_dev *mod = netdev_priv(ndev); ican3_remove() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/livepatch/ |
H A 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 [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A 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, struc argument 285 patch_plt(struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) patch_plt() argument 310 module_arch_freeing_init(struct module *mod) module_arch_freeing_init() argument 423 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_frob_arch_sections() argument 489 in_init(const struct module *mod, uint64_t addr) in_init() argument 495 in_core(const struct module *mod, uint64_t addr) in_core() argument 501 is_internal(const struct module *mod, uint64_t value) is_internal() argument 510 get_ltoff(struct module *mod, uint64_t value, int *okp) get_ltoff() argument 532 gp_addressable(struct module *mod, uint64_t value) gp_addressable() argument 539 get_plt(struct module *mod, const struct insn *insn, uint64_t value, int *okp) get_plt() argument 585 get_fdesc(struct module *mod, uint64_t value, int *okp) get_fdesc() argument 619 do_reloc(struct module *mod, uint8_t r_type, Elf64_Sym *sym, uint64_t addend, Elf64_Shdr *sec, void *location) do_reloc() argument 789 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument 847 register_unwind_table(struct module *mod) register_unwind_table() argument 906 module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) module_finalize() argument 937 module_arch_cleanup(struct module *mod) module_arch_cleanup() argument 949 dereference_module_function_descriptor(struct module *mod, void *ptr) dereference_module_function_descriptor() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
H A 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) \ 115 (rsnd_ssi_multi_secondaries(io) & (1 << rsnd_mod_id(mod))) 116 #define rsnd_ssi_is_run_mods(mod, io) \ 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)) 120 static int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod); 124 struct rsnd_mod *mod in rsnd_ssi_use_busif() local 139 rsnd_ssi_status_clear(struct rsnd_mod *mod) rsnd_ssi_status_clear() argument 144 rsnd_ssi_status_get(struct rsnd_mod *mod) rsnd_ssi_status_get() argument 149 rsnd_ssi_status_check(struct rsnd_mod *mod, u32 bit) rsnd_ssi_status_check() argument 170 struct rsnd_mod *mod; rsnd_ssi_multi_secondaries() local 266 rsnd_ssi_master_clk_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_master_clk_start() argument 340 rsnd_ssi_master_clk_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_master_clk_stop() argument 362 rsnd_ssi_config_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_config_init() argument 491 rsnd_ssi_register_setup(struct rsnd_mod *mod) rsnd_ssi_register_setup() argument 505 rsnd_ssi_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_init() argument 535 rsnd_ssi_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_quit() argument 604 rsnd_ssi_hw_params(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) rsnd_ssi_hw_params() argument 623 rsnd_ssi_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_start() argument 656 rsnd_ssi_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_stop() argument 700 rsnd_ssi_irq(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv, int enable) rsnd_ssi_irq() argument 744 __rsnd_ssi_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) __rsnd_ssi_interrupt() argument 839 struct rsnd_mod *mod = data; rsnd_ssi_interrupt() local 846 rsnd_ssi_get_status(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) rsnd_ssi_get_status() argument 884 rsnd_ssi_parent_attach(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_parent_attach() argument 914 rsnd_ssi_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_ssi_pcm_new() argument 928 rsnd_ssi_common_probe(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_common_probe() argument 971 rsnd_ssi_common_remove(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_common_remove() argument 995 rsnd_ssi_pio_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_pio_interrupt() argument 1038 rsnd_ssi_pio_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_pio_init() argument 1056 rsnd_ssi_pio_pointer(struct rsnd_mod *mod, struct rsnd_dai_stream *io, snd_pcm_uframes_t *pointer) rsnd_ssi_pio_pointer() argument 1083 rsnd_ssi_dma_probe(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_dma_probe() argument 1106 rsnd_ssi_fallback(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_fallback() argument 1126 rsnd_ssi_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_ssi_dma_req() argument 1169 rsnd_ssi_is_dma_mode(struct rsnd_mod *mod) rsnd_ssi_is_dma_mode() argument 1177 rsnd_ssi_connect(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_connect() argument 1209 struct rsnd_mod *mod; rsnd_parse_connect_ssi() local 1237 __rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod) __rsnd_ssi_is_pin_sharing() argument [all...] |
H A D | src.c | 24 struct rsnd_mod mod; member 35 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) 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_SWRS in rsnd_src_halt() 69 rsnd_src_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_dma_req() argument 80 rsnd_src_convert_rate(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_convert_rate() argument 191 rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_set_convert_rate() argument 347 rsnd_src_irq(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv, int enable) rsnd_src_irq() argument 386 rsnd_src_status_clear(struct rsnd_mod *mod) rsnd_src_status_clear() argument 394 rsnd_src_error_occurred(struct rsnd_mod *mod) rsnd_src_error_occurred() argument 424 rsnd_src_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_start() argument 443 rsnd_src_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_stop() argument 452 rsnd_src_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_init() argument 475 rsnd_src_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_quit() argument 491 __rsnd_src_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) __rsnd_src_interrupt() argument 517 struct rsnd_mod *mod = data; rsnd_src_interrupt() local 524 rsnd_src_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_probe_() argument 552 rsnd_src_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_src_pcm_new() argument [all...] |
H A 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() 76 struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod); in rsnd_dvc_volume_parameter() 73 rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_parameter() argument 93 rsnd_dvc_volume_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_init() argument 143 rsnd_dvc_volume_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_update() argument 178 rsnd_dvc_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_probe_() argument 185 rsnd_dvc_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_init() argument 204 rsnd_dvc_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_quit() argument 215 rsnd_dvc_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_dvc_pcm_new() argument 283 rsnd_dvc_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_dma_req() argument [all...] |
H A 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() 87 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_mix_volume_parameter() 84 rsnd_mix_volume_parameter(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_parameter() argument 104 rsnd_mix_volume_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_init() argument 125 rsnd_mix_volume_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_update() argument 138 rsnd_mix_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_probe_() argument 145 rsnd_mix_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_init() argument 164 rsnd_mix_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_quit() argument 175 rsnd_mix_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_mix_pcm_new() argument [all...] |
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A 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, struc argument 285 patch_plt(struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) patch_plt() argument 310 module_arch_freeing_init(struct module *mod) module_arch_freeing_init() argument 423 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) module_frob_arch_sections() argument 489 in_init(const struct module *mod, uint64_t addr) in_init() argument 495 in_core(const struct module *mod, uint64_t addr) in_core() argument 501 is_internal(const struct module *mod, uint64_t value) is_internal() argument 510 get_ltoff(struct module *mod, uint64_t value, int *okp) get_ltoff() argument 532 gp_addressable(struct module *mod, uint64_t value) gp_addressable() argument 539 get_plt(struct module *mod, const struct insn *insn, uint64_t value, int *okp) get_plt() argument 585 get_fdesc(struct module *mod, uint64_t value, int *okp) get_fdesc() argument 619 do_reloc(struct module *mod, uint8_t r_type, Elf64_Sym *sym, uint64_t addend, Elf64_Shdr *sec, void *location) do_reloc() argument 790 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument 851 register_unwind_table(struct module *mod) register_unwind_table() argument 908 module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) module_finalize() argument 939 module_arch_cleanup(struct module *mod) module_arch_cleanup() argument 951 dereference_module_function_descriptor(struct module *mod, void *ptr) dereference_module_function_descriptor() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
H A D | src.c | 33 struct rsnd_mod mod; member 44 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) 47 container_of((_mod), struct rsnd_src, mod) 66 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() argument 68 rsnd_mod_write(mod, SRC_SWRSR, 0); in rsnd_src_activation() 69 rsnd_mod_write(mod, SRC_SWRSR, 1); in rsnd_src_activation() 72 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() argument 74 rsnd_mod_write(mod, SRC_SRCIR, 1); in rsnd_src_halt() 75 rsnd_mod_write(mod, SRC_SWRS in rsnd_src_halt() 78 rsnd_src_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_dma_req() argument 89 rsnd_src_convert_rate(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_convert_rate() argument 200 rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_set_convert_rate() argument 356 rsnd_src_irq(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv, int enable) rsnd_src_irq() argument 395 rsnd_src_status_clear(struct rsnd_mod *mod) rsnd_src_status_clear() argument 403 rsnd_src_error_occurred(struct rsnd_mod *mod) rsnd_src_error_occurred() argument 433 rsnd_src_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_start() argument 452 rsnd_src_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_stop() argument 461 rsnd_src_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_init() argument 484 rsnd_src_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_quit() argument 500 __rsnd_src_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) __rsnd_src_interrupt() argument 526 struct rsnd_mod *mod = data; rsnd_src_interrupt() local 533 rsnd_src_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_src_probe_() argument 561 rsnd_src_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_src_pcm_new() argument 604 rsnd_src_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_src_debug_info() argument [all...] |
H A 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) \ 115 (rsnd_ssi_multi_secondaries(io) & (1 << rsnd_mod_id(mod))) 116 #define rsnd_ssi_is_run_mods(mod, io) \ 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)) 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() 137 rsnd_ssi_status_clear(struct rsnd_mod *mod) rsnd_ssi_status_clear() argument 142 rsnd_ssi_status_get(struct rsnd_mod *mod) rsnd_ssi_status_get() argument 147 rsnd_ssi_status_check(struct rsnd_mod *mod, u32 bit) rsnd_ssi_status_check() argument 177 struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]); rsnd_ssi_multi_secondaries() local 264 rsnd_ssi_master_clk_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_master_clk_start() argument 341 rsnd_ssi_master_clk_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_master_clk_stop() argument 363 rsnd_ssi_config_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_config_init() argument 456 rsnd_ssi_register_setup(struct rsnd_mod *mod) rsnd_ssi_register_setup() argument 470 rsnd_ssi_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_init() argument 500 rsnd_ssi_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_quit() argument 530 rsnd_ssi_hw_params(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) rsnd_ssi_hw_params() argument 549 rsnd_ssi_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_start() argument 582 rsnd_ssi_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_stop() argument 626 rsnd_ssi_irq(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv, int enable) rsnd_ssi_irq() argument 670 __rsnd_ssi_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) __rsnd_ssi_interrupt() argument 716 struct rsnd_mod *mod = data; rsnd_ssi_interrupt() local 723 rsnd_ssi_get_status(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) rsnd_ssi_get_status() argument 761 rsnd_ssi_parent_attach(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_parent_attach() argument 791 rsnd_ssi_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_ssi_pcm_new() argument 805 rsnd_ssi_common_probe(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_common_probe() argument 848 rsnd_ssi_common_remove(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_common_remove() argument 872 rsnd_ssi_pio_interrupt(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_pio_interrupt() argument 915 rsnd_ssi_pio_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_pio_init() argument 933 rsnd_ssi_pio_pointer(struct rsnd_mod *mod, struct rsnd_dai_stream *io, snd_pcm_uframes_t *pointer) rsnd_ssi_pio_pointer() argument 960 rsnd_ssi_dma_probe(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_dma_probe() argument 983 rsnd_ssi_fallback(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssi_fallback() argument 1003 rsnd_ssi_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_ssi_dma_req() argument 1031 rsnd_ssi_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_ssi_debug_info() argument 1075 rsnd_ssi_is_dma_mode(struct rsnd_mod *mod) rsnd_ssi_is_dma_mode() argument 1083 rsnd_ssi_connect(struct rsnd_mod *mod, struct rsnd_dai_stream *io) rsnd_ssi_connect() argument 1124 struct rsnd_mod *mod; rsnd_parse_connect_ssi() local 1152 __rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod) __rsnd_ssi_is_pin_sharing() argument [all...] |
H A 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() 76 struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod); in rsnd_dvc_volume_parameter() 73 rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_parameter() argument 93 rsnd_dvc_volume_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_init() argument 143 rsnd_dvc_volume_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_volume_update() argument 178 rsnd_dvc_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_probe_() argument 185 rsnd_dvc_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_init() argument 204 rsnd_dvc_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_dvc_quit() argument 215 rsnd_dvc_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_dvc_pcm_new() argument 283 rsnd_dvc_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_dma_req() argument 293 rsnd_dvc_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_dvc_debug_info() argument [all...] |
H A 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) 51 #define rsnd_ssiu_busif_err_irq_disable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 0) 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, re in rsnd_ssiu_busif_err_irq_ctrl() 88 rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) rsnd_ssiu_busif_err_status_clear() argument 132 rsnd_ssiu_get_status(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) rsnd_ssiu_get_status() argument 142 rsnd_ssiu_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssiu_init() argument 226 rsnd_ssiu_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssiu_quit() argument 243 rsnd_ssiu_init_gen2(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssiu_init_gen2() argument 333 rsnd_ssiu_start_gen2(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssiu_start_gen2() argument 350 rsnd_ssiu_stop_gen2(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_ssiu_stop_gen2() argument 371 rsnd_ssiu_id(struct rsnd_mod *mod) rsnd_ssiu_id() argument 379 rsnd_ssiu_id_sub(struct rsnd_mod *mod) rsnd_ssiu_id_sub() argument 387 rsnd_ssiu_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_ssiu_dma_req() argument 412 rsnd_ssiu_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_ssiu_debug_info() argument 458 struct rsnd_mod *mod = rsnd_mod_get(ssiu); rsnd_parse_connect_ssiu_compatible() local 485 struct rsnd_mod *mod; rsnd_parse_connect_ssiu() local [all...] |
H A 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() 87 struct rsnd_priv *priv = rsnd_mod_to_priv(mod); in rsnd_mix_volume_parameter() 84 rsnd_mix_volume_parameter(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_parameter() argument 104 rsnd_mix_volume_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_init() argument 125 rsnd_mix_volume_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_volume_update() argument 138 rsnd_mix_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_probe_() argument 145 rsnd_mix_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_init() argument 164 rsnd_mix_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) rsnd_mix_quit() argument 175 rsnd_mix_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) rsnd_mix_pcm_new() argument 258 rsnd_mix_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) rsnd_mix_debug_info() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/ |
H A 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 [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A 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 in ttl_set_value() 108 ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) ttl_write_reg() argument 114 ttl_setup_device(struct ttl_module *mod) ttl_setup_device() argument 143 struct ttl_module *mod; ttl_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A 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 in ttl_set_value() 108 ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) ttl_write_reg() argument 114 ttl_setup_device(struct ttl_module *mod) ttl_setup_device() argument 143 struct ttl_module *mod; ttl_probe() local [all...] |
/kernel/linux/common_modules/pac/include/ |
H A D | pointer_auth_common.h | 11 #define pauth_sign(type, key, addr, mod) \ 12 pauth_common(pac, type, key, addr, mod) 14 #define pauth_validate(type, key, addr, mod) \ 15 pauth_common(aut, type, key, addr, mod) 25 #define pauth_hash(addr, mod) ((unsigned int) (pauth_pacga(addr, mod) >> 32)) 27 #define pauth_common(prefix, type, key, addr, mod) \ 30 unsigned long __mod = (unsigned long)(mod); \ 32 if (__builtin_constant_p(mod) && (__mod == 0)) \ 48 #define pauth_sign_function(fun, mod, ke [all...] |
/kernel/linux/linux-6.6/net/can/ |
H A 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 173 mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_and_fddata() argument 181 mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_or_fddata() argument 189 mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_xor_fddata() argument 197 mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_set_fddata() argument 237 mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) mod_and_ccdlc() argument 244 mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) mod_or_ccdlc() argument 251 mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) mod_xor_ccdlc() argument 258 mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) mod_set_ccdlc() argument 800 cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, u8 gwtype, void *gwtypeattr, u8 *limhops) cgw_parse_attr() argument 1062 struct cf_mod mod; cgw_create_job() local 1182 struct cf_mod mod; cgw_remove_job() local [all...] |
/kernel/linux/linux-5.10/net/can/ |
H A 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 173 mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_and_fddata() argument 181 mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_or_fddata() argument 189 mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_xor_fddata() argument 197 mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) mod_set_fddata() argument 732 cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, u8 gwtype, void *gwtypeattr, u8 *limhops) cgw_parse_attr() argument 994 struct cf_mod mod; cgw_create_job() local 1108 struct cf_mod mod; cgw_remove_job() local [all...] |