Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 25 of 67) 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.c198 ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_unprepare()
220 ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_prepare()
297 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_get_brightness()
303 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_get_brightness()
314 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_update_status()
320 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_bl_update_status()
390 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in visionox_rm69299_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()
1327 boe->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in boe_panel_disable()
1447 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1476 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
1504 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1531 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1559 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1586 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
1614 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
[all …]
H A Dpanel-himax-hx83121a.c46 unsigned long mode_flags; member
664 ctx->dsi[i]->mode_flags = desc->mode_flags; in himax_probe()
690 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS |
709 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS |
H A Dpanel-himax-hx83102.c935 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in hx83102_disable()
940 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in hx83102_disable()
1064 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in hx83102_bl_update_status()
1070 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in hx83102_bl_update_status()
1081 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in hx83102_bl_get_brightness()
1087 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in hx83102_bl_get_brightness()
1173 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | in hx83102_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/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()
795 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()
613 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
615 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
633 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
639 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
647 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in dw_mipi_dsi_set_mode()
732 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in dw_mipi_dsi_packet_handler_config()
787 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in dw_mipi_dsi_get_hcomponent_lbcc()
993 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/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/renesas/rz-du/
H A Drzg2l_mipi_dsi.c89 unsigned long mode_flags; member
855 if ((dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) && in rzg2l_mipi_dsi_set_display_timing()
856 !(dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) in rzg2l_mipi_dsi_set_display_timing()
896 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in rzg2l_mipi_dsi_set_display_timing()
912 is_clk_cont = !(dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS); in rzg2l_mipi_dsi_start_hs_clock()
942 is_clk_cont = !(dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS); in rzg2l_mipi_dsi_stop_hs_clock()
1154 dsi->mode_flags = device->mode_flags; in rzg2l_mipi_dsi_host_attach()

123