Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 25 of 138) sorted by relevance

123456

/openbmc/linux/sound/pci/emu10k1/
H A Demu10k1_patch.c68 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu10k1_sample_new()
72 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu10k1_sample_new()
77 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
92 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
101 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
115 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
117 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) { in snd_emu10k1_sample_new()
135 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu10k1_sample_new()
150 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
163 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
[all …]
/openbmc/linux/sound/isa/sb/
H A Demu8000_patch.c160 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
162 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new()
172 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu8000_sample_new()
217 s = read_word(data, offset, sp->v.mode_flags); in snd_emu8000_sample_new()
227 (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP))) in snd_emu8000_sample_new()
234 s = read_word(data, offset - k, sp->v.mode_flags); in snd_emu8000_sample_new()
237 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu8000_sample_new()
248 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu8000_sample_new()
252 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu8000_sample_new()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c213 if (crtc->mode_flags & I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP) in __intel_get_crtc_scanline()
269 crtc->mode_flags & I915_MODE_FLAG_USE_SCANLINE_COUNTER; in i915_get_crtc_scanoutpos()
303 if (crtc->mode_flags & I915_MODE_FLAG_VRR) { in i915_get_crtc_scanoutpos()
495 u8 mode_flags = crtc_state->mode_flags; in intel_crtc_update_active_timings() local
503 drm_WARN_ON(&i915->drm, (mode_flags & I915_MODE_FLAG_VRR) == 0); in intel_crtc_update_active_timings()
510 mode_flags &= ~I915_MODE_FLAG_VRR; in intel_crtc_update_active_timings()
532 crtc->mode_flags = mode_flags; in intel_crtc_update_active_timings()
H A Dintel_dsi_dcs_backlight.c74 unsigned long mode_flags; in dcs_set_backlight() local
85 mode_flags = dsi_device->mode_flags; in dcs_set_backlight()
86 dsi_device->mode_flags &= ~MIPI_DSI_MODE_LPM; in dcs_set_backlight()
89 dsi_device->mode_flags = mode_flags; in dcs_set_backlight()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-jdi-lt070me05000.c61 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_init()
151 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_on()
166 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in jdi_panel_off()
333 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
339 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
349 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
355 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
453 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
H A Dpanel-raydium-rm67191.c328 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_enable()
412 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_disable()
474 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_get_brightness()
494 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_update_status()
556 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO; in rad_panel_probe()
563 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_BURST; in rad_panel_probe()
570 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_SYNC_PULSE; in rad_panel_probe()
H A Dpanel-startek-kd070fhfid015.c131 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in stk_panel_off()
252 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
257 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
267 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
274 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
360 dsi->mode_flags = (MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM); in stk_panel_probe()
H A Dpanel-novatek-nt35950.c292 nt->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in nt35950_on()
293 nt->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in nt35950_on()
361 nt->dsi[0]->mode_flags &= ~MIPI_DSI_MODE_LPM; in nt35950_on()
362 nt->dsi[1]->mode_flags &= ~MIPI_DSI_MODE_LPM; in nt35950_on()
387 nt->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in nt35950_off()
388 nt->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in nt35950_off()
599 nt->dsi[i]->mode_flags = MIPI_DSI_CLOCK_NON_CONTINUOUS | in nt35950_probe()
603 nt->dsi[i]->mode_flags |= MIPI_DSI_MODE_VIDEO; in nt35950_probe()
H A Dpanel-asus-z00t-tm5p5-n35596.c205 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
211 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
222 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
228 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
283 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in tm5p5_nt35596_probe()
H A Dpanel-sharp-ls043t1le01.c43 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init()
70 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_on()
84 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sharp_nt_panel_off()
250 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in sharp_nt_panel_probe()
H A Dpanel-boe-himax8279d.c35 unsigned long mode_flags; member
527 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
827 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
902 dsi->mode_flags = desc->mode_flags; in panel_probe()
H A Dpanel-samsung-s6d7aa0.c40 unsigned long mode_flags; member
311 .mode_flags = MIPI_DSI_MODE_VSYNC_FLUSH | MIPI_DSI_MODE_VIDEO_NO_HFP,
414 .mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET,
442 .mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET,
512 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST in s6d7aa0_probe()
513 | ctx->desc->mode_flags; in s6d7aa0_probe()
H A Dpanel-sitronix-st7703.c70 unsigned long mode_flags; member
155 .mode_flags = MIPI_DSI_MODE_VIDEO |
339 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
430 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
628 dsi->mode_flags = ctx->desc->mode_flags; in st7703_probe()
H A Dpanel-truly-nt35597.c337 ctx->dsi[0]->mode_flags = 0; in truly_nt35597_unprepare()
338 ctx->dsi[1]->mode_flags = 0; in truly_nt35597_unprepare()
377 ctx->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
378 ctx->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
601 dsi_dev->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in truly_nt35597_probe()
H A Dpanel-boe-tv101wum-nl6.c33 unsigned long mode_flags; member
1760 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in boe_panel_enter_sleep_mode()
1914 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1943 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1971 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1998 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2026 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2053 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2081 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2108 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
[all …]
/openbmc/u-boot/fs/reiserfs/
H A Dmode_string.c34 static const mode_t mode_flags[] = { variable
63 if (mode & mode_flags[i+j]) { in bb_mode_string()
68 if (mode & mode_flags[i+j]) { in bb_mode_string()
/openbmc/linux/drivers/gpu/drm/mcde/
H A Dmcde_dsi.c164 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) in mcde_dsi_attach_to_mcde()
184 dev_info(d->dev, "mode flags: %08lx\n", mdsi->mode_flags); in mcde_dsi_host_attach()
442 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mcde_dsi_setup_video_mode()
444 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
522 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
616 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
653 && (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) in mcde_dsi_setup_video_mode()
671 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in mcde_dsi_setup_video_mode()
763 if (!(d->mdsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in mcde_dsi_start()
793 if (!(d->mdsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in mcde_dsi_start()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Ddebugfs.c47 mode = mlx5_get_str_port_sel_mode(ldev->mode, ldev->mode_flags); in port_sel_mode_show()
86 shared_fdb = test_bit(MLX5_LAG_MODE_FLAG_SHARED_FDB, &ldev->mode_flags); in flags_show()
88 &ldev->mode_flags); in flags_show()
115 if (test_bit(MLX5_LAG_MODE_FLAG_HASH_BASED, &ldev->mode_flags)) { in mapping_show()
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drzg2l_mipi_dsi.c46 unsigned long mode_flags; member
369 if ((dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) && in rzg2l_mipi_dsi_set_display_timing()
370 !(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) in rzg2l_mipi_dsi_set_display_timing()
410 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in rzg2l_mipi_dsi_set_display_timing()
426 is_clk_cont = !(dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS); in rzg2l_mipi_dsi_start_hs_clock()
456 is_clk_cont = !(dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS); in rzg2l_mipi_dsi_stop_hs_clock()
629 dsi->mode_flags = device->mode_flags; in rzg2l_mipi_dsi_host_attach()
/openbmc/linux/include/drm/bridge/
H A Ddw_mipi_dsi.h35 unsigned long mode_flags, u32 lanes, u32 format,
55 unsigned long mode_flags,
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_dsi.c52 dsim->mode_flags = device->mode_flags; in exynos_dsi_host_attach()
54 !(dsim->mode_flags & MIPI_DSI_MODE_VIDEO); in exynos_dsi_host_attach()
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dsi.c200 unsigned long mode_flags; member
333 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
334 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
336 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
407 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in mtk_dsi_rxtx_control()
410 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in mtk_dsi_rxtx_control()
477 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing()
486 delta = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? 18 : 12; in mtk_dsi_config_vdo_timing()
487 delta += dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET ? 0 : 2; in mtk_dsi_config_vdo_timing()
505 if ((dsi->mode_flags & MIPI_DSI_HS_PKT_END_ALIGNED) && in mtk_dsi_config_vdo_timing()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c253 unsigned long mode_flags; member
330 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
552 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
554 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
572 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
578 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
586 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in dw_mipi_dsi_set_mode()
902 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
981 dsi->mode_flags, in dw_mipi_dsi_bridge_mode_valid()
1210 dsi->slave->mode_flags = dsi->mode_flags; in dw_mipi_dsi_set_slave()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdping.c89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main() local
151 if ((xdp_flags & mode_flags) == mode_flags) { in main()
/openbmc/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c242 unsigned long mode_flags, u32 lanes, u32 format, in dw_mipi_dsi_get_lane_mbps() argument
257 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_get_lane_mbps()
330 unsigned long mode_flags, u32 lanes, u32 format) in dw_mipi_dsi_stm_mode_valid() argument
346 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in dw_mipi_dsi_stm_mode_valid()
365 if (!(mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) { in dw_mipi_dsi_stm_mode_valid()
394 if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in dw_mipi_dsi_stm_mode_valid()

123456