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()
1181 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1198 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1200 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1275 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1309 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
1361 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth() argument
1367 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
1383 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1397 struct ahc_devinfo devinfo; in ahc_linux_device_queue_depth() local
1401 ahc_compile_devinfo(&devinfo, in ahc_linux_device_queue_depth()
1407 tags = ahc_linux_user_tagdepth(ahc, &devinfo); in ahc_linux_device_queue_depth()
1410 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_TAGGED); in ahc_linux_device_queue_depth()
1411 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1412 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1413 ahc_print_devinfo(ahc, &devinfo); in ahc_linux_device_queue_depth()
1416 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_NONE); in ahc_linux_device_queue_depth()
1417 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1418 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1817 struct ahc_devinfo devinfo; in ahc_linux_handle_scsi_status() local
1820 ahc_compile_devinfo(&devinfo, in ahc_linux_handle_scsi_status()
1923 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
1934 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
2342 struct ahc_devinfo devinfo; in ahc_linux_set_width() local
2345 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_width()
2348 ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE); in ahc_linux_set_width()
2361 struct ahc_devinfo devinfo; in ahc_linux_set_period() local
2380 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_period()
2391 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2405 struct ahc_devinfo devinfo; in ahc_linux_set_offset() local
2411 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_offset()
2419 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2433 struct ahc_devinfo devinfo; in ahc_linux_set_dt() local
2448 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_dt()
2452 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2471 struct ahc_devinfo devinfo;
2481 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2485 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2499 struct ahc_devinfo devinfo;
2509 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2513 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,