Lines Matching refs:qcam_device
41 struct qcam_device { struct
74 static inline void qcam_set_ack(struct qcam_device *qcam, unsigned int i) in qcam_set_ack() argument
81 static inline unsigned int qcam_ready1(struct qcam_device *qcam) in qcam_ready1()
86 static inline unsigned int qcam_ready2(struct qcam_device *qcam) in qcam_ready2()
91 static unsigned int qcam_await_ready1(struct qcam_device *qcam, in qcam_await_ready1()
118 static unsigned int qcam_await_ready2(struct qcam_device *qcam, int value) in qcam_await_ready2()
145 static int qcam_read_data(struct qcam_device *qcam) in qcam_read_data()
157 static int qcam_write_data(struct qcam_device *qcam, unsigned int data) in qcam_write_data()
171 static inline int qcam_set(struct qcam_device *qcam, unsigned int cmd, unsigned int data) in qcam_set()
180 static inline int qcam_get(struct qcam_device *qcam, unsigned int cmd) in qcam_get()
187 static int qc_detect(struct qcam_device *qcam) in qc_detect()
246 static void qc_reset(struct qcam_device *qcam) in qc_reset()
258 static void qc_setup(struct qcam_device *q) in qc_setup()
286 static unsigned int qcam_read_bytes(struct qcam_device *q, unsigned char *buf, unsigned int nbytes) in qcam_read_bytes()
362 static long qc_capture(struct qcam_device *q, char *buf, unsigned long len) in qc_capture()
518 struct qcam_device *qcam=(struct qcam_device *)dev; in qcam_ioctl()
712 struct qcam_device *qcam=(struct qcam_device *)v; in qcam_read()
740 static struct qcam_device *qcam_init(struct parport *port) in qcam_init()
742 struct qcam_device *q; in qcam_init()
744 q = kmalloc(sizeof(struct qcam_device), GFP_KERNEL); in qcam_init()
776 static struct qcam_device *qcams[MAX_CAMS];
781 struct qcam_device *qcam; in init_cqcam()
836 void close_cqcam(struct qcam_device *qcam) in close_cqcam()