linux/drivers/pps/clients/pps_parport.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * pps_parport.c -- kernel parallel port PPS client
 *
 * Copyright (C) 2009   Alexander Gordeev <[email protected]>
 */


/*
 * TODO:
 * implement echo over SEL pin
 */

#define pr_fmt(fmt)

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/irqnr.h>
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/parport.h>
#include <linux/pps_kernel.h>

/* module parameters */

#define CLEAR_WAIT_MAX
#define CLEAR_WAIT_MAX_ERRORS

static unsigned int clear_wait =;
MODULE_PARM_DESC();
module_param(clear_wait, uint, 0);

static DEFINE_IDA(pps_client_index);

/* internal per port structure */
struct pps_client_pp {};

static inline int signal_is_set(struct parport *port)
{}

/* parport interrupt handler */
static void parport_irq(void *handle)
{}

static void parport_attach(struct parport *port)
{}

static void parport_detach(struct parport *port)
{}

static struct parport_driver pps_parport_driver =;
module_parport_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();