/linux/drivers/gpu/drm/tests/ |
H A D | drm_cmdline_parser_test.c | 16 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local 34 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_not_digital() local 56 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_hdmi() local 78 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_dvi() local 96 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_d_only() local 114 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res() local 136 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_vesa() local 158 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_vesa_rblank() local 180 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_rblank() local 202 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_bpp() local [all …]
|
H A D | drm_modes_test.c | 42 struct drm_display_mode *mode; in drm_test_modes_analog_tv_ntsc_480i() local 72 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local 89 struct drm_display_mode *mode; in drm_test_modes_analog_tv_pal_576i() local 119 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local 136 struct drm_display_mode *mode; in drm_test_modes_analog_tv_mono_576i() local
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A 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/sound/soc/codecs/ |
H A D | wcd-clsh-v2.c | 14 int mode; member 134 int mode) in wcd_clsh_set_buck_mode() 148 int mode) in wcd_clsh_v3_set_buck_mode() 162 int mode) in wcd_clsh_set_flyback_mode() 176 int mode, in wcd_clsh_buck_ctrl() 196 int mode, in wcd_clsh_v3_buck_ctrl() 225 int mode, in wcd_clsh_flyback_ctrl() 246 static void wcd_clsh_set_gain_path(struct wcd_clsh_ctrl *ctrl, int mode) in wcd_clsh_set_gain_path() 273 static void wcd_clsh_v2_set_hph_mode(struct snd_soc_component *comp, int mode) in wcd_clsh_v2_set_hph_mode() 318 int mode) in wcd_clsh_v3_set_hph_mode() [all …]
|
/linux/arch/s390/boot/ |
H A D | vmem.c | 53 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() 110 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 121 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 132 unsigned long end, enum populate_mode mode) in kasan_pud_populate_zero_shadow() 143 unsigned long end, enum populate_mode mode) in kasan_pmd_populate_zero_shadow() 153 static bool kasan_pte_populate_zero_shadow(pte_t *pte, enum populate_mode mode) in kasan_pte_populate_zero_shadow() 168 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 174 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 180 unsigned long end, enum populate_mode mode) in kasan_pud_populate_zero_shadow() 186 unsigned long end, enum populate_mode mode) in kasan_pmd_populate_zero_shadow() [all …]
|
/linux/lib/xz/ |
H A D | xz_private.h | 75 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument 77 # define DEC_IS_SINGLE(mode) (false) argument 81 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument 83 # define DEC_IS_PREALLOC(mode) (false) argument 87 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument 89 # define DEC_IS_DYNALLOC(mode) (false) argument 93 # define DEC_IS_MULTI(mode) (true) argument 95 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument 97 # define DEC_IS_MULTI(mode) (false) argument
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A 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() 796 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) in ath5k_eeprom_read_pcal_info_5111() 905 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5112() [all …]
|
/linux/include/linux/ |
H A D | proc_fs.h | 96 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 98 #define proc_create_seq(name, mode, parent, ops) \ argument 103 #define proc_create_single(name, mode, parent, show) \ argument 132 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 180 static inline struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir() 186 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data() 188 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode() 189 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument 190 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument 191 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument [all …]
|
H A D | debugfs.h | 123 #define debugfs_create_file(name, mode, parent, data, fops) \ argument 262 static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file() 270 umode_t mode, struct dentry *parent, in debugfs_create_file_unsafe() 277 static inline void debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size() 350 static inline void debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8() 353 static inline void debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16() 356 static inline void debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32() 359 static inline void debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64() 362 static inline void debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong() 366 static inline void debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8() [all …]
|
/linux/kernel/sched/ |
H A D | wait.c | 73 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 99 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 124 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 131 void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_on_current_cpu() 139 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() 145 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() 167 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key() 194 unsigned int mode, void *key) in __wake_up_locked_sync_key() 203 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync() 382 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function() [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A 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/drivers/gpu/drm/ |
H A D | drm_modes.c | 58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() 93 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy() 112 struct drm_display_mode *mode) in drm_mode_probed_add() 326 struct drm_display_mode *mode, in fill_analog_mode() 552 struct drm_display_mode *mode; in drm_analog_tv_mode() local 1270 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name() 1288 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh() 1321 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing() 1459 const struct drm_display_mode *mode) in drm_mode_duplicate() 1630 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic() [all …]
|
H A D | drm_probe_helper.c | 71 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() 90 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() 148 struct drm_display_mode *mode; in drm_helper_probe_add_cmdline_mode() local 181 const struct drm_display_mode *mode) in drm_crtc_mode_valid() 192 const struct drm_display_mode *mode) in drm_encoder_mode_valid() 205 struct drm_display_mode *mode, in drm_connector_mode_valid() 448 struct drm_display_mode *mode; in __drm_helper_update_and_validate() local 561 struct drm_display_mode *mode; in drm_helper_probe_single_connector_modes() local 1129 const struct drm_display_mode *mode, in drm_crtc_helper_mode_valid_fixed() 1159 struct drm_display_mode *mode; in drm_connector_helper_get_modes_fixed() local [all …]
|
/linux/fs/ |
H A D | open.c | 240 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate() 344 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate() 354 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument 360 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6() argument 459 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() 531 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 536 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 542 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument 623 int chmod_common(const struct path *path, umode_t mode) in chmod_common() 653 int vfs_fchmod(struct file *file, umode_t mode) in vfs_fchmod() [all …]
|
/linux/drivers/soc/fsl/qe/ |
H A 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/block/ |
H A D | ioctl.c | 119 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() 179 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase() 211 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout() 299 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl() 313 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed() 328 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_register() 346 static int blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_reserve() 364 static int blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_release() 382 static int blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_preempt() 400 static int blkdev_pr_clear(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_clear() [all …]
|
/linux/drivers/media/pci/cx88/ |
H A 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/tools/testing/selftests/arm64/mte/ |
H A D | check_tags_inclusion.c | 22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity() argument 49 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags() argument 81 check_multiple_included_tags(int mem_type,int mode) check_multiple_included_tags() argument 113 check_all_included_tags(int mem_type,int mode) check_all_included_tags() argument 139 check_none_included_tags(int mem_type,int mode) check_none_included_tags() argument [all...] |
H A D | check_buffer_fill.c | 28 static int check_buffer_by_byte(int mem_type, int mode) in check_buffer_by_byte() argument 63 static int check_buffer_underflow_by_byte(int mem_type, int mode, in check_buffer_underflow_by_byte() argument 158 static int check_buffer_overflow_by_byte(int mem_type, int mode, in check_buffer_overflow_by_byte() argument 261 check_buffer_by_block_iterate(int mem_type,int mode,size_t size) check_buffer_by_block_iterate() argument 336 check_buffer_by_block(int mem_type,int mode) check_buffer_by_block() argument 365 check_memory_initial_tags(int mem_type,int mode,int mapping) check_memory_initial_tags() argument [all...] |
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 74 const struct drm_display_mode *mode = &vblank->hwmode; in i915_get_vblank_counter() local 138 const struct drm_display_mode *mode = &vblank->hwmode; in intel_crtc_scanlines_since_frame_timestamp() local 183 const struct drm_display_mode *mode = &vblank->hwmode; in __intel_get_crtc_scanline_from_timestamp() local 241 const struct drm_display_mode *mode = &vblank->hwmode; in __intel_get_crtc_scanline() local 326 const struct drm_display_mode *mode) in i915_get_crtc_scanoutpos() 560 int intel_mode_vdisplay(const struct drm_display_mode *mode) in intel_mode_vdisplay() 570 int intel_mode_vblank_start(const struct drm_display_mode *mode) in intel_mode_vblank_start() 580 int intel_mode_vblank_end(const struct drm_display_mode *mode) in intel_mode_vblank_end() 590 int intel_mode_vtotal(const struct drm_display_mode *mode) in intel_mode_vtotal()
|
/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | 548 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode() 855 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode() 903 const struct fb_videomode *mode) in fb_videomode_to_var() 967 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local 998 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode() 1039 struct fb_videomode *m, mode; in fb_match_mode() local 1058 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode() 1091 void fb_delete_videomode(const struct fb_videomode *mode, in fb_delete_videomode()
|
/linux/fs/ramfs/ |
H A D | inode.c | 45 umode_t mode; member 58 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode() 99 struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod() 123 struct dentry *dentry, umode_t mode) in ramfs_mkdir() 132 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create() 169 struct inode *dir, struct file *file, umode_t mode) in ramfs_tmpfile()
|
/linux/usr/ |
H A D | gen_init_cpio.c | 109 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() 143 unsigned int mode; in cpio_mkslink_line() local 157 static int cpio_mkgeneric(const char *name, unsigned int mode, in cpio_mkgeneric() 193 mode_t mode; member 214 unsigned int mode; in cpio_mkgeneric_line() local 245 static int cpio_mknod(const char *name, unsigned int mode, in cpio_mknod() 282 unsigned int mode; in cpio_mknod_line() local 324 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile() 462 unsigned int mode; in cpio_mkfile_line() local
|
/linux/drivers/crypto/nx/ |
H A D | nx.c | 489 static bool nx_check_prop(struct device *dev, u32 fc, u32 mode, int slot) in nx_check_prop() 504 static bool nx_check_props(struct device *dev, u32 fc, u32 mode) in nx_check_props() 515 static int nx_register_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_register_skcipher() 521 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() 527 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() 535 static void nx_unregister_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_unregister_skcipher() 541 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() 547 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash() 654 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
|
/linux/fs/debugfs/ |
H A D | file.c | 544 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe() 590 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8() 626 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16() 662 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32() 699 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64() 738 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong() 783 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8() 801 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16() 819 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32() 837 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x64() [all …]
|