| /linux/sound/isa/sb/ |
| H A D | emu8000_patch.c | 153 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 D | emu10k1_patch.c | 41 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 D | panel-jdi-lt070me05000.c | 54 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 D | panel-startek-kd070fhfid015.c | 98 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 D | panel-novatek-nt37801.c | 60 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 D | panel-boe-himax8279d.c | 35 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 D | panel-samsung-sofef00.c | 60 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 D | panel-truly-nt35597.c | 328 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 D | panel-sony-td4353-jdi.c | 52 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 D | panel-ilitek-ili9881c.c | 44 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 D | panel-boe-tv101wum-nl6.c | 35 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 D | panel-novatek-nt36672a.c | 54 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 D | dw-mipi-dsi2.c | 205 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 D | dw-mipi-dsi.c | 257 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 D | mtk_dsi.c | 216 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 D | xdping.c | 89 __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 D | dw_mipi_dsi.h | 39 unsigned long mode_flags, u32 lanes, u32 format, 59 unsigned long mode_flags,
|
| H A D | dw_mipi_dsi2.h | 49 unsigned long mode_flags, u32 lanes, u32 format, 69 unsigned long mode_flags,
|
| /linux/drivers/leds/flash/ |
| H A D | leds-max77693.c | 93 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 D | samsung-dsim.c | 1071 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 D | soundfont.c | 631 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 D | rcar_mipi_dsi.c | 75 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 D | cdns-dsi-core.c | 487 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 D | imx93-mipi-dsi.c | 519 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 D | icl_dsi.c | 133 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()
|