Searched refs:transfer_parms (Results 1 – 2 of 2) sorted by relevance
155 struct ecpp_transfer_parms transfer_parms; in get_ecpp_status() local158 if (ioctl(fd, ECPPIOC_GETPARMS, &transfer_parms) == -1) { in get_ecpp_status()162 state = transfer_parms.mode; in get_ecpp_status()170 transfer_parms.mode = ECPP_CENTRONICS; in get_ecpp_status()171 if (ioctl(fd, ECPPIOC_SETPARMS, &transfer_parms) == -1) { in get_ecpp_status()
172 struct ecpp_transfer_parms transfer_parms; in get_ecpp_status() local175 if (ioctl(fd, ECPPIOC_GETPARMS, &transfer_parms) == -1) { in get_ecpp_status()179 state = transfer_parms.mode; in get_ecpp_status()186 transfer_parms.mode = ECPP_CENTRONICS; in get_ecpp_status()187 if (ioctl(fd, ECPPIOC_SETPARMS, &transfer_parms) == -1) { in get_ecpp_status()