Lines Matching +full:frame +full:- +full:master

1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
25 /* SDW Master Device Number, not supported yet */
29 /* frame shape defines */
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
235 * implementation-defined interrupts
252 * struct sdw_dpn_audio_mode - Audio mode properties for DPn
284 * struct sdw_dpn_prop - Data Port DPn properties
297 * @ch_prep_timeout: Port-specific timeout value, in milliseconds
299 * implementation-defined interrupts
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
357 * @p15_behave: Slave behavior when the Master attempts a read to the Port15
398 * struct sdw_master_prop - Master properties
400 * @clk_stop_modes: Bitmap, bit N set when clock-stop-modeN supported
406 * @default_frame_rate: Controller default Frame rate, in Hz
409 * @dynamic_frame: Dynamic frame shape supported
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
434 /* Definitions for Master quirks */
448 * issues at the Master level.
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
536 * @num_rows: Number of rows in frame
537 * @num_cols: Number of columns in frame
548 * struct sdw_prepare_ch: Prepare/De-prepare Data Port channel
552 * @prepare: Prepare (true) /de-prepare (false) channel
553 * @bank: Register bank, which bank Slave/Master driver should program for
590 * @m_data_mode: NORMAL, STATIC or PRBS mode for all Master ports. The value
615 * @clk_stop: handle imp-def sequences before and after prepare and de-prepare
635 * struct sdw_slave - SoundWire Slave
645 * @m_port_map: static Master port map for each Slave port
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
659 * between the Master suspending and the codec resuming, and make sure that
660 * when the Master triggered a reset the Slave is properly enumerated and
694 * struct sdw_master_device - SoundWire 'Master Device' representation
695 * @dev: Linux device for this Master
732 * SDW master structures and APIs
799 * struct sdw_master_port_ops: Callback functions from bus to Master
800 * driver to set Master Data ports.
802 * @dpn_set_port_params: Set the Port parameters for the Master Port.
804 * @dpn_set_port_transport_params: Set transport parameters for the Master
806 * @dpn_port_prep: Port prepare operations for the Master Data Port.
807 * @dpn_port_enable_ch: Enable the channels of Master Port.
825 * struct sdw_defer - SDW deffered message
837 * struct sdw_master_ops - Master driver ops
838 * @read_prop: Read Master properties
866 * struct sdw_bus - SoundWire bus
867 * @dev: Shortcut to &bus->md->dev to avoid changing the entire code.
868 * @md: Master device
869 * @link_id: Link id number, can be 0 to N, unique for each Master
870 * @id: bus system-wide unique id
877 * @ops: Master callback ops
878 * @port_ops: Master port callback ops
880 * @prop: Master properties
881 * @m_rt_list: List of Master instance of all stream(s) running on Bus. This
882 * is used to compute and program bus bandwidth, clock, frame shape,
892 * hardware-based synchronization is required. This value is only
893 * meaningful if multi_link is set. If set to 1, hardware-based
927 * sdw_port_config: Master or Slave Port configuration
938 * sdw_stream_config: Master or Slave stream configuration
940 * @frame_rate: Audio frame rate of the stream, in Hz
962 * @SDW_STREAM_DEPREPARED: Stream de-prepared
995 * @master_list: List of Master runtime(s) in this stream.
996 * master_list can contain only one m_rt per Master instance
998 * @m_rt_count: Count of Master runtime(s) in this stream