Lines Matching refs:pport
122 struct parport *pport; in pp_read() local
138 pport = pp->pdev->port; in pp_read()
139 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR); in pp_read()
158 if (pport->ieee1284.mode & IEEE1284_ADDR) in pp_read()
159 fn = pport->ops->epp_read_addr; in pp_read()
161 fn = pport->ops->epp_read_data; in pp_read()
162 bytes_read = (*fn)(pport, kbuffer, need, flags); in pp_read()
164 bytes_read = parport_read(pport, kbuffer, need); in pp_read()
202 struct parport *pport; in pp_write() local
214 pport = pp->pdev->port; in pp_write()
215 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR); in pp_write()
232 if (pport->ieee1284.mode & IEEE1284_ADDR) { in pp_write()
233 wrote = pport->ops->epp_write_addr(pport, in pp_write()
236 wrote = pport->ops->epp_write_data(pport, in pp_write()