wcd938x.h (611ac726f9ebbb12f2113e5345ef109660954eeb) | wcd938x.h (d9dbe1f9ae4b3463093fcf027d79f20bb9a337c8) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __WCD938X_H__ 3#define __WCD938X_H__ 4#include <linux/soundwire/sdw.h> 5#include <linux/soundwire/sdw_type.h> 6 7#define WCD938X_BASE_ADDRESS (0x3000) 8#define WCD938X_ANA_PAGE_REGISTER (0x3000) --- 644 unchanged lines hidden (view full) --- 653struct wcd938x_priv; 654struct wcd938x_sdw_priv { 655 struct sdw_slave *sdev; 656 struct sdw_stream_config sconfig; 657 struct sdw_stream_runtime *sruntime; 658 struct sdw_port_config port_config[WCD938X_MAX_SWR_PORTS]; 659 struct wcd938x_sdw_ch_info *ch_info; 660 bool port_enable[WCD938X_MAX_SWR_CH_IDS]; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __WCD938X_H__ 3#define __WCD938X_H__ 4#include <linux/soundwire/sdw.h> 5#include <linux/soundwire/sdw_type.h> 6 7#define WCD938X_BASE_ADDRESS (0x3000) 8#define WCD938X_ANA_PAGE_REGISTER (0x3000) --- 644 unchanged lines hidden (view full) --- 653struct wcd938x_priv; 654struct wcd938x_sdw_priv { 655 struct sdw_slave *sdev; 656 struct sdw_stream_config sconfig; 657 struct sdw_stream_runtime *sruntime; 658 struct sdw_port_config port_config[WCD938X_MAX_SWR_PORTS]; 659 struct wcd938x_sdw_ch_info *ch_info; 660 bool port_enable[WCD938X_MAX_SWR_CH_IDS]; |
661 int port_map[WCD938X_MAX_SWR_PORTS]; | |
662 int active_ports; 663 int num_ports; 664 bool is_tx; 665 struct wcd938x_priv *wcd938x; 666 struct irq_domain *slave_irq; 667}; 668 669#if IS_ENABLED(CONFIG_SND_SOC_WCD938X_SDW) --- 49 unchanged lines hidden --- | 661 int active_ports; 662 int num_ports; 663 bool is_tx; 664 struct wcd938x_priv *wcd938x; 665 struct irq_domain *slave_irq; 666}; 667 668#if IS_ENABLED(CONFIG_SND_SOC_WCD938X_SDW) --- 49 unchanged lines hidden --- |