Lines Matching defs:pport
114 struct parport *pport;
199 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_ADDR) != 0)
201 if (parport_write(cam->pport, &addr, 1) != 1)
203 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_DATA) != 0)
205 if (parport_read(cam->pport, &val, 1) != 1)
220 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_ADDR) != 0)
222 if (parport_write(cam->pport, &addr, 1) != 1)
224 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_DATA) != 0)
226 if (parport_write(cam->pport, &val, 1) != 1)
738 if ((parport_negotiate(cam->pport, cam->ppmode|IEEE1284_ADDR) != 0) ||
739 (parport_write(cam->pport, &addr, 1) != 1) ||
740 (parport_negotiate(cam->pport, cam->ppmode|IEEE1284_DATA) != 0)) {
755 if (parport_read(cam->pport, tbuf, tsize) < tsize) {
836 cam->pport = port;
897 cam->pport->name);
916 parport_negotiate(cam->pport, IEEE1284_MODE_COMPAT);
951 if (w9966_cams[i].dev_state != 0 && w9966_cams[i].pport == port)