• Home
  • Raw
  • Download

Lines Matching +full:stream +full:- +full:mode +full:- +full:support

1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
71 * enum sdw_slave_status - Slave status
89 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
90 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
100 * enum sdw_command_response - Command response as defined by SDW spec
129 * enum sdw_stream_type: data stream type
131 * @SDW_STREAM_PCM: PCM data stream
132 * @SDW_STREAM_PDM: PDM data stream
153 * enum sdw_port_data_mode: Data Port mode
155 * @SDW_PORT_DATA_MODE_NORMAL: Normal data mode where audio data is received
157 * @SDW_PORT_DATA_MODE_PRBS: Test mode which uses a PRBS generator to produce
159 * @SDW_PORT_DATA_MODE_STATIC_0: Simple test mode which uses static value of
161 * @SDW_PORT_DATA_MODE_STATIC_1: Simple test mode which uses static value of
180 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
191 * enum sdw_dpn_type - Data port types
206 * enum sdw_clk_stop_mode - Clock Stop modes
209 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode,
218 * struct sdw_dp0_prop - DP0 properties
228 * @imp_def_interrupts: If set, each bit corresponds to support for
229 * implementation-defined interrupts
233 * support
246 * struct sdw_dpn_audio_mode - Audio mode properties for DPn
259 * changed to a frequency supported by this mode or compatible modes
262 * Audio Mode to other Audio Modes
278 * struct sdw_dpn_prop - Data Port DPn properties
291 * @ch_prep_timeout: Port-specific timeout value, in milliseconds
292 * @imp_def_interrupts: If set, each bit corresponds to support for
293 * implementation-defined interrupts
300 * @modes: SDW mode supported
303 * @block_pack_mode: Type of block port mode supported
334 * struct sdw_slave_prop - SoundWire Slave properties
336 * @wake_capable: Wake-up events are supported
337 * @test_mode_capable: If test mode is supported
338 * @clk_stop_mode1: Clock-Stop Mode 1 is supported
339 * @simple_clk_stop_capable: Simple clock mode is supported
340 * @clk_stop_timeout: Worst-case latency of the Clock Stop Prepare State
342 * @ch_prep_timeout: Worst-case latency of the Channel Prepare State Machine
345 * state machine (P=1 SCSP_SM) after exit from clock-stop mode1
349 * @bank_delay_support: Slave implements bank delay/bridge support registers
390 * struct sdw_master_prop - Master properties
392 * @clk_stop_modes: Bitmap, bit N set when clock-stop-modeN supported
405 * @hw_disabled: if true, the Master is not functional, typically due to pin-mux
434 * struct sdw_slave_id - Slave ID
452 * Helper macros to extract the MIPI-defined IDs
481 * struct sdw_slave_intr_status - Slave interrupt status
491 * sdw_reg_bank - SoundWire register banks
516 * struct sdw_prepare_ch: Prepare/De-prepare Data Port channel
520 * @prepare: Prepare (true) /de-prepare (false) channel
557 * @s_data_mode: NORMAL, STATIC or PRBS mode for all Slave ports
558 * @m_data_mode: NORMAL, STATIC or PRBS mode for all Master ports. The value
597 enum sdw_clk_stop_mode mode,
603 * struct sdw_slave - SoundWire Slave
614 * @dev_num_sticky: one-time static Device Number assigned by Bus
618 * Slave state changes/implementation-defined interrupts
624 * @unattach_request: mask field to keep track why the Slave re-attached and
625 * was re-initialized. This is useful to deal with potential race conditions
658 * struct sdw_master_device - SoundWire 'Master Device' representation
704 * @flow_mode: Port Data flow mode
705 * @data_mode: Test modes or normal mode
707 * This is used to program the Data Port based on Data Port stream
734 * during a bank switch without any artifacts in audio stream.
789 * struct sdw_defer - SDW deffered message
801 * struct sdw_master_ops - Master driver ops
828 * struct sdw_bus - SoundWire bus
829 * @dev: Shortcut to &bus->md->dev to avoid changing the entire code.
832 * @id: bus system-wide unique id
843 * @m_rt_list: List of Master instance of all stream(s) running on Bus. This
853 * @hw_sync_min_links: Number of links used by a stream above which
854 * hardware-based synchronization is required. This value is only
855 * meaningful if multi_link is set. If set to 1, hardware-based
856 * synchronization will be used even if a stream only uses a single
900 * sdw_stream_config: Master or Slave stream configuration
902 * @frame_rate: Audio frame rate of the stream, in Hz
903 * @ch_count: Channel count of the stream
906 * @type: Stream type PCM or PDM
917 * sdw_stream_state: Stream states
919 * @SDW_STREAM_ALLOCATED: New stream allocated.
920 * @SDW_STREAM_CONFIGURED: Stream configured
921 * @SDW_STREAM_PREPARED: Stream prepared
922 * @SDW_STREAM_ENABLED: Stream enabled
923 * @SDW_STREAM_DISABLED: Stream disabled
924 * @SDW_STREAM_DEPREPARED: Stream de-prepared
925 * @SDW_STREAM_RELEASED: Stream released
938 * sdw_stream_params: Stream parameters
951 * sdw_stream_runtime: Runtime stream parameters
953 * @name: SoundWire stream name
954 * @params: Stream parameters
955 * @state: Current state of the stream
956 * @type: Stream type PCM or PDM
957 * @master_list: List of Master runtime(s) in this stream.
959 * for a stream
960 * @m_rt_count: Count of Master runtime(s) in this stream
972 void sdw_release_stream(struct sdw_stream_runtime *stream);
980 struct sdw_stream_runtime *stream);
985 struct sdw_stream_runtime *stream);
987 struct sdw_stream_runtime *stream);
989 struct sdw_stream_runtime *stream);
991 int sdw_prepare_stream(struct sdw_stream_runtime *stream);
992 int sdw_enable_stream(struct sdw_stream_runtime *stream);
993 int sdw_disable_stream(struct sdw_stream_runtime *stream);
994 int sdw_deprepare_stream(struct sdw_stream_runtime *stream);