blob: 5a9677c3d4c37691b2907766603c649bd27867e6 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Robert Jarzmik74426fb2017-09-02 21:54:04 +02002/*
3 * Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
Robert Jarzmik74426fb2017-09-02 21:54:04 +02004 */
5
Pierre-Louis Bossart2d7a5c62020-09-02 16:21:28 -05006unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv,
Robert Jarzmik74426fb2017-09-02 21:54:04 +02007 unsigned int codec_num);
8
9static inline bool ac97_ids_match(unsigned int id1, unsigned int id2,
10 unsigned int mask)
11{
12 return (id1 & mask) == (id2 & mask);
13}