• Home
  • Raw
  • Download

Lines Matching +full:soundwire +full:- +full:controller

1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
36 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to
75 * enum sdw_slave_status - Slave status
93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
104 * enum sdw_command_response - Command response as defined by SDW spec
190 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
201 * enum sdw_dpn_type - Data port types
216 * enum sdw_clk_stop_mode - Clock Stop modes
219 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode,
228 * struct sdw_dp0_prop - DP0 properties
239 * implementation-defined interrupts
256 * struct sdw_dpn_audio_mode - Audio mode properties for DPn
288 * struct sdw_dpn_prop - Data Port DPn properties
301 * @ch_prep_timeout: Port-specific timeout value, in milliseconds
303 * implementation-defined interrupts
344 * struct sdw_slave_prop - SoundWire Slave properties
346 * @wake_capable: Wake-up events are supported
348 * @clk_stop_mode1: Clock-Stop Mode 1 is supported
350 * @clk_stop_timeout: Worst-case latency of the Clock Stop Prepare State
352 * @ch_prep_timeout: Worst-case latency of the Channel Prepare State Machine
355 * state machine (P=1 SCSP_SM) after exit from clock-stop mode1
373 * registers introduced with the SoundWire 1.2 specification. SDCA devices
406 * struct sdw_master_prop - Master properties
408 * @clk_stop_modes: Bitmap, bit N set when clock-stop-modeN supported
414 * @default_frame_rate: Controller default Frame rate, in Hz
420 * @mclk_freq: clock reference passed to SoundWire Master, in Hz.
421 * @hw_disabled: if true, the Master is not functional, typically due to pin-mux
472 * struct sdw_slave_id - Slave ID
475 * @class_id: MIPI Class ID (defined starting with SoundWire 1.2 spec)
495 * Helper macros to extract the MIPI-defined IDs
507 * The MIPI DisCo for SoundWire defines in addition the link_id as bits 51:48
524 * struct sdw_slave_intr_status - Slave interrupt status
536 * sdw_reg_bank - SoundWire register banks
537 * @SDW_BANK0: Soundwire register bank 0
538 * @SDW_BANK1: Soundwire register bank 1
561 * struct sdw_prepare_ch: Prepare/De-prepare Data Port channel
565 * @prepare: Prepare (true) /de-prepare (false) channel
630 * @clk_stop: handle imp-def sequences before and after prepare and de-prepare
650 * struct sdw_slave - SoundWire Slave
662 * @dev_num_sticky: one-time static Device Number assigned by Bus
669 * @unattach_request: mask field to keep track why the Slave re-attached and
670 * was re-initialized. This is useful to deal with potential race conditions
677 * protocol for SoundWire mockup devices
707 * struct sdw_master_device - SoundWire 'Master Device' representation
838 * struct sdw_defer - SDW deffered message
850 * struct sdw_master_ops - Master driver ops
861 * @get_device_num: Callback for vendor-specific device_number allocation
862 * @put_device_num: Callback for vendor-specific device_number release
886 * struct sdw_bus - SoundWire bus
887 * @dev: Shortcut to &bus->md->dev to avoid changing the entire code.
889 * @controller_id: system-unique controller ID. If set to -1, the bus @id will be used.
890 * @link_id: Link id number, can be 0 to N, unique for each Controller
891 * @id: bus system-wide unique id
914 * hardware-based synchronization is required. This value is only
915 * meaningful if multi_link is set. If set to 1, hardware-based
917 * SoundWire segment.
991 * @SDW_STREAM_DEPREPARED: Stream de-prepared
1020 * @name: SoundWire stream name
1093 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_stream_add_slave()
1094 return -EINVAL; in sdw_stream_add_slave()
1100 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_stream_remove_slave()
1101 return -EINVAL; in sdw_stream_remove_slave()
1107 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_read()
1108 return -EINVAL; in sdw_read()
1113 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_write()
1114 return -EINVAL; in sdw_write()
1119 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_write_no_pm()
1120 return -EINVAL; in sdw_write_no_pm()
1125 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_read_no_pm()
1126 return -EINVAL; in sdw_read_no_pm()
1131 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nread()
1132 return -EINVAL; in sdw_nread()
1137 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nread_no_pm()
1138 return -EINVAL; in sdw_nread_no_pm()
1143 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nwrite()
1144 return -EINVAL; in sdw_nwrite()
1149 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nwrite_no_pm()
1150 return -EINVAL; in sdw_nwrite_no_pm()
1155 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_update()
1156 return -EINVAL; in sdw_update()
1161 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_update_no_pm()
1162 return -EINVAL; in sdw_update_no_pm()