/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 58 struct drm_display_mode *mode, *largest = NULL; local 61 list_for_each_entry(mode, &connector->probed_modes, head) { 62 if (helper->mode_valid(connector, mode) != MODE_OK || 63 (mode->flags & DRM_MODE_FLAG_INTERLACE)) 66 /* Use preferred mode if there is one.. */ 67 if (mode->type & DRM_MODE_TYPE_PREFERRED) { 68 NV_DEBUG(drm, "native mode from preferred\n"); 69 return drm_mode_duplicate(dev, mode); 75 if (mode->hdisplay < high_w) 78 if (mode 851 struct moderec *mode = &scaler_modes[0]; local 885 struct drm_display_mode *mode = nv_connector->native_mode; local 982 struct drm_display_mode mode; local 1001 struct drm_display_mode *mode; local 1074 nouveau_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument [all...] |
/linux-master/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_dp.c | 252 * struct zynqmp_dp_mode - Configured mode of DisplayPort 255 * @pclock: pixel clock frequency of current mode 295 * @mode: current mode between IP core and sink device 318 struct zynqmp_dp_mode mode; member in struct:zynqmp_dp 544 * @pclock: pixel clock for requested display mode 548 * clock @pclock. The @pclock is stored in the mode to be used in other 588 dp->mode.bw_code = bw_code; 589 dp->mode.lane_cnt = lane_cnt; 590 dp->mode 888 struct zynqmp_dp_mode *mode = &dp->mode; local 1190 zynqmp_dp_encoder_mode_set_transfer_unit(struct zynqmp_dp *dp, const struct drm_display_mode *mode) argument 1226 zynqmp_dp_encoder_mode_set_stream(struct zynqmp_dp *dp, const struct drm_display_mode *mode) argument 1381 zynqmp_dp_bridge_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) argument 1415 const struct drm_display_mode *mode; local 1513 struct drm_display_mode *mode = &crtc_state->mode; local [all...] |
/linux-master/arch/sh/kernel/cpu/shmobile/ |
H A D | pm.c | 27 * Sleep mode is just plain "sleep" instruction 28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh 29 * Standby Self-Refresh mode is above plus stopped clocks 37 * U-standby mode is unsupported since it needs bootloader hacks 46 void sh_mobile_call_standby(unsigned long mode) argument 56 mode, NULL); 59 if (mode & SUSP_SH_MMU) 63 standby_onchip_mem(mode, RAM_BASE); 66 mode, NULL); 102 /* part 1: common code to enter sleep mode */ [all...] |
/linux-master/include/math-emu/ |
H A D | soft-fp.h | 193 typedef int SItype __attribute__((mode(SI))); 194 typedef int DItype __attribute__((mode(DI))); 195 typedef unsigned int USItype __attribute__((mode(SI))); 196 typedef unsigned int UDItype __attribute__((mode(DI))); 198 typedef unsigned int UHWtype __attribute__((mode(HI)));
|
/linux-master/sound/pci/echoaudio/ |
H A D | echoaudio_gml.c | 109 static int set_digital_mode(struct echoaudio *chip, u8 mode) argument 117 /* All audio channels must be closed before changing the digital mode */ 121 if (snd_BUG_ON(!(chip->digital_modes & (1 << mode)))) 125 err = dsp_set_digital_mode(chip, mode); 127 /* If we successfully changed the digital mode from or to ADAT, 130 if (err >= 0 && previous_mode != mode && 131 (previous_mode == DIGITAL_MODE_ADAT || mode == DIGITAL_MODE_ADAT)) { 165 /* Set the new S/PDIF flags depending on the mode */ 169 /* Professional mode */ 185 /* Consumer mode */ [all...] |
/linux-master/arch/sh/mm/ |
H A D | alignment.c | 144 char mode; local 147 if (get_user(mode, buffer)) 149 if (mode >= '0' && mode <= '5') 150 *data = mode - '0';
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci-hotplug.c | 109 int slotno, mode, max; local 116 mode = PCI_PROBE_NORMAL; 118 mode = phb->controller_ops.probe_mode(bus); 120 if (mode == PCI_PROBE_DEVTREE) { 123 } else if (mode == PCI_PROBE_NORMAL &&
|
/linux-master/drivers/staging/vt6655/ |
H A D | key.c | 19 u32 mode, bool onfly_latch) 58 key_mode |= mode; 61 key_mode |= (mode << 4); 65 key_mode |= mode; 75 if (mode == KEY_CTL_WEP) { 17 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) argument
|
/linux-master/security/apparmor/include/ |
H A D | apparmorfs.h | 29 umode_t mode; member in struct:aa_sfs_entry 43 { .name = (_name), .mode = 0444, \ 47 { .name = (_name), .mode = 0444, \ 51 { .name = (_name), .mode = 0444, \ 56 .mode = (_mode), .file_ops = (_fops) }
|
/linux-master/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_plane.c | 51 if (crtc_state->mode.hdisplay != new_state->crtc_w || 52 crtc_state->mode.vdisplay != new_state->crtc_h) { 54 "%s: Size must match mode (%dx%d == %dx%d)", __func__, 55 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay, 60 pitch = crtc_state->mode.hdisplay *
|
/linux-master/drivers/base/ |
H A D | devtmpfs.c | 12 * owned by root and have a default mode of 0600. Subsystems can 51 umode_t mode; /* 0 => delete */ member in struct:req 122 req.mode = 0; 125 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); 129 if (req.mode == 0) 130 req.mode = 0600; 132 req.mode |= S_IFBLK; 134 req.mode |= S_IFCHR; 153 req.mode = 0; 159 static int dev_mkdir(const char *name, umode_t mode) argument 204 handle_create(const char *nodename, umode_t mode, kuid_t uid, kgid_t gid, struct device *dev) argument 380 handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, struct device *dev) argument [all...] |
/linux-master/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_macvlan.sh | 38 log_test "$mode: $message" 46 # setup new bond mode 49 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge 55 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge 95 for mode in $modes; do 96 macvlan_over_bond "mode $mode"
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | spectral.c | 52 * report mode 2. First 2^n bytes carries inband tones and last 192 if (ar->spectral.mode == SPECTRAL_DISABLED) 211 enum ath10k_spectral_mode mode) 225 arvif->spectral_enabled = (mode != SPECTRAL_DISABLED); 226 ar->spectral.mode = mode; 236 if (mode == SPECTRAL_DISABLED) 239 if (mode == SPECTRAL_BACKGROUND) 277 char *mode = ""; local 282 spectral_mode = ar->spectral.mode; 210 ath10k_spectral_scan_config(struct ath10k *ar, enum ath10k_spectral_mode mode) argument 466 create_buf_file_handler(const char *filename, struct dentry *parent, umode_t mode, struct rchan_buf *buf, int *is_global) argument [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_inode.c | 41 struct inode *ialloc(struct inode *parent, umode_t mode) argument 56 rc = diAlloc(parent, S_ISDIR(mode), inode); 67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); 88 if (S_ISDIR(mode)) { 94 if (S_ISLNK(mode))
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gen_wa_oob.c | 128 const char *mode; member in struct:__anon859 131 [ARGS_INPUT] = { .fn = argv[1], .mode = "r" }, 132 [ARGS_CSOURCE] = { .fn = argv[2], .mode = "w" }, 133 [ARGS_CHEADER] = { .fn = argv[3], .mode = "w" }, 144 args[i].f = fopen(args[i].fn, args[i].mode);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | guest_modes.c | 55 "No supported mode!"); 94 "Guest mode ID %d (%s) not supported.", 104 printf(" -m: specify the guest mode ID to test\n" 107 " Guest mode IDs:\n"); 117 unsigned int mode; local 126 mode = atoi_non_negative("Guest mode ID", arg); 127 TEST_ASSERT(mode < NUM_VM_MODES, "Guest mode ID %d too big", mode); [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.h | 49 struct drm_connector *connector, struct drm_display_mode *mode); 65 struct drm_display_mode *mode); 66 void (*dpms)(struct drm_encoder *encoder, bool mode); 80 struct drm_display_mode *mode); 81 void radeon_audio_dpms(struct drm_encoder *encoder, int mode);
|
/linux-master/fs/smb/client/ |
H A D | reparse.h | 49 static inline u64 reparse_mode_nfs_type(mode_t mode) argument 51 switch (mode & S_IFMT) { 60 static inline u32 reparse_mode_wsl_tag(mode_t mode) argument 62 switch (mode & S_IFMT) { 109 const char *full_path, umode_t mode, dev_t dev);
|
/linux-master/drivers/video/ |
H A D | screen_info_generic.c | 34 static inline bool __screen_info_has_ega_gfx(unsigned int mode) argument 36 switch (mode) { 47 static inline bool __screen_info_has_vga_gfx(unsigned int mode) argument 49 switch (mode) { 56 return __screen_info_has_ega_gfx(mode);
|
/linux-master/net/sunrpc/ |
H A D | sysctl.c | 133 .mode = 0644, 140 .mode = 0644, 147 .mode = 0644, 154 .mode = 0644, 160 .mode = 0444,
|
/linux-master/include/linux/iio/adc/ |
H A D | ad_sigma_delta.h | 22 * @mode: Calibration mode. 26 unsigned int mode; member in struct:ad_sd_calib_data 38 * @set_mode: Will be called to select the current mode, may be NULL. 56 int (*set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode); 144 unsigned int mode) 147 return sd->info->set_mode(sd, mode); 173 unsigned int mode, unsigned int channel); 143 ad_sigma_delta_set_mode(struct ad_sigma_delta *sd, unsigned int mode) argument
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_crtc.c | 200 * bandwidth compared with the clone (mirroring) display mode provided by 219 const struct drm_display_mode *mode) 224 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); 227 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay); 230 (mode->crtc_hsync_end << 16) | mode->crtc_hsync_start | HSYNC_EN); 233 (mode->crtc_vsync_end << 16) | mode 218 lsdc_crtc0_set_mode(struct lsdc_crtc *lcrtc, const struct drm_display_mode *mode) argument 236 lsdc_crtc1_set_mode(struct lsdc_crtc *lcrtc, const struct drm_display_mode *mode) argument 579 struct drm_display_mode *mode = &crtc->state->mode; local 743 lsdc_crtc_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode) argument 812 struct drm_display_mode *mode = &state->mode; local 898 lsdc_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument [all...] |
/linux-master/kernel/time/ |
H A D | hrtimer.c | 421 enum hrtimer_mode mode) 432 enum hrtimer_mode mode); 435 enum hrtimer_mode mode) 438 __hrtimer_init(timer, clock_id, mode); 443 clockid_t clock_id, enum hrtimer_mode mode); 446 clockid_t clock_id, enum hrtimer_mode mode) 449 __hrtimer_init_sleeper(sl, clock_id, mode); 463 enum hrtimer_mode mode) { } 469 enum hrtimer_mode mode) 472 trace_hrtimer_init(timer, clockid, mode); 420 debug_hrtimer_activate(struct hrtimer *timer, enum hrtimer_mode mode) argument 434 hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 445 hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode) argument 462 debug_hrtimer_activate(struct hrtimer *timer, enum hrtimer_mode mode) argument 468 debug_init(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode) argument 475 debug_activate(struct hrtimer *timer, enum hrtimer_mode mode) argument 1081 enqueue_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, enum hrtimer_mode mode) argument 1173 hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode) argument 1214 __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode, struct hrtimer_clock_base *base) argument 1282 hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode) argument 1543 __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 1591 hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 1936 hrtimer_sleeper_start_expires(struct hrtimer_sleeper *sl, enum hrtimer_mode mode) argument 1953 __hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode) argument 1991 hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode) argument 2019 do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode) argument 2067 hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, const clockid_t clockid) argument 2255 schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, const enum hrtimer_mode mode, clockid_t clock_id) argument 2333 schedule_hrtimeout_range(ktime_t *expires, u64 delta, const enum hrtimer_mode mode) argument 2367 schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode) argument [all...] |
/linux-master/tools/testing/selftests/drivers/sdsi/ |
H A D | sdsi_test.py | 29 with open(file, mode='rb') as f: 67 mode = os.stat(folder + "guid").st_mode & 0o777 68 assert mode == 0o444 # Read all 69 mode = os.stat(folder + "registers").st_mode & 0o777 70 assert mode == 0o400 # Read owner 71 mode = os.stat(folder + "provision_akc").st_mode & 0o777 72 assert mode == 0o200 # Read owner 73 mode = os.stat(folder + "provision_cap").st_mode & 0o777 74 assert mode == 0o200 # Read owner 75 mode [all...] |
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | check_child_memory.c | 29 static int check_child_tag_inheritance(char *ptr, int size, int mode) argument 42 mte_initialize_current_context(mode, (uintptr_t)ptr, size); 58 mte_initialize_current_context(mode, (uintptr_t)ptr, -UNDERFLOW); 65 mte_initialize_current_context(mode, (uintptr_t)ptr, size + OVERFLOW); 84 static int check_child_memory_mapping(int mem_type, int mode, int mapping) argument 91 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG); 98 result = check_child_tag_inheritance(ptr, sizes[run], mode); 106 static int check_child_file_mapping(int mem_type, int mode, int mapping) argument 112 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG); 125 mte_initialize_current_context(mode, (uintptr_ [all...] |