Lines Matching refs:pport
104 struct parport* pport; member
253 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_ADDR) != 0 || in w9966_rreg()
254 parport_write(cam->pport, &addr, 1) != 1 || in w9966_rreg()
255 parport_negotiate(cam->pport, cam->ppmode | IEEE1284_DATA) != 0 || in w9966_rreg()
256 parport_read(cam->pport, &val, 1) != 1) in w9966_rreg()
271 if (parport_negotiate(cam->pport, cam->ppmode | IEEE1284_ADDR) != 0 || in w9966_wreg()
272 parport_write(cam->pport, &addr, 1) != 1 || in w9966_wreg()
273 parport_negotiate(cam->pport, cam->ppmode | IEEE1284_DATA) != 0 || in w9966_wreg()
274 parport_write(cam->pport, &val, 1) != 1) in w9966_wreg()
289 cam->pport = port; in w9966_init()
387 cam->name, cam->pport->name); in w9966_init()
405 parport_negotiate(cam->pport, IEEE1284_MODE_COMPAT); in w9966_term()
1068 if (parport_negotiate(cam->pport, cam->ppmode|IEEE1284_ADDR) != 0 || in w9966_v4l_read()
1069 parport_write(cam->pport, &addr, 1) != 1 || in w9966_v4l_read()
1070 parport_negotiate(cam->pport, cam->ppmode|IEEE1284_DATA) != 0) { in w9966_v4l_read()
1079 if (parport_read(cam->pport, cam->buffer, tsize) < tsize) in w9966_v4l_read()
1118 if (w9966_cams[i].dev_state != 0 && w9966_cams[i].pport == port) in w9966_detach()