Home
last modified time | relevance | path

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

12345

/Linux-v5.15/sound/pci/emu10k1/
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 …]
/Linux-v5.15/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()
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()
/Linux-v5.15/include/linux/iio/
Dkfifo_buf.h15 int mode_flags,
19 #define devm_iio_kfifo_buffer_setup(dev, indio_dev, mode_flags, setup_ops) \ argument
20 devm_iio_kfifo_buffer_setup_ext((dev), (indio_dev), (mode_flags), (setup_ops), NULL)
/Linux-v5.15/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()
461 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
Dpanel-raydium-rm67191.c327 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_enable()
411 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_disable()
473 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_get_brightness()
493 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_update_status()
555 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO; in rad_panel_probe()
562 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_BURST; in rad_panel_probe()
569 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_SYNC_PULSE; in rad_panel_probe()
Dpanel-boe-tv101wum-nl6.c34 unsigned long mode_flags; member
478 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in boe_panel_enter_sleep_mode()
610 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
637 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
665 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
692 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
719 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
816 dsi->mode_flags = desc->mode_flags; in boe_panel_probe()
Dpanel-asus-z00t-tm5p5-n35596.c226 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
232 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
243 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
249 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
304 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in tm5p5_nt35596_probe()
Dpanel-boe-himax8279d.c36 unsigned long mode_flags; member
528 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
828 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
903 dsi->mode_flags = desc->mode_flags; in panel_probe()
Dpanel-sharp-ls043t1le01.c46 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init()
73 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_on()
87 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sharp_nt_panel_off()
282 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in sharp_nt_panel_probe()
Dpanel-sitronix-st7703.c66 unsigned long mode_flags; member
159 .mode_flags = MIPI_DSI_MODE_VIDEO |
353 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
541 dsi->mode_flags = ctx->desc->mode_flags; in st7703_probe()
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()
602 dsi_dev->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in truly_nt35597_probe()
Dpanel-samsung-s6e88a0-ams452ef01.c55 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in s6e88a0_ams452ef01_on()
101 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in s6e88a0_ams452ef01_off()
240 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST; in s6e88a0_ams452ef01_probe()
Dpanel-visionox-rm69299.c67 ctx->dsi->mode_flags = 0; in visionox_rm69299_unprepare()
99 ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_prepare()
230 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in visionox_rm69299_probe()
Dpanel-novatek-nt36672a.c55 unsigned long mode_flags; member
590 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
647 dsi->mode_flags = desc->mode_flags; in nt36672a_panel_probe()
/Linux-v5.15/drivers/iio/buffer/
Dkfifo_buf.c224 int mode_flags, in devm_iio_kfifo_buffer_setup_ext() argument
230 if (!mode_flags) in devm_iio_kfifo_buffer_setup_ext()
237 mode_flags &= kfifo_access_funcs.modes; in devm_iio_kfifo_buffer_setup_ext()
239 indio_dev->modes |= mode_flags; in devm_iio_kfifo_buffer_setup_ext()
/Linux-v5.15/drivers/gpu/drm/mcde/
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 …]
/Linux-v5.15/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.15/drivers/gpu/drm/mediatek/
Dmtk_dsi.c198 unsigned long mode_flags; member
330 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
331 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
333 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
404 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in mtk_dsi_rxtx_control()
407 if (!(dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in mtk_dsi_rxtx_control()
474 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing()
483 delta = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? 18 : 12; in mtk_dsi_config_vdo_timing()
484 delta += dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET ? 2 : 0; in mtk_dsi_config_vdo_timing()
795 dsi->mode_flags = device->mode_flags; in mtk_dsi_host_attach()
/Linux-v5.15/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c274 u32 mode_flags; member
795 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in exynos_dsi_init_link()
802 if (!(dsi->mode_flags & MIPI_DSI_MODE_VSYNC_FLUSH)) in exynos_dsi_init_link()
804 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in exynos_dsi_init_link()
806 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in exynos_dsi_init_link()
808 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_AUTO_VERT) in exynos_dsi_init_link()
810 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HSE) in exynos_dsi_init_link()
812 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HFP)) in exynos_dsi_init_link()
814 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HBP)) in exynos_dsi_init_link()
816 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HSA)) in exynos_dsi_init_link()
[all …]
/Linux-v5.15/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c254 unsigned long mode_flags; member
355 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
576 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
578 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
596 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
602 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
610 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in dw_mipi_dsi_set_mode()
934 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
1234 dsi->slave->mode_flags = dsi->mode_flags; in dw_mipi_dsi_set_slave()
/Linux-v5.15/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()
/Linux-v5.15/drivers/leds/flash/
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.15/drivers/gpu/drm/bridge/
Dcdns-dsi.c519 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_mode2cfg()
569 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_adjust_phy_config()
630 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_check_conf()
758 if (!(output->dev->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in cdns_dsi_init_link()
818 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
825 if (!(output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in cdns_dsi_bridge_enable()
832 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_enable()
864 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) { in cdns_dsi_bridge_enable()
891 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
905 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_enable()
[all …]
/Linux-v5.15/drivers/gpu/drm/
Ddrm_probe_helper.c424 int mode_flags = 0; in drm_helper_probe_single_connector_modes() local
528 mode_flags |= DRM_MODE_FLAG_INTERLACE; in drm_helper_probe_single_connector_modes()
530 mode_flags |= DRM_MODE_FLAG_DBLSCAN; in drm_helper_probe_single_connector_modes()
532 mode_flags |= DRM_MODE_FLAG_3D_MASK; in drm_helper_probe_single_connector_modes()
546 mode->status = drm_mode_validate_flag(mode, mode_flags); in drm_helper_probe_single_connector_modes()
/Linux-v5.15/sound/synth/emux/
Dsoundfont.c670 avp->sample_mode = sample->v.mode_flags; in set_sample()
979 smp->v.mode_flags = 0; in load_guspatch()
981 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_8BITS; in load_guspatch()
983 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_UNSIGNED; in load_guspatch()
984 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_NO_BLANK; in load_guspatch()
986 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_SINGLESHOT; in load_guspatch()
988 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_BIDIR_LOOP; in load_guspatch()
990 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_REVERSE_LOOP; in load_guspatch()
1102 if (!(smp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT)) in load_guspatch()

12345