linux/drivers/media/pci/bt8xx/dst_priv.h
<<
>>
Prefs
   1/*
   2 * dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
   3 *
   4 * Copyright (C) 2003 Jamie Honan
   5 */
   6
   7struct dst_gpio_enable {
   8        u32     mask;
   9        u32     enable;
  10};
  11
  12struct dst_gpio_output {
  13        u32     mask;
  14        u32     highvals;
  15};
  16
  17struct dst_gpio_read {
  18        unsigned long value;
  19};
  20
  21union dst_gpio_packet {
  22        struct dst_gpio_enable enb;
  23        struct dst_gpio_output outp;
  24        struct dst_gpio_read rd;
  25        int    psize;
  26};
  27
  28#define DST_IG_ENABLE   0
  29#define DST_IG_WRITE    1
  30#define DST_IG_READ     2
  31#define DST_IG_TS       3
  32
  33struct bt878;
  34
  35int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
  36