| /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() argument 148 int mode) in wcd_clsh_v3_set_buck_mode() argument 162 int mode) in wcd_clsh_set_flyback_mode() argument 176 wcd_clsh_buck_ctrl(struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_buck_ctrl() argument 196 wcd_clsh_v3_buck_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_buck_ctrl() argument 225 wcd_clsh_flyback_ctrl(struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_flyback_ctrl() argument 246 wcd_clsh_set_gain_path(struct wcd_clsh_ctrl * ctrl,int mode) wcd_clsh_set_gain_path() argument 273 wcd_clsh_v2_set_hph_mode(struct snd_soc_component * comp,int mode) wcd_clsh_v2_set_hph_mode() argument 318 wcd_clsh_v3_set_hph_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_hph_mode() argument 348 wcd_clsh_set_hph_mode(struct wcd_clsh_ctrl * ctrl,int mode) wcd_clsh_set_hph_mode() argument 361 wcd_clsh_set_flyback_current(struct snd_soc_component * comp,int mode) wcd_clsh_set_flyback_current() argument 373 wcd_clsh_set_buck_regulator_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_buck_regulator_mode() argument 386 wcd_clsh_v3_set_buck_regulator_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_buck_regulator_mode() argument 393 wcd_clsh_v3_set_flyback_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_mode() argument 414 wcd_clsh_v3_force_iq_ctl(struct snd_soc_component * component,int mode,bool enable) wcd_clsh_v3_force_iq_ctl() argument 454 wcd_clsh_v3_flyback_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_flyback_ctrl() argument 480 wcd_clsh_v3_set_flyback_current(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_current() argument 491 wcd_clsh_v3_state_aux(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_aux() argument 510 wcd_clsh_state_lo(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_lo() argument 537 wcd_clsh_v3_state_hph_r(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_hph_r() argument 569 wcd_clsh_state_hph_r(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_hph_r() argument 627 wcd_clsh_v3_state_hph_l(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_hph_l() argument 659 wcd_clsh_state_hph_l(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_hph_l() argument 717 wcd_clsh_v3_state_ear(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_ear() argument 743 wcd_clsh_state_ear(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_ear() argument 778 _wcd_clsh_ctrl_set_state(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) _wcd_clsh_ctrl_set_state() argument 847 wcd_clsh_ctrl_set_state(struct wcd_clsh_ctrl * ctrl,enum wcd_clsh_event clsh_event,int nstate,enum wcd_clsh_mode mode) wcd_clsh_ctrl_set_state() argument [all...] |
| /linux/arch/s390/boot/ |
| H A D | vmem.c | 64 static bool is_kasan_populate_mode(enum populate_mode mode) in is_kasan_populate_mode() 86 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() 138 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 149 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 160 unsigned long end, enum populate_mode mode) in kasan_pud_populate_zero_shadow() 171 unsigned long end, enum populate_mode mode) in kasan_pmd_populate_zero_shadow() 181 static bool kasan_pte_populate_zero_shadow(pte_t *pte, enum populate_mode mode) in kasan_pte_populate_zero_shadow() 196 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() 202 unsigned long end, enum populate_mode mode) in kasan_p4d_populate_zero_shadow() 208 unsigned long end, enum populate_mode mode) in kasan_pud_populate_zero_shadow() [all …]
|
| /linux/lib/xz/ |
| H A D | xz_private.h | 72 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument 74 # define DEC_IS_SINGLE(mode) (false) argument 78 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument 80 # define DEC_IS_PREALLOC(mode) (false) argument 84 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument 86 # define DEC_IS_DYNALLOC(mode) (false) argument 90 # define DEC_IS_MULTI(mode) (true) argument 92 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument 94 # 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() 794 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) in ath5k_eeprom_read_pcal_info_5111() 903 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 | 100 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 102 #define proc_create_seq(name, mode, parent, ops) \ argument 107 #define proc_create_single(name, mode, parent, show) \ argument 136 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 184 static inline struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir() 190 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data() 192 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode() 193 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument 194 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument 195 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument [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/drivers/firmware/efi/libstub/ |
| H A D | gop.c | 30 u32 mode; member 138 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local 175 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); in choose_mode() local 205 static bool match_res(const efi_graphics_output_mode_info_t *info, u32 mode, void *ctx) in match_res() 221 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); in choose_mode_res() local 231 u32 mode; member 236 static bool match_auto(const efi_graphics_output_mode_info_t *info, u32 mode, void *ctx) in match_auto() 262 static bool match_list(const efi_graphics_output_mode_info_t *info, u32 mode, void *ctx) in match_list() 305 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); in choose_mode_list() local 329 efi_graphics_output_protocol_mode_t *mode; in set_mode() local [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/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() argument 30 mode_t mode = 0; in openat() local 48 int _sys_open(const char *path, int flags, mode_t mode) in sys_open() argument 56 mode_t mode in open() local [all...] |
| H A D | types.h | 39 S_ISDIR(mode) global() argument 40 S_ISCHR(mode) global() argument 41 S_ISBLK(mode) global() argument 42 S_ISREG(mode) global() argument 43 S_ISFIFO(mode) global() argument 44 S_ISLNK(mode) global() argument 45 S_ISSOCK(mode) global() argument [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/drivers/video/fbdev/core/ |
| H A D | modedb.c | 549 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode() 856 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode() 904 const struct fb_videomode *mode) in fb_videomode_to_var() 968 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local 999 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode() 1040 struct fb_videomode *m, mode; in fb_match_mode() local 1059 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() 122 struct dentry *dentry, umode_t mode) in ramfs_mkdir() 131 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create() 167 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()
|