Home
last modified time | relevance | path

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

123

/Linux-v4.19/sound/pci/emu10k1/
Demu10k1_patch.c80 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu10k1_sample_new()
84 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu10k1_sample_new()
89 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
104 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
113 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
127 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
129 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) { in snd_emu10k1_sample_new()
147 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu10k1_sample_new()
162 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
175 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
[all …]
/Linux-v4.19/sound/isa/sb/
Demu8000_patch.c173 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
175 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new()
185 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu8000_sample_new()
229 s = read_word(data, offset, sp->v.mode_flags); in snd_emu8000_sample_new()
239 (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP))) in snd_emu8000_sample_new()
246 s = read_word(data, offset - k, sp->v.mode_flags); in snd_emu8000_sample_new()
249 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu8000_sample_new()
260 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu8000_sample_new()
264 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu8000_sample_new()
/Linux-v4.19/drivers/gpu/drm/panel/
Dpanel-jdi-lt070me05000.c70 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_init()
160 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_on()
175 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in jdi_panel_off()
342 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
348 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
358 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
364 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
471 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
Dpanel-sharp-ls043t1le01.c58 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init()
85 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_on()
99 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sharp_nt_panel_off()
297 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in sharp_nt_panel_probe()
Dpanel-orisetech-otm8009a.c105 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs()
110 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs()
446 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in otm8009a_probe()
/Linux-v4.19/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-v4.19/drivers/gpu/drm/
Ddrm_probe_helper.c395 int mode_flags = 0; in drm_helper_probe_single_connector_modes() local
491 mode_flags |= DRM_MODE_FLAG_INTERLACE; in drm_helper_probe_single_connector_modes()
493 mode_flags |= DRM_MODE_FLAG_DBLSCAN; in drm_helper_probe_single_connector_modes()
495 mode_flags |= DRM_MODE_FLAG_3D_MASK; in drm_helper_probe_single_connector_modes()
505 mode->status = drm_mode_validate_flag(mode, mode_flags); in drm_helper_probe_single_connector_modes()
/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c231 unsigned long mode_flags; member
286 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
478 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
480 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
489 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
493 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
774 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_bridge_mode_set()
/Linux-v4.19/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()
Dsegbuf.c341 int mode_flags) in nilfs_segbuf_submit_bio() argument
359 bio_set_op_attrs(bio, mode, mode_flags); in nilfs_segbuf_submit_bio()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_dsi.c177 unsigned long mode_flags; member
293 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
294 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
296 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
367 tmp_reg |= (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) << 6; in mtk_dsi_rxtx_control()
368 tmp_reg |= (dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET) >> 3; in mtk_dsi_rxtx_control()
426 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing()
872 dsi->mode_flags = device->mode_flags; in mtk_dsi_host_attach()
/Linux-v4.19/drivers/leds/
Dleds-max77693.c96 unsigned int mode_flags; member
199 led->mode_flags &= (~MODE_TORCH(i) & ~MODE_FLASH(i)); in max77693_add_mode()
201 new_mode_flags = mode | led->mode_flags; in max77693_add_mode()
204 if (new_mode_flags ^ led->mode_flags) in max77693_add_mode()
205 led->mode_flags = new_mode_flags; in max77693_add_mode()
209 ret = max77693_set_mode_reg(led, led->mode_flags); in max77693_add_mode()
218 led->mode_flags &= ~mode; in max77693_add_mode()
230 led->mode_flags &= ~mode; in max77693_clear_mode()
232 return max77693_set_mode_reg(led, led->mode_flags); in max77693_clear_mode()
/Linux-v4.19/sound/synth/emux/
Dsoundfont.c679 avp->sample_mode = sample->v.mode_flags; in set_sample()
983 smp->v.mode_flags = 0; in load_guspatch()
985 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_8BITS; in load_guspatch()
987 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_UNSIGNED; in load_guspatch()
988 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_NO_BLANK; in load_guspatch()
990 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_SINGLESHOT; in load_guspatch()
992 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_BIDIR_LOOP; in load_guspatch()
994 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_REVERSE_LOOP; in load_guspatch()
1105 if (!(smp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT)) in load_guspatch()
/Linux-v4.19/drivers/gpu/drm/msm/dsi/
Ddsi_host.c167 unsigned long mode_flags; member
787 static inline enum dsi_traffic_mode dsi_get_traffic_mode(const u32 mode_flags) in dsi_get_traffic_mode() argument
789 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dsi_get_traffic_mode()
791 else if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dsi_get_traffic_mode()
824 u32 flags = msm_host->mode_flags; in dsi_ctrl_config()
956 if (msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_timing_setup()
1060 if (!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO)) in dsi_wait4video_eng_busy()
1370 if ((msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) && (len > bllp_len)) { in dsi_cmds2buf_tx()
1597 msm_host->mode_flags = dsi->mode_flags; in dsi_host_attach()
1599 msm_dsi_manager_attach_dsi_device(msm_host->id, dsi->mode_flags); in dsi_host_attach()
[all …]
/Linux-v4.19/include/drm/bridge/
Ddw_mipi_dsi.h18 unsigned long mode_flags, u32 lanes, u32 format,
/Linux-v4.19/drivers/gpu/drm/bridge/
Dcdns-dsi.c745 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_mode2cfg()
952 if (!(output->dev->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in cdns_dsi_init_link()
1013 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
1020 if (!(output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in cdns_dsi_bridge_enable()
1027 if (!(output->dev->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) in cdns_dsi_bridge_enable()
1060 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) { in cdns_dsi_bridge_enable()
1087 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
1101 if (!(output->dev->mode_flags & MIPI_DSI_MODE_EOT_PACKET)) in cdns_dsi_bridge_enable()
1104 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) in cdns_dsi_bridge_enable()
1140 if (dev->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in cdns_dsi_attach()
/Linux-v4.19/mm/
Dmempolicy.c1138 unsigned short mode, unsigned short mode_flags, in do_mbind() argument
1166 new = mpol_new(mode, mode_flags, nmask); in do_mbind()
1181 start, start + len, mode, mode_flags, in do_mbind()
1321 unsigned short mode_flags; in kernel_mbind() local
1323 mode_flags = mode & MPOL_MODE_FLAGS; in kernel_mbind()
1327 if ((mode_flags & MPOL_F_STATIC_NODES) && in kernel_mbind()
1328 (mode_flags & MPOL_F_RELATIVE_NODES)) in kernel_mbind()
1333 return do_mbind(start, len, mode, mode_flags, &nodes, flags); in kernel_mbind()
2701 unsigned short mode_flags; in mpol_parse_str() local
2771 mode_flags = 0; in mpol_parse_str()
[all …]
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_dsi.c524 u32 mode_flags; member
739 bool non_continuous = dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS; in vc4_dsi_ulps()
938 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) in vc4_dsi_encoder_enable()
1075 ((dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) ? in vc4_dsi_encoder_enable()
1120 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in vc4_dsi_encoder_enable()
1306 dsi->mode_flags = device->mode_flags; in vc4_dsi_host_attach()
1331 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) { in vc4_dsi_host_attach()
/Linux-v4.19/sound/soc/qcom/qdsp6/
Dq6asm.c127 u32 mode_flags; member
147 uint32_t mode_flags; member
863 open->mode_flags = 0x00; in q6asm_open_write()
864 open->mode_flags |= ASM_LEGACY_STREAM_SESSION; in q6asm_open_write()
1153 open->mode_flags = 0x0; in __q6asm_open_read()
1155 open->mode_flags |= ASM_LEGACY_STREAM_SESSION << in __q6asm_open_read()
1160 open->mode_flags |= 0x00; in __q6asm_open_read()
/Linux-v4.19/include/uapi/sound/
Dsfnt_info.h168 unsigned short mode_flags; /* mode flags */ member
/Linux-v4.19/drivers/media/dvb-frontends/
Ds921.c450 unsigned int mode_flags, in s921_tune() argument
461 if (!(mode_flags & FE_TUNE_MODE_ONESHOT)) in s921_tune()
/Linux-v4.19/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c90 unsigned long mode_flags; member
560 dsi_set_video_mode(base, dsi->mode_flags); in dsi_mipi_init()
738 dsi->mode_flags = mdsi->mode_flags; in dsi_host_attach()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi.c310 unsigned long mode_flags; member
596 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
760 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
762 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/
Dadv7533.c175 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | in adv7533_attach_dsi()

123