Home
last modified time | relevance | path

Searched refs:phone_device (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/staging/telephony/
Dphonedev.c38 static struct phone_device *phone_device[PHONE_NUM_DEVICES]; variable
49 struct phone_device *p; in phone_open()
56 p = phone_device[minor]; in phone_open()
63 p = phone_device[minor]; in phone_open()
88 int phone_register_device(struct phone_device *p, int unit) in phone_register_device()
104 if (phone_device[i] == NULL) { in phone_register_device()
105 phone_device[i] = p; in phone_register_device()
119 void phone_unregister_device(struct phone_device *pfd) in phone_unregister_device()
122 if (likely(phone_device[pfd->minor] == pfd)) in phone_unregister_device()
123 phone_device[pfd->minor] = NULL; in phone_unregister_device()
Dixj.h1169 struct phone_device p;
Dixj.c2105 static int ixj_open(struct phone_device *p, struct file *file_p) in ixj_open()
/linux-3.4.99/include/linux/
Dphonedev.h10 struct phone_device { struct
11 struct phone_device *next; argument
13 int (*open) (struct phone_device *, struct file *); argument
20 extern int phone_register_device(struct phone_device *, int unit); argument
22 extern void phone_unregister_device(struct phone_device *);