linux/drivers/parport/probe.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Parallel port device probing code
 *
 * Authors:    Carsten Gross, [email protected]
 *             Philip Blundell <[email protected]>
 */

#include <linux/module.h>
#include <linux/parport.h>
#include <linux/string.h>
#include <linux/string_helpers.h>
#include <linux/slab.h>
#include <linux/uaccess.h>

static const struct {} classes[] =;

static void pretty_print(struct parport *port, int device)
{}

static void parse_data(struct parport *port, int device, char *str)
{}

/* Read up to count-1 bytes of device id. Terminate buffer with
 * '\0'. Buffer begins with two Device ID length bytes as given by
 * device. */
static ssize_t parport_read_device_id (struct parport *port, char *buffer,
				       size_t count)
{}

/* Get Std 1284 Device ID. */
ssize_t parport_device_id (int devnum, char *buffer, size_t count)
{}