1*e3f7caf7SCharles Keepax /* SPDX-License-Identifier: GPL-2.0 */ 2*e3f7caf7SCharles Keepax /* 3*e3f7caf7SCharles Keepax * The MIPI SDCA specification is available for public downloads at 4*e3f7caf7SCharles Keepax * https://www.mipi.org/mipi-sdca-v1-0-download 5*e3f7caf7SCharles Keepax * 6*e3f7caf7SCharles Keepax * Copyright (C) 2025 Cirrus Logic, Inc. and 7*e3f7caf7SCharles Keepax * Cirrus Logic International Semiconductor Ltd. 8*e3f7caf7SCharles Keepax */ 9*e3f7caf7SCharles Keepax 10*e3f7caf7SCharles Keepax #ifndef __SDCA_REGMAP_H__ 11*e3f7caf7SCharles Keepax #define __SDCA_REGMAP_H__ 12*e3f7caf7SCharles Keepax 13*e3f7caf7SCharles Keepax struct sdca_function_data; 14*e3f7caf7SCharles Keepax 15*e3f7caf7SCharles Keepax bool sdca_regmap_readable(struct sdca_function_data *function, unsigned int reg); 16*e3f7caf7SCharles Keepax bool sdca_regmap_writeable(struct sdca_function_data *function, unsigned int reg); 17*e3f7caf7SCharles Keepax bool sdca_regmap_volatile(struct sdca_function_data *function, unsigned int reg); 18*e3f7caf7SCharles Keepax bool sdca_regmap_deferrable(struct sdca_function_data *function, unsigned int reg); 19*e3f7caf7SCharles Keepax int sdca_regmap_mbq_size(struct sdca_function_data *function, unsigned int reg); 20*e3f7caf7SCharles Keepax 21*e3f7caf7SCharles Keepax #endif // __SDCA_REGMAP_H__ 22