Lines Matching refs:devinfo
372 struct ahc_devinfo *devinfo);
565 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
613 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
616 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
618 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1160 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1177 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1179 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1254 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1288 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
1340 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth() argument
1346 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
1362 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1376 struct ahc_devinfo devinfo; in ahc_linux_device_queue_depth() local
1380 ahc_compile_devinfo(&devinfo, in ahc_linux_device_queue_depth()
1386 tags = ahc_linux_user_tagdepth(ahc, &devinfo); in ahc_linux_device_queue_depth()
1389 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_TAGGED); in ahc_linux_device_queue_depth()
1390 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1391 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1392 ahc_print_devinfo(ahc, &devinfo); in ahc_linux_device_queue_depth()
1395 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_NONE); in ahc_linux_device_queue_depth()
1396 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1397 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1796 struct ahc_devinfo devinfo; in ahc_linux_handle_scsi_status() local
1799 ahc_compile_devinfo(&devinfo, in ahc_linux_handle_scsi_status()
1901 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
1912 ahc_platform_set_tags(ahc, sdev, &devinfo, in ahc_linux_handle_scsi_status()
2315 struct ahc_devinfo devinfo; in ahc_linux_set_width() local
2318 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_width()
2321 ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE); in ahc_linux_set_width()
2334 struct ahc_devinfo devinfo; in ahc_linux_set_period() local
2353 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_period()
2365 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2379 struct ahc_devinfo devinfo; in ahc_linux_set_offset() local
2385 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()
2428 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2447 struct ahc_devinfo devinfo;
2457 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2462 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2476 struct ahc_devinfo devinfo;
2486 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2491 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,