linux/drivers/media/pci/bt8xx/bttv-gpio.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*

    bttv-gpio.c  --  gpio sub drivers

    sysfs-based sub driver interface for bttv
    mainly intended for gpio access


    Copyright (C) 1996,97,98 Ralph  Metzler ([email protected])
			   & Marcus Metzler ([email protected])
    (c) 1999-2003 Gerd Knorr <[email protected]>


*/

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <asm/io.h>

#include "bttvp.h"

/* ----------------------------------------------------------------------- */
/* internal: the bttv "bus"                                                */

static int bttv_sub_bus_match(struct device *dev, const struct device_driver *drv)
{}

static int bttv_sub_probe(struct device *dev)
{}

static void bttv_sub_remove(struct device *dev)
{}

const struct bus_type bttv_sub_bus_type =;

static void release_sub_device(struct device *dev)
{}

int bttv_sub_add_device(struct bttv_core *core, char *name)
{}

int bttv_sub_del_devices(struct bttv_core *core)
{}

/* ----------------------------------------------------------------------- */
/* external: sub-driver register/unregister                                */

int bttv_sub_register(struct bttv_sub_driver *sub, char *wanted)
{}
EXPORT_SYMBOL();

int bttv_sub_unregister(struct bttv_sub_driver *sub)
{}
EXPORT_SYMBOL();

/* ----------------------------------------------------------------------- */
/* external: gpio access functions                                         */

void bttv_gpio_inout(struct bttv_core *core, u32 mask, u32 outbits)
{}

u32 bttv_gpio_read(struct bttv_core *core)
{}

void bttv_gpio_write(struct bttv_core *core, u32 value)
{}

void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits)
{}