Home
last modified time | relevance | path

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

1234

/linux-4.19.296/drivers/gpio/
Dgpio-janz-ttl.c63 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local
68 shadow = &mod->porta_shadow; in ttl_get_value()
70 shadow = &mod->portb_shadow; in ttl_get_value()
73 shadow = &mod->portc_shadow; in ttl_get_value()
77 spin_lock(&mod->lock); in ttl_get_value()
79 spin_unlock(&mod->lock); in ttl_get_value()
85 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local
90 port = &mod->regs->porta; in ttl_set_value()
91 shadow = &mod->porta_shadow; in ttl_set_value()
93 port = &mod->regs->portb; in ttl_set_value()
[all …]
/linux-4.19.296/include/trace/events/
Dmodule.h33 TP_PROTO(struct module *mod),
35 TP_ARGS(mod),
39 __string( name, mod->name )
43 __entry->taints = mod->taints;
44 __assign_str(name, mod->name);
52 TP_PROTO(struct module *mod),
54 TP_ARGS(mod),
57 __string( name, mod->name )
61 __assign_str(name, mod->name);
72 TP_PROTO(struct module *mod, unsigned long ip),
[all …]
/linux-4.19.296/lib/
Dbug.c68 struct module *mod; in module_find_bug() local
72 list_for_each_entry_rcu(mod, &module_bug_list, bug_list) { in module_find_bug()
75 bug = mod->bug_table; in module_find_bug()
76 for (i = 0; i < mod->num_bugs; ++i, ++bug) in module_find_bug()
88 struct module *mod) in module_bug_finalize() argument
95 mod->bug_table = NULL; in module_bug_finalize()
96 mod->num_bugs = 0; in module_bug_finalize()
103 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize()
104 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize()
115 list_add_rcu(&mod->bug_list, &module_bug_list); in module_bug_finalize()
[all …]
Derror-inject.c101 static void module_load_ei_list(struct module *mod) in module_load_ei_list() argument
103 if (!mod->num_ei_funcs) in module_load_ei_list()
106 populate_error_injection_list(mod->ei_funcs, in module_load_ei_list()
107 mod->ei_funcs + mod->num_ei_funcs, mod); in module_load_ei_list()
110 static void module_unload_ei_list(struct module *mod) in module_unload_ei_list() argument
114 if (!mod->num_ei_funcs) in module_unload_ei_list()
119 if (ent->priv == mod) { in module_unload_ei_list()
131 struct module *mod = data; in ei_module_callback() local
134 module_load_ei_list(mod); in ei_module_callback()
136 module_unload_ei_list(mod); in ei_module_callback()
Donce.c25 static void once_disable_jump(struct static_key_true *key, struct module *mod) in once_disable_jump() argument
35 w->module = mod; in once_disable_jump()
36 __module_get(mod); in once_disable_jump()
61 unsigned long *flags, struct module *mod) in __do_once_done() argument
66 once_disable_jump(once_key, mod); in __do_once_done()
91 struct module *mod) in __do_once_slow_done() argument
96 once_disable_jump(once_key, mod); in __do_once_slow_done()
/linux-4.19.296/include/linux/
Dkmod.h38 #define request_module(mod...) __request_module(true, mod) argument
39 #define request_module_nowait(mod...) __request_module(false, mod) argument
40 #define try_then_request_module(x, mod...) \ argument
41 ((x) ?: (__request_module(true, mod), (x)))
45 #define try_then_request_module(x, mod...) (x) argument
Dmodule.h46 struct module *mod; member
287 struct module *mod; member
496 static inline bool module_is_live(struct module *mod) in module_is_live() argument
498 return mod->state != MODULE_STATE_GOING; in module_is_live()
509 const struct module *mod) in within_module_core() argument
511 return (unsigned long)mod->core_layout.base <= addr && in within_module_core()
512 addr < (unsigned long)mod->core_layout.base + mod->core_layout.size; in within_module_core()
516 const struct module *mod) in within_module_init() argument
518 return (unsigned long)mod->init_layout.base <= addr && in within_module_init()
519 addr < (unsigned long)mod->init_layout.base + mod->init_layout.size; in within_module_init()
[all …]
Dmoduleloader.h20 struct module *mod);
23 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
41 struct module *mod);
64 struct module *mod);
81 struct module *mod);
84 void module_arch_cleanup(struct module *mod);
87 void module_arch_freeing_init(struct module *mod);
Dlivepatch.h130 struct module *mod; member
145 struct module *mod; member
172 int klp_module_coming(struct module *mod);
173 void klp_module_going(struct module *mod);
206 static inline int klp_module_coming(struct module *mod) { return 0; } in klp_module_coming() argument
207 static inline void klp_module_going(struct module *mod) {} in klp_module_going() argument
Dkallsyms.h58 struct module *mod; in dereference_symbol_descriptor() local
65 mod = __module_address((unsigned long)ptr); in dereference_symbol_descriptor()
68 if (mod) in dereference_symbol_descriptor()
69 ptr = dereference_module_function_descriptor(mod, ptr); in dereference_symbol_descriptor()
Dftrace.h174 void ftrace_free_mem(struct module *mod, void *start, void *end);
177 static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } in ftrace_free_mem() argument
239 static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } in ftrace_free_mem() argument
526 extern int ftrace_make_nop(struct module *mod,
588 extern void ftrace_module_init(struct module *mod);
589 extern void ftrace_module_enable(struct module *mod);
590 extern void ftrace_release_mod(struct module *mod);
599 static inline void ftrace_module_init(struct module *mod) { } in ftrace_module_init() argument
600 static inline void ftrace_module_enable(struct module *mod) { } in ftrace_module_enable() argument
601 static inline void ftrace_release_mod(struct module *mod) { } in ftrace_release_mod() argument
Dmoduleparam.h73 struct module *mod; member
238 extern void kernel_param_lock(struct module *mod);
239 extern void kernel_param_unlock(struct module *mod);
241 static inline void kernel_param_lock(struct module *mod) in kernel_param_lock() argument
244 static inline void kernel_param_unlock(struct module *mod) in kernel_param_unlock() argument
521 extern int module_param_sysfs_setup(struct module *mod,
525 extern void module_param_sysfs_remove(struct module *mod);
527 static inline int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup() argument
534 static inline void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove() argument
Dnotifier.h124 #define _SRCU_NOTIFIER_HEAD(name, mod) \ argument
126 mod struct srcu_notifier_head name = \
130 #define _SRCU_NOTIFIER_HEAD(name, mod) \ argument
131 mod struct srcu_notifier_head name = \
Donce.h13 unsigned long *flags, struct module *mod);
18 struct module *mod);
/linux-4.19.296/include/linux/iio/imu/
Dadis.h203 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument
206 .channel2 = IIO_MOD_ ## mod, \
221 #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
222 ADIS_MOD_CHAN(IIO_ACCEL, mod, addr, si, info_sep, info_all, bits)
224 #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
225 ADIS_MOD_CHAN(IIO_ANGL_VEL, mod, addr, si, info_sep, info_all, bits)
227 #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
228 ADIS_MOD_CHAN(IIO_INCLI, mod, addr, si, info_sep, info_all, bits)
230 #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
231 ADIS_MOD_CHAN(IIO_ROT, mod, addr, si, info_sep, info_all, bits)
/linux-4.19.296/lib/mpi/
Dmpi-pow.c37 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() argument
55 msize = mod->nlimbs; in mpi_powm()
57 msign = mod->sign; in mpi_powm()
68 res->nlimbs = (msize == 1 && mod->d[0] == 1) ? 0 : 1; in mpi_powm()
86 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm()
88 mpihelp_lshift(mp, mod->d, msize, mod_shift_cnt); in mpi_powm()
90 MPN_COPY(mp, mod->d, msize); in mpi_powm()
/linux-4.19.296/drivers/irqchip/
Dirq-tb10x.c57 uint32_t im, mod, pol; in tb10x_irq_set_type() local
63 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
71 mod ^= im; in tb10x_irq_set_type()
76 mod ^= im; in tb10x_irq_set_type()
91 ab_irqctl_writereg(gc, AB_IRQCTL_SRC_MODE, mod); in tb10x_irq_set_type()
/linux-4.19.296/fs/btrfs/
Ddir-item.c183 int mod) in btrfs_lookup_dir_item() argument
187 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_item()
188 int cow = mod != 0; in btrfs_lookup_dir_item()
276 int mod) in btrfs_lookup_dir_index_item() argument
280 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_index_item()
281 int cow = mod != 0; in btrfs_lookup_dir_index_item()
347 int mod) in btrfs_lookup_xattr() argument
351 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_xattr()
352 int cow = mod != 0; in btrfs_lookup_xattr()
Dbtrfs_inode.h264 int mod) in btrfs_mod_outstanding_extents() argument
267 inode->outstanding_extents += mod; in btrfs_mod_outstanding_extents()
271 mod); in btrfs_mod_outstanding_extents()
/linux-4.19.296/drivers/base/
Dmodule.c33 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver() argument
42 if (mod) in module_add_driver()
43 mk = &mod->mkobj; in module_add_driver()
/linux-4.19.296/drivers/iio/imu/
Dadis16400_core.c492 #define ADIS16400_GYRO_CHAN(mod, addr, bits) { \ argument
495 .channel2 = IIO_MOD_ ## mod, \
502 .scan_index = ADIS16400_SCAN_GYRO_ ## mod, \
512 #define ADIS16400_ACCEL_CHAN(mod, addr, bits) { \ argument
515 .channel2 = IIO_MOD_ ## mod, \
522 .scan_index = ADIS16400_SCAN_ACC_ ## mod, \
532 #define ADIS16400_MAGN_CHAN(mod, addr, bits) { \ argument
535 .channel2 = IIO_MOD_ ## mod, \
541 .scan_index = ADIS16400_SCAN_MAGN_ ## mod, \
555 #define ADIS16400_MOD_TEMP_CHAN(mod, addr, bits) { \ argument
[all …]
/linux-4.19.296/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c427 struct v4l2_modulator *mod) in fm_v4l2_vidioc_g_modulator() argument
431 if (mod->index != 0) in fm_v4l2_vidioc_g_modulator()
437 mod->txsubchans = ((fmdev->tx_data.aud_mode == FM_STEREO_MODE) ? in fm_v4l2_vidioc_g_modulator()
442 mod->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | in fm_v4l2_vidioc_g_modulator()
450 const struct v4l2_modulator *mod) in fm_v4l2_vidioc_s_modulator() argument
457 if (mod->index != 0) in fm_v4l2_vidioc_s_modulator()
468 aud_mode = (mod->txsubchans & V4L2_TUNER_SUB_STEREO) ? in fm_v4l2_vidioc_s_modulator()
470 rds_mode = (mod->txsubchans & V4L2_TUNER_SUB_RDS) ? in fm_v4l2_vidioc_s_modulator()
/linux-4.19.296/include/linux/mtd/
Dmtd.h493 u32 mod; in mtd_align_erase_req() local
498 mod = mtd_mod_by_eb(req->addr, mtd); in mtd_align_erase_req()
499 if (mod) { in mtd_align_erase_req()
500 req->addr -= mod; in mtd_align_erase_req()
501 req->len += mod; in mtd_align_erase_req()
504 mod = mtd_mod_by_eb(req->addr + req->len, mtd); in mtd_align_erase_req()
505 if (mod) in mtd_align_erase_req()
506 req->len += mtd->erasesize - mod; in mtd_align_erase_req()
/linux-4.19.296/drivers/iio/accel/
Dmma9553.c113 enum iio_modifier mod; member
118 .mod = IIO_NO_MOD,
123 .mod = IIO_MOD_STILL,
128 .mod = IIO_MOD_STILL,
133 .mod = IIO_MOD_WALKING,
138 .mod = IIO_MOD_WALKING,
143 .mod = IIO_MOD_JOGGING,
148 .mod = IIO_MOD_JOGGING,
153 .mod = IIO_MOD_RUNNING,
158 .mod = IIO_MOD_RUNNING,
[all …]
/linux-4.19.296/drivers/misc/cxl/
Dflash.c231 size_t mod, s_copy, len_chunk = 0; in handle_image() local
258 mod = len_chunk % CXL_AI_BUFFER_SIZE; in handle_image()
259 if (mod) in handle_image()
290 if ((i == (entries - 1)) && mod) in handle_image()
291 s_copy = mod; in handle_image()
300 if ((i == (entries - 1)) && mod) in handle_image()
301 le[i].len = cpu_to_be64(mod); in handle_image()

1234