Lines Matching refs:ud

638 static int sbp2_probe(struct unit_directory *ud)  in sbp2_probe()  argument
646 if (ud->flags & UNIT_DIRECTORY_HAS_LUN_DIRECTORY) in sbp2_probe()
650 hi = sbp2_add_host(ud->ne->host); in sbp2_probe()
655 return sbp2_start_ud(hi, ud); in sbp2_probe()
658 static void sbp2_disconnect(struct unit_directory *ud) in sbp2_disconnect() argument
660 struct scsi_id_group *scsi_group = ud->driver_data; in sbp2_disconnect()
677 static void sbp2_update(struct unit_directory *ud) in sbp2_update() argument
680 struct scsi_id_group *scsi_group = ud->driver_data; in sbp2_update()
686 hi = hpsb_get_hostinfo(&sbp2_highlevel, ud->ne->host); in sbp2_update()
722 hpsb_release_unit_directory(ud); in sbp2_update()
797 static int sbp2_start_ud(struct sbp2scsi_host_info *hi, struct unit_directory *ud) in sbp2_start_ud() argument
812 ud->driver_data = scsi_group; in sbp2_start_ud()
813 sbp2_parse_unit_directory(scsi_group, ud); in sbp2_start_ud()
818 scsi_id->ne = ud->ne; in sbp2_start_ud()
1559 struct unit_directory *ud) in sbp2_parse_unit_directory() argument
1577 for (i = 0; i < ud->length; i++) { in sbp2_parse_unit_directory()
1578 switch (CONFIG_ROM_KEY(ud->quadlets[i])) { in sbp2_parse_unit_directory()
1583 (CONFIG_ROM_VALUE(ud->quadlets[i]) << 2); in sbp2_parse_unit_directory()
1592 = CONFIG_ROM_VALUE(ud->quadlets[i]); in sbp2_parse_unit_directory()
1599 command_set = CONFIG_ROM_VALUE(ud->quadlets[i]); in sbp2_parse_unit_directory()
1610 = CONFIG_ROM_VALUE(ud->quadlets[i]); in sbp2_parse_unit_directory()
1628 = CONFIG_ROM_VALUE(ud->quadlets[i]); in sbp2_parse_unit_directory()
1637 = CONFIG_ROM_VALUE(ud->quadlets[i]); in sbp2_parse_unit_directory()
1667 NODE_BUS_ARGS(ud->ne->host, ud->ne->nodeid)); in sbp2_parse_unit_directory()
1680 NODE_BUS_ARGS(ud->ne->host, ud->ne->nodeid)); in sbp2_parse_unit_directory()
1688 if (ud->flags & UNIT_DIRECTORY_LUN_DIRECTORY) { in sbp2_parse_unit_directory()
1689 sbp2_parse_unit_directory(scsi_group, ud->parent); in sbp2_parse_unit_directory()