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

pvrusb2-ioread.h (771B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 *
      4 *  Copyright (C) 2005 Mike Isely <isely@pobox.com>
      5 */
      6#ifndef __PVRUSB2_IOREAD_H
      7#define __PVRUSB2_IOREAD_H
      8
      9#include "pvrusb2-io.h"
     10
     11struct pvr2_ioread;
     12
     13struct pvr2_ioread *pvr2_ioread_create(void);
     14void pvr2_ioread_destroy(struct pvr2_ioread *);
     15int pvr2_ioread_setup(struct pvr2_ioread *,struct pvr2_stream *);
     16struct pvr2_stream *pvr2_ioread_get_stream(struct pvr2_ioread *);
     17void pvr2_ioread_set_sync_key(struct pvr2_ioread *,
     18			      const char *sync_key_ptr,
     19			      unsigned int sync_key_len);
     20int pvr2_ioread_set_enabled(struct pvr2_ioread *,int fl);
     21int pvr2_ioread_read(struct pvr2_ioread *,void __user *buf,unsigned int cnt);
     22int pvr2_ioread_avail(struct pvr2_ioread *);
     23
     24#endif /* __PVRUSB2_IOREAD_H */