Lines Matching +full:max +full:- +full:sample +full:- +full:rate +full:- +full:hz
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
66 /* sample packaging for block. It can be per port or per channel */
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
186 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
197 * enum sdw_dpn_type - Data port types
212 * enum sdw_clk_stop_mode - Clock Stop modes
215 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode,
224 * struct sdw_dp0_prop - DP0 properties
225 * @max_word: Maximum number of bits in a Payload Channel Sample, 1 to 64
227 * @min_word: Minimum number of bits in a Payload Channel Sample, 1 to 64
235 * implementation-defined interrupts
237 * The wordlengths are specified by Spec as max, min AND number of
252 * struct sdw_dpn_audio_mode - Audio mode properties for DPn
253 * @bus_min_freq: Minimum bus frequency, in Hz
254 * @bus_max_freq: Maximum bus frequency, in Hz
256 * @bus_freq: Discrete bus frequencies, in Hz
257 * @min_freq: Minimum sampling frequency, in Hz
258 * @max_freq: Maximum sampling bus frequency, in Hz
260 * @freq: Discrete sampling frequencies, in Hz
263 * If 0, Channel Prepare can happen at any Bus clock rate
284 * struct sdw_dpn_prop - Data Port DPn properties
286 * @max_word: Maximum number of bits in a Payload Channel Sample, 1 to 64
288 * @min_word: Minimum number of bits in a Payload Channel Sample, 1 to 64
297 * @ch_prep_timeout: Port-specific timeout value, in milliseconds
299 * implementation-defined interrupts
311 * @port_encoding: Payload Channel Sample encoding schemes supported
340 * struct sdw_slave_prop - SoundWire Slave properties
342 * @wake_capable: Wake-up events are supported
344 * @clk_stop_mode1: Clock-Stop Mode 1 is supported
346 * @clk_stop_timeout: Worst-case latency of the Clock Stop Prepare State
348 * @ch_prep_timeout: Worst-case latency of the Channel Prepare State Machine
351 * state machine (P=1 SCSP_SM) after exit from clock-stop mode1
398 * struct sdw_master_prop - Master properties
400 * @clk_stop_modes: Bitmap, bit N set when clock-stop-modeN supported
401 * @max_clk_freq: Maximum Bus clock frequency, in Hz
404 * @num_clk_freq: Number of clock frequencies supported, in Hz
405 * @clk_freq: Clock frequencies supported, in Hz
406 * @default_frame_rate: Controller default Frame rate, in Hz
412 * @mclk_freq: clock reference passed to SoundWire Master, in Hz.
413 * @hw_disabled: if true, the Master is not functional, typically due to pin-mux
464 * struct sdw_slave_id - Slave ID
482 * Helper macros to extract the MIPI-defined IDs
511 * struct sdw_slave_intr_status - Slave interrupt status
523 * sdw_reg_bank - SoundWire register banks
535 * @clk_freq: Clock frequency, in Hz
548 * struct sdw_prepare_ch: Prepare/De-prepare Data Port channel
552 * @prepare: Prepare (true) /de-prepare (false) channel
584 * @max_dr_freq: Maximum double rate clock frequency supported, in Hz
585 * @curr_dr_freq: Current double rate clock frequency, in Hz
615 * @clk_stop: handle imp-def sequences before and after prepare and de-prepare
635 * struct sdw_slave - SoundWire Slave
647 * @dev_num_sticky: one-time static Device Number assigned by Bus
651 * Slave state changes/implementation-defined interrupts
657 * @unattach_request: mask field to keep track why the Slave re-attached and
658 * was re-initialized. This is useful to deal with potential race conditions
694 * struct sdw_master_device - SoundWire 'Master Device' representation
759 * @sample_interval: Sample interval
825 * struct sdw_defer - SDW deffered message
837 * struct sdw_master_ops - Master driver ops
866 * struct sdw_bus - SoundWire bus
867 * @dev: Shortcut to &bus->md->dev to avoid changing the entire code.
870 * @id: bus system-wide unique id
892 * hardware-based synchronization is required. This value is only
893 * meaningful if multi_link is set. If set to 1, hardware-based
940 * @frame_rate: Audio frame rate of the stream, in Hz
942 * @bps: Number of bits per audio sample
962 * @SDW_STREAM_DEPREPARED: Stream de-prepared
978 * @rate: Sampling frequency, in Hz
980 * @bps: bits per channel sample
983 unsigned int rate; member