Home
last modified time | relevance | path

Searched refs:mode (Results 101 – 125 of 7973) sorted by relevance

12345678910>>...319

/linux/tools/include/nolibc/
H A Dtypes.h38 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) argument
39 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) argument
40 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) argument
41 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) argument
42 #define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) argument
43 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) argument
44 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) argument
/linux/Documentation/admin-guide/
H A Dsvga.rst21 enter ``scan`` on the video mode prompt, pick the mode you want to use,
22 remember its mode ID (the four-digit hexadecimal number) and then
25 The video mode to be used is selected by a kernel parameter which can be
31 NORMAL_VGA - Standard 80x25 mode available on all display adapters.
33 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA.
35 ASK_VGA - Display a video mode menu upon startup (see below).
40 mode list displayed may vary as the kernel version changes, because the
42 better to use absolute mode numbers instead.
44 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below
51 The ASK_VGA mode causes the kernel to offer a video mode menu upon
[all …]
/linux/include/linux/
H A Dphylink.h96 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument
98 return mode == MLO_AN_INBAND; in phylink_autoneg_inband()
184 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
186 void (*mac_config)(struct phylink_config *config, unsigned int mode,
188 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
190 void (*mac_link_down)(struct phylink_config *config, unsigned int mode,
193 struct phy_device *phy, unsigned int mode,
249 int mac_prepare(struct phylink_config *config, unsigned int mode,
325 void mac_config(struct phylink_config *config, unsigned int mode,
342 int mac_finish(struct phylink_config *config, unsigned int mode,
[all …]
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) in hrtimer_init_on_stack() argument
247 hrtimer_init(timer, which_clock, mode); in hrtimer_init_on_stack()
252 enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() argument
254 hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack()
262 u64 range_ns, const enum hrtimer_mode mode);
273 const enum hrtimer_mode mode) in hrtimer_start() argument
[all …]
/linux/block/
H A Dioctl.c119 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() argument
136 if (!(mode & BLK_OPEN_WRITE)) in blk_ioctl_discard()
145 err = truncate_bdev_range(bdev, mode, start, start + len - 1); in blk_ioctl_discard()
179 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase() argument
186 if (!(mode & BLK_OPEN_WRITE)) in blk_ioctl_secure_erase()
202 err = truncate_bdev_range(bdev, mode, start, end - 1); in blk_ioctl_secure_erase()
211 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout() argument
218 if (!(mode & BLK_OPEN_WRITE)) in blk_ioctl_zeroout()
239 err = truncate_bdev_range(bdev, mode, start, end); in blk_ioctl_zeroout()
299 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl() argument
[all …]
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_crtc.c30 const struct drm_display_mode *mode) in logicvc_crtc_mode_valid() argument
32 if (mode->flags & DRM_MODE_FLAG_INTERLACE) in logicvc_crtc_mode_valid()
71 struct drm_display_mode *mode = &new_state->adjusted_mode; in logicvc_crtc_atomic_enable() local
81 hact = mode->hdisplay; in logicvc_crtc_atomic_enable()
82 hfp = mode->hsync_start - mode->hdisplay; in logicvc_crtc_atomic_enable()
83 hsl = mode->hsync_end - mode->hsync_start; in logicvc_crtc_atomic_enable()
84 hbp = mode->htotal - mode->hsync_end; in logicvc_crtc_atomic_enable()
86 vact = mode->vdisplay; in logicvc_crtc_atomic_enable()
87 vfp = mode->vsync_start - mode->vdisplay; in logicvc_crtc_atomic_enable()
88 vsl = mode->vsync_end - mode->vsync_start; in logicvc_crtc_atomic_enable()
[all …]
/linux/arch/arm/mach-omap1/
H A Dmux.h27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \ argument
30 .mask = mode,
41 #define MUX_REG_7XX(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \ argument
44 .mask = mode,
53 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, \ argument
55 .mask = mode,
64 #define MUX_REG_7XX(reg, mode_offset, mode) \ argument
67 .mask = mode,
75 #define MUX_CFG(desc, mux_reg, mode_offset, mode, \ argument
81 MUX_REG(mux_reg, mode_offset, mode) \
[all …]
/linux/Documentation/devicetree/bindings/hsi/
H A Dclient-devices.txt9 - hsi-rx-mode: Receiver Bit transmission mode ("stream" or "frame")
10 - hsi-tx-mode: Transmitter Bit transmission mode ("stream" or "frame")
11 - hsi-mode: May be used instead hsi-rx-mode and hsi-tx-mode if
12 the transmission mode is the same for receiver and
16 - hsi-arb-mode: Arbitration mode for TX frame ("round-robin", "priority")
37 hsi-mode = "frame";
39 hsi-arb-mode = "round-robin";
/linux/drivers/platform/x86/
H A Dmlx-platform.c3171 .mode = 0444,
3177 .mode = 0444,
3183 .mode = 0444,
3190 .mode = 0444,
3197 .mode = 0444,
3203 .mode = 0444,
3209 .mode = 0444,
3215 .mode = 0444,
3221 .mode = 0444,
3227 .mode = 0444,
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh161 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 $prima…
176 log_test "prio" "$mode arp_ip_target primary_reselect $primary_reselect"
183 local mode=$1
191 …prio_test "mode $mode arp_interval 100 ns_ip6_target ${g_ip6} primary eth1 primary_reselect $prima…
192 log_test "prio" "$mode ns_ip6_target primary_reselect $primary_reselect"
198 local mode modes="active-backup balance-tlb balance-alb"
[all …]
/linux/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="-4"
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_standalone.c621 .mode = 0644,
627 .mode = 0444,
634 .mode = 0644,
641 .mode = 0644,
650 .mode = 0644,
657 .mode = 0644,
664 .mode = 0644,
674 .mode = 0644,
685 .mode = 0644,
694 .mode = 0644,
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dlan966x-pcb8290.dts63 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
70 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
77 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
84 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
91 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
98 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
105 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
112 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
119 phy-mode = "qsgmii";
127 phy-mode = "qsgmii";
[all …]
/linux/drivers/hv/
H A Dhv_utils_transport.c36 hvt->mode != HVUTIL_TRANSPORT_CHARDEV)) in hvt_op_read()
41 if (hvt->mode == HVUTIL_TRANSPORT_DESTROY) { in hvt_op_read()
87 if (hvt->mode == HVUTIL_TRANSPORT_DESTROY) in hvt_op_write()
105 if (hvt->mode == HVUTIL_TRANSPORT_DESTROY) in hvt_op_poll()
124 if (hvt->mode == HVUTIL_TRANSPORT_DESTROY) { in hvt_op_open()
126 } else if (hvt->mode == HVUTIL_TRANSPORT_INIT) { in hvt_op_open()
131 hvt->mode = HVUTIL_TRANSPORT_CHARDEV; in hvt_op_open()
133 else if (hvt->mode == HVUTIL_TRANSPORT_NETLINK) { in hvt_op_open()
139 hvt->mode = HVUTIL_TRANSPORT_CHARDEV; in hvt_op_open()
167 mode_old = hvt->mode; in hvt_op_release()
[all …]
/linux/ipc/
H A Dipc_sysctl.c81 .mode = 0644,
88 .mode = 0644,
95 .mode = 0644,
104 .mode = 0644,
113 .mode = 0644,
122 .mode = 0644,
131 .mode = 0644,
140 .mode = 0644,
149 .mode = 0644,
157 .mode = 0444,
[all …]
H A Dmq_sysctl.c28 .mode = 0644,
35 .mode = 0644,
44 .mode = 0644,
53 .mode = 0644,
62 .mode = 0644,
94 int mode = table->mode; in mq_permissions()
101 mode >>= 6; in mq_permissions()
104 mode >>= 3; in mq_permissions()
106 mode in mq_permissions()
95 int mode = table->mode; mq_permissions() local
[all...]
/linux/fs/sysfs/
H A Dgroup.c55 umode_t mode = (*attr)->mode; in create_files() local
65 mode = grp->is_visible(kobj, *attr, i); in create_files()
66 mode &= ~SYSFS_GROUP_INVISIBLE; in create_files()
67 if (!mode) in create_files()
71 WARN(mode & ~(SYSFS_PREALLOC | 0664), in create_files()
73 (*attr)->name, mode); in create_files()
75 mode &= SYSFS_PREALLOC | 0664; in create_files()
76 error = sysfs_add_file_mode_ns(parent, *attr, mode, uid, in create_files()
89 umode_t mode = (*bin_attr)->attr.mode; in create_files() local
95 mode = grp->is_bin_visible(kobj, *bin_attr, i); in create_files()
[all …]
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c115 const struct drm_display_mode *mode = &crtc->mode; in shmob_drm_crtc_setup_geometry() local
141 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in shmob_drm_crtc_setup_geometry()
143 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in shmob_drm_crtc_setup_geometry()
147 value = ((mode->hdisplay / 8) << 16) /* HDCN */ in shmob_drm_crtc_setup_geometry()
148 | (mode->htotal / 8); /* HTCN */ in shmob_drm_crtc_setup_geometry()
151 value = (((mode->hsync_end - mode->hsync_start) / 8) << 16) /* HSYNW */ in shmob_drm_crtc_setup_geometry()
152 | (mode->hsync_start / 8); /* HSYNP */ in shmob_drm_crtc_setup_geometry()
155 value = ((mode->hdisplay & 7) << 24) | ((mode->htotal & 7) << 16) in shmob_drm_crtc_setup_geometry()
156 | (((mode->hsync_end - mode->hsync_start) & 7) << 8) in shmob_drm_crtc_setup_geometry()
157 | (mode->hsync_start & 7); in shmob_drm_crtc_setup_geometry()
[all …]
/linux/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c160 framesize = FIELD_PREP(IMX21LCDC_LSR_XMAX, crtc->mode.hdisplay >> 4) | in imx_lcdc_update_hw_registers()
161 FIELD_PREP(IMX21LCDC_LSR_YMAX, crtc->mode.vdisplay); in imx_lcdc_update_hw_registers()
165 lhcr = FIELD_PREP(IMX21LCDC_LHCR_HFPORCH, crtc->mode.hsync_start - crtc->mode.hdisplay - 1) | in imx_lcdc_update_hw_registers()
166 FIELD_PREP(IMX21LCDC_LHCR_HWIDTH, crtc->mode.hsync_end - crtc->mode.hsync_start - 1) | in imx_lcdc_update_hw_registers()
167 FIELD_PREP(IMX21LCDC_LHCR_HBPORCH, crtc->mode.htotal - crtc->mode.hsync_end - 3); in imx_lcdc_update_hw_registers()
171 lvcr = FIELD_PREP(IMX21LCDC_LVCR_VFPORCH, crtc->mode.vsync_start - crtc->mode.vdisplay) | in imx_lcdc_update_hw_registers()
172 FIELD_PREP(IMX21LCDC_LVCR_VWIDTH, crtc->mode.vsync_end - crtc->mode.vsync_start) | in imx_lcdc_update_hw_registers()
173 FIELD_PREP(IMX21LCDC_LVCR_VBPORCH, crtc->mode.vtotal - crtc->mode.vsync_end); in imx_lcdc_update_hw_registers()
197 struct drm_display_mode *mode = &pipe->crtc.mode; in imx_lcdc_pipe_enable() local
199 const int hsync_pol = (mode->flags & DRM_MODE_FLAG_PHSYNC) ? 0 : 1; in imx_lcdc_pipe_enable()
[all …]
/linux/drivers/gpu/drm/i2c/
H A Dch7006_mode.c107 .mode = { \
177 const struct ch7006_mode *mode; in ch7006_lookup_mode() local
179 for (mode = ch7006_modes; mode->mode.clock; mode++) { in ch7006_lookup_mode()
181 if (~mode->valid_norms & 1<<priv->norm) in ch7006_lookup_mode()
184 if (mode->mode.hdisplay != drm_mode->hdisplay || in ch7006_lookup_mode()
185 mode->mode.vdisplay != drm_mode->vdisplay || in ch7006_lookup_mode()
186 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode()
187 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode()
188 mode->mode.clock != drm_mode->clock) in ch7006_lookup_mode()
191 return mode; in ch7006_lookup_mode()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_leds.c74 static void igc_led_set(struct igc_adapter *adapter, int led, u32 mode, in igc_led_set() argument
88 ledctl |= mode << shift; in igc_led_set()
122 u32 mode; in igc_led_brightness_set_blocking() local
125 mode = IGC_LEDCTL_MODE_ON; in igc_led_brightness_set_blocking()
127 mode = IGC_LEDCTL_MODE_OFF; in igc_led_brightness_set_blocking()
130 ldev->index, mode); in igc_led_brightness_set_blocking()
132 igc_led_set(adapter, ldev->index, mode, false); in igc_led_brightness_set_blocking()
167 u32 mode = IGC_LEDCTL_MODE_OFF; in igc_led_hw_control_set() local
171 mode = IGC_LEDCTL_MODE_LINK_10; in igc_led_hw_control_set()
173 mode = IGC_LEDCTL_MODE_LINK_100; in igc_led_hw_control_set()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_rgb.c63 const struct drm_display_mode *mode) in sun4i_rgb_mode_valid() argument
67 u32 hsync = mode->hsync_end - mode->hsync_start; in sun4i_rgb_mode_valid()
68 u32 vsync = mode->vsync_end - mode->vsync_start; in sun4i_rgb_mode_valid()
69 unsigned long long rate = mode->clock * 1000; in sun4i_rgb_mode_valid()
81 if ((mode->hdisplay < 1) || (mode->htotal < 1)) in sun4i_rgb_mode_valid()
84 if ((mode->hdisplay > 0x7ff) || (mode->htotal > 0xfff)) in sun4i_rgb_mode_valid()
95 if ((mode->vdisplay < 1) || (mode->vtotal < 1)) in sun4i_rgb_mode_valid()
98 if ((mode->vdisplay > 0x7ff) || (mode->vtotal > 0xfff)) in sun4i_rgb_mode_valid()
/linux/Documentation/userspace-api/media/rc/
H A Dlirc-get-send-mode.rst14 LIRC_GET_SEND_MODE/LIRC_SET_SEND_MODE - Get/set current transmit mode.
21 ``int ioctl(int fd, LIRC_GET_SEND_MODE, __u32 *mode)``
25 ``int ioctl(int fd, LIRC_SET_SEND_MODE, __u32 *mode)``
33 ``mode``
34 The mode used for transmitting.
39 Get/set current transmit mode.
41 Only :ref:`LIRC_MODE_PULSE <lirc-mode-pulse>` and
42 :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` are supported by for IR send,
71 - Invalid mode or invalid mode for this device.
/linux/drivers/crypto/nx/
H A Dnx.c383 if (msc->fc >= NX_MAX_FC || msc->mode >= NX_MAX_MODE) { in nx_of_update_msc()
386 msc->mode); in nx_of_update_msc()
400 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
402 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
406 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
408 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
413 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
415 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
419 props->ap[msc->fc][msc->mode][1]. in nx_of_update_msc()
421 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
[all …]
/linux/fs/ramfs/
H A Dinode.c45 umode_t mode; member
58 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode() argument
64 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ramfs_get_inode()
69 switch (mode & S_IFMT) { in ramfs_get_inode()
71 init_special_inode(inode, mode, dev); in ramfs_get_inode()
99 struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod() argument
101 struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev); in ramfs_mknod()
123 struct dentry *dentry, umode_t mode) in ramfs_mkdir() argument
125 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir()
132 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create() argument
[all …]

12345678910>>...319