/linux/Documentation/gpu/ |
H A D | afbc.rst | 21 AFBC streams can contain several components - where a component 29 maximum compression efficiency), the component order must be: 31 * Component 0: R 32 * Component 1: G 33 * Component 2: B 35 The component ordering is communicated via the fourcc code in the 36 fourcc:modifier pair. In general, component '0' is considered to 42 * Component 0: R(8) 43 * Component 1: G(8) 44 * Component 2: B(8) [all …]
|
/linux/include/sound/ |
H A D | soc-component.h | 3 * soc-component.h 14 * Component probe and remove ordering levels for components with runtime 28 /* component interface */ 30 int (*open)(struct snd_soc_component *component, 32 int (*free)(struct snd_soc_component *component, 34 int (*set_params)(struct snd_soc_component *component, 37 int (*get_params)(struct snd_soc_component *component, 40 int (*set_metadata)(struct snd_soc_component *component, 43 int (*get_metadata)(struct snd_soc_component *component, 46 int (*trigger)(struct snd_soc_component *component, [all …]
|
/linux/drivers/base/ |
H A D | component.c | 5 #include <linux/component.h> 16 * The component helper allows drivers to collect a pile of sub-devices, 19 * of_clk_get_by_name(). The component helper can be used when such a 20 * subsystem-specific way to find a device is not available: The component 27 * The component helper also doesn't solve runtime dependencies, e.g. for system 33 * Aggregate drivers first assemble a component match list of what they need 39 struct component; 46 struct component *component; member 65 struct component { struct 98 struct component *component = match->compare[i].component; in component_devices_show() local [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() argument 44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw() 57 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw() 64 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw() 73 dev_err(component->dev, "%s: unsupported firmware version %d\n", in wm8958_dsp2_fw() 78 dev_err(component->dev, "%s: unsupported target device %d\n", in wm8958_dsp2_fw() 83 dev_err(component->dev, "%s: unsupported target core %d\n", in wm8958_dsp2_fw() 90 dev_info(component->dev, "%s timestamp %llx\n", name, data64); in wm8958_dsp2_fw() 92 snd_soc_component_write(component, 0x102, 0x2); in wm8958_dsp2_fw() 93 snd_soc_component_write(component, 0x900, 0x2); in wm8958_dsp2_fw() [all …]
|
H A D | wcd939x.c | 16 #include <linux/component.h> 177 struct snd_soc_component *component; member 330 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate() argument 354 snd_soc_component_write_field(component, WCD939X_DIGITAL_SWR_TX_CLK_RATE, mask, val); in wcd939x_set_swr_clk_rate() 359 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init() argument 361 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init() 363 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init() 368 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init() 371 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_L, in wcd939x_io_init() 373 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_R, in wcd939x_io_init() [all …]
|
H A D | wcd937x.c | 4 #include <linux/component.h> 299 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable() argument 301 struct wcd937x_priv *wcd937x = snd_soc_component_get_drvdata(component); in wcd937x_rx_clk_enable() 306 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_DIG_CLK_CTL, BIT(3), BIT(3)); in wcd937x_rx_clk_enable() 307 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(0), BIT(0)); in wcd937x_rx_clk_enable() 308 snd_soc_component_update_bits(component, WCD937X_ANA_RX_SUPPLIES, BIT(0), BIT(0)); in wcd937x_rx_clk_enable() 309 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX0_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable() 310 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX1_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable() 311 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX2_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable() 312 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(1), BIT(1)); in wcd937x_rx_clk_enable() [all …]
|
H A D | da7219-aad.c | 31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument 33 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_jack_det() 42 snd_soc_component_update_bits(component, DA7219_ACCDET_CONFIG_1, in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() local 56 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in da7219_aad_btn_det_work() 57 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_btn_det_work() 63 snd_soc_component_update_bits(component, DA7219_HP_L_CTRL, in da7219_aad_btn_det_work() 66 snd_soc_component_update_bits(component, DA7219_HP_R_CTRL, in da7219_aad_btn_det_work() 75 statusa = snd_soc_component_read(component, DA7219_ACCDET_STATUS_A); in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() [all …]
|
H A D | twl6040.c | 65 struct snd_soc_component *component; member 95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent) argument 97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() argument 99 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read() 100 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read() 122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() argument 125 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_can_write_to_chip() 141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() argument 144 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache() 159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() argument [all …]
|
H A D | wcd-clsh-v2.c | 147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode() argument 152 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode() 156 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode() 194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl() argument 202 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl() 212 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl() 216 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl() 317 static void wcd_clsh_v3_set_hph_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_hph_mode() argument 341 dev_err(component->dev, "%s:Invalid mode %d\n", __func__, mode); in wcd_clsh_v3_set_hph_mode() 345 snd_soc_component_update_bits(component, WCD9XXX_ANA_HPH, 0x0C, val); in wcd_clsh_v3_set_hph_mode() [all …]
|
H A D | wcd938x.c | 12 #include <linux/component.h> 317 static int wcd938x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd938x_set_swr_clk_rate() argument 340 snd_soc_component_update_bits(component, WCD938X_DIGITAL_SWR_TX_CLK_RATE, in wcd938x_set_swr_clk_rate() 431 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd938x_codec_enable_rxclk() local 435 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CTL, in wcd938x_codec_enable_rxclk() 437 snd_soc_component_write_field(component, WCD938X_ANA_RX_SUPPLIES, in wcd938x_codec_enable_rxclk() 439 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX0_CTL, in wcd938x_codec_enable_rxclk() 441 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX1_CTL, in wcd938x_codec_enable_rxclk() 443 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX2_CTL, in wcd938x_codec_enable_rxclk() 445 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CTL, in wcd938x_codec_enable_rxclk() [all …]
|
H A D | twl4030.c | 80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() argument 82 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read() 145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() argument 148 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_write() 180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() argument 182 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_codec_enable() 218 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() argument 223 twl4030_codec_node = of_get_child_by_name(component->dev->parent->of_node, in twl4030_get_board_params() 227 board_params = devm_kzalloc(component->dev, in twl4030_get_board_params() 241 static int twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() argument [all …]
|
H A D | da7213.c | 217 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_get() local 218 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_get() 231 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_put() local 232 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_put() 245 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_get() local 246 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_get() 259 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_put() local 260 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_put() 271 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_get_alc_data() argument 280 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, reg_val); in da7213_get_alc_data() [all …]
|
H A D | wm0010.c | 90 struct snd_soc_component *component; member 148 static void wm0010_halt(struct snd_soc_component *component) in wm0010_halt() argument 150 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_halt() 183 struct snd_soc_component *component; member 208 struct snd_soc_component *component = xfer->component; in wm0010_boot_xfer_complete() local 209 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_boot_xfer_complete() 214 dev_err(component->dev, "SPI transfer failed: %d\n", in wm0010_boot_xfer_complete() 223 dev_dbg(component->dev, "%d: %04x\n", i, out32[i]); in wm0010_boot_xfer_complete() 227 dev_err(component->dev, in wm0010_boot_xfer_complete() 235 dev_err(component->dev, in wm0010_boot_xfer_complete() [all …]
|
H A D | msm8916-wcd-analog.c | 297 struct snd_soc_component *component; member 348 static void pm8916_wcd_analog_micbias_enable(struct snd_soc_component *component) in pm8916_wcd_analog_micbias_enable() argument 350 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_micbias_enable() 352 snd_soc_component_update_bits(component, CDC_A_MICB_1_CTL, in pm8916_wcd_analog_micbias_enable() 359 snd_soc_component_update_bits(component, CDC_A_MICB_1_VAL, in pm8916_wcd_analog_micbias_enable() 370 snd_soc_component_update_bits(component, CDC_A_MICB_1_CTL, in pm8916_wcd_analog_micbias_enable() 376 static int pm8916_wcd_analog_enable_micbias(struct snd_soc_component *component, in pm8916_wcd_analog_enable_micbias() argument 381 pm8916_wcd_analog_micbias_enable(component); in pm8916_wcd_analog_enable_micbias() 382 snd_soc_component_update_bits(component, CDC_A_MICB_1_EN, in pm8916_wcd_analog_enable_micbias() 394 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int() local [all …]
|
H A D | tlv320aic32x4.c | 59 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aic32x4_reset_adc() local 69 adc_reg = snd_soc_component_read(component, AIC32X4_ADCSETUP); in aic32x4_reset_adc() 70 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg | in aic32x4_reset_adc() 72 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg); in aic32x4_reset_adc() 81 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in mic_bias_event() local 86 snd_soc_component_update_bits(component, AIC32X4_MICBIAS, in mic_bias_event() 93 snd_soc_component_update_bits(component, AIC32X4_MICBIAS, in mic_bias_event() 107 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_get_mfp1_gpio() local 110 val = snd_soc_component_read(component, AIC32X4_DINCTL); in aic32x4_get_mfp1_gpio() 120 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_set_mfp2_gpio() local [all …]
|
H A D | tscs42xx.c | 100 static bool plls_locked(struct snd_soc_component *component) in plls_locked() argument 106 ret = snd_soc_component_read(component, R_PLLCTL0); in plls_locked() 108 dev_err(component->dev, in plls_locked() 140 static int write_coeff_ram(struct snd_soc_component *component, u8 *coeff_ram, in write_coeff_ram() argument 143 struct tscs42xx *tscs42xx = snd_soc_component_get_drvdata(component); in write_coeff_ram() 151 ret = snd_soc_component_read(component, R_DACCRSTAT); in write_coeff_ram() 153 dev_err(component->dev, in write_coeff_ram() 163 dev_err(component->dev, in write_coeff_ram() 170 dev_err(component->dev, in write_coeff_ram() 179 dev_err(component->dev, in write_coeff_ram() [all …]
|
H A D | wcd-mbhc-v2.h | 197 bool (*swap_gnd_mic)(struct snd_soc_component *component); 233 void (*update_cross_conn_thr)(struct snd_soc_component *component); 234 void (*get_micbias_val)(struct snd_soc_component *component, int *mb); 235 void (*bcs_enable)(struct snd_soc_component *component, bool bcs_enable); 236 void (*compute_impedance)(struct snd_soc_component *component, 238 void (*set_micbias_value)(struct snd_soc_component *component); 239 void (*set_auto_zeroing)(struct snd_soc_component *component, 241 void (*clk_setup)(struct snd_soc_component *component, bool enable); 242 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num); 243 void (*mbhc_bias)(struct snd_soc_component *component, bool enable); [all …]
|
H A D | tas2780.c | 21 struct snd_soc_component *component; member 40 ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST, in tas2780_reset() 48 static int tas2780_codec_suspend(struct snd_soc_component *component) in tas2780_codec_suspend() argument 51 snd_soc_component_get_drvdata(component); in tas2780_codec_suspend() 54 ret = snd_soc_component_update_bits(component, TAS2780_PWR_CTRL, in tas2780_codec_suspend() 68 static int tas2780_codec_resume(struct snd_soc_component *component) in tas2780_codec_resume() argument 71 snd_soc_component_get_drvdata(component); in tas2780_codec_resume() 74 ret = snd_soc_component_update_bits(component, TAS2780_PWR_CTRL, in tas2780_codec_resume() 130 struct snd_soc_component *component = dai->component; in tas2780_mute() local 132 snd_soc_component_get_drvdata(component); in tas2780_mute() [all …]
|
H A D | lpass-wsa-macro.c | 1123 * @component: codec instance 1128 int wsa_macro_set_spkr_mode(struct snd_soc_component *component, int mode) in wsa_macro_set_spkr_mode() argument 1130 struct wsa_macro *wsa = snd_soc_component_get_drvdata(component); in wsa_macro_set_spkr_mode() 1136 snd_soc_component_update_bits(component, CDC_WSA_COMPANDER0_CTL3, 0x80, 0x00); in wsa_macro_set_spkr_mode() 1137 snd_soc_component_update_bits(component, CDC_WSA_COMPANDER1_CTL3, 0x80, 0x00); in wsa_macro_set_spkr_mode() 1138 snd_soc_component_update_bits(component, CDC_WSA_COMPANDER0_CTL7, 0x01, 0x00); in wsa_macro_set_spkr_mode() 1139 snd_soc_component_update_bits(component, CDC_WSA_COMPANDER1_CTL7, 0x01, 0x00); in wsa_macro_set_spkr_mode() 1140 snd_soc_component_update_bits(component, CDC_WSA_BOOST0_BOOST_CTL, 0x7C, 0x44); in wsa_macro_set_spkr_mode() 1141 snd_soc_component_update_bits(component, CDC_WSA_BOOST1_BOOST_CTL, 0x7C, 0x44); in wsa_macro_set_spkr_mode() 1144 snd_soc_component_update_bits(component, CDC_WSA_COMPANDER0_CTL3, 0x80, 0x80); in wsa_macro_set_spkr_mode() [all …]
|
H A D | wm8996.c | 52 struct snd_soc_component *component; member 334 static void wm8996_set_retune_mobile(struct snd_soc_component *component, int block) in wm8996_set_retune_mobile() argument 336 struct wm8996_priv *wm8996 = snd_soc_component_get_drvdata(component); in wm8996_set_retune_mobile() 346 if (snd_soc_component_read(component, WM8996_POWER_MANAGEMENT_8) & in wm8996_set_retune_mobile() 354 if (snd_soc_component_read(component, WM8996_POWER_MANAGEMENT_8) & in wm8996_set_retune_mobile() 380 dev_dbg(component->dev, "ReTune Mobile %d %s/%dHz for %dHz sample rate\n", in wm8996_set_retune_mobile() 389 save = snd_soc_component_read(component, base); in wm8996_set_retune_mobile() 393 snd_soc_component_update_bits(component, base + i, 0xffff, in wm8996_set_retune_mobile() 396 snd_soc_component_update_bits(component, base, WM8996_DSP1RX_EQ_ENA, save); in wm8996_set_retune_mobile() 412 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8996_put_retune_mobile_enum() local [all …]
|
/linux/sound/soc/ |
H A D | soc-core.c | 52 #define for_each_component(component) \ argument 53 list_for_each_entry(component, &component_list, list) 134 static void soc_init_component_debugfs(struct snd_soc_component *component) in soc_init_component_debugfs() argument 136 if (!component->card->debugfs_card_root) in soc_init_component_debugfs() 139 if (component->debugfs_prefix) { in soc_init_component_debugfs() 143 component->debugfs_prefix, component->name); in soc_init_component_debugfs() 145 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs() 146 component->card->debugfs_card_root); in soc_init_component_debugfs() 150 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs() 151 component->card->debugfs_card_root); in soc_init_component_debugfs() [all …]
|
H A D | soc-ac97.c | 49 struct snd_soc_component *component; member 56 return gpio_priv->component; in gpio_to_component() 70 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_in() local 72 dev_dbg(component->dev, "set gpio %d to output\n", offset); in snd_soc_ac97_gpio_direction_in() 73 return snd_soc_component_update_bits(component, AC97_GPIO_CFG, in snd_soc_ac97_gpio_direction_in() 79 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_get() local 82 ret = snd_soc_component_read(component, AC97_GPIO_STATUS); in snd_soc_ac97_gpio_get() 84 dev_dbg(component->dev, "get gpio %d : %d\n", offset, in snd_soc_ac97_gpio_get() 94 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_set() local 98 snd_soc_component_write(component, AC97_GPIO_STATUS, in snd_soc_ac97_gpio_set() [all …]
|
/linux/sound/soc/meson/ |
H A D | aiu-encoder-i2s.c | 30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() argument 33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable() 38 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc() argument 45 snd_soc_component_write(component, AIU_RST_SOFT, AIU_RST_SOFT_I2S_FAST); in aiu_encoder_i2s_setup_desc() 46 snd_soc_component_read(component, AIU_I2S_SYNC); in aiu_encoder_i2s_setup_desc() 71 snd_soc_component_update_bits(component, AIU_I2S_SOURCE_DESC, in aiu_encoder_i2s_setup_desc() 81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() argument 94 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_set_legacy_div() 98 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_legacy_div() 103 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MORE, in aiu_encoder_i2s_set_legacy_div() [all …]
|
H A D | aiu-encoder-spdif.c | 30 aiu_encoder_spdif_divider_enable(struct snd_soc_component *component, in aiu_encoder_spdif_divider_enable() argument 33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_spdif_divider_enable() 38 static void aiu_encoder_spdif_hold(struct snd_soc_component *component, in aiu_encoder_spdif_hold() argument 41 snd_soc_component_update_bits(component, AIU_958_CTRL, in aiu_encoder_spdif_hold() 50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() local 56 aiu_encoder_spdif_hold(component, false); in aiu_encoder_spdif_trigger() 62 aiu_encoder_spdif_hold(component, true); in aiu_encoder_spdif_trigger() 70 static int aiu_encoder_spdif_setup_cs_word(struct snd_soc_component *component, in aiu_encoder_spdif_setup_cs_word() argument 84 snd_soc_component_write(component, AIU_958_CHSTAT_L0, val); in aiu_encoder_spdif_setup_cs_word() 85 snd_soc_component_write(component, AIU_958_CHSTAT_R0, val); in aiu_encoder_spdif_setup_cs_word() [all …]
|
/linux/sound/soc/generic/ |
H A D | test-component.c | 3 // test-component.c -- Test Audio Component driver 249 static int test_component_probe(struct snd_soc_component *component) in test_component_probe() argument 251 mile_stone(component); in test_component_probe() 256 static void test_component_remove(struct snd_soc_component *component) in test_component_remove() argument 258 mile_stone(component); in test_component_remove() 261 static int test_component_suspend(struct snd_soc_component *component) in test_component_suspend() argument 263 mile_stone(component); in test_component_suspend() 268 static int test_component_resume(struct snd_soc_component *component) in test_component_resume() argument 270 mile_stone(component); in test_component_resume() 276 static int test_component_pcm_construct(struct snd_soc_component *component, in test_component_pcm_construct() argument [all …]
|