Lines Matching refs:devinfo
371 struct ahc_devinfo *devinfo);
566 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
614 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
617 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
619 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1161 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1178 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1180 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1255 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1289 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
1341 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth() argument
1347 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
1363 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1377 struct ahc_devinfo devinfo; in ahc_linux_device_queue_depth() local
1381 ahc_compile_devinfo(&devinfo, in ahc_linux_device_queue_depth()
1387 tags = ahc_linux_user_tagdepth(ahc, &devinfo); in ahc_linux_device_queue_depth()
1390 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_TAGGED); in ahc_linux_device_queue_depth()
1391 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1392 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1393 ahc_print_devinfo(ahc, &devinfo); in ahc_linux_device_queue_depth()
1396 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_NONE); in ahc_linux_device_queue_depth()
1397 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1398 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1797 struct ahc_devinfo devinfo; in ahc_linux_handle_scsi_status() local
1800 ahc_compile_devinfo(&devinfo, in ahc_linux_handle_scsi_status()
1903 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
1914 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
2317 struct ahc_devinfo devinfo; in ahc_linux_set_width() local
2320 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_width()
2323 ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE); in ahc_linux_set_width()
2336 struct ahc_devinfo devinfo; in ahc_linux_set_period() local
2355 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_period()
2366 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2380 struct ahc_devinfo devinfo; in ahc_linux_set_offset() local
2386 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_offset()
2394 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2408 struct ahc_devinfo devinfo; in ahc_linux_set_dt() local
2423 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_dt()
2427 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2446 struct ahc_devinfo devinfo;
2456 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2460 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2474 struct ahc_devinfo devinfo;
2484 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2488 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,