rt5682.h (8b271370e963370703819bd9795a54d658071bed) rt5682.h (758665b15acc1adb21a833c6456746ffbce07ed7)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * rt5682.h -- RT5682/RT5658 ALSA SoC audio driver
4 *
5 * Copyright 2018 Realtek Microelectronics
6 * Author: Bard Liao <bardliao@realtek.com>
7 */
8

--- 1426 unchanged lines hidden (view full) ---

1435 struct snd_soc_jack *hs_jack;
1436 struct regulator_bulk_data supplies[RT5682_NUM_SUPPLIES];
1437 struct delayed_work jack_detect_work;
1438 struct delayed_work jd_check_work;
1439 struct mutex disable_irq_lock; /* imp-def irq lock protection */
1440 bool disable_irq;
1441 struct mutex calibrate_mutex;
1442 struct sdw_slave *slave;
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * rt5682.h -- RT5682/RT5658 ALSA SoC audio driver
4 *
5 * Copyright 2018 Realtek Microelectronics
6 * Author: Bard Liao <bardliao@realtek.com>
7 */
8

--- 1426 unchanged lines hidden (view full) ---

1435 struct snd_soc_jack *hs_jack;
1436 struct regulator_bulk_data supplies[RT5682_NUM_SUPPLIES];
1437 struct delayed_work jack_detect_work;
1438 struct delayed_work jd_check_work;
1439 struct mutex disable_irq_lock; /* imp-def irq lock protection */
1440 bool disable_irq;
1441 struct mutex calibrate_mutex;
1442 struct sdw_slave *slave;
1443 enum sdw_slave_status status;
1444 struct sdw_bus_params params;
1445 bool hw_init;
1446 bool first_hw_init;
1447 bool is_sdw;
1448
1449#ifdef CONFIG_COMMON_CLK
1450 struct clk_hw dai_clks_hw[RT5682_DAI_NUM_CLKS];
1451 struct clk *mclk;

--- 5 unchanged lines hidden (view full) ---

1457 int bclk[RT5682_AIFS];
1458 int master[RT5682_AIFS];
1459
1460 int pll_src[RT5682_PLLS];
1461 int pll_in[RT5682_PLLS];
1462 int pll_out[RT5682_PLLS];
1463
1464 int jack_type;
1443 struct sdw_bus_params params;
1444 bool hw_init;
1445 bool first_hw_init;
1446 bool is_sdw;
1447
1448#ifdef CONFIG_COMMON_CLK
1449 struct clk_hw dai_clks_hw[RT5682_DAI_NUM_CLKS];
1450 struct clk *mclk;

--- 5 unchanged lines hidden (view full) ---

1456 int bclk[RT5682_AIFS];
1457 int master[RT5682_AIFS];
1458
1459 int pll_src[RT5682_PLLS];
1460 int pll_in[RT5682_PLLS];
1461 int pll_out[RT5682_PLLS];
1462
1463 int jack_type;
1465 int irq;
1466 int irq_work_delay_time;
1467};
1468
1469extern const char *rt5682_supply_names[RT5682_NUM_SUPPLIES];
1470
1471int rt5682_sel_asrc_clk_src(struct snd_soc_component *component,
1472 unsigned int filter_mask, unsigned int clk_src);
1473

--- 22 unchanged lines hidden ---
1464 int irq_work_delay_time;
1465};
1466
1467extern const char *rt5682_supply_names[RT5682_NUM_SUPPLIES];
1468
1469int rt5682_sel_asrc_clk_src(struct snd_soc_component *component,
1470 unsigned int filter_mask, unsigned int clk_src);
1471

--- 22 unchanged lines hidden ---