/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | ddr3_training_centralization.c | 92 if (mode == CENTRAL_TX) { in ddr3_tip_centralization() 109 bus_end_window[mode][if_id][bus_id] = in ddr3_tip_centralization() 156 ((mode == in ddr3_tip_centralization() 310 bus_end_window[mode][if_id] in ddr3_tip_centralization() 316 bus_end_window[mode][if_id] in ddr3_tip_centralization() 330 bus_start_window[mode] in ddr3_tip_centralization() 332 bus_end_window[mode] in ddr3_tip_centralization() 360 [mode][if_id][bus_id] == in ddr3_tip_centralization() 363 [mode][if_id][bus_id] - in ddr3_tip_centralization() 444 ((mode == CENTRAL_TX) ? in ddr3_tip_centralization() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 89 htotal = mode->crtc_htotal; in i915_get_vblank_counter() 90 hsync_start = mode->crtc_hsync_start; in i915_get_vblank_counter() 91 vbl_start = mode->crtc_vblank_start; in i915_get_vblank_counter() 137 u32 htotal = mode->crtc_htotal; in intel_crtc_scanlines_since_frame_timestamp() 138 u32 clock = mode->crtc_clock; in intel_crtc_scanlines_since_frame_timestamp() 184 u32 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline_from_timestamp() 211 mode = &vblank->hwmode; in __intel_get_crtc_scanline() 216 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline() 278 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos() 280 vtotal = mode->crtc_vtotal; in i915_get_crtc_scanoutpos() [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16_main.c | 223 if (!(chip->mode & SB_RATE_LOCK)) { in snd_sb16_setup_rate() 510 chip->mode |= SB_MODE_PLAYBACK_16; in snd_sb16_playback_open() 524 chip->mode |= SB_MODE_PLAYBACK_8; in snd_sb16_playback_open() 547 if (chip->mode & SB_RATE_LOCK) in snd_sb16_playback_open() 562 chip->mode &= ~SB_MODE_PLAYBACK; in snd_sb16_playback_close() 574 if (chip->mode & SB_MODE_CAPTURE) { in snd_sb16_capture_open() 585 chip->mode |= SB_MODE_CAPTURE_16; in snd_sb16_capture_open() 599 chip->mode |= SB_MODE_CAPTURE_8; in snd_sb16_capture_open() 603 chip->mode |= SB_MODE_CAPTURE_16; in snd_sb16_capture_open() 622 if (chip->mode & SB_RATE_LOCK) in snd_sb16_capture_open() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 68 if (asyh->set.mode ) head->func->mode (head, asyh); in nv50_head_flush_set() 96 u32 mode = 0x00; in nv50_head_atomic_check_dither() local 103 mode = asyc->dither.mode; in nv50_head_atomic_check_dither() 116 asyh->dither.mode = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, MODE); in nv50_head_atomic_check_dither() 128 int mode = asyc->scaler.mode; in nv50_head_atomic_check_view() local 183 switch (mode) { in nv50_head_atomic_check_view() 299 m->h.synce = mode->crtc_hsync_end - mode->crtc_hsync_start - 1; in nv50_head_atomic_check_mode() 300 m->h.blanke = mode->crtc_hblank_end - mode->crtc_hsync_start - 1; in nv50_head_atomic_check_mode() 304 m->v.synce = mode->crtc_vsync_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode() 305 m->v.blanke = mode->crtc_vblank_end - mode->crtc_vsync_start - 1; in nv50_head_atomic_check_mode() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | mode-2-recovery-updelay.sh | 37 test_bond_recovery mode 2 miimon 100 updelay 0 38 test_bond_recovery mode 2 miimon 100 updelay 200 39 test_bond_recovery mode 2 miimon 100 updelay 500 40 test_bond_recovery mode 2 miimon 100 updelay 1000 41 test_bond_recovery mode 2 miimon 100 updelay 2000 42 test_bond_recovery mode 2 miimon 100 updelay 5000 43 test_bond_recovery mode 2 miimon 100 updelay 10000
|
H A D | mode-1-recovery-updelay.sh | 37 test_bond_recovery mode 1 miimon 100 updelay 0 38 test_bond_recovery mode 1 miimon 100 updelay 200 39 test_bond_recovery mode 1 miimon 100 updelay 500 40 test_bond_recovery mode 1 miimon 100 updelay 1000 41 test_bond_recovery mode 1 miimon 100 updelay 2000 42 test_bond_recovery mode 1 miimon 100 updelay 5000 43 test_bond_recovery mode 1 miimon 100 updelay 10000
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8150-hdk.dts | 96 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 104 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 110 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 135 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 141 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 147 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 154 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 160 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 166 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; [all …]
|
H A D | sm8150-mtp.dts | 91 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 99 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 105 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 132 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 138 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 144 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 151 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 157 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 163 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 176 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; [all …]
|
/openbmc/linux/drivers/hv/ |
H A D | hv_utils_transport.c | 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() 131 hvt->mode = HVUTIL_TRANSPORT_CHARDEV; in hvt_op_open() 139 hvt->mode = HVUTIL_TRANSPORT_CHARDEV; in hvt_op_open() 167 mode_old = hvt->mode; in hvt_op_release() 169 hvt->mode = HVUTIL_TRANSPORT_INIT; in hvt_op_release() 207 if (hvt->mode == HVUTIL_TRANSPORT_INIT) in hvt_cn_callback() 208 hvt->mode = HVUTIL_TRANSPORT_NETLINK; in hvt_cn_callback() 330 mode_old = hvt->mode; in hvutil_transport_destroy() [all …]
|
/openbmc/linux/ipc/ |
H A D | ipc_sysctl.c | 81 .mode = 0644, 88 .mode = 0644, 95 .mode = 0644, 104 .mode = 0644, 113 .mode = 0644, 209 int mode = table->mode; in ipc_permissions() local 219 mode = 0666; in ipc_permissions() 229 mode >>= 6; in ipc_permissions() 232 mode >>= 3; in ipc_permissions() 235 mode &= 7; in ipc_permissions() [all …]
|
/openbmc/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 221 vtotal = mode->vtotal - 2; in mgag200_set_mode_regs() 560 if ((mode->hdisplay % 8) != 0 || (mode->hsync_start % 8) != 0 || in mgag200_crtc_helper_mode_valid() 561 (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) { in mgag200_crtc_helper_mode_valid() 565 if (mode->crtc_hdisplay > 2048 || mode->crtc_hsync_start > 4096 || in mgag200_crtc_helper_mode_valid() 566 mode->crtc_hsync_end > 4096 || mode->crtc_htotal > 4096 || in mgag200_crtc_helper_mode_valid() 567 mode->crtc_vdisplay > 2048 || mode->crtc_vsync_start > 4096 || in mgag200_crtc_helper_mode_valid() 568 mode->crtc_vsync_end > 4096 || mode->crtc_vtotal > 4096) { in mgag200_crtc_helper_mode_valid() 766 if (!mode->htotal || !mode->vtotal || !mode->clock) in mgag200_calculate_mode_bandwidth() 769 active_area = mode->hdisplay * mode->vdisplay; in mgag200_calculate_mode_bandwidth() 770 total_area = mode->htotal * mode->vtotal; in mgag200_calculate_mode_bandwidth() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | svga.rst | 21 enter ``scan`` on the video mode prompt, pick the mode you want to use, 42 better to use absolute mode numbers instead. 51 The ASK_VGA mode causes the kernel to offer a video mode menu upon 55 the standard 80x25 mode. 76 next section for a description of mode IDs). 81 a mode. It's also possible to press only <RETURN> which leaves the current mode. 137 0x0f04 leave current video mode 176 When the mode detection doesn't work (e.g., the mode list is incorrect or 185 video mode setting. In this case, you must specify the 0x0f04 mode ("leave 221 Added a Tseng 132x60 mode. [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 157.out | 7 Cache mode: writeback 9 Cache mode: writeback 11 Cache mode: writeback 13 Cache mode: writethrough 15 Cache mode: writethrough 17 Cache mode: writethrough 19 Cache mode: writeback 21 Cache mode: writethrough
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_ipp.c | 72 int mode; in dce_ipp_cursor_set_attributes() local 80 mode = 0; in dce_ipp_cursor_set_attributes() 83 mode = 1; in dce_ipp_cursor_set_attributes() 86 mode = 2; in dce_ipp_cursor_set_attributes() 89 mode = 3; in dce_ipp_cursor_set_attributes() 93 mode = 0; in dce_ipp_cursor_set_attributes() 97 CURSOR_MODE, mode, in dce_ipp_cursor_set_attributes() 219 enum ipp_degamma_mode mode) in dce_ipp_set_degamma() argument 224 ASSERT(mode == IPP_DEGAMMA_MODE_BYPASS || mode == IPP_DEGAMMA_MODE_HW_sRGB); in dce_ipp_set_degamma() 235 enum ipp_degamma_mode mode) in dce60_ipp_set_degamma() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xcp.c | 130 xcp_mgr->mode = mode; in amdgpu_xcp_init() 173 if (xcp_mgr->mode == mode) in amdgpu_xcp_switch_partition_mode() 181 curr_mode = xcp_mgr->mode; in amdgpu_xcp_switch_partition_mode() 193 xcp_mgr->mode = curr_mode; in amdgpu_xcp_switch_partition_mode() 206 int mode; in amdgpu_xcp_query_partition_mode() local 209 return xcp_mgr->mode; in amdgpu_xcp_query_partition_mode() 212 return xcp_mgr->mode; in amdgpu_xcp_query_partition_mode() 217 if (xcp_mgr->mode != AMDGPU_XCP_MODE_TRANS && mode != xcp_mgr->mode) in amdgpu_xcp_query_partition_mode() 221 xcp_mgr->mode, mode); in amdgpu_xcp_query_partition_mode() 226 return mode; in amdgpu_xcp_query_partition_mode() [all …]
|
/openbmc/u-boot/arch/arm/mach-zynq/ |
H A D | spl.c | 41 u32 mode; in spl_boot_device() local 47 mode = BOOT_DEVICE_SPI; in spl_boot_device() 51 mode = BOOT_DEVICE_NAND; in spl_boot_device() 54 mode = BOOT_DEVICE_NOR; in spl_boot_device() 59 mode = BOOT_DEVICE_MMC1; in spl_boot_device() 63 mode = BOOT_DEVICE_RAM; in spl_boot_device() 70 return mode; in spl_boot_device()
|
/openbmc/linux/drivers/gpu/drm/imx/lcdc/ |
H A D | imx-lcdc.c | 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 207 mode->clock * 1000); in imx_lcdc_pipe_enable() 278 const struct drm_display_mode *mode = &crtc_state->mode; in imx_lcdc_pipe_check() local 281 if (mode->hdisplay < LCDC_MIN_XRES || mode->hdisplay > LCDC_MAX_XRES || in imx_lcdc_pipe_check() 282 mode->vdisplay < LCDC_MIN_YRES || mode->vdisplay > LCDC_MAX_YRES || in imx_lcdc_pipe_check() [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | cma3000_d0x.rst | 61 mode: 62 Default Operating mode 109 mode:: 111 0: power down mode 112 1: 100 Hz Measurement mode 113 2: 400 Hz Measurement mode 114 3: 40 Hz Measurement mode 115 4: Motion Detect mode (default) 116 5: 100 Hz Free fall mode 117 6: 40 Hz Free fall mode [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_sysctl.c | 74 .mode = 0644, 83 .mode = 0644, 92 .mode = 0644, 102 .mode = 0644, 111 .mode = 0644, 120 .mode = 0644, 129 .mode = 0644, 138 .mode = 0644, 147 .mode = 0644, 156 .mode = 0644, [all …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-get-rec-mode.rst | 14 LIRC_GET_REC_MODE/LIRC_SET_REC_MODE - Get/set current receive mode. 21 ``int ioctl(int fd, LIRC_GET_REC_MODE, __u32 *mode)`` 25 ``int ioctl(int fd, LIRC_SET_REC_MODE, __u32 *mode)`` 33 ``mode`` 39 Get and set the current receive mode. Only 40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and 41 :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` are supported. 69 - Invalid mode or invalid mode for this device.
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_standalone.c | 623 .mode = 0644, 629 .mode = 0444, 643 .mode = 0644, 652 .mode = 0644, 659 .mode = 0644, 666 .mode = 0644, 676 .mode = 0644, 687 .mode = 0644, 696 .mode = 0644, 702 .mode = 0644, [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 490 mode->mode); in expect_insert() 552 for (mode = insert_modes; mode->name; mode++) { in __drm_test_mm_insert() 710 mode->mode); in expect_insert_in_range() 838 for (mode = insert_modes; mode->name; mode++) { in __drm_test_mm_insert_range() 1013 for (mode = insert_modes; mode->name; mode++) { in drm_test_mm_frag() 1071 for (mode = insert_modes; mode->name; mode++) { in drm_test_mm_align() 1432 for (mode = evict_modes; mode->name; mode++) { in drm_test_mm_evict() 1513 for (mode = evict_modes; mode->name; mode++) { in drm_test_mm_evict_range() 1889 for (mode = insert_modes; mode->name; mode++) { in drm_test_mm_color() 2080 for (mode = evict_modes; mode->name; mode++) { in drm_test_mm_color_evict() [all …]
|
/openbmc/linux/drivers/net/team/ |
H A D | Kconfig | 19 tristate "Broadcast mode support" 26 To compile this team mode as a module, choose M here: the module 30 tristate "Round-robin mode support" 33 Basic mode where port used for transmitting packets is selected in 38 To compile this team mode as a module, choose M here: the module 42 tristate "Random mode support" 45 Basic mode where port used for transmitting packets is selected 50 To compile this team mode as a module, choose M here: the module 54 tristate "Active-backup mode support" 63 To compile this team mode as a module, choose M here: the module [all …]
|
/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 179 for (mode = ch7006_modes; mode->mode.clock; mode++) { 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() 236 const struct ch7006_mode *mode = priv->mode; in ch7006_setup_subcarrier() local 259 const struct ch7006_mode *mode = priv->mode; in ch7006_setup_pll() local 268 if (abs(freq - mode->mode.clock) < in ch7006_setup_pll() 269 abs(best_freq - mode->mode.clock)) { in ch7006_setup_pll() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | inode.c | 207 uint16_t mode, in xchk_inode_extsize() argument 243 uint16_t mode, in xchk_inode_cowextsize() argument 262 uint16_t mode, in xchk_inode_flags() argument 307 uint16_t mode, in xchk_inode_flags2() argument 378 uint16_t mode; in xchk_dinode() local 453 if (!S_ISCHR(mode) && !S_ISBLK(mode) && in xchk_dinode() 454 !S_ISFIFO(mode) && !S_ISSOCK(mode)) in xchk_dinode() 458 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 462 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode() 466 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode() [all …]
|