/Linux-v5.4/drivers/gpu/drm/selftests/ |
D | test-drm_cmdline_parser.c | 22 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_e_only() local 42 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_not_digital() local 66 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_hdmi() local 90 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_dvi() local 110 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_d_only() local 130 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_margin_only() local 141 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_interlace_only() local 152 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res() local 176 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res_missing_x() local 187 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res_missing_y() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 114 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument 116 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument 118 #define xxx_enable(mode, bitmask, xxx) \ argument 124 #define xxx_disable(mode, bitmask, xxx) \ argument 130 #define xxx_inactive(mode, bitmask, xxx) \ argument 136 #define is_promisc_enable(mode, bitmask) \ argument 139 #define is_promisc_disable(mode, bitmask) \ argument 142 #define promisc_enable(mode, bitmask) \ argument 145 #define promisc_disable(mode, bitmask) \ argument 148 #define promisc_inactive(mode, bitmask) \ argument [all …]
|
/Linux-v5.4/lib/xz/ |
D | xz_private.h | 67 # 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-v5.4/include/linux/ |
D | proc_fs.h | 34 #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 103 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data() 105 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode() 106 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument 107 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument 108 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument 109 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument [all …]
|
D | debugfs.h | 168 static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file() 176 umode_t mode, struct dentry *parent, in debugfs_create_file_unsafe() 183 static inline struct dentry *debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size() 247 static inline struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8() 254 static inline struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16() 261 static inline struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32() 268 static inline struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64() 276 umode_t mode, in debugfs_create_ulong() 283 static inline struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8() 290 static inline struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16() [all …]
|
D | wait_bit.h | 71 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()
|
/Linux-v5.4/kernel/sched/ |
D | wait_bit.c | 21 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function() 42 wait_bit_action_f *action, unsigned mode) in __wait_on_bit() 59 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit() 70 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout() 83 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock() 112 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock() 160 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function() 196 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() 206 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() 216 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() [all …]
|
D | wait.c | 66 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 110 static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 139 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 149 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() 155 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() 162 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark() 185 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key() 203 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive) in __wake_up_sync() 370 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function() 406 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 41 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-v5.4/drivers/infiniband/hw/hfi1/ |
D | chip.c | 1374 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-v5.4/sound/soc/codecs/ |
D | wcd-clsh-v2.c | 14 int mode; member 127 int mode) in wcd_clsh_set_buck_mode() 141 int mode) in wcd_clsh_set_flyback_mode() 155 int mode, in wcd_clsh_buck_ctrl() 174 int mode, in wcd_clsh_flyback_ctrl() 195 static void wcd_clsh_set_gain_path(struct wcd_clsh_ctrl *ctrl, int mode) in wcd_clsh_set_gain_path() 223 int mode) in wcd_clsh_set_hph_mode() 268 int mode) in wcd_clsh_set_flyback_current() 280 int mode) in wcd_clsh_set_buck_regulator_mode() 293 bool is_enable, int mode) in wcd_clsh_state_lo() [all …]
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_modes.c | 54 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() 89 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy() 108 struct drm_display_mode *mode) in drm_mode_probed_add() 739 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name() 757 int drm_mode_hsync(const struct drm_display_mode *mode) in drm_mode_hsync() 783 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh() 817 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing() 936 const struct drm_display_mode *mode) in drm_mode_duplicate() 1107 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic() 1150 const struct drm_display_mode *mode) in drm_mode_validate_driver() [all …]
|
D | drm_probe_helper.c | 70 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() 89 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() 142 struct drm_display_mode *mode; in drm_helper_probe_add_cmdline_mode() local 173 const struct drm_display_mode *mode) in drm_crtc_mode_valid() 184 const struct drm_display_mode *mode) in drm_encoder_mode_valid() 196 struct drm_display_mode *mode) in drm_connector_mode_valid() 392 struct drm_display_mode *mode; in drm_helper_probe_single_connector_modes() local
|
/Linux-v5.4/arch/mips/cavium-octeon/executive/ |
D | cvmx-spi.c | 105 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-v5.4/drivers/soc/fsl/qe/ |
D | ucc.c | 120 enum comm_dir mode) in ucc_set_qe_mux_rxtx() 489 static int ucc_get_tdm_rxtx_clk(enum comm_dir mode, u32 tdm_num, in ucc_get_tdm_rxtx_clk() 504 static u32 ucc_get_tdm_clk_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_clk_shift() 518 enum comm_dir mode) in ucc_set_tdm_rxtx_clk() 550 enum comm_dir mode) in ucc_get_tdm_sync_source() 621 static u32 ucc_get_tdm_sync_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_sync_shift() 632 enum comm_dir mode) in ucc_set_tdm_rxtx_sync()
|
/Linux-v5.4/fs/ |
D | open.c | 229 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate() 326 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate() 338 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument 348 long do_faccessat(int dfd, const char __user *filename, int mode) in do_faccessat() 443 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 448 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument 544 static int chmod_common(const struct path *path, umode_t mode) in chmod_common() 573 int ksys_fchmod(unsigned int fd, umode_t mode) in ksys_fchmod() 586 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument 591 int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat() [all …]
|
/Linux-v5.4/drivers/media/pci/cx88/ |
D | cx88-tvaudio.c | 113 static void set_audio_start(struct cx88_core *core, u32 mode) in set_audio_start() 163 u32 mode) in set_audio_standard_BTSC() 272 static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode) in set_audio_standard_NICAM() 373 static void set_audio_standard_A2(struct cx88_core *core, u32 mode) in set_audio_standard_A2() 814 u32 reg, mode, pilot; in cx88_get_stereo() local 881 void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual) in cx88_set_stereo() 991 u32 mode = 0; in cx88_audio_thread() local
|
/Linux-v5.4/Documentation/dev-tools/ |
D | coccinelle.rst | 350 Example 390 Example 436 Example 473 Example
|
/Linux-v5.4/drivers/phy/marvell/ |
D | phy-mvebu-a3700-comphy.c | 51 #define COMPHY_FW_MODE(mode) ((mode) << 12) argument 52 #define COMPHY_FW_NET(mode, idx, speed) (COMPHY_FW_MODE(mode) | \ argument 55 #define COMPHY_FW_PCIE(mode, idx, speed, width) (COMPHY_FW_NET(mode, idx, speed) | \ argument 60 enum phy_mode mode; member 106 enum phy_mode mode; member 112 unsigned long mode) in mvebu_a3700_comphy_smc() 122 enum phy_mode mode, in mvebu_a3700_comphy_get_fw_mode() 145 static int mvebu_a3700_comphy_set_mode(struct phy *phy, enum phy_mode mode, in mvebu_a3700_comphy_set_mode()
|
/Linux-v5.4/fs/debugfs/ |
D | file.c | 378 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe() 433 struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8() 478 struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16() 523 struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32() 569 struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64() 617 struct dentry *debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong() 663 struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8() 681 struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16() 699 struct dentry *debugfs_create_x32(const char *name, umode_t mode, in debugfs_create_x32() 717 struct dentry *debugfs_create_x64(const char *name, umode_t mode, in debugfs_create_x64() [all …]
|
/Linux-v5.4/drivers/video/fbdev/core/ |
D | modedb.c | 543 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode() 846 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode() 894 const struct fb_videomode *mode) in fb_videomode_to_var() 959 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local 992 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode() 1037 struct fb_videomode *m, mode; in fb_match_mode() local 1057 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode() 1092 void fb_delete_videomode(const struct fb_videomode *mode, in fb_delete_videomode()
|
/Linux-v5.4/kernel/time/ |
D | hrtimer.c | 414 enum hrtimer_mode mode) in debug_hrtimer_activate() 433 enum hrtimer_mode mode) in hrtimer_init_on_stack() 444 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() 461 enum hrtimer_mode mode) { } in debug_hrtimer_activate() 467 enum hrtimer_mode mode) in debug_init() 474 enum hrtimer_mode mode) in debug_activate() 963 enum hrtimer_mode mode) in enqueue_hrtimer() 1041 const enum hrtimer_mode mode) in hrtimer_update_lowres() 1082 u64 delta_ns, const enum hrtimer_mode mode, in __hrtimer_start_range_ns() 1113 u64 delta_ns, const enum hrtimer_mode mode) in hrtimer_start_range_ns() [all …]
|
/Linux-v5.4/usr/ |
D | gen_init_cpio.c | 104 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-v5.4/drivers/crypto/nx/ |
D | nx.c | 488 static bool nx_check_prop(struct device *dev, u32 fc, u32 mode, int slot) in nx_check_prop() 503 static bool nx_check_props(struct device *dev, u32 fc, u32 mode) in nx_check_props() 514 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg() 520 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() 526 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() 534 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg() 540 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() 546 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash() 652 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
|
/Linux-v5.4/arch/x86/kvm/ |
D | page_track.c | 55 static inline bool page_track_mode_is_valid(enum kvm_page_track_mode mode) in page_track_mode_is_valid() 64 enum kvm_page_track_mode mode, short count) in update_gfn_track() 92 enum kvm_page_track_mode mode) in kvm_slot_page_track_add_page() 127 enum kvm_page_track_mode mode) in kvm_slot_page_track_remove_page() 146 enum kvm_page_track_mode mode) in kvm_page_track_is_active()
|