Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 2839) sorted by relevance

12345678910>>...114

/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbna.h122 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument
124 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument
126 #define xxx_enable(mode, bitmask, xxx) \ argument
132 #define xxx_disable(mode, bitmask, xxx) \ argument
138 #define xxx_inactive(mode, bitmask, xxx) \ argument
144 #define is_promisc_enable(mode, bitmask) \ argument
147 #define is_promisc_disable(mode, bitmask) \ argument
150 #define promisc_enable(mode, bitmask) \ argument
153 #define promisc_disable(mode, bitmask) \ argument
156 #define promisc_inactive(mode, bitmask) \ argument
[all …]
/Linux-v4.19/lib/xz/
Dxz_private.h67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument
69 # define DEC_IS_SINGLE(mode) (false) argument
73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument
75 # define DEC_IS_PREALLOC(mode) (false) argument
79 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument
81 # define DEC_IS_DYNALLOC(mode) (false) argument
85 # define DEC_IS_MULTI(mode) (true) argument
87 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument
89 # define DEC_IS_MULTI(mode) (false) argument
/Linux-v4.19/include/linux/
Dproc_fs.h34 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
36 #define proc_create_seq(name, mode, parent, ops) \ argument
41 #define proc_create_single(name, mode, parent, show) \ argument
61 #define proc_create_net(name, mode, parent, state_size, ops) \ argument
93 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data()
95 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode()
96 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument
97 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument
98 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument
99 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument
[all …]
Ddebugfs.h169 static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file()
177 umode_t mode, struct dentry *parent, in debugfs_create_file_unsafe()
184 static inline struct dentry *debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size()
248 static inline struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
255 static inline struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
262 static inline struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
269 static inline struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
277 umode_t mode, in debugfs_create_ulong()
284 static inline struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
291 static inline struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
[all …]
Dwait_bit.h71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit()
96 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io()
122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout()
151 unsigned mode) in wait_on_bit_action()
179 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock()
203 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io()
230 unsigned mode) in wait_on_bit_lock_action()
Dphylink.h27 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband()
229 #define __phylink_do_bit(op, bm, mode) \ argument
232 #define phylink_set(bm, mode) __phylink_do_bit(__set_bit, bm, mode) argument
233 #define phylink_clear(bm, mode) __phylink_do_bit(__clear_bit, bm, mode) argument
234 #define phylink_test(bm, mode) __phylink_do_bit(test_bit, bm, mode) argument
/Linux-v4.19/kernel/sched/
Dwait_bit.c20 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function()
41 wait_bit_action_f *action, unsigned mode) in __wait_on_bit()
58 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit()
69 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout()
82 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock()
111 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock()
159 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function()
195 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait()
205 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io()
215 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout()
[all …]
Dwait.c65 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common()
109 static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock()
142 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up()
152 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked()
158 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
165 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark()
188 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key()
206 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive) in __wake_up_sync()
373 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
409 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Deeprom.c41 unsigned int mode) in ath5k_eeprom_bin2freq()
190 unsigned int mode) in ath5k_eeprom_read_ants()
250 unsigned int mode) in ath5k_eeprom_read_modes()
471 unsigned int mode; in ath5k_eeprom_init_modes() local
511 struct ath5k_chan_pcal_info *pc, unsigned int mode) in ath5k_eeprom_read_freq_list()
601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413()
667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) in ath5k_eeprom_free_pcal_info()
714 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5111()
793 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) in ath5k_eeprom_read_pcal_info_5111()
902 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5112()
[all …]
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dchip.c1374 int mode, u64 value) in read_write_csr()
1394 void *context, int vl, int mode, u64 data) in dev_access_u32_csr()
1411 void *context, int idx, int mode, u64 data) in access_sde_err_cnt()
1421 void *context, int idx, int mode, u64 data) in access_sde_int_cnt()
1431 void *context, int idx, int mode, u64 data) in access_sde_idle_int_cnt()
1441 void *context, int idx, int mode, in access_sde_progress_int_cnt()
1452 int vl, int mode, u64 data) in dev_access_u64_csr()
1473 int vl, int mode, u64 data) in dc_access_lcb_cntr()
1497 int vl, int mode, u64 data) in port_access_u32_csr()
1507 void *context, int vl, int mode, u64 data) in port_access_u64_csr()
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c105 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, in cvmx_spi_start_interface()
150 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_restart_interface()
195 int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode) in cvmx_spi_reset_cb()
311 int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, in cvmx_spi_calendar_setup_cb()
430 int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_clock_detect_cb()
508 int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_training_cb()
577 int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_calendar_sync_cb()
633 int cvmx_spi_interface_up_cb(int interface, cvmx_spi_mode_t mode) in cvmx_spi_interface_up_cb()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_modes.c50 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline()
90 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy()
111 struct drm_display_mode *mode) in drm_mode_probed_add()
736 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name()
754 int drm_mode_hsync(const struct drm_display_mode *mode) in drm_mode_hsync()
780 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh()
814 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing()
935 const struct drm_display_mode *mode) in drm_mode_duplicate()
1106 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic()
1149 const struct drm_display_mode *mode) in drm_mode_validate_driver()
[all …]
Ddrm_probe_helper.c69 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag()
88 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline()
141 struct drm_display_mode *mode; in drm_helper_probe_add_cmdline_mode() local
172 const struct drm_display_mode *mode) in drm_crtc_mode_valid()
183 const struct drm_display_mode *mode) in drm_encoder_mode_valid()
195 struct drm_display_mode *mode) in drm_connector_mode_valid()
391 struct drm_display_mode *mode; in drm_helper_probe_single_connector_modes() local
/Linux-v4.19/drivers/soc/fsl/qe/
Ducc.c124 enum comm_dir mode) in ucc_set_qe_mux_rxtx()
493 static int ucc_get_tdm_rxtx_clk(enum comm_dir mode, u32 tdm_num, in ucc_get_tdm_rxtx_clk()
508 static u32 ucc_get_tdm_clk_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_clk_shift()
522 enum comm_dir mode) in ucc_set_tdm_rxtx_clk()
554 enum comm_dir mode) in ucc_get_tdm_sync_source()
625 static u32 ucc_get_tdm_sync_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_sync_shift()
636 enum comm_dir mode) in ucc_set_tdm_rxtx_sync()
/Linux-v4.19/fs/
Dopen.c228 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate()
325 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate()
337 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
347 long do_faccessat(int dfd, const char __user *filename, int mode) in do_faccessat()
423 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
428 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
524 static int chmod_common(const struct path *path, umode_t mode) in chmod_common()
553 int ksys_fchmod(unsigned int fd, umode_t mode) in ksys_fchmod()
566 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
571 int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat()
[all …]
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-tvaudio.c122 static void set_audio_start(struct cx88_core *core, u32 mode) in set_audio_start()
172 u32 mode) in set_audio_standard_BTSC()
281 static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode) in set_audio_standard_NICAM()
382 static void set_audio_standard_A2(struct cx88_core *core, u32 mode) in set_audio_standard_A2()
823 u32 reg, mode, pilot; in cx88_get_stereo() local
890 void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual) in cx88_set_stereo()
1000 u32 mode = 0; in cx88_audio_thread() local
/Linux-v4.19/Documentation/dev-tools/
Dcoccinelle.rst333 Example
373 Example
419 Example
456 Example
/Linux-v4.19/drivers/gpu/drm/tinydrm/core/
Dtinydrm-pipe.c18 struct drm_display_mode mode; member
30 struct drm_display_mode *mode; in tinydrm_connector_get_modes() local
84 const struct drm_display_mode *mode, in tinydrm_connector_create()
141 static int tinydrm_rotate_mode(struct drm_display_mode *mode, in tinydrm_rotate_mode()
180 const struct drm_display_mode *mode, in tinydrm_display_pipe_init()
/Linux-v4.19/fs/debugfs/
Dfile.c348 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
404 struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
450 struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
496 struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
543 struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
592 struct dentry *debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong()
638 struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
656 struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
674 struct dentry *debugfs_create_x32(const char *name, umode_t mode, in debugfs_create_x32()
692 struct dentry *debugfs_create_x64(const char *name, umode_t mode, in debugfs_create_x64()
[all …]
/Linux-v4.19/arch/x86/entry/vdso/
Dvclock_gettime.c103 static notrace u64 vread_pvclock(int *mode) in vread_pvclock()
153 static notrace u64 vread_hvclock(int *mode) in vread_hvclock()
187 notrace static inline u64 vgetsns(int *mode) in vgetsns()
213 int mode; in do_realtime() local
234 int mode; in do_monotonic() local
/Linux-v4.19/arch/x86/kvm/
Dpage_track.c57 static inline bool page_track_mode_is_valid(enum kvm_page_track_mode mode) in page_track_mode_is_valid()
66 enum kvm_page_track_mode mode, short count) in update_gfn_track()
94 enum kvm_page_track_mode mode) in kvm_slot_page_track_add_page()
129 enum kvm_page_track_mode mode) in kvm_slot_page_track_remove_page()
148 enum kvm_page_track_mode mode) in kvm_page_track_is_active()
/Linux-v4.19/arch/arm/mach-omap2/
Dcommon.h153 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) in omap2xxx_restart()
161 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart()
169 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart()
177 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart()
186 static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart()
/Linux-v4.19/usr/
Dgen_init_cpio.c104 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink()
138 unsigned int mode; in cpio_mkslink_line() local
152 static int cpio_mkgeneric(const char *name, unsigned int mode, in cpio_mkgeneric()
188 mode_t mode; member
209 unsigned int mode; in cpio_mkgeneric_line() local
240 static int cpio_mknod(const char *name, unsigned int mode, in cpio_mknod()
277 unsigned int mode; in cpio_mknod_line() local
296 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile()
405 unsigned int mode; in cpio_mkfile_line() local
/Linux-v4.19/drivers/crypto/nx/
Dnx.c500 static bool nx_check_prop(struct device *dev, u32 fc, u32 mode, int slot) in nx_check_prop()
515 static bool nx_check_props(struct device *dev, u32 fc, u32 mode) in nx_check_props()
526 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg()
532 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
538 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash()
546 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg()
552 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
558 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
666 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
/Linux-v4.19/drivers/video/fbdev/core/
Dmodedb.c600 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode()
903 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode()
948 const struct fb_videomode *mode) in fb_videomode_to_var()
1013 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local
1046 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode()
1091 struct fb_videomode *m, mode; in fb_match_mode() local
1111 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode()
1146 void fb_delete_videomode(const struct fb_videomode *mode, in fb_delete_videomode()

12345678910>>...114