| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_cmdline_parser_test.c | 17 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local 35 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_not_digital() local 57 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_hdmi() local 79 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_D_only_dvi() local 97 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_d_only() local 115 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res() local 137 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_vesa() local 159 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_vesa_rblank() local 181 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_res_rblank() local 203 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 76 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local 100 struct drm_display_mode *mode; in drm_test_modes_analog_tv_pal_576i() local 134 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local 158 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 | 65 static bool is_kasan_populate_mode(enum populate_mode mode) in is_kasan_populate_mode() 87 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() 139 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 150 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 161 unsigned long end, enum populate_mode mode) in kasan_pud_populate_zero_shadow() 172 unsigned long end, enum populate_mode mode) in kasan_pmd_populate_zero_shadow() 182 static bool kasan_pte_populate_zero_shadow(pte_t *pte, enum populate_mode mode) in kasan_pte_populate_zero_shadow() 197 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 203 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 209 unsigned long end, enum populate_mode mode) in kasan_pud_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/include/linux/ |
| H A D | debugfs.h | 125 #define debugfs_create_file(name, mode, parent, data, fops) \ argument 133 #define debugfs_create_file_aux(name, mode, parent, data, aux, fops) \ argument 272 umode_t mode, struct dentry *parent, in debugfs_create_file_aux() 279 static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file() 287 umode_t mode, struct dentry *parent, in debugfs_create_file_unsafe() 294 static inline void debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size() 367 static inline void debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8() 370 static inline void debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16() 373 static inline void debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32() 376 static inline void debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64() [all …]
|
| /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/drivers/infiniband/hw/hfi1/ |
| H A D | chip.c | 1351 int mode, u64 value) in read_write_csr() 1371 void *context, int vl, int mode, u64 data) in dev_access_u32_csr() 1388 void *context, int idx, int mode, u64 data) in access_sde_err_cnt() 1398 void *context, int idx, int mode, u64 data) in access_sde_int_cnt() 1408 void *context, int idx, int mode, u64 data) in access_sde_idle_int_cnt() 1418 void *context, int idx, int mode, in access_sde_progress_int_cnt() 1429 int vl, int mode, u64 data) in dev_access_u64_csr() 1450 int vl, int mode, u64 data) in dc_access_lcb_cntr() 1475 int vl, int mode, u64 data) in port_access_u32_csr() 1485 void *context, int vl, int mode, u64 data) in port_access_u64_csr() [all …]
|
| /linux/kernel/sched/ |
| H A D | wait_bit.c | 24 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function() 45 wait_bit_action_f *action, unsigned mode) in __wait_on_bit() 62 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit() 73 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout() 86 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock() 115 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock() 171 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function() 238 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() 248 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() 258 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout()
|
| H A D | wait.c | 92 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() 118 static int __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock() 143 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() 150 void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_on_current_cpu() 158 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked() 164 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key() 186 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key() 213 unsigned int mode, void *key) in __wake_up_locked_sync_key() 222 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync() 401 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() 1287 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh() 1320 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing() 1458 const struct drm_display_mode *mode) in drm_mode_duplicate() 1629 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic() [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/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() 49 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags() 81 static int check_multiple_included_tags(int mem_type, int mode) in check_multiple_included_tags() 113 static int check_all_included_tags(int mem_type, int mode) in check_all_included_tags() 139 static int check_none_included_tags(int mem_type, int mode) in check_none_included_tags()
|
| H A D | check_buffer_fill.c | 28 static int check_buffer_by_byte(int mem_type, int mode) in check_buffer_by_byte() 63 static int check_buffer_underflow_by_byte(int mem_type, int mode, in check_buffer_underflow_by_byte() 158 static int check_buffer_overflow_by_byte(int mem_type, int mode, in check_buffer_overflow_by_byte() 261 static int check_buffer_by_block_iterate(int mem_type, int mode, size_t size) in check_buffer_by_block_iterate() 336 static int check_buffer_by_block(int mem_type, int mode) in check_buffer_by_block() 365 static int check_memory_initial_tags(int mem_type, int mode, int mapping) in check_memory_initial_tags()
|
| H A D | check_hugetlb_options.c | 94 static int check_child_tag_inheritance(char *ptr, int size, int mode) in check_child_tag_inheritance() 135 static int check_mte_memory(char *ptr, int size, int mode, int tag_check) in check_mte_memory() 146 static int check_hugetlb_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_hugetlb_memory_mapping() 176 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag() 205 static int check_child_hugetlb_memory_mapping(int mem_type, int mode, int mapping) in check_child_hugetlb_memory_mapping()
|
| /linux/fs/ |
| H A D | open.c | 254 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate() 359 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate() 369 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument 375 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6() argument 467 static int do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() 539 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 544 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 550 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument 631 int chmod_common(const struct path *path, umode_t mode) in chmod_common() 664 int vfs_fchmod(struct file *file, umode_t mode) in vfs_fchmod() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | fcntl.h | 22 int sys_openat(int dirfd, const char *path, int flags, mode_t mode) in sys_openat() 30 mode_t mode = 0; in openat() local 48 int sys_open(const char *path, int flags, mode_t mode) in sys_open() 56 mode_t mode = 0; in open() local
|
| /linux/fs/debugfs/ |
| H A D | file.c | 62 static int __debugfs_file_get(struct dentry *dentry, enum dbgfs_get_mode mode) in __debugfs_file_get() 560 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe() 606 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8() 642 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16() 678 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32() 715 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64() 754 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong() 799 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8() 817 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16() 835 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32() [all …]
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-locking.c | 56 unsigned long mode; in FIXTURE_VARIANT() local 103 unsigned long mode; in TEST_F() local 126 unsigned long mode; in TEST_F() local 146 unsigned long mode; in TEST_F() local 181 unsigned long mode; in main() local
|
| /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/drivers/crypto/qce/ |
| H A D | common.h | 74 #define IS_CBC(mode) (mode & QCE_MODE_CBC) argument 75 #define IS_ECB(mode) (mode & QCE_MODE_ECB) argument 76 #define IS_CTR(mode) (mode & QCE_MODE_CTR) argument 77 #define IS_XTS(mode) (mode & QCE_MODE_XTS) argument 78 #define IS_CCM(mode) (mode & QCE_MODE_CCM) argument 79 #define IS_CCM_RFC4309(mode) ((mode) & QCE_MODE_CCM_RFC4309) argument
|
| /linux/arch/arm/mach-omap2/ |
| H A D | common.h | 136 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) in omap2xxx_restart() 144 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart() 152 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart() 160 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart() 169 static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart()
|