Home
last modified time | relevance | path

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

123

/linux/sound/isa/sb/
H A Demu8000_patch.c153 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
155 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new()
164 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu8000_sample_new()
203 s = read_word(data, offset, sp->v.mode_flags); in snd_emu8000_sample_new()
213 (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP))) in snd_emu8000_sample_new()
220 s = read_word(data, offset - k, sp->v.mode_flags); in snd_emu8000_sample_new()
223 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu8000_sample_new()
234 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu8000_sample_new()
238 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu8000_sample_new()
/linux/sound/pci/emu10k1/
H A Demu10k1_patch.c41 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP | SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
48 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu10k1_sample_new()
51 xor = (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) ? 0 : 0x80808080; in snd_emu10k1_sample_new()
55 xor = (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) ? 0x80008000 : 0; in snd_emu10k1_sample_new()
60 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
63 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu10k1_sample_new()
/linux/drivers/gpu/drm/panel/
H A Dpanel-visionox-rm69299.c197 ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_unprepare()
219 ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_prepare()
296 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_get_brightness()
302 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_get_brightness()
313 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_update_status()
319 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_update_status()
389 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in visionox_rm69299_probe()
H A Dpanel-sitronix-st7703.c71 unsigned long mode_flags; member
153 .mode_flags = MIPI_DSI_MODE_VIDEO |
332 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
419 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
503 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
589 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
671 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
765 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
959 dsi->mode_flags = ctx->desc->mode_flags; in st7703_probe()
H A Dpanel-visionox-rm692e5.c58 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm692e5_on()
179 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm692e5_disable()
309 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm692e5_bl_update_status()
315 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm692e5_bl_update_status()
326 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm692e5_bl_get_brightness()
332 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm692e5_bl_get_brightness()
385 dsi->mode_flags = MIPI_DSI_CLOCK_NON_CONTINUOUS; in visionox_rm692e5_probe()
H A Dpanel-samsung-s6e8fc0-m1906f9.c173 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in s6e8fc0_bl_update_status()
179 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in s6e8fc0_bl_update_status()
190 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in s6e8fc0_bl_get_brightness()
196 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in s6e8fc0_bl_get_brightness()
249 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in s6e8fc0_m1906f9_probe()
H A Dpanel-himax-hx8394.c82 unsigned long mode_flags; member
200 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST,
329 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
476 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST,
617 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST,
728 .mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
857 .mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
1006 dsi->mode_flags = ctx->desc->mode_flags; in hx8394_probe()
H A Dpanel-boe-himax8279d.c35 unsigned long mode_flags; member
504 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
804 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
872 dsi->mode_flags = desc->mode_flags; in panel_probe()
H A Dpanel-novatek-nt37801.c56 dsi_ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in novatek_nt37801_on()
111 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in novatek_nt37801_off()
207 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in novatek_nt37801_bl_update_status()
213 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in novatek_nt37801_bl_update_status()
265 dsi->mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET | MIPI_DSI_CLOCK_NON_CONTINUOUS; in novatek_nt37801_probe()
H A Dpanel-boe-td4320.c50 ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in boe_td4320_on()
89 ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in boe_td4320_off()
196 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in boe_td4320_probe()
H A Dpanel-ilitek-ili9806e-dsi.c22 unsigned long mode_flags; member
131 dsi->mode_flags = ctx->desc->mode_flags; in ili9806e_dsi_probe()
310 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
474 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
H A Dpanel-sony-td4353-jdi.c52 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sony_td4353_jdi_on()
77 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sony_td4353_jdi_off()
209 dsi->mode_flags = MIPI_DSI_CLOCK_NON_CONTINUOUS; in sony_td4353_jdi_probe()
H A Dpanel-himax-hx83121a.c47 unsigned long mode_flags; member
690 ctx->dsi[i]->mode_flags = desc->mode_flags; in himax_probe()
716 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS |
735 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS |
H A Dpanel-himax-hx83112b.c320 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in hx83112b_bl_update_status()
326 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in hx83112b_bl_update_status()
378 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_BURST | in hx83112b_probe()
H A Dpanel-samsung-s6e88a0-ams427ap24.c537 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in s6e88a0_ams427ap24_on()
578 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in s6e88a0_ams427ap24_off()
714 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in s6e88a0_ams427ap24_probe()
/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()
/linux/tools/testing/selftests/bpf/
H A Dxdping.c
/linux/include/drm/bridge/
H A Ddw_mipi_dsi.h39 unsigned long mode_flags, u32 lanes, u32 format,
59 unsigned long mode_flags,
H A Ddw_mipi_dsi2.h49 unsigned long mode_flags, u32 lanes, u32 format,
69 unsigned long mode_flags,
/linux/drivers/leds/flash/
H A 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/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c421 unsigned long mode_flags, u32 lanes, u32 format, in dw_mipi_dsi_get_lane_mbps() argument
435 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_get_lane_mbps()
493 unsigned long mode_flags, u32 lanes, u32 format) in dw_mipi_dsi_stm_mode_valid() argument
509 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in dw_mipi_dsi_stm_mode_valid()
528 if (!(mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) { in dw_mipi_dsi_stm_mode_valid()
557 if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in dw_mipi_dsi_stm_mode_valid()
/linux/drivers/gpu/drm/bridge/
H A Dssd2825.c293 if (!(dev->mode_flags & MIPI_DSI_MODE_VIDEO)) { in ssd2825_dsi_host_attach()
555 if (dsi_dev->mode_flags & MIPI_DSI_MODE_VIDEO) in ssd2825_bridge_atomic_pre_enable()
573 if (dsi_dev->mode_flags & MIPI_DSI_MODE_LPM) in ssd2825_bridge_atomic_pre_enable()
576 if (dsi_dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in ssd2825_bridge_atomic_pre_enable()
597 if (dsi_dev->mode_flags & MIPI_DSI_MODE_VIDEO) in ssd2825_bridge_atomic_enable()
600 if (dsi_dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in ssd2825_bridge_atomic_enable()
H A Dsamsung-dsim.c1071 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in samsung_dsim_init_link()
1078 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in samsung_dsim_init_link()
1080 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in samsung_dsim_init_link()
1082 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_AUTO_VERT) in samsung_dsim_init_link()
1084 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HSE) in samsung_dsim_init_link()
1086 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HFP) in samsung_dsim_init_link()
1088 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HBP) in samsung_dsim_init_link()
1090 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HSA) in samsung_dsim_init_link()
1094 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in samsung_dsim_init_link()
1124 dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) { in samsung_dsim_init_link()
[all …]
/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c175 unsigned long mode_flags; member
762 static inline enum dsi_traffic_mode dsi_get_traffic_mode(const u32 mode_flags) in dsi_get_traffic_mode() argument
764 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dsi_get_traffic_mode()
766 else if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dsi_get_traffic_mode()
823 u32 flags = msm_host->mode_flags; in dsi_ctrl_enable()
1070 if (msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) in dsi_timing_setup()
1084 if (msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_timing_setup()
1222 if (!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO)) in dsi_wait4video_eng_busy()
1549 if ((msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) && (len > bllp_len)) { in dsi_cmds2buf_tx()
1724 msm_host->mode_flags = dsi->mode_flags; in dsi_host_attach()
[all …]
/linux/sound/synth/emux/
H A Dsoundfont.c631 avp->sample_mode = sample->v.mode_flags; in set_sample()
980 smp->v.mode_flags = 0; in load_guspatch()
982 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_8BITS; in load_guspatch()
984 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_UNSIGNED; in load_guspatch()
985 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_NO_BLANK; in load_guspatch()
987 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_SINGLESHOT; in load_guspatch()
989 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_BIDIR_LOOP; in load_guspatch()
991 smp->v.mode_flags |= SNDRV_SFNT_SAMPLE_REVERSE_LOOP; in load_guspatch()
1103 if (!(smp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT)) in load_guspatch()

123