Home | History | Annotate | Download | only in ic

Lines Matching defs:role

163 						role_t role);
710 if (devinfo.role == ROLE_INITIATOR) {
1637 u_int *period, u_int *ppr_options, role_t role)
1666 if (role == ROLE_TARGET)
1790 u_int *offset, int wide, role_t role)
1807 if (role == ROLE_TARGET)
1820 u_int *bus_width, role_t role)
1835 if (role == ROLE_TARGET)
2168 role_t role;
2172 role = ROLE_TARGET;
2174 role = ROLE_INITIATOR;
2176 if (role == ROLE_TARGET
2193 role);
2216 u_int lun, char channel, role_t role)
2223 devinfo->role = role;
2240 role_t role;
2244 role = ROLE_INITIATOR;
2246 role = ROLE_TARGET;
2248 SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahc, scb), role);
2385 if (devinfo->role == ROLE_TARGET)
2388 &ppr_options, devinfo->role);
2420 if (devinfo->role == ROLE_TARGET)
2437 devinfo->role);
3067 devinfo->role);
3070 devinfo->role);
3102 && devinfo->role == ROLE_INITIATOR) {
3143 devinfo->role);
3173 && devinfo->role == ROLE_INITIATOR) {
3259 devinfo->role);
3262 devinfo->role);
3265 devinfo->role);
3284 if (devinfo->role != ROLE_TARGET)
3346 if (devinfo->role != ROLE_TARGET) {
3738 CAM_LUN_WILDCARD, SCB_LIST_NULL, devinfo->role,
4495 * When providing for the target mode role, we must additionally
4961 * are acting in a target role.
5180 char channel, int lun, u_int tag, role_t role)
5198 if (role == ROLE_INITIATOR) {
5202 } else if (role == ROLE_TARGET) {
5289 int lun, u_int tag, role_t role, uint32_t status,
5337 if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) {
5449 lun, SCB_LIST_NULL, role)) {
5759 int lun, u_int tag, role_t role, uint32_t status)
5781 role, CAM_REQUEUE_REQ, SEARCH_COMPLETE);
5812 if (role != ROLE_TARGET) {
5823 lun, tag, role) == 0)
5855 && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
5869 if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
5884 ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status);
6859 * o our_id is for an active initiator role.
6861 * reselections to the initiator role at
6877 * the initiator role is disabled.
6887 * if the initiator role is not configured