Lines Matching refs:devinfo
372 struct ahc_devinfo *devinfo);
567 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
615 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
618 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
620 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1162 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1179 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1181 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1256 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1290 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
1342 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth() argument
1348 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
1364 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1378 struct ahc_devinfo devinfo; in ahc_linux_device_queue_depth() local
1382 ahc_compile_devinfo(&devinfo, in ahc_linux_device_queue_depth()
1388 tags = ahc_linux_user_tagdepth(ahc, &devinfo); in ahc_linux_device_queue_depth()
1391 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_TAGGED); in ahc_linux_device_queue_depth()
1392 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1393 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1394 ahc_print_devinfo(ahc, &devinfo); in ahc_linux_device_queue_depth()
1397 ahc_platform_set_tags(ahc, sdev, &devinfo, AHC_QUEUE_NONE); in ahc_linux_device_queue_depth()
1398 ahc_send_async(ahc, devinfo.channel, devinfo.target, in ahc_linux_device_queue_depth()
1399 devinfo.lun, AC_TRANSFER_NEG); in ahc_linux_device_queue_depth()
1798 struct ahc_devinfo devinfo; in ahc_linux_handle_scsi_status() local
1801 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()
2367 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2381 struct ahc_devinfo devinfo; in ahc_linux_set_offset() local
2387 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_offset()
2396 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2410 struct ahc_devinfo devinfo; in ahc_linux_set_dt() local
2425 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0, in ahc_linux_set_dt()
2430 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2449 struct ahc_devinfo devinfo;
2459 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2464 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2478 struct ahc_devinfo devinfo;
2488 ahc_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2493 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,