Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 25 of 68) 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-jdi-lt070me05000.c54 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_init()
144 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_on()
159 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in jdi_panel_off()
306 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
312 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
322 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
328 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
423 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
H A Dpanel-startek-kd070fhfid015.c98 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in stk_panel_off()
199 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
204 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
213 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
218 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
304 dsi->mode_flags = (MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM); in stk_panel_probe()
H A Dpanel-novatek-nt37801.c60 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in novatek_nt37801_on()
117 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in novatek_nt37801_off()
222 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in novatek_nt37801_bl_update_status()
228 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in novatek_nt37801_bl_update_status()
280 dsi->mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET | MIPI_DSI_CLOCK_NON_CONTINUOUS; in novatek_nt37801_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-samsung-sofef00.c60 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sofef00_panel_on()
181 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sofef00_panel_bl_update_status()
187 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sofef00_panel_bl_update_status()
239 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_BURST | in sofef00_panel_probe()
H A Dpanel-truly-nt35597.c328 ctx->dsi[0]->mode_flags = 0; in truly_nt35597_unprepare()
329 ctx->dsi[1]->mode_flags = 0; in truly_nt35597_unprepare()
364 ctx->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
365 ctx->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
579 dsi_dev->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in truly_nt35597_probe()
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-ilitek-ili9881c.c44 const unsigned long mode_flags; member
2358 dsi->mode_flags = ctx->desc->mode_flags; in ili9881c_dsi_probe()
2377 .mode_flags = MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
2385 .mode_flags = MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
2393 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2401 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2410 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
2419 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
2428 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
2436 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM,
[all …]
H A Dpanel-boe-tv101wum-nl6.c35 unsigned long mode_flags; member
1322 boe->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in boe_panel_disable()
1445 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1474 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1502 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1529 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1557 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1584 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1612 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1639 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
[all …]
H A Dpanel-novatek-nt36672a.c54 unsigned long mode_flags; member
577 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
633 dsi->mode_flags = desc->mode_flags; in nt36672a_panel_probe()
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi2.c205 unsigned long mode_flags; member
242 if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HFP) in dw_mipi_dsi2_set_vid_mode()
245 if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HBP) in dw_mipi_dsi2_set_vid_mode()
248 if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HSA) in dw_mipi_dsi2_set_vid_mode()
251 if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi2_set_vid_mode()
253 else if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi2_set_vid_mode()
406 if (dsi2->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in dw_mipi_dsi2_tx_option_set()
470 if (!(dsi2->mode_flags & MIPI_DSI_MODE_VIDEO)) in dw_mipi_dsi2_ipi_set()
529 dsi2->mode_flags = device->mode_flags; in dw_mipi_dsi2_host_attach()
791 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi2->mode_flags, in dw_mipi_dsi2_mode_set()
[all …]
H A Ddw-mipi-dsi.c257 unsigned long mode_flags; member
334 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
609 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
611 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
629 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
635 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
643 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in dw_mipi_dsi_set_mode()
728 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in dw_mipi_dsi_packet_handler_config()
783 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in dw_mipi_dsi_get_hcomponent_lbcc()
989 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dsi.c216 unsigned long mode_flags; member
358 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
359 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
361 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
387 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in mtk_dsi_rxtx_control()
390 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in mtk_dsi_rxtx_control()
457 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mtk_dsi_config_vdo_timing_per_frame_lp()
472 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in mtk_dsi_config_vdo_timing_per_frame_lp()
522 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing_per_line_lp()
531 delta = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? 18 : 12; in mtk_dsi_config_vdo_timing_per_line_lp()
[all …]
/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()
/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/bridge/
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/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()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_mipi_dsi.c75 unsigned long mode_flags; member
480 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in rcar_mipi_dsi_set_display_timing()
481 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in rcar_mipi_dsi_set_display_timing()
483 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HFP)) in rcar_mipi_dsi_set_display_timing()
485 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HBP)) in rcar_mipi_dsi_set_display_timing()
487 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HSA)) in rcar_mipi_dsi_set_display_timing()
931 dsi->mode_flags = device->mode_flags; in rcar_mipi_dsi_host_attach()
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-core.c487 sync_pulse = output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE; in cdns_dsi_mode2cfg()
681 if (!(output->dev->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in cdns_dsi_init_link()
786 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_atomic_pre_enable()
793 if (!(output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in cdns_dsi_bridge_atomic_pre_enable()
800 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_atomic_pre_enable()
838 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) { in cdns_dsi_bridge_atomic_pre_enable()
865 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_atomic_pre_enable()
879 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_atomic_pre_enable()
882 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) in cdns_dsi_bridge_atomic_pre_enable()
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx93-mipi-dsi.c519 unsigned long mode_flags, u32 lanes, u32 format) in imx93_dsi_validate_phy() argument
544 unsigned long mode_flags, u32 lanes, u32 format) in imx93_dsi_mode_valid() argument
557 ret = imx93_dsi_validate_phy(dsi, mode, mode_flags, lanes, format); in imx93_dsi_mode_valid()
676 unsigned long mode_flags, u32 lanes, u32 format, in imx93_dsi_get_lane_mbps() argument
/linux/drivers/gpu/drm/i915/display/
H A Dicl_dsi.c133 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in wait_for_cmds_dispatched_to_panel()
229 u32 mode_flags; in icl_dsi_frame_update() local
232 mode_flags = crtc_state->mode_flags; in icl_dsi_frame_update()
239 if (mode_flags & I915_MODE_FLAG_DSI_USE_TE0) in icl_dsi_frame_update()
241 else if (mode_flags & I915_MODE_FLAG_DSI_USE_TE1) in icl_dsi_frame_update()
1557 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE1 | in gen11_dsi_get_cmd_mode_config()
1560 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE1; in gen11_dsi_get_cmd_mode_config()
1562 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE0; in gen11_dsi_get_cmd_mode_config()
1586 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_PERIODIC_CMD_MODE; in gen11_dsi_get_config()

123