Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 3714) sorted by relevance

12345678910>>...149

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c22 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_e_only() local
42 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_not_digital() local
66 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_hdmi() local
90 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_D_only_dvi() local
110 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_d_only() local
130 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_margin_only() local
141 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_interlace_only() local
152 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res() local
176 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res_missing_x() local
187 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_res_missing_y() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna.h114 #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 …]
/kernel/linux/linux-5.10/lib/xz/
Dxz_private.h67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument
69 # define DEC_IS_SINGLE(mode) (false) argument
73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument
75 # define DEC_IS_PREALLOC(mode) (false) argument
79 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument
81 # define DEC_IS_DYNALLOC(mode) (false) argument
85 # define DEC_IS_MULTI(mode) (true) argument
87 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument
89 # define DEC_IS_MULTI(mode) (false) argument
/kernel/linux/linux-5.10/kernel/sched/
Dwait_bit.c21 int wake_bit_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *arg) in wake_bit_function()
42 wait_bit_action_f *action, unsigned mode) in __wait_on_bit()
59 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit()
70 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout()
83 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock()
112 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock()
160 var_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, in var_wake_function()
197 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait()
207 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io()
217 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout()
[all …]
Dwait.c66 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common()
110 static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common_lock()
139 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up()
149 void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr) in __wake_up_locked()
155 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
162 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark()
184 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_sync_key()
211 unsigned int mode, void *key) in __wake_up_locked_sync_key()
220 void __wake_up_sync(struct wait_queue_head *wq_head, unsigned int mode) in __wake_up_sync()
399 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Deeprom.c41 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 …]
/kernel/linux/linux-5.10/include/linux/
Dproc_fs.h94 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
96 #define proc_create_seq(name, mode, parent, ops) \ argument
101 #define proc_create_single(name, mode, parent, show) \ argument
121 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
166 static inline struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir()
172 umode_t mode, struct proc_dir_entry *parent, void *data) { return NULL; } in proc_mkdir_data()
174 umode_t mode, struct proc_dir_entry *parent) { return NULL; } in proc_mkdir_mode()
175 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument
176 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument
177 #define proc_create_seq(name, mode, parent, ops) ({NULL;}) argument
[all …]
Ddebugfs.h185 static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file()
193 umode_t mode, struct dentry *parent, in debugfs_create_file_unsafe()
200 static inline void debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size()
273 static inline void debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
276 static inline void debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
279 static inline void debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
282 static inline void debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
286 umode_t mode, in debugfs_create_ulong()
293 static inline void debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
296 static inline void debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
[all …]
Dwait_bit.h71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit()
96 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io()
122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout()
151 unsigned mode) in wait_on_bit_action()
179 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock()
203 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io()
230 unsigned mode) in wait_on_bit_lock_action()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dchip.c1392 int mode, u64 value) in read_write_csr()
1412 void *context, int vl, int mode, u64 data) in dev_access_u32_csr()
1429 void *context, int idx, int mode, u64 data) in access_sde_err_cnt()
1439 void *context, int idx, int mode, u64 data) in access_sde_int_cnt()
1449 void *context, int idx, int mode, u64 data) in access_sde_idle_int_cnt()
1459 void *context, int idx, int mode, in access_sde_progress_int_cnt()
1470 int vl, int mode, u64 data) in dev_access_u64_csr()
1491 int vl, int mode, u64 data) in dc_access_lcb_cntr()
1515 int vl, int mode, u64 data) in port_access_u32_csr()
1525 void *context, int vl, int mode, u64 data) in port_access_u64_csr()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwcd-clsh-v2.c14 int mode; member
127 int mode) in wcd_clsh_set_buck_mode()
141 int mode) in wcd_clsh_set_flyback_mode()
155 int mode, in wcd_clsh_buck_ctrl()
174 int mode, in wcd_clsh_flyback_ctrl()
195 static void wcd_clsh_set_gain_path(struct wcd_clsh_ctrl *ctrl, int mode) in wcd_clsh_set_gain_path()
223 int mode) in wcd_clsh_set_hph_mode()
268 int mode) in wcd_clsh_set_flyback_current()
280 int mode) in wcd_clsh_set_buck_regulator_mode()
293 bool is_enable, int mode) in wcd_clsh_state_lo()
[all …]
/kernel/liteos_a/kernel/base/ipc/
Dlos_event.c59 LITE_OS_SEC_TEXT STATIC UINT32 OsEventParamCheck(const VOID *ptr, UINT32 eventMask, UINT32 mode) in OsEventParamCheck()
81 LITE_OS_SEC_TEXT UINT32 OsEventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode) in OsEventPoll()
105 …S_SEC_TEXT STATIC UINT32 OsEventReadCheck(const PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode) in OsEventReadCheck()
126 LITE_OS_SEC_TEXT STATIC UINT32 OsEventReadImp(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, in OsEventReadImp()
160 LITE_OS_SEC_TEXT STATIC UINT32 OsEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT… in OsEventRead()
244 LITE_OS_SEC_TEXT UINT32 LOS_EventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode) in LOS_EventPoll()
260 LITE_OS_SEC_TEXT UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 ti… in LOS_EventRead()
270 LITE_OS_SEC_TEXT_MINOR UINT32 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, in OsEventReadOnce()
319 UINT32 eventMask, UINT32 mode, UINT32 timeout) in OsEventReadWithCond()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modes.c54 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline()
89 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy()
108 struct drm_display_mode *mode) in drm_mode_probed_add()
740 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name()
758 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh()
788 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing()
907 const struct drm_display_mode *mode) in drm_mode_duplicate()
1078 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic()
1121 const struct drm_display_mode *mode) in drm_mode_validate_driver()
1151 drm_mode_validate_size(const struct drm_display_mode *mode, in drm_mode_validate_size()
[all …]
Ddrm_probe_helper.c71 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()
420 struct drm_display_mode *mode; in drm_helper_probe_single_connector_modes() local
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c105 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()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
Dcheck_tags_inclusion.c22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity()
43 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags()
73 static int check_multiple_included_tags(int mem_type, int mode) in check_multiple_included_tags()
105 static int check_all_included_tags(int mem_type, int mode) in check_all_included_tags()
129 static int check_none_included_tags(int mem_type, int mode) in check_none_included_tags()
Dcheck_buffer_fill.c28 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()
/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Ducc.c119 enum comm_dir mode) in ucc_set_qe_mux_rxtx()
488 static int ucc_get_tdm_rxtx_clk(enum comm_dir mode, u32 tdm_num, in ucc_get_tdm_rxtx_clk()
503 static u32 ucc_get_tdm_clk_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_clk_shift()
517 enum comm_dir mode) in ucc_set_tdm_rxtx_clk()
549 enum comm_dir mode) in ucc_get_tdm_sync_source()
620 static u32 ucc_get_tdm_sync_shift(enum comm_dir mode, u32 tdm_num) in ucc_get_tdm_sync_shift()
631 enum comm_dir mode) in ucc_set_tdm_rxtx_sync()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-tvaudio.c113 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
/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c280 LITE_OS_SEC_TEXT_MINOR STATIC VOID OsCpupGetPos(UINT16 mode, UINT16 *curPosPointer, UINT16 *prePosP… in OsCpupGetPos()
324 STATIC UINT32 OsHistorySysCpuUsageUnsafe(UINT16 mode) in OsHistorySysCpuUsageUnsafe()
342 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_HistorySysCpuUsage(UINT16 mode) in LOS_HistorySysCpuUsage()
354 STATIC UINT32 OsHistoryProcessCpuUsageUnsafe(UINT32 pid, UINT16 mode) in OsHistoryProcessCpuUsageUnsafe()
383 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_HistoryProcessCpuUsage(UINT32 pid, UINT16 mode) in LOS_HistoryProcessCpuUsage()
394 STATIC UINT32 OsHistoryTaskCpuUsageUnsafe(UINT32 tid, UINT16 mode) in OsHistoryTaskCpuUsageUnsafe()
419 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_HistoryTaskCpuUsage(UINT32 tid, UINT16 mode) in LOS_HistoryTaskCpuUsage()
444 STATIC UINT32 GetAllProcessCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len) in GetAllProcessCpuUsageUnsafe()
473 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_GetAllProcessCpuUsage(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 … in LOS_GetAllProcessCpuUsage()
572 LITE_OS_SEC_TEXT_MINOR UINT32 OsGetAllIrqCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 … in OsGetAllIrqCpuUsageUnsafe()
[all …]
Dcpup_shellcmd.c41 VOID OsCmdCpupOperateOneParam(UINT32 mode) in OsCmdCpupOperateOneParam()
56 VOID OsCmdCpupOperateTwoParam(UINT32 mode, UINT32 pid) in OsCmdCpupOperateTwoParam()
85 size_t mode, pid; in OsShellCmdCpup() local
/kernel/linux/linux-5.10/drivers/phy/marvell/
Dphy-mvebu-a3700-comphy.c50 #define COMPHY_FW_MODE(mode) ((mode) << 12) argument
51 #define COMPHY_FW_NET(mode, idx, speed) (COMPHY_FW_MODE(mode) | \ argument
54 #define COMPHY_FW_PCIE(mode, idx, speed, width) (COMPHY_FW_NET(mode, idx, speed) | \ argument
59 enum phy_mode mode; member
105 enum phy_mode mode; member
111 unsigned long mode) in mvebu_a3700_comphy_smc()
130 enum phy_mode mode, in mvebu_a3700_comphy_get_fw_mode()
153 static int mvebu_a3700_comphy_set_mode(struct phy *phy, enum phy_mode mode, in mvebu_a3700_comphy_set_mode()
/kernel/linux/linux-5.10/fs/
Dopen.c229 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate()
326 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate()
338 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
397 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat()
469 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
474 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
480 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
566 int chmod_common(const struct path *path, umode_t mode) in chmod_common()
595 int vfs_fchmod(struct file *file, umode_t mode) in vfs_fchmod()
601 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
[all …]
/kernel/linux/linux-5.10/fs/debugfs/
Dfile.c412 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
458 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8()
494 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16()
530 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32()
567 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64()
615 struct dentry *debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong()
661 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8()
679 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16()
697 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32()
715 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x64()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dmodedb.c543 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode()
846 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode()
894 const struct fb_videomode *mode) in fb_videomode_to_var()
959 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local
992 const struct fb_videomode *fb_find_nearest_mode(const struct fb_videomode *mode, in fb_find_nearest_mode()
1037 struct fb_videomode *m, mode; in fb_match_mode() local
1057 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode()
1092 void fb_delete_videomode(const struct fb_videomode *mode, in fb_delete_videomode()

12345678910>>...149