Lines Matching refs:devinfo
371 struct ahc_devinfo *devinfo);
566 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
619 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
622 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
624 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1180 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1197 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1199 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1274 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1308 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
1360 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth() argument
1366 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
1382 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1396 struct ahc_devinfo devinfo; in ahc_linux_device_queue_depth() local
1400 ahc_compile_devinfo(&devinfo, in ahc_linux_device_queue_depth()
1406 tags = ahc_linux_user_tagdepth(ahc, &devinfo); in ahc_linux_device_queue_depth()
1409 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_TAGGED); in ahc_linux_device_queue_depth()
1410 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1411 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1412 ahc_print_devinfo(ahc, &devinfo); in ahc_linux_device_queue_depth()
1415 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_NONE); in ahc_linux_device_queue_depth()
1416 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1417 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1816 struct ahc_devinfo devinfo; in ahc_linux_handle_scsi_status() local
1819 ahc_compile_devinfo(&devinfo, in ahc_linux_handle_scsi_status()
1922 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
1933 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
2336 struct ahc_devinfo devinfo; in ahc_linux_set_width() local
2339 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_width()
2342 ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE); in ahc_linux_set_width()
2355 struct ahc_devinfo devinfo; in ahc_linux_set_period() local
2374 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_period()
2385 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2399 struct ahc_devinfo devinfo; in ahc_linux_set_offset() local
2405 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_offset()
2413 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2427 struct ahc_devinfo devinfo; in ahc_linux_set_dt() local
2442 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_dt()
2446 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2465 struct ahc_devinfo devinfo;
2475 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2479 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2493 struct ahc_devinfo devinfo;
2503 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2507 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,