/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/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 …]
|
H A D | proc_fs.h | 101 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 103 #define proc_create_seq(name, mode, parent, ops) \ argument 108 #define proc_create_single(name, mode, parent, show) \ argument 137 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 185 static inline struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir() 191 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data() 193 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode() 194 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument 195 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument 196 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument [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.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() 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/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 244 const struct drm_display_mode *mode = &vblank->hwmode; in __intel_get_crtc_scanline() local 329 const struct drm_display_mode *mode) in i915_get_crtc_scanoutpos() 513 static void intel_crtc_active_timings(struct drm_display_mode *mode, in intel_crtc_active_timings() 574 int intel_mode_vdisplay(const struct drm_display_mode *mode) in intel_mode_vdisplay() 584 int intel_mode_vblank_start(const struct drm_display_mode *mode) in intel_mode_vblank_start() 594 int intel_mode_vblank_end(const struct drm_display_mode *mode) in intel_mode_vblank_end() 604 int intel_mode_vtotal(const struct drm_display_mode *mode) in intel_mode_vtotal() [all …]
|
H A D | intel_display_debugfs_params.c | 122 #define RO(mode) (((mode) & 0222) == 0) argument 125 intel_display_debugfs_create_int(const char *name, umode_t mode, in intel_display_debugfs_create_int() 134 intel_display_debugfs_create_uint(const char *name, umode_t mode, in intel_display_debugfs_create_uint() 142 #define _intel_display_param_create_file(parent, name, mode, valp) \ argument 174 #define REGISTER(T, x, unused, mode, ...) _intel_display_param_create_file( \ in intel_display_debugfs_params() argument
|
/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 | 121 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() 183 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase() 217 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout() 307 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl() 321 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed() 336 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_register() 354 static int blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_reserve() 372 static int blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_release() 390 static int blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_preempt() 408 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/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/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/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()
|