Lines Matching defs:role
137 role_t role);
207 role_t role, uint32_t status,
1207 if (devinfo.role == ROLE_INITIATOR) {
2766 u_int *period, u_int *ppr_options, role_t role)
2789 if (role == ROLE_TARGET)
2855 role_t role)
2871 if (role == ROLE_TARGET)
2884 u_int *bus_width, role_t role)
2899 if (role == ROLE_TARGET)
3355 role_t role;
3362 role = ROLE_TARGET;
3364 role = ROLE_INITIATOR;
3366 if (role == ROLE_TARGET
3370 } else if (role == ROLE_TARGET)
3381 role);
3412 u_int lun, char channel, role_t role)
3419 devinfo->role = role;
3429 role_t role;
3433 role = ROLE_INITIATOR;
3435 role = ROLE_TARGET;
3437 SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahd, scb), role);
3598 if (devinfo->role == ROLE_TARGET)
3601 &ppr_options, devinfo->role);
3632 if (devinfo->role == ROLE_TARGET)
3649 devinfo->role);
4235 &ppr_options, devinfo->role);
4237 tinfo->curr.width, devinfo->role);
4268 && devinfo->role == ROLE_INITIATOR) {
4309 devinfo->role);
4339 && devinfo->role == ROLE_INITIATOR) {
4429 devinfo->role);
4431 &ppr_options, devinfo->role);
4433 bus_width, devinfo->role);
4451 if (devinfo->role != ROLE_TARGET)
4513 if (devinfo->role != ROLE_TARGET) {
5003 lun, SCB_LIST_NULL, devinfo->role,
6048 * for the target mode role, we must additionally provide space for
6963 char channel, int lun, u_int tag, role_t role)
6980 if (role == ROLE_INITIATOR) {
6984 } else if (role == ROLE_TARGET) {
7105 int lun, u_int tag, role_t role, uint32_t status,
7173 if (ahd_match_scb(ahd, scb, target, channel, lun, tag, role)) {
7274 lun, tag, role, status,
7291 int lun, u_int tag, role_t role, uint32_t status,
7321 lun, SCB_LIST_NULL, role) == 0) {
7454 int lun, u_int tag, role_t role, uint32_t status)
7470 role, CAM_REQUEUE_REQ, SEARCH_COMPLETE);
7494 if (role != ROLE_TARGET) {
7505 lun, tag, role) == 0)
7528 if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) {
7543 ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status);
8081 * regardless of the role for this SCB.
9249 * the initiator role is disabled.
9259 * if the initiator role is not configured