Lines Matching refs:change_mode
256 static int change_mode(struct parport *pp, int m) in change_mode() function
270 if (change_mode(pp, ECR_PS2)) in change_mode()
465 if (change_mode(pp, ECR_EPP)) in parport_uss720_epp_read_data()
476 change_mode(pp, ECR_PS2); in parport_uss720_epp_read_data()
486 if (change_mode(pp, ECR_EPP)) in parport_uss720_epp_write_data()
499 change_mode(pp, ECR_PS2); in parport_uss720_epp_write_data()
509 if (change_mode(pp, ECR_EPP)) in parport_uss720_epp_write_data()
514 change_mode(pp, ECR_PS2); in parport_uss720_epp_write_data()
524 if (change_mode(pp, ECR_EPP)) in parport_uss720_epp_read_addr()
535 change_mode(pp, ECR_PS2); in parport_uss720_epp_read_addr()
544 if (change_mode(pp, ECR_EPP)) in parport_uss720_epp_write_addr()
557 change_mode(pp, ECR_PS2); in parport_uss720_epp_write_addr()
570 if (change_mode(pp, ECR_ECP)) in parport_uss720_ecp_write_data()
575 change_mode(pp, ECR_PS2); in parport_uss720_ecp_write_data()
588 if (change_mode(pp, ECR_ECP)) in parport_uss720_ecp_read_data()
593 change_mode(pp, ECR_PS2); in parport_uss720_ecp_read_data()
601 if (change_mode(pp, ECR_ECP)) in parport_uss720_ecp_write_addr()
608 change_mode(pp, ECR_PS2); in parport_uss720_ecp_write_addr()
621 if (change_mode(pp, ECR_PPF)) in parport_uss720_write_compat()
626 change_mode(pp, ECR_PS2); in parport_uss720_write_compat()