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

mpl115.h (487B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Freescale MPL115A pressure/temperature sensor
      4 *
      5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
      6 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
      7 */
      8
      9#ifndef _MPL115_H_
     10#define _MPL115_H_
     11
     12struct mpl115_ops {
     13	int (*init)(struct device *);
     14	int (*read)(struct device *, u8);
     15	int (*write)(struct device *, u8, u8);
     16};
     17
     18int mpl115_probe(struct device *dev, const char *name,
     19			const struct mpl115_ops *ops);
     20
     21#endif