Lines Matching refs:pcd_atapi
462 static int pcd_atapi(struct pcd_unit *cd, char *cmd, int dlen, char *buf, char *fun) in pcd_atapi() function
478 return pcd_atapi(cdi->handle, cgc->cmd, cgc->buflen, cgc->buffer, in pcd_packet()
498 return pcd_atapi(cdi->handle, un_cmd, 0, pcd_scratch, in pcd_lock_door()
506 return pcd_atapi(cdi->handle, ej_cmd, 0, pcd_scratch, in pcd_tray_move()
560 pcd_atapi(cd, tr_cmd, 0, NULL, DBMSG("test unit ready")); in pcd_ready_wait()
579 if (pcd_atapi(cd, rc_cmd, 8, pcd_scratch, DBMSG("check media"))) in pcd_drive_status()
592 s = pcd_atapi(cd, id_cmd, 36, pcd_buffer, "identify"); in pcd_identify()
638 ret = pcd_atapi(cd, cmd, 18, buffer, "mode sense capabilities"); in pcd_probe_capabilities()
830 r = pcd_atapi(cd, cmd, 12, buffer, "read toc header"); in pcd_audio_ioctl()
854 r = pcd_atapi(cd, cmd, 12, buffer, "read toc entry"); in pcd_audio_ioctl()
884 if (pcd_atapi(cdi->handle, cmd, 24, buffer, "get mcn")) in pcd_get_mcn()