Searched refs:cam_dev (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/lib/libcam/tests/ |
H A D | libcam_test.c | 228 struct cam_device *cam_dev; local 234 cam_dev = cam_open_device(cam_test_device, O_RDWR); 235 ATF_CHECK_MSG(cam_dev != NULL, "cam_open_device failed: %s", 238 cam_close_device(cam_dev); 269 struct cam_device *cam_dev; local 275 cam_dev = cam_open_device(cam_test_device, O_RDWR); 276 ATF_CHECK_MSG(cam_dev != NULL, "cam_open_device failed: %s", 279 cam_ccb = cam_getccb(cam_dev); 283 cam_close_device(cam_dev);
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | fwdownload.c | 269 static struct fw_vendor *fw_get_vendor(struct cam_device *cam_dev, 271 static int fw_get_timeout(struct cam_device *cam_dev, struct fw_vendor *vp, 283 static int fw_download_img(struct cam_device *cam_dev, 294 fw_get_vendor(struct cam_device *cam_dev, struct ata_params *ident_buf) argument 299 if (cam_dev == NULL) 310 cam_strvis((u_char *)vendor, (u_char *)cam_dev->inq_data.vendor, 311 sizeof(cam_dev->inq_data.vendor), sizeof(vendor)); 317 || (vp->dev_type == SID_TYPE(&cam_dev->inq_data))) 325 fw_get_timeout(struct cam_device *cam_dev, struct fw_vendor *vp, argument 351 retval = scsigetopcodes(/*device*/ cam_dev, 773 fw_download_img(struct cam_device *cam_dev, struct fw_vendor *vp, char *buf, int img_size, int sim_mode, int printerrors, int quiet, int retry_count, int timeout, const char *imgname, camcontrol_devtype devtype) argument [all...] |
H A D | camcontrol.c | 673 getdevtype(struct cam_device *cam_dev) argument 681 error = get_device_type(cam_dev, -1, 0, 0, &dt); 9728 struct cam_device *cam_dev = NULL; local 9959 if ((cam_dev = ((arglist & (CAM_ARG_BUS | CAM_ARG_TARGET))? 9977 error = getdevlist(cam_dev); 9980 error = atahpa(cam_dev, retry_count, timeout, 9984 error = ataama(cam_dev, retry_count, timeout, 9992 error = getdevtype(cam_dev); 9996 error = testunitready(cam_dev, task_attr, retry_count, 10000 error = scsidoinquiry(cam_dev, arg [all...] |
/freebsd-11-stable/usr.sbin/camdd/ |
H A D | camdd.c | 482 struct camdd_dev *camdd_probe_pass(struct cam_device *cam_dev, 1254 camdd_probe_pass(struct cam_device *cam_dev, struct camdd_io_opts *io_opts, argument 1271 scsi_dev_type = SID_TYPE(&cam_dev->inq_data); 1293 ccb = cam_getccb(cam_dev); 1316 if (cam_send_ccb(cam_dev, ccb) < 0) { 1319 cam_error_print(cam_dev, ccb, CAM_ESF_ALL, 1326 cam_error_print(cam_dev, ccb, CAM_ESF_ALL, CAM_EPF_ALL, stderr); 1359 if (cam_send_ccb(cam_dev, ccb) < 0) { 1361 cam_error_print(cam_dev, ccb, CAM_ESF_ALL, 1367 cam_error_print(cam_dev, cc [all...] |
Completed in 99 milliseconds