#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/rwsem.h>
#include <linux/usb/input.h>
#include <linux/map_to_7segment.h>
#include "yealink.h"
Go to the source code of this file.
|
#define | DRIVER_VERSION "yld-20051230" |
|
#define | DRIVER_AUTHOR "Henk Vergonet" |
|
#define | DRIVER_DESC "Yealink phone driver" |
|
#define | YEALINK_POLLING_FREQUENCY 10 /* in [Hz] */ |
|
#define | _LOC(k, l) { .a = (k), .m = (l) } |
|
#define | _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) |
|
#define | _PIC(t, h, hm, n) |
|
#define | _M444 S_IRUGO |
|
#define | _M664 S_IRUGO|S_IWUSR|S_IWGRP |
|
#define | _M220 S_IWUSR|S_IWGRP |
|
#define _LOC |
( |
|
k, |
|
|
|
l |
|
) |
| { .a = (k), .m = (l) } |
#define _PIC |
( |
|
t, |
|
|
|
h, |
|
|
|
hm, |
|
|
|
n |
|
) |
| |
Value:
.
u = { .p = { .name = (
n), .
a = (
h), .m = (hm) } } }
Definition at line 82 of file yealink.c.
#define _SEG |
( |
|
t, |
|
|
|
a, |
|
|
|
am, |
|
|
|
b, |
|
|
|
bm, |
|
|
|
c, |
|
|
|
cm, |
|
|
|
d, |
|
|
|
dm, |
|
|
|
e, |
|
|
|
em, |
|
|
|
f, |
|
|
|
fm, |
|
|
|
g, |
|
|
|
gm |
|
) |
| |
#define DRIVER_AUTHOR "Henk Vergonet" |
#define DRIVER_VERSION "yld-20051230" |
#define YEALINK_POLLING_FREQUENCY 10 /* in [Hz] */ |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
usb_table |
|
|
) |
| |
module_usb_driver |
( |
yealink_driver |
| ) |
|