Home
last modified time | relevance | path

Searched refs:mode (Results 51 – 75 of 7186) sorted by relevance

12345678910>>...288

/linux/lib/zlib_inflate/
H A Dinflate.c42 state->mode = HEAD; in zlib_inflateReset()
172 if (state->mode == STORED && state->bits == 0) { in zlib_inflateSyncPacket()
173 state->mode = TYPE; in zlib_inflateSyncPacket()
358 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */ in zlib_inflate()
364 switch (state->mode) { in zlib_inflate()
367 state->mode = TYPEDO; in zlib_inflate()
374 state->mode = BAD; in zlib_inflate()
379 state->mode = BAD; in zlib_inflate()
386 state->mode = BAD; in zlib_inflate()
391 state->mode = hold & 0x200 ? DICTID : TYPE; in zlib_inflate()
[all …]
/linux/arch/arm64/boot/dts/microchip/
H A Dsparx5_pcb135_board.dtsi369 phy-mode = "qsgmii";
376 phy-mode = "qsgmii";
383 phy-mode = "qsgmii";
390 phy-mode = "qsgmii";
397 phy-mode = "qsgmii";
404 phy-mode = "qsgmii";
411 phy-mode = "qsgmii";
418 phy-mode = "qsgmii";
425 phy-mode = "qsgmii";
432 phy-mode = "qsgmii";
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c120 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init() argument
130 xcp_mgr->mode = mode; in amdgpu_xcp_init()
167 int mode) in __amdgpu_xcp_switch_partition_mode() argument
176 curr_mode = xcp_mgr->mode; in __amdgpu_xcp_switch_partition_mode()
178 xcp_mgr->mode = AMDGPU_XCP_MODE_TRANS; in __amdgpu_xcp_switch_partition_mode()
180 ret = xcp_mgr->funcs->switch_partition_mode(xcp_mgr, mode, &num_xcps); in __amdgpu_xcp_switch_partition_mode()
185 xcp_mgr->mode = amdgpu_xcp_query_partition_mode( in __amdgpu_xcp_switch_partition_mode()
188 xcp_mgr->mode = curr_mode; in __amdgpu_xcp_switch_partition_mode()
199 int amdgpu_xcp_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in amdgpu_xcp_switch_partition_mode() argument
201 if (!xcp_mgr || mode == AMDGPU_XCP_MODE_NONE) in amdgpu_xcp_switch_partition_mode()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-typec5 Shows if the mode is active or not. The attribute can be used
6 for entering/exiting the mode. Entering/exiting modes is
8 does not return until the enter/exit mode operation has
9 finished. The attribute is notified when the mode is
11 Entering/exiting a mode will also generate uevent KOBJ_CHANGE.
19 Shows description of the mode. The description is optional for
22 What: /sys/bus/typec/devices/.../mode
26 The index number of the mode returned by Discover Modes USB
27 Power Delivery command. Depending on the alternate mode, the
28 mode index may be significant.
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-phy.c56 int mxl1x1sf_set_device_mode(struct mxl111sf_state *state, int mode) in mxl1x1sf_set_device_mode() argument
60 mxl_debug("(%s)", MXL_SOC_MODE == mode ? in mxl1x1sf_set_device_mode()
65 MXL_SOC_MODE == mode ? 0x01 : 0x00); in mxl1x1sf_set_device_mode()
70 0x7d, 0x40, MXL_SOC_MODE == mode ? in mxl1x1sf_set_device_mode()
78 state->device_mode = mode; in mxl1x1sf_set_device_mode()
114 u8 mode, tmp; in mxl111sf_config_mpeg_in() local
124 mxl111sf_read_reg(state, V6_MPEG_IN_CLK_INV_REG, &mode); in mxl111sf_config_mpeg_in()
127 mode &= ~V6_INVERTED_CLK_PHASE; in mxl111sf_config_mpeg_in()
129 mode |= V6_INVERTED_CLK_PHASE; in mxl111sf_config_mpeg_in()
131 ret = mxl111sf_write_reg(state, V6_MPEG_IN_CLK_INV_REG, mode); in mxl111sf_config_mpeg_in()
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dlontium-lt9211.c219 const struct drm_display_mode *mode) in lt9211_autodetect_rx() argument
263 if (width != mode->hdisplay) { in lt9211_autodetect_rx()
266 width, mode->hdisplay); in lt9211_autodetect_rx()
270 if (height != mode->vdisplay) { in lt9211_autodetect_rx()
273 height, mode->vdisplay); in lt9211_autodetect_rx()
284 const struct drm_display_mode *mode) in lt9211_configure_timing() argument
287 { 0xd00d, (mode->vtotal >> 8) & 0xff }, in lt9211_configure_timing()
288 { 0xd00e, mode->vtotal & 0xff }, in lt9211_configure_timing()
289 { 0xd00f, (mode->vdisplay >> 8) & 0xff }, in lt9211_configure_timing()
290 { 0xd010, mode->vdisplay & 0xff }, in lt9211_configure_timing()
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_connector_test.c995 const struct drm_display_mode *mode; in drm_test_drm_hdmi_compute_mode_clock_rgb() local
999 mode = drm_display_mode_from_cea_vic(drm, 16); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1000 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1002 KUNIT_ASSERT_FALSE(test, mode->flags & DRM_MODE_FLAG_DBLCLK); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1004 rate = drm_hdmi_compute_mode_clock(mode, 8, HDMI_COLORSPACE_RGB); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1006 KUNIT_EXPECT_EQ(test, mode->clock * 1000ULL, rate); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1016 const struct drm_display_mode *mode; in drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc() local
1020 mode = drm_display_mode_from_cea_vic(drm, 16); in drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc()
1021 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc()
1023 KUNIT_ASSERT_FALSE(test, mode->flags & DRM_MODE_FLAG_DBLCLK); in drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs8550-aim300.dtsi35 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
42 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
49 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
56 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
63 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
70 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
77 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
84 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
91 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
98 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
[all …]
/linux/drivers/media/i2c/
H A Dov8865.c670 const struct ov8865_mode *mode; member
1567 const struct ov8865_mode *mode) in ov8865_mode_pll1_rate() argument
1604 const struct ov8865_mode *mode, in ov8865_mode_pll1_configure() argument
1677 const struct ov8865_mode *mode) in ov8865_mode_pll2_configure() argument
1682 config = mode->pll2_binning ? sensor->pll_configs->pll2_config_binning : in ov8865_mode_pll2_configure()
1716 const struct ov8865_mode *mode) in ov8865_mode_sclk_configure() argument
1739 const struct ov8865_mode *mode) in ov8865_mode_binning_configure() argument
1751 if (mode->binning_x) in ov8865_mode_binning_configure()
1754 if (mode->binning_y) in ov8865_mode_binning_configure()
1757 if (mode->sync_hbin) in ov8865_mode_binning_configure()
[all …]
/linux/net/netfilter/
H A Dxt_SECMARK.c24 static u8 mode; variable
31 switch (mode) { in secmark_tg()
87 if (mode && mode != info->mode) { in secmark_tg_check()
89 mode, info->mode); in secmark_tg_check()
93 switch (info->mode) { in secmark_tg_check()
97 pr_info_ratelimited("invalid mode: %hu\n", info->mode); in secmark_tg_check()
105 if (!mode) in secmark_tg_check()
106 mode = info->mode; in secmark_tg_check()
112 switch (mode) { in secmark_tg_destroy()
122 .mode = info->mode, in secmark_tg_check_v0()
/linux/drivers/net/ethernet/ti/
H A Dcpsw-phy-sel.c44 u32 mode = 0; in cpsw_gmii_sel_am3352() local
51 mode = AM33XX_GMII_SEL_MODE_RMII; in cpsw_gmii_sel_am3352()
55 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
61 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
71 mode = AM33XX_GMII_SEL_MODE_MII; in cpsw_gmii_sel_am3352()
77 mode <<= slave * 2; in cpsw_gmii_sel_am3352()
81 mode |= AM33XX_GMII_SEL_RMII1_IO_CLK_EN; in cpsw_gmii_sel_am3352()
83 mode |= AM33XX_GMII_SEL_RMII2_IO_CLK_EN; in cpsw_gmii_sel_am3352()
88 mode |= AM33XX_GMII_SEL_RGMII1_IDMODE; in cpsw_gmii_sel_am3352()
90 mode |= AM33XX_GMII_SEL_RGMII2_IDMODE; in cpsw_gmii_sel_am3352()
[all …]
/linux/Documentation/fb/
H A Ds3fb.rst27 * 8 bpp pseudocolor mode (with 18bit palette)
29 * 24 bpp truecolor mode (RGB 888) on (only on Virge VX)
30 * 32 bpp truecolor mode (RGB 888) on (not on Virge VX)
31 * text mode (activated by bpp = 0)
32 * interlaced mode variant (not available in text mode)
33 * doublescan mode variant (not available in text mode)
38 Text mode is supported even in higher resolutions, but there is limitation to
41 limitation is not enforced by driver. Text mode supports 8bit wide fonts only
42 (hardware limitation) and 16bit tall fonts (driver limitation). Text mode
45 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
[all …]
H A Darkfb.rst20 * 8 bpp pseudocolor mode (with 18bit palette)
22 * 24 bpp truecolor mode (RGB 888)
23 * 32 bpp truecolor mode (RGB 888)
24 * text mode (activated by bpp = 0)
25 * doublescan mode variant (not available in text mode)
29 Text mode is supported even in higher resolutions, but there is limitation to
31 hardware). This limitation is not enforced by driver. Text mode supports 8bit
33 limitation). Unfortunately character attributes (like color) in text mode are
36 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
37 packed pixels, high nibble first. Second mode (selected if nonstd == 1) is mode
[all …]
H A Dvt8623fb.rst19 * 8 bpp pseudocolor mode (with 18bit palette)
20 * 16 bpp truecolor mode (RGB 565)
21 * 32 bpp truecolor mode (RGB 888)
22 * text mode (activated by bpp = 0)
23 * doublescan mode variant (not available in text mode)
28 Text mode is supported even in higher resolutions, but there is limitation to
30 driver. Text mode supports 8bit wide fonts only (hardware limitation) and
33 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
34 packed pixels, high nibble first. Second mode (selected if nonstd == 1) is mode
48 * interlaced mode variant
[all …]
/linux/kernel/sched/
H A Dwait.c73 static int __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up_common() argument
89 ret = curr->func(curr, mode, wake_flags, key); 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() argument
106 remaining = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, in __wake_up_common_lock()
124 int __wake_up(struct wait_queue_head *wq_head, unsigned int mode, in __wake_up() argument
127 return __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, key); 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() argument
133 __wake_up_common_lock(wq_head, mode, 1, WF_CURRENT_CPU, 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() argument
141 __wake_up_common(wq_head, mode, nr, 0, NULL); in __wake_up_locked()
[all …]
/linux/drivers/gpu/drm/pl111/
H A Dpl111_display.c52 const struct drm_display_mode *mode) in pl111_mode_valid() argument
63 bw = mode->clock * 1000ULL; /* In Hz */ in pl111_mode_valid()
64 bw = bw * mode->hdisplay * mode->vdisplay * cpp; in pl111_mode_valid()
65 bw = div_u64(bw, mode->htotal * mode->vtotal); in pl111_mode_valid()
73 mode->hdisplay, mode->vdisplay, in pl111_mode_valid()
74 mode->clock * 1000, cpp, bw); in pl111_mode_valid()
79 mode->hdisplay, mode->vdisplay, in pl111_mode_valid()
80 mode->clock * 1000, cpp, bw); in pl111_mode_valid()
89 const struct drm_display_mode *mode = &cstate->mode; in pl111_display_check() local
93 if (mode->hdisplay % 16) in pl111_display_check()
[all …]
/linux/tools/testing/selftests/net/
H A Dioam6.sh218 ip -netns $ioam_tmp_node route add db02::/64 encap ioam6 mode inline \
483 [ "$1" = "encap" ] && mode="$1 tundst db01::1" || mode="$1"
486 ip -netns $ioam_node_alpha route change db01::/64 encap ioam6 mode $mode \
503 [ "$1" = "encap" ] && mode="$1 tundst db01::1" || mode="$1"
506 ip -netns $ioam_node_alpha route change db01::/64 encap ioam6 mode $mode \
527 [ "$1" = "encap" ] && mode="$1 tundst db01::1" || mode="$1"
532 ip -netns $ioam_node_alpha route change db01::/64 encap ioam6 mode $mode \
568 [ "$1" = "encap" ] && mode="$1 tundst db01::1" || mode="$1"
571 ip -netns $ioam_node_alpha route change db01::/64 encap ioam6 mode $mode \
598 [ "$1" = "encap" ] && mode="$1 tundst db01::1" || mode="$1"
[all …]
/linux/net/core/
H A Dsysctl_net_core.c137 .mode = table->mode in rps_sock_flow_sysctl()
389 .mode = 0644,
397 .mode = 0644,
404 .mode = 0644,
411 .mode = 0644,
418 .mode = 0644,
425 .mode = 0444,
433 .mode = 0644,
448 .mode = 0600,
457 .mode = 0600,
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c77 end = start + (crtc->mode.vdisplay * fb->pitches[0]); in set_scanout()
214 pclk_rate = crtc->mode.clock * 1000; in tilcdc_crtc_set_clk()
255 tilcdc_crtc->lcd_fck_rate, crtc->mode.clock, clkdiv); in tilcdc_crtc_set_clk()
267 static uint tilcdc_mode_hvtotal(const struct drm_display_mode *mode) in tilcdc_mode_hvtotal() argument
269 return (uint) div_u64(1000llu * mode->htotal * mode->vtotal, in tilcdc_mode_hvtotal()
270 mode->clock); in tilcdc_mode_hvtotal()
280 struct drm_display_mode *mode = &crtc->state->adjusted_mode; in tilcdc_crtc_set_mode() local
315 hbp = mode->htotal - mode->hsync_end; in tilcdc_crtc_set_mode()
316 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_set_mode()
317 hsw = mode->hsync_end - mode->hsync_start; in tilcdc_crtc_set_mode()
[all …]
/linux/drivers/infiniband/core/
H A Dcounters.c24 port_counter->mode.mode = new_mode; in __counter_set_mode()
25 port_counter->mode.mask = new_mask; in __counter_set_mode()
47 enum rdma_nl_counter_mode mode; in rdma_counter_set_auto_mode() local
56 mode = RDMA_COUNTER_MODE_AUTO; in rdma_counter_set_auto_mode()
58 mode = (port_counter->num_counters) ? RDMA_COUNTER_MODE_MANUAL : in rdma_counter_set_auto_mode()
61 if (port_counter->mode.mode == mode && in rdma_counter_set_auto_mode()
62 port_counter->mode.mask == mask) { in rdma_counter_set_auto_mode()
67 ret = __counter_set_mode(port_counter, mode, mask); in rdma_counter_set_auto_mode()
82 struct auto_mode_param *param = &counter->mode.param; in auto_mode_init_counter()
84 counter->mode.mode = RDMA_COUNTER_MODE_AUTO; in auto_mode_init_counter()
[all …]
/linux/net/sctp/
H A Dsysctl.c66 .mode = 0644,
73 .mode = 0644,
80 .mode = 0644,
100 .mode = 0644,
109 .mode = 0644,
118 .mode = 0644,
127 .mode = 0644,
136 .mode = 0644,
145 .mode = 0644,
154 .mode = 0644,
[all …]
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_sriov.c33 enum vf_mode mode = 0; in num_vfs_to_mode() local
37 mode = __NDEV_MODE_PF; in num_vfs_to_mode()
40 mode = __NDEV_MODE_VF16; in num_vfs_to_mode()
43 mode = __NDEV_MODE_VF32; in num_vfs_to_mode()
46 mode = __NDEV_MODE_VF64; in num_vfs_to_mode()
49 mode = __NDEV_MODE_VF128; in num_vfs_to_mode()
53 return mode; in num_vfs_to_mode()
56 static inline int vf_mode_to_nr_queues(enum vf_mode mode) in vf_mode_to_nr_queues() argument
60 switch (mode) { in vf_mode_to_nr_queues()
173 ndev->mode = num_vfs_to_mode(num_vfs); in nitrox_sriov_enable()
[all …]
/linux/drivers/video/fbdev/i810/
H A Di810_dvt.c249 u32 mode, pixclock; in i810fb_fill_var_timings() local
255 mode = i810fb_find_best_mode(xres, yres, pixclock); in i810fb_fill_var_timings()
257 total = (std_modes[mode].cr00 | (std_modes[mode].cr35 & 1) << 8) + 3; in i810fb_fill_var_timings()
260 var->pixclock = 1000000000 / std_modes[mode].pixclock; in i810fb_fill_var_timings()
261 var->right_margin = (std_modes[mode].cr04 << 3) - xres; in i810fb_fill_var_timings()
262 var->hsync_len = ((std_modes[mode].cr05 & 0x1F) - in i810fb_fill_var_timings()
263 (std_modes[mode].cr04 & 0x1F)) << 3; in i810fb_fill_var_timings()
267 if (~(std_modes[mode].msr & (1 << 6))) in i810fb_fill_var_timings()
269 if (~(std_modes[mode].msr & (1 << 7))) in i810fb_fill_var_timings()
272 total = (std_modes[mode].cr06 | (std_modes[mode].cr30 & 0xF) << 8) + 2; in i810fb_fill_var_timings()
[all …]
/linux/fs/vboxsf/
H A Dutils.c54 umode_t mode; in vboxsf_init_inode() local
58 #define mode_set(r) ((attr->mode & (SHFL_UNIX_##r)) ? (S_##r) : 0) in vboxsf_init_inode()
60 mode = mode_set(IRUSR); in vboxsf_init_inode()
61 mode |= mode_set(IWUSR); in vboxsf_init_inode()
62 mode |= mode_set(IXUSR); in vboxsf_init_inode()
64 mode |= mode_set(IRGRP); in vboxsf_init_inode()
65 mode |= mode_set(IWGRP); in vboxsf_init_inode()
66 mode |= mode_set(IXGRP); in vboxsf_init_inode()
68 mode |= mode_set(IROTH); in vboxsf_init_inode()
69 mode |= mode_set(IWOTH); in vboxsf_init_inode()
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_venc.c821 union meson_hdmi_venc_mode *mode; member
865 meson_venc_hdmi_supported_mode(const struct drm_display_mode *mode) in meson_venc_hdmi_supported_mode() argument
867 if (mode->flags & ~(DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NHSYNC | in meson_venc_hdmi_supported_mode()
871 if (mode->hdisplay < 400 || mode->hdisplay > 1920) in meson_venc_hdmi_supported_mode()
874 if (mode->vdisplay < 480 || mode->vdisplay > 1920) in meson_venc_hdmi_supported_mode()
885 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic()
895 static void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, in meson_venc_hdmi_get_dmt_vmode() argument
903 dmt_mode->encp.max_pxcnt = mode->htotal - 1; in meson_venc_hdmi_get_dmt_vmode()
904 dmt_mode->encp.havon_begin = mode->htotal - mode->hsync_start; in meson_venc_hdmi_get_dmt_vmode()
906 mode->hdisplay - 1; in meson_venc_hdmi_get_dmt_vmode()
[all …]

12345678910>>...288