Searched refs:phone_device (Results 1 – 4 of 4) sorted by relevance
38 static struct phone_device *phone_device[PHONE_NUM_DEVICES]; variable49 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()
1169 struct phone_device p;
2105 static int ixj_open(struct phone_device *p, struct file *file_p) in ixj_open()
10 struct phone_device { struct11 struct phone_device *next; argument13 int (*open) (struct phone_device *, struct file *); argument20 extern int phone_register_device(struct phone_device *, int unit); argument22 extern void phone_unregister_device(struct phone_device *);