Lines Matching refs:hpnt

1311 	struct Scsi_Host *hpnt;  in sdebug_max_tgts_luns()  local
1315 hpnt = sdbg_host->shost; in sdebug_max_tgts_luns()
1316 if ((hpnt->this_id >= 0) && in sdebug_max_tgts_luns()
1317 (sdebug_num_tgts > hpnt->this_id)) in sdebug_max_tgts_luns()
1318 hpnt->max_id = sdebug_num_tgts + 1; in sdebug_max_tgts_luns()
1320 hpnt->max_id = sdebug_num_tgts; in sdebug_max_tgts_luns()
1322 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_max_tgts_luns()
9402 struct Scsi_Host *hpnt; in sdebug_driver_probe() local
9407 hpnt = scsi_host_alloc(&sdebug_driver_template, 0); in sdebug_driver_probe()
9408 if (NULL == hpnt) { in sdebug_driver_probe()
9413 hpnt->can_queue = sdebug_max_queue; in sdebug_driver_probe()
9414 hpnt->cmd_per_lun = sdebug_max_queue; in sdebug_driver_probe()
9416 hpnt->dma_boundary = PAGE_SIZE - 1; in sdebug_driver_probe()
9427 hpnt->nr_hw_queues = submit_queues; in sdebug_driver_probe()
9429 hpnt->host_tagset = 1; in sdebug_driver_probe()
9432 if (hpnt->nr_hw_queues == 1 || (poll_queues < 1)) { in sdebug_driver_probe()
9434 my_name, poll_queues, hpnt->nr_hw_queues); in sdebug_driver_probe()
9452 hpnt->nr_maps = 3; in sdebug_driver_probe()
9454 sdbg_host->shost = hpnt; in sdebug_driver_probe()
9455 if ((hpnt->this_id >= 0) && (sdebug_num_tgts > hpnt->this_id)) in sdebug_driver_probe()
9456 hpnt->max_id = sdebug_num_tgts + 1; in sdebug_driver_probe()
9458 hpnt->max_id = sdebug_num_tgts; in sdebug_driver_probe()
9460 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_driver_probe()
9490 scsi_host_set_prot(hpnt, hprot); in sdebug_driver_probe()
9503 scsi_host_set_guard(hpnt, SHOST_DIX_GUARD_IP); in sdebug_driver_probe()
9505 scsi_host_set_guard(hpnt, SHOST_DIX_GUARD_CRC); in sdebug_driver_probe()
9511 error = scsi_add_host(hpnt, &sdbg_host->dev); in sdebug_driver_probe()
9515 scsi_host_put(hpnt); in sdebug_driver_probe()
9517 scsi_scan_host(hpnt); in sdebug_driver_probe()