Searched refs:change_mode (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/misc/ |
H A D | uss720.c | 275 static int change_mode(struct parport *pp, int m) change_mode() function 289 if (change_mode(pp, ECR_PS2)) change_mode() 484 if (change_mode(pp, ECR_EPP)) parport_uss720_epp_read_data() 495 change_mode(pp, ECR_PS2); parport_uss720_epp_read_data() 505 if (change_mode(pp, ECR_EPP)) parport_uss720_epp_write_data() 518 change_mode(pp, ECR_PS2); parport_uss720_epp_write_data() 528 if (change_mode(pp, ECR_EPP)) parport_uss720_epp_write_data() 533 change_mode(pp, ECR_PS2); parport_uss720_epp_write_data() 543 if (change_mode(pp, ECR_EPP)) parport_uss720_epp_read_addr() 554 change_mode(pp, ECR_PS2); parport_uss720_epp_read_addr() 563 if (change_mode(pp, ECR_EPP)) parport_uss720_epp_write_addr() 576 change_mode(pp, ECR_PS2); parport_uss720_epp_write_addr() 589 if (change_mode(pp, ECR_ECP)) parport_uss720_ecp_write_data() 594 change_mode(pp, ECR_PS2); parport_uss720_ecp_write_data() 607 if (change_mode(pp, ECR_ECP)) parport_uss720_ecp_read_data() 612 change_mode(pp, ECR_PS2); parport_uss720_ecp_read_data() 620 if (change_mode(pp, ECR_ECP)) parport_uss720_ecp_write_addr() 627 change_mode(pp, ECR_PS2); parport_uss720_ecp_write_addr() 640 if (change_mode(pp, ECR_PPF)) parport_uss720_write_compat() 645 change_mode(pp, ECR_PS2); parport_uss720_write_compat()
|
/linux-4.4.14/drivers/parport/ |
H A D | parport_pc.c | 138 static int change_mode(struct parport *p, int m) change_mode() function 144 DPRINTK(KERN_INFO "parport change_mode ECP-ISA to mode 0x%02x\n", m); change_mode() 147 printk(KERN_DEBUG "change_mode: but there's no ECR!\n"); change_mode() 726 r = change_mode(port, ECR_PPF); /* Parallel port FIFO */ parport_pc_compat_write_block_pio() 728 printk(KERN_DEBUG "%s: Warning change_mode ECR_PPF failed\n", parport_pc_compat_write_block_pio() 744 r = change_mode(port, ECR_PS2); parport_pc_compat_write_block_pio() 823 r = change_mode(port, ECR_ECP); /* ECP FIFO */ parport_pc_ecp_write_block_pio() 825 printk(KERN_DEBUG "%s: Warning change_mode ECR_ECP failed\n", parport_pc_ecp_write_block_pio() 840 r = change_mode(port, ECR_PS2); parport_pc_ecp_write_block_pio()
|
Completed in 75 milliseconds