18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr> 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciunsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv, 78c2ecf20Sopenharmony_ci unsigned int codec_num); 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistatic inline bool ac97_ids_match(unsigned int id1, unsigned int id2, 108c2ecf20Sopenharmony_ci unsigned int mask) 118c2ecf20Sopenharmony_ci{ 128c2ecf20Sopenharmony_ci return (id1 & mask) == (id2 & mask); 138c2ecf20Sopenharmony_ci} 14