Lines Matching defs:pport
48 struct parport *pport;
94 parport_frob_control(qcam->pport, 8, i ? 8 : 0);
99 return (parport_read_status(qcam->pport) & 0x8) ? 1 : 0;
104 return (parport_read_data(qcam->pport) & 0x1) ? 1 : 0;
128 parport_read_status(qcam->pport),
129 parport_read_control(qcam->pport));
154 parport_read_status(qcam->pport),
155 parport_read_control(qcam->pport),
156 parport_read_data(qcam->pport));
167 idata = parport_read_status(qcam->pport) & 0xf0;
171 idata |= parport_read_status(qcam->pport) >> 4;
180 parport_write_data(qcam->pport, data);
215 if (qcam->pport->probe_info[0].class == PARPORT_CLASS_MEDIA
216 && qcam->pport->probe_info[0].model
226 parport_write_control(qcam->pport, 0xc);
229 ostat = stat = parport_read_status(qcam->pport);
232 stat = parport_read_status(qcam->pport);
241 parport_write_control(qcam->pport, 0xc);
242 parport_write_control(qcam->pport, 0x8);
244 parport_write_control(qcam->pport, 0xc);
248 ostat = stat = parport_read_status(qcam->pport);
251 stat = parport_read_status(qcam->pport);
265 parport_write_control(qcam->pport, 0xc);
266 parport_write_control(qcam->pport, 0x8);
268 parport_write_control(qcam->pport, 0xc);
316 lo1 = parport_read_data(qcam->pport) >> 1;
317 hi1 = ((parport_read_status(qcam->pport) >> 3) & 0x1f) ^ 0x10;
321 lo2 = parport_read_data(qcam->pport) >> 1;
322 hi2 = ((parport_read_status(qcam->pport) >> 3) & 0x1f) ^ 0x10;
347 hi = (parport_read_status(qcam->pport) & 0xf0);
351 lo = (parport_read_status(qcam->pport) & 0xf0);
411 parport_data_reverse(qcam->pport);
452 parport_data_forward(qcam->pport);
474 parport_data_forward(qcam->pport);
478 parport_data_forward(qcam->pport);
757 qcam->pport = port;
761 qcam->bidirectional = (qcam->pport->modes & PARPORT_MODE_TRISTATE) ? 1 : 0;
831 qcam->pport->name);
838 video_device_node_name(&qcam->vdev), qcam->pport->name);