/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/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 | 99 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 101 #define proc_create_seq(name, mode, parent, ops) \ argument 106 #define proc_create_single(name, mode, parent, show) \ argument 135 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 183 static inline struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir() 189 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data() 191 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode() 192 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument 193 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument 194 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument [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 | 120 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() 182 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase() 216 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout() 306 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl() 320 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed() 335 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_register() 353 static int blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_reserve() 371 static int blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_release() 389 static int blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_preempt() 407 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/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 | 79 static int __debugfs_file_get(struct dentry *dentry, enum dbgfs_get_mode mode) in __debugfs_file_get() 571 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe() 617 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8() 653 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16() 689 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32() 726 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64() 765 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong() 810 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8() 828 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16() 846 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/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()
|
/linux/arch/s390/kvm/ |
H A D | gaccess.c | 226 enum gacc_mode mode) in ar_translation() 326 enum gacc_mode mode, enum prot_type prot, bool terminate) in trans_exc_ending() 396 enum gacc_mode mode, enum prot_type prot) in trans_exc() 402 unsigned long ga, u8 ar, enum gacc_mode mode) in get_vcpu_asce() 463 enum gacc_mode mode, enum prot_type *prot) in guest_translate() 645 enum gacc_mode mode, gpa_t gpa) in vm_check_access_key() 673 static bool fetch_prot_override_applicable(struct kvm_vcpu *vcpu, enum gacc_mode mode, in fetch_prot_override_applicable() 708 enum gacc_mode mode, union asce asce, gpa_t gpa, in vcpu_check_access_key() 783 const union asce asce, enum gacc_mode mode, in guest_range_to_gpas() 826 static int access_guest_page(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa, in access_guest_page() [all …]
|
/linux/drivers/edac/ |
H A D | edac_module.h | 89 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file() 91 static inline void edac_debugfs_create_x8(const char *name, umode_t mode, in edac_debugfs_create_x8() 93 static inline void edac_debugfs_create_x16(const char *name, umode_t mode, in edac_debugfs_create_x16() 95 static inline void edac_debugfs_create_x32(const char *name, umode_t mode, in edac_debugfs_create_x32()
|
/linux/arch/arm/mach-omap1/ |
H A D | mux.h | 27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \ argument 41 #define MUX_REG_7XX(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \ argument 53 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, \ argument 64 #define MUX_REG_7XX(reg, mode_offset, mode) \ argument 75 #define MUX_CFG(desc, mux_reg, mode_offset, mode, \ argument 94 #define MUX_CFG_7XX(desc, mux_reg, mode_offset, mode, \ argument
|