Lines Matching refs:qcam_device

92 static inline int read_lpstatus(struct qcam_device *q)  in read_lpstatus()
97 static inline int read_lpcontrol(struct qcam_device *q) in read_lpcontrol()
102 static inline int read_lpdata(struct qcam_device *q) in read_lpdata()
107 static inline void write_lpdata(struct qcam_device *q, int d) in write_lpdata()
112 static inline void write_lpcontrol(struct qcam_device *q, int d) in write_lpcontrol()
117 static int qc_waithand(struct qcam_device *q, int val);
118 static int qc_command(struct qcam_device *q, int command);
119 static int qc_readparam(struct qcam_device *q);
120 static int qc_setscanmode(struct qcam_device *q);
121 static int qc_readbytes(struct qcam_device *q, char buffer[]);
125 static int qc_calibrate(struct qcam_device *q) in qc_calibrate()
158 static struct qcam_device *qcam_init(struct parport *port) in qcam_init()
160 struct qcam_device *q; in qcam_init()
162 q = kmalloc(sizeof(struct qcam_device), GFP_KERNEL); in qcam_init()
202 static int qc_command(struct qcam_device *q, int command) in qc_command()
219 static int qc_readparam(struct qcam_device *q) in qc_readparam()
237 static int qc_waithand(struct qcam_device *q, int val) in qc_waithand()
291 static unsigned int qc_waithand2(struct qcam_device *q, int val) in qc_waithand2()
327 static int qc_detect(struct qcam_device *q) in qc_detect()
369 static void qc_reset(struct qcam_device *q) in qc_reset()
409 static int qc_setscanmode(struct qcam_device *q) in qc_setscanmode()
455 void qc_set(struct qcam_device *q) in qc_set()
509 static inline int qc_readbytes(struct qcam_device *q, char buffer[]) in qc_readbytes()
605 long qc_capture(struct qcam_device * q, char *buf, unsigned long len) in qc_capture()
713 struct qcam_device *qcam=(struct qcam_device *)dev; in qcam_ioctl()
897 struct qcam_device *qcam=(struct qcam_device *)v; in qcam_read()
931 static struct qcam_device *qcams[MAX_CAMS];
936 struct qcam_device *qcam; in init_bwqcam()
977 void close_bwqcam(struct qcam_device *qcam) in close_bwqcam()