Lines Matching +full:mipi +full:- +full:bias
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * The MIPI SDCA specification is available for public downloads at
4 * https://www.mipi.org/mipi-sdca-v1-0-download
20 #define SDCA_NO_INTERRUPT -1
34 * The Cluster IDs are 16-bit, so a maximum of 65535 Clusters per
56 * enum sdca_function_type - SDCA Function Type codes
66 * @SDCA_FUNCTION_TYPE_IMP_DEF: Implementation-defined function.
88 /* Human-readable names used for kernel logs and Function device registration/bind */
101 * struct sdca_init_write - a single initialization write
111 * define SDCA_CTL_TYPE - create a unique identifier for an SDCA Control
123 * define SDCA_CTL_TYPE_S - static version of SDCA_CTL_TYPE
137 * enum sdca_it_controls - SDCA Controls for Input Terminal
157 * enum sdca_ot_controls - SDCA Controls for Output Terminal
175 * enum sdca_usage_range - Column definitions for Usage
189 * enum sdca_dataport_selector_range - Column definitions for DataPort_Selector
197 * enum sdca_mu_controls - SDCA Controls for Mixer Unit
208 * enum sdca_su_controls - SDCA Controls for Selector Unit
219 * enum sdca_fu_controls - SDCA Controls for Feature Unit
235 * enum sdca_volume_range - Column definitions for Q7.8dB volumes/gains
245 * enum sdca_xu_controls - SDCA Controls for Extension Unit
264 * enum sdca_cs_controls - SDCA Controls for Clock Source
275 * enum sdca_samplerateindex_range - Column definitions for SampleRateIndex
284 * enum sdca_cx_controls - SDCA Controls for Clock Selector
294 * enum sdca_pde_controls - SDCA Controls for Power Domain Entity
305 * enum sdca_requested_ps_range - Column definitions for Requested PS
313 * enum sdca_ge_controls - SDCA Controls for Group Unit
324 * enum sdca_selected_mode_range - Column definitions for Selected Mode
333 * enum sdca_detected_mode_values - Predefined GE Detected Mode values
342 * enum sdca_spe_controls - SDCA Controls for Security & Privacy Unit
361 * enum sdca_cru_controls - SDCA Controls for Channel Remapping Unit
372 * enum sdca_udmpu_controls - SDCA Controls for Up-Down Mixer Processing Unit
374 * Control Selectors for Up-Down Mixer Processing Unit from SDCA
409 * enum sdca_mfpu_controls - SDCA Controls for Multi-Function Processing Unit
411 * Control Selectors for Multi-Function Processing Unit from SDCA
430 * enum sdca_smpu_controls - SDCA Controls for Smart Mic Processing Unit
456 * enum sdca_sapu_controls - SDCA Controls for Smart Amp Processing Unit
475 * enum sdca_ppu_controls - SDCA Controls for Post Processing Unit
489 * enum sdca_tg_controls - SDCA Controls for Tone Generator Entity
499 * enum sdca_hide_controls - SDCA Controls for HIDE Entity
514 * enum sdca_entity0_controls - SDCA Controls for Entity 0
547 #define SDCA_CTL_MIC_BIAS_NAME "Mic Bias"
679 * enum sdca_control_datatype - SDCA Control Data Types
700 * enum sdca_access_mode - SDCA Control access mode
715 * enum sdca_access_layer - SDCA Control access layer
730 * struct sdca_control_range - SDCA Control range table
742 * struct sdca_control - information for one SDCA Control
779 * enum sdca_terminal_type - SDCA Terminal Types
785 /* Table 77 - Data Port*/
801 /* Table 78 - Transducer */
840 /* Table 79 - System */
847 #define SDCA_TERM_TYPE_LINEIN_FRONT_LR_NAME "LineIn Front-LR"
848 #define SDCA_TERM_TYPE_LINEIN_CENTER_LFE_NAME "LineIn Center-LFE"
849 #define SDCA_TERM_TYPE_LINEIN_SURROUND_LR_NAME "LineIn Surround-LR"
850 #define SDCA_TERM_TYPE_LINEIN_REAR_LR_NAME "LineIn Rear-LR"
852 #define SDCA_TERM_TYPE_LINEOUT_FRONT_LR_NAME "LineOut Front-LR"
853 #define SDCA_TERM_TYPE_LINEOUT_CENTER_LFE_NAME "LineOut Center-LFE"
854 #define SDCA_TERM_TYPE_LINEOUT_SURROUND_LR_NAME "LineOut Surround-LR"
855 #define SDCA_TERM_TYPE_LINEOUT_REAR_LR_NAME "LineOut Rear-LR"
858 #define SDCA_TERM_TYPE_FRONT_LR_JACK_NAME "Speaker Front-LR"
859 #define SDCA_TERM_TYPE_CENTER_LFE_JACK_NAME "Speaker Center-LFE"
860 #define SDCA_TERM_TYPE_SURROUND_LR_JACK_NAME "Speaker Surround-LR"
861 #define SDCA_TERM_TYPE_REAR_LR_JACK_NAME "Speaker Rear-LR"
866 * enum sdca_connector_type - SDCA Connector Types
890 * struct sdca_entity_iot - information specific to Input/Output Entities
910 * enum sdca_clock_type - SDCA Clock Types
923 * struct sdca_entity_cs - information specific to Clock Source Entities
933 * enum sdca_pde_power_state - SDCA Power States
946 * struct sdca_pde_delay - describes the delay changing between 2 power states
958 * struct sdca_entity_pde - information specific to Power Domain Entities
974 * enum sdca_entity_type - SDCA Entity Type codes
986 * @SDCA_ENTITY_TYPE_PDE: Power-Domain Entity.
990 * @SDCA_ENTITY_TYPE_UDMPU: Up-Down Mixer Processing Unit.
991 * @SDCA_ENTITY_TYPE_MFPU: Multi-Function Processing Unit.
1025 * struct sdca_ge_control - control entry in the affected controls list
1039 * struct sdca_ge_mode - mode entry in the affected controls list
1051 * struct sdca_entity_ge - information specific to Group Entities
1064 * struct sdca_entity_hide - information specific to HIDE Entities
1093 * struct sdca_entity - information for one SDCA Entity
1129 * enum sdca_channel_purpose - SDCA Channel Purpose code
1135 /* Table 210 - Purpose */
1145 /* Table 211 - Amp Sense */
1163 * enum sdca_channel_relationship - SDCA Channel Relationship code
1169 /* Table 206 - Streaming */
1198 /* Table 207 - Speaker */
1233 /* Table 208 - Equipment */
1244 /* Table 209 - Other */
1256 * struct sdca_channel - a single Channel with a Cluster
1271 * struct sdca_cluster - information about an SDCA Channel Cluster
1283 * enum sdca_cluster_range - SDCA Range column definitions for ClusterIndex
1292 * struct sdca_function_data - top-level information for one SDCA function
1319 return range->data[(row * range->cols) + col]; in sdca_range()
1327 for (i = 0; i < range->rows; i++) { in sdca_range_search()