Lines Matching refs:port_mode
114 int port_mode; member
359 switch (q->port_mode & QC_MODE_MASK) { in qc_setscanmode()
382 switch (q->port_mode & QC_FORCE_MASK) { in qc_reset()
384 q->port_mode = (q->port_mode & ~QC_MODE_MASK) | QC_UNIDIR; in qc_reset()
388 q->port_mode = (q->port_mode & ~QC_MODE_MASK) | QC_BIDIR; in qc_reset()
396 q->port_mode = (q->port_mode & ~QC_MODE_MASK) | QC_BIDIR; in qc_reset()
398 q->port_mode = (q->port_mode & ~QC_MODE_MASK) | QC_UNIDIR; in qc_reset()
430 if ((q->port_mode & QC_MODE_MASK) == QC_UNIDIR && q->bpp == 6) { in qc_set()
440 val2 = (((q->port_mode & QC_MODE_MASK) == QC_BIDIR) ? 24 : 8) * in qc_set()
479 switch (q->port_mode & QC_MODE_MASK) { in qc_readbytes()
577 if ((q->port_mode & QC_MODE_MASK) == QC_BIDIR) { in qc_capture()
591 divisor = (((q->port_mode & QC_MODE_MASK) == QC_BIDIR) ? 24 : 8) * in qc_capture()
627 if ((q->port_mode & QC_MODE_MASK) == QC_BIDIR) { in qc_capture()
919 qcam->port_mode = (QC_ANY | QC_NOTSET); in qcam_init()