Home
last modified time | relevance | path

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

123

/Linux-v5.4/sound/pci/emu10k1/
Demu10k1_patch.c67 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu10k1_sample_new()
71 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu10k1_sample_new()
76 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
91 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
100 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
114 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
116 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) { in snd_emu10k1_sample_new()
134 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu10k1_sample_new()
149 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
162 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
[all …]
/Linux-v5.4/sound/isa/sb/
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()
216 s = read_word(data, offset, sp->v.mode_flags); in snd_emu8000_sample_new()
226 (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP))) in snd_emu8000_sample_new()
233 s = read_word(data, offset - k, sp->v.mode_flags); in snd_emu8000_sample_new()
236 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu8000_sample_new()
247 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu8000_sample_new()
251 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu8000_sample_new()
/Linux-v5.4/drivers/gpu/drm/panel/
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()
462 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
Dpanel-raydium-rm67191.c329 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_enable()
414 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_disable()
476 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_get_brightness()
496 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_update_status()
558 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in rad_panel_probe()
566 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_BURST; in rad_panel_probe()
573 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_SYNC_PULSE; in rad_panel_probe()
Dpanel-sharp-ls043t1le01.c48 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init()
75 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_on()
89 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sharp_nt_panel_off()
287 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in sharp_nt_panel_probe()
Dpanel-truly-nt35597.c344 ctx->dsi[0]->mode_flags = 0; in truly_nt35597_unprepare()
345 ctx->dsi[1]->mode_flags = 0; in truly_nt35597_unprepare()
387 ctx->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
388 ctx->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
626 dsi_dev->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in truly_nt35597_probe()
Dpanel-orisetech-otm8009a.c110 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs()
115 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs()
455 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in otm8009a_probe()
/Linux-v5.4/tools/testing/selftests/bpf/
Dxdping.c89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main() local
152 if ((xdp_flags & mode_flags) == mode_flags) { in main()
/Linux-v5.4/drivers/gpu/drm/mcde/
Dmcde_dsi.c147 dev_info(d->dev, "mode flags: %08lx\n", mdsi->mode_flags); in mcde_dsi_host_attach()
378 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mcde_dsi_setup_video_mode()
380 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
443 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
498 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
525 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in mcde_dsi_setup_video_mode()
578 if (d->mdsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET) in mcde_dsi_start()
608 if (!(d->mdsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in mcde_dsi_start()
694 (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) ? "VIDEO" : "CMD" in mcde_dsi_bridge_mode_set()
734 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mcde_dsi_bridge_mode_set()
[all …]
/Linux-v5.4/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c271 u32 mode_flags; member
793 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in exynos_dsi_init_link()
800 if (!(dsi->mode_flags & MIPI_DSI_MODE_VSYNC_FLUSH)) in exynos_dsi_init_link()
802 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in exynos_dsi_init_link()
804 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in exynos_dsi_init_link()
806 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_AUTO_VERT) in exynos_dsi_init_link()
808 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HSE) in exynos_dsi_init_link()
810 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HFP)) in exynos_dsi_init_link()
812 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HBP)) in exynos_dsi_init_link()
814 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HSA)) in exynos_dsi_init_link()
[all …]
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c237 unsigned long mode_flags; member
311 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
524 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
526 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
542 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
546 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
854 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
1086 dsi->slave->mode_flags = dsi->mode_flags; in dw_mipi_dsi_set_slave()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_probe_helper.c396 int mode_flags = 0; in drm_helper_probe_single_connector_modes() local
499 mode_flags |= DRM_MODE_FLAG_INTERLACE; in drm_helper_probe_single_connector_modes()
501 mode_flags |= DRM_MODE_FLAG_DBLSCAN; in drm_helper_probe_single_connector_modes()
503 mode_flags |= DRM_MODE_FLAG_3D_MASK; in drm_helper_probe_single_connector_modes()
513 mode->status = drm_mode_validate_flag(mode, mode_flags); in drm_helper_probe_single_connector_modes()
/Linux-v5.4/fs/nilfs2/
Dbtnode.c56 sector_t pblocknr, int mode, int mode_flags, in nilfs_btnode_submit_block() argument
89 if (mode_flags & REQ_RAHEAD) { in nilfs_btnode_submit_block()
108 submit_bh(mode, mode_flags, bh); in nilfs_btnode_submit_block()
Dmdt.c115 int mode, int mode_flags, struct buffer_head **out_bh) in nilfs_mdt_submit_block() argument
129 if (mode_flags & REQ_RAHEAD) { in nilfs_mdt_submit_block()
151 submit_bh(mode, mode_flags, bh); in nilfs_mdt_submit_block()
/Linux-v5.4/drivers/leds/
Dleds-max77693.c93 unsigned int mode_flags; member
196 led->mode_flags &= (~MODE_TORCH(i) & ~MODE_FLASH(i)); in max77693_add_mode()
198 new_mode_flags = mode | led->mode_flags; in max77693_add_mode()
201 if (new_mode_flags ^ led->mode_flags) in max77693_add_mode()
202 led->mode_flags = new_mode_flags; in max77693_add_mode()
206 ret = max77693_set_mode_reg(led, led->mode_flags); in max77693_add_mode()
215 led->mode_flags &= ~mode; in max77693_add_mode()
227 led->mode_flags &= ~mode; in max77693_clear_mode()
229 return max77693_set_mode_reg(led, led->mode_flags); in max77693_clear_mode()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_dsi.c171 unsigned long mode_flags; member
287 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
288 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
290 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
361 tmp_reg |= (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) << 6; in mtk_dsi_rxtx_control()
362 tmp_reg |= (dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET) >> 3; in mtk_dsi_rxtx_control()
420 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing()
879 dsi->mode_flags = device->mode_flags; in mtk_dsi_host_attach()
/Linux-v5.4/drivers/gpu/drm/bridge/
Dcdns-dsi.c519 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_mode2cfg()
570 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_adjust_phy_config()
631 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_check_conf()
756 if (!(output->dev->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in cdns_dsi_init_link()
817 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
824 if (!(output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in cdns_dsi_bridge_enable()
831 if (!(output->dev->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) in cdns_dsi_bridge_enable()
863 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) { in cdns_dsi_bridge_enable()
890 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
904 if (!(output->dev->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) in cdns_dsi_bridge_enable()
[all …]
/Linux-v5.4/sound/synth/emux/
Dsoundfont.c666 avp->sample_mode = sample->v.mode_flags; in set_sample()
972 smp->v.mode_flags = 0; in load_guspatch()
974 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_8BITS; in load_guspatch()
976 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_UNSIGNED; in load_guspatch()
977 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_NO_BLANK; in load_guspatch()
979 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_SINGLESHOT; in load_guspatch()
981 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_BIDIR_LOOP; in load_guspatch()
983 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_REVERSE_LOOP; in load_guspatch()
1094 if (!(smp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT)) in load_guspatch()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c161 unsigned long mode_flags; member
781 static inline enum dsi_traffic_mode dsi_get_traffic_mode(const u32 mode_flags) in dsi_get_traffic_mode() argument
783 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dsi_get_traffic_mode()
785 else if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dsi_get_traffic_mode()
818 u32 flags = msm_host->mode_flags; in dsi_ctrl_config()
950 if (msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_timing_setup()
1054 if (!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO)) in dsi_wait4video_eng_busy()
1366 if ((msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) && (len > bllp_len)) { in dsi_cmds2buf_tx()
1593 msm_host->mode_flags = dsi->mode_flags; in dsi_host_attach()
2278 !!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO), true); in msm_dsi_host_enable()
[all …]
/Linux-v5.4/include/drm/bridge/
Ddw_mipi_dsi.h28 unsigned long mode_flags, u32 lanes, u32 format,
/Linux-v5.4/mm/
Dmempolicy.c1218 unsigned short mode, unsigned short mode_flags, in do_mbind() argument
1247 new = mpol_new(mode, mode_flags, nmask); in do_mbind()
1262 start, start + len, mode, mode_flags, in do_mbind()
1410 unsigned short mode_flags; in kernel_mbind() local
1413 mode_flags = mode & MPOL_MODE_FLAGS; in kernel_mbind()
1417 if ((mode_flags & MPOL_F_STATIC_NODES) && in kernel_mbind()
1418 (mode_flags & MPOL_F_RELATIVE_NODES)) in kernel_mbind()
1423 return do_mbind(start, len, mode, mode_flags, &nodes, flags); in kernel_mbind()
2799 unsigned short mode_flags; in mpol_parse_str() local
2865 mode_flags = 0; in mpol_parse_str()
[all …]
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_dsi.c517 u32 mode_flags; member
677 bool non_continuous = dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS; in vc4_dsi_ulps()
877 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) in vc4_dsi_encoder_enable()
1014 ((dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) ? in vc4_dsi_encoder_enable()
1059 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in vc4_dsi_encoder_enable()
1246 dsi->mode_flags = device->mode_flags; in vc4_dsi_host_attach()
1271 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) { in vc4_dsi_host_attach()
/Linux-v5.4/sound/soc/qcom/qdsp6/
Dq6asm.c128 u32 mode_flags; member
148 uint32_t mode_flags; member
864 open->mode_flags = 0x00; in q6asm_open_write()
865 open->mode_flags |= ASM_LEGACY_STREAM_SESSION; in q6asm_open_write()
1157 open->mode_flags = 0x0; in __q6asm_open_read()
1159 open->mode_flags |= ASM_LEGACY_STREAM_SESSION << in __q6asm_open_read()
1164 open->mode_flags |= 0x00; in __q6asm_open_read()
/Linux-v5.4/include/uapi/sound/
Dsfnt_info.h168 unsigned short mode_flags; /* mode flags */ member
/Linux-v5.4/drivers/media/dvb-frontends/
Ds921.c442 unsigned int mode_flags, in s921_tune() argument
453 if (!(mode_flags & FE_TUNE_MODE_ONESHOT)) in s921_tune()

123