Searched refs:mode (Results 176 - 200 of 6117) sorted by relevance

1234567891011>>

/linux-master/fs/nfs/
H A Dnfs4sysctl.c25 .mode = 0644,
34 .mode = 0644,
/linux-master/fs/ramfs/
H A Dinode.c45 umode_t mode; member in struct:ramfs_mount_opts
58 const struct inode *dir, umode_t mode, dev_t dev)
64 inode_init_owner(&nop_mnt_idmap, inode, dir, mode);
69 switch (mode & S_IFMT) {
71 init_special_inode(inode, mode, dev);
99 struct dentry *dentry, umode_t mode, dev_t dev)
101 struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev);
123 struct dentry *dentry, umode_t mode)
125 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0);
132 struct dentry *dentry, umode_t mode, boo
57 ramfs_get_inode(struct super_block *sb, const struct inode *dir, umode_t mode, dev_t dev) argument
98 ramfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
122 ramfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
131 ramfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
168 ramfs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, struct file *file, umode_t mode) argument
[all...]
/linux-master/include/linux/
H A Dhrtimer.h230 enum hrtimer_mode mode);
232 enum hrtimer_mode mode);
236 enum hrtimer_mode mode);
239 enum hrtimer_mode mode);
245 enum hrtimer_mode mode)
247 hrtimer_init(timer, which_clock, mode);
252 enum hrtimer_mode mode)
254 hrtimer_init_sleeper(sl, clock_id, mode);
262 u64 range_ns, const enum hrtimer_mode mode);
268 * @mode
243 hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock, enum hrtimer_mode mode) argument
250 hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode) argument
272 hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode) argument
281 hrtimer_start_expires(struct hrtimer *timer, enum hrtimer_mode mode) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh4 # Test bonding options with mode 1,5,6
161 local mode=$1
164 prio_test "mode $mode miimon 100 primary eth1 primary_reselect $primary_reselect"
165 log_test "prio" "$mode miimon primary_reselect $primary_reselect"
172 local mode=$1
175 prio_test "mode $mode arp_interval 100 arp_ip_target ${g_ip4} primary eth1 primary_reselect $primary_reselect"
176 log_test "prio" "$mode arp_ip_target primary_reselect $primary_reselect"
183 local mode
[all...]
H A DMakefile9 mode-1-recovery-updelay.sh \
10 mode-2-recovery-updelay.sh \
/linux-master/drivers/gpu/drm/bridge/imx/
H A Dimx8mp-hdmi-tx.c23 const struct drm_display_mode *mode)
27 if (mode->clock < 13500)
30 if (mode->clock > 297000)
33 if (clk_round_rate(hdmi->pixclk, mode->clock * 1000) !=
34 mode->clock * 1000)
38 if ((mode->flags & DRM_MODE_FLAG_DBLCLK) ||
39 (mode->flags & DRM_MODE_FLAG_INTERLACE))
47 const struct drm_display_mode *mode)
21 imx8mp_hdmi_mode_valid(struct dw_hdmi *dw_hdmi, void *data, const struct drm_display_info *info, const struct drm_display_mode *mode) argument
45 imx8mp_hdmi_phy_init(struct dw_hdmi *dw_hdmi, void *data, const struct drm_display_info *display, const struct drm_display_mode *mode) argument
/linux-master/drivers/firmware/efi/libstub/
H A Dgop.c29 u32 mode; member in union:__anon278::__anon279
42 if (!strstarts(option, "mode="))
44 option += strlen("mode=");
49 cmdline.mode = m;
138 efi_graphics_output_protocol_mode_t *mode; local
145 mode = efi_table_attr(gop, mode);
147 cur_mode = efi_table_attr(mode, mode);
148 if (cmdline.mode
192 efi_graphics_output_protocol_mode_t *mode; local
250 efi_graphics_output_protocol_mode_t *mode; local
313 efi_graphics_output_protocol_mode_t *mode; local
387 efi_graphics_output_protocol_mode_t *mode; local
477 efi_graphics_output_protocol_mode_t *mode; local
518 efi_graphics_output_protocol_mode_t *mode; local
[all...]
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_vec.c11 * TV mode selection is done by an atomic property on the encoder,
240 unsigned int mode; member in struct:vc4_vec_tv_mode
276 .mode = DRM_MODE_TV_MODE_NTSC,
282 .mode = DRM_MODE_TV_MODE_NTSC_443,
289 .mode = DRM_MODE_TV_MODE_NTSC_J,
295 .mode = DRM_MODE_TV_MODE_PAL,
302 .mode = DRM_MODE_TV_MODE_PAL,
309 .mode = DRM_MODE_TV_MODE_PAL_M,
315 .mode = DRM_MODE_TV_MODE_PAL_N,
321 .mode
330 vc4_vec_tv_mode_lookup(unsigned int mode, u16 htotal) argument
646 const struct drm_display_mode *mode = &crtc_state->adjusted_mode; local
[all...]
/linux-master/block/
H A Dioctl.c95 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, argument
103 if (!(mode & BLK_OPEN_WRITE))
125 err = truncate_bdev_range(bdev, mode, start, start + len - 1);
134 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, argument
141 if (!(mode & BLK_OPEN_WRITE))
156 err = truncate_bdev_range(bdev, mode, start, start + len - 1);
165 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, argument
173 if (!(mode & BLK_OPEN_WRITE))
194 err = truncate_bdev_range(bdev, mode, start, end);
254 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, argument
268 blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) argument
283 blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, struct pr_registration __user *arg) argument
301 blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, struct pr_reservation __user *arg) argument
319 blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, struct pr_reservation __user *arg) argument
337 blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, struct pr_preempt __user *arg, bool abort) argument
355 blkdev_pr_clear(struct block_device *bdev, blk_mode_t mode, struct pr_clear __user *arg) argument
476 blkdev_bszset(struct block_device *bdev, blk_mode_t mode, int __user *argp) argument
505 blkdev_common_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned int cmd, unsigned long arg, void __user *argp) argument
599 blk_mode_t mode = file_to_blk_mode(file); local
660 blk_mode_t mode = file_to_blk_mode(file); local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_probe_helper.c70 drm_mode_validate_flag(const struct drm_display_mode *mode, argument
73 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) &&
77 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) &&
81 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) &&
89 drm_mode_validate_pipeline(struct drm_display_mode *mode, argument
99 ret = drm_connector_mode_valid(connector, mode, ctx, status);
108 *status = drm_encoder_mode_valid(encoder, mode);
111 * will not accept the mode anyway. If all encoders
112 * reject the mode then, at exit, ret will not be
120 mode);
147 struct drm_display_mode *mode; local
179 drm_crtc_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode) argument
190 drm_encoder_mode_valid(struct drm_encoder *encoder, const struct drm_display_mode *mode) argument
203 drm_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode, struct drm_modeset_acquire_ctx *ctx, enum drm_mode_status *status) argument
447 struct drm_display_mode *mode; local
560 struct drm_display_mode *mode; local
1110 drm_crtc_helper_mode_valid_fixed(struct drm_crtc *crtc, const struct drm_display_mode *mode, const struct drm_display_mode *fixed_mode) argument
1141 struct drm_display_mode *mode; local
1264 struct drm_display_mode *mode; local
[all...]
/linux-master/drivers/media/i2c/
H A Dsony-btf-mpx.c163 int mode = t->mpxmode; local
178 mode++;
180 if (mpx_audio_modes[mode].audio_mode != AUD_MONO) {
183 switch (mpx_audio_modes[mode].audio_mode) {
185 source = mpx_audio_modes[mode].source;
198 source = mpx_audio_modes[mode].source;
207 source |= mpx_audio_modes[mode].source & 0x00ff;
209 source = mpx_audio_modes[mode].source;
211 mpx_write(client, 0x10, 0x0030, mpx_audio_modes[mode].modus);
213 mpx_write(client, 0x12, 0x0013, mpx_audio_modes[mode]
[all...]
/linux-master/drivers/gpu/drm/tiny/
H A Dpanel-mipi-dbi.c232 static int panel_mipi_dbi_get_mode(struct mipi_dbi_dev *dbidev, struct drm_display_mode *mode) argument
238 ret = of_get_drm_panel_display_mode(dev->of_node, mode, NULL);
244 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
246 hback_porch = mode->htotal - mode->hsync_end;
247 vback_porch = mode->vtotal - mode->vsync_end;
254 if (!mode->hdisplay || !mode->vdisplay || mode
274 struct drm_display_mode mode; local
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dfbmon.c382 struct fb_videomode *mode)
393 mode->xres = xres;
394 mode->yres = yres;
395 mode->pixclock = var->pixclock;
396 mode->refresh = refresh;
397 mode->left_margin = var->left_margin;
398 mode->right_margin = var->right_margin;
399 mode->upper_margin = var->upper_margin;
400 mode->lower_margin = var->lower_margin;
401 mode
381 calc_mode_timings(int xres, int yres, int refresh, struct fb_videomode *mode) argument
409 get_est_timing(unsigned char *block, struct fb_videomode *mode) argument
494 get_std_timing(unsigned char *block, struct fb_videomode *mode, int ver, int rev, const struct fb_monspecs *specs) argument
553 get_dst_timing(unsigned char *block, struct fb_videomode *mode, int ver, int rev, const struct fb_monspecs *specs) argument
564 get_detailed_timing(unsigned char *block, struct fb_videomode *mode) argument
619 struct fb_videomode *mode, *m; local
720 struct fb_videomode *modes, *mode; local
[all...]
/linux-master/drivers/power/reset/
H A Dreboot-mode.c12 #include <linux/reboot-mode.h>
14 #define PREFIX "mode-"
17 const char *mode; member in struct:mode_info
33 if (!strcmp(info->mode, cmd)) {
43 unsigned long mode, void *cmd)
57 * reboot_mode_register - register a reboot mode driver
58 * @reboot: reboot mode driver
83 dev_err(reboot->dev, "reboot mode %s without magic number\n",
84 info->mode);
89 info->mode
42 reboot_mode_notify(struct notifier_block *this, unsigned long mode, void *cmd) argument
[all...]
/linux-master/sound/firewire/dice/
H A Ddice-extension.c61 unsigned int mode,
77 pcm_channels[i][mode] = be32_to_cpu(reg[0]);
89 int mode; local
92 for (mode = 0; mode < SND_DICE_RATE_MODE_COUNT; ++mode) {
96 * Some models report stream formats at highest mode, however
97 * they don't support the mode. Check clock capabilities.
99 if (mode == 2) {
101 } else if (mode
59 read_stream_entries(struct snd_dice *dice, u64 section_addr, u32 base_offset, unsigned int stream_count, unsigned int mode, unsigned int pcm_channels[MAX_STREAMS][3], unsigned int midi_ports[MAX_STREAMS]) argument
[all...]
/linux-master/arch/mips/kernel/
H A Dirq_txx9.c63 unsigned char mode; member in struct:__anon9
95 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode)))
105 int mode; local
110 case IRQF_TRIGGER_RISING: mode = TXx9_IRCR_UP; break;
111 case IRQF_TRIGGER_FALLING: mode = TXx9_IRCR_DOWN; break;
112 case IRQF_TRIGGER_HIGH: mode = TXx9_IRCR_HIGH; break;
113 case IRQF_TRIGGER_LOW: mode = TXx9_IRCR_LOW; break;
121 cr |= (mode & 0x3) << ofs;
123 txx9irq[irq_nr].mode = mode;
[all...]
/linux-master/drivers/usb/fotg210/
H A Dfotg210-core.c30 * The gemini USB blocks are connected to either Mini-A (host mode) or
31 * Mini-B (peripheral mode) plugs. There is no role switch support on the
43 enum usb_dr_mode mode)
67 if (mode == USB_DR_MODE_HOST)
77 if (mode == USB_DR_MODE_HOST)
91 dev_info(dev, "initialized Gemini PHY in %s mode\n",
92 (mode == USB_DR_MODE_HOST) ? "host" : "gadget");
128 enum usb_dr_mode mode; local
146 mode = usb_get_dr_mode(dev);
149 ret = fotg210_gemini_init(fotg, fotg->res, mode);
42 fotg210_gemini_init(struct fotg210 *fotg, struct resource *res, enum usb_dr_mode mode) argument
171 enum usb_dr_mode mode; local
[all...]
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-designware-plat.c25 enum dw_pcie_device_mode mode; member in struct:dw_plat_pcie
29 enum dw_pcie_device_mode mode; member in struct:dw_plat_pcie_of_data
112 enum dw_pcie_device_mode mode; local
118 mode = (enum dw_pcie_device_mode)data->mode;
131 dw_plat_pcie->mode = mode;
135 switch (dw_plat_pcie->mode) {
150 dev_err(dev, "INVALID device type %d\n", dw_plat_pcie->mode);
159 .mode
[all...]
/linux-master/include/drm/
H A Ddrm_modeset_helper_vtables.h38 * The DRM mode setting helper functions are common code for drivers to use if
69 * Callback to control power levels on the CRTC. If the mode passed in
82 void (*dpms)(struct drm_crtc *crtc, int mode);
102 * This callback should commit the new mode on the CRTC after a modeset,
117 * This callback is used to check if a specific mode is valid in this
125 * This hook is used by the probe helpers to filter the mode list in
135 * commit, and the mode validation in the probe paths it is not allowed
136 * to look at anything else but the passed-in mode, and validate it
146 const struct drm_display_mode *mode);
151 * This callback is used to validate a mode
[all...]
/linux-master/arch/arm/mach-tegra/
H A Dpm.c177 static void tegra_pm_set(enum tegra_suspend_mode mode) argument
194 tegra_pmc_enter_suspend_mode(mode);
225 enum tegra_suspend_mode mode)
230 if (mode > TEGRA_SUSPEND_LP1)
233 return mode;
348 enum tegra_suspend_mode mode = tegra_pmc_get_suspend_mode(); local
350 if (WARN_ON(mode < TEGRA_SUSPEND_NONE ||
351 mode >= TEGRA_MAX_SUSPEND_MODE))
354 pr_info("Entering suspend state %s\n", lp_state[mode]);
356 tegra_pm_set(mode);
224 tegra_pm_validate_suspend_mode( enum tegra_suspend_mode mode) argument
408 enum tegra_suspend_mode mode = tegra_pmc_get_suspend_mode(); local
[all...]
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_tags_inclusion.c22 static int verify_mte_pointer_validity(char *ptr, int mode) argument
24 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE);
29 ksft_print_msg("Unexpected fault recorded for %p-%p in mode %x\n",
30 ptr, ptr + BUFFER_SIZE, mode);
36 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE + 1);
41 ksft_print_msg("No valid fault recorded for %p in mode %x\n",
42 ptr, mode);
49 static int check_single_included_tags(int mem_type, int mode) argument
60 ret = mte_switch_mode(mode, MT_INCLUDE_VALID_TAG(tag));
74 result = verify_mte_pointer_validity(ptr, mode);
81 check_multiple_included_tags(int mem_type, int mode) argument
113 check_all_included_tags(int mem_type, int mode) argument
139 check_none_included_tags(int mem_type, int mode) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_flower_port_range.sh81 local mode=$1; shift
105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
134 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
136 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
155 local mode
[all...]
/linux-master/drivers/gpu/drm/bridge/
H A Dchrontel-ch7033.c322 const struct drm_display_mode *mode)
324 if (mode->clock > 165000)
326 if (mode->hdisplay >= 1920)
328 if (mode->vdisplay >= 1080)
350 const struct drm_display_mode *mode,
354 int hbporch = mode->hsync_start - mode->hdisplay;
355 int hsynclen = mode->hsync_end - mode->hsync_start;
356 int vbporch = mode
320 ch7033_bridge_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) argument
349 ch7033_bridge_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument
[all...]
/linux-master/usr/
H A Dgen_init_cpio.c87 0, /* mode */
109 unsigned int mode, uid_t uid, gid_t gid)
119 S_IFLNK | mode, /* mode */
143 unsigned int mode; local
148 if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) {
152 rc = cpio_mkslink(name, target, mode, uid, gid);
157 static int cpio_mkgeneric(const char *name, unsigned int mode, argument
168 mode, /* mode */
108 cpio_mkslink(const char *name, const char *target, unsigned int mode, uid_t uid, gid_t gid) argument
193 mode_t mode; member in struct:generic_type
214 unsigned int mode; local
245 cpio_mknod(const char *name, unsigned int mode, uid_t uid, gid_t gid, char dev_type, unsigned int maj, unsigned int min) argument
282 unsigned int mode; local
323 cpio_mkfile(const char *name, const char *location, unsigned int mode, uid_t uid, gid_t gid, unsigned int nlinks) argument
462 unsigned int mode; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c18 * Assumptions about the fictitious mode used in this example:
71 const struct drm_display_mode *mode = &vblank->hwmode; local
90 htotal = mode->crtc_htotal;
91 hsync_start = mode->crtc_hsync_start;
92 vbl_start = mode->crtc_vblank_start;
93 if (mode->flags & DRM_MODE_FLAG_INTERLACE)
137 const struct drm_display_mode *mode = &vblank->hwmode; local
138 u32 htotal = mode->crtc_htotal;
139 u32 clock = mode->crtc_clock;
183 const struct drm_display_mode *mode local
203 const struct drm_display_mode *mode; local
259 const struct drm_display_mode *mode = &vblank->hwmode; local
295 i915_get_crtc_scanoutpos(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
586 intel_mode_vblank_start(const struct drm_display_mode *mode) argument
[all...]

Completed in 217 milliseconds

1234567891011>>