cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ac97_core.h (349B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
      4 */
      5
      6unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv,
      7				   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}