Lines Matching defs:role

148 						role_t role);
263 role_t role, uint32_t status);
448 * of the target role. Since the parameters for a connection
449 * in the initiator role to a given target are the same as
1267 if (devinfo.role == ROLE_INITIATOR) {
2193 u_int *period, u_int *ppr_options, role_t role)
2222 if (role == ROLE_TARGET)
2366 u_int *offset, int wide, role_t role)
2383 if (role == ROLE_TARGET)
2396 u_int *bus_width, role_t role)
2411 if (role == ROLE_TARGET)
2748 role_t role;
2752 role = ROLE_TARGET;
2754 role = ROLE_INITIATOR;
2756 if (role == ROLE_TARGET
2773 role);
2796 u_int lun, char channel, role_t role)
2803 devinfo->role = role;
2820 role_t role;
2824 role = ROLE_INITIATOR;
2826 role = ROLE_TARGET;
2828 SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahc, scb), role);
2966 if (devinfo->role == ROLE_TARGET)
2969 &ppr_options, devinfo->role);
3001 if (devinfo->role == ROLE_TARGET)
3018 devinfo->role);
3638 devinfo->role);
3641 devinfo->role);
3673 && devinfo->role == ROLE_INITIATOR) {
3714 devinfo->role);
3744 && devinfo->role == ROLE_INITIATOR) {
3837 devinfo->role);
3840 devinfo->role);
3843 devinfo->role);
3862 if (devinfo->role != ROLE_TARGET)
3924 if (devinfo->role != ROLE_TARGET) {
4307 CAM_LUN_WILDCARD, SCB_LIST_NULL, devinfo->role,
5291 * When providing for the target mode role, we must additionally
5607 * are acting in a target role.
5692 char channel, int lun, u_int tag, role_t role)
5709 if (role == ROLE_INITIATOR) {
5713 } else if (role == ROLE_TARGET) {
5799 int lun, u_int tag, role_t role, uint32_t status,
5847 if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) {
5958 lun, SCB_LIST_NULL, role)) {
6267 int lun, u_int tag, role_t role, uint32_t status)
6289 role, CAM_REQUEUE_REQ, SEARCH_COMPLETE);
6320 if (role != ROLE_TARGET) {
6331 lun, tag, role) == 0)
6363 && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
6377 if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
6392 ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status);
7360 * o our_id is for an active initiator role.
7362 * reselections to the initiator role at
7378 * the initiator role is disabled.
7388 * if the initiator role is not configured