Lines Matching defs:device
129 static int epc_list(struct cam_device *device, camcontrol_devtype devtype,
133 static int epc_getmode(struct cam_device *device, camcontrol_devtype devtype,
136 static int epc_set_features(struct cam_device *device,
189 epc_list(struct cam_device *device, camcontrol_devtype devtype, union ccb *ccb,
235 error = cam_send_ccb(device, ccb);
243 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,stderr);
270 epc_getmode(struct cam_device *device, camcontrol_devtype devtype,
293 retval = ata_do_identify(device, retry_count, timeout, ccb, &ident);
345 retval = cam_send_ccb(device, ccb);
353 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,stderr);
422 retval = cam_send_ccb(device, ccb);
440 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,
454 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,stderr);
459 retval = get_ata_status(device, ccb, &error, &count, &lba, &ata_device,
520 epc_set_features(struct cam_device *device, camcontrol_devtype devtype,
591 error = cam_send_ccb(device, ccb);
599 cam_error_print(device, ccb, CAM_ESF_ALL, CAM_EPF_ALL,stderr);
609 epc(struct cam_device *device, int argc, char **argv, char *combinedopt,
626 ccb = cam_getccb(device);
758 error = get_device_type(device, retry_count, timeout,
761 errx(1, "Unable to determine device type");
822 error = epc_getmode(device, devtype, ccb, retry_count, timeout,
826 error = epc_list(device, devtype, ccb, retry_count, timeout);
835 error = epc_set_features(device, devtype, ccb, retry_count,