Lines Matching refs:role
155 role_t role);
270 role_t role, uint32_t status);
1274 if (devinfo.role == ROLE_INITIATOR) { in ahc_handle_seqint()
2218 u_int *period, u_int *ppr_options, role_t role) in ahc_devlimited_syncrate() argument
2247 if (role == ROLE_TARGET) in ahc_devlimited_syncrate()
2391 u_int *offset, int wide, role_t role) in ahc_validate_offset() argument
2408 if (role == ROLE_TARGET) in ahc_validate_offset()
2421 u_int *bus_width, role_t role) in ahc_validate_width() argument
2436 if (role == ROLE_TARGET) in ahc_validate_width()
2773 role_t role; in ahc_fetch_devinfo() local
2777 role = ROLE_TARGET; in ahc_fetch_devinfo()
2779 role = ROLE_INITIATOR; in ahc_fetch_devinfo()
2781 if (role == ROLE_TARGET in ahc_fetch_devinfo()
2798 role); in ahc_fetch_devinfo()
2821 u_int lun, char channel, role_t role) in ahc_compile_devinfo() argument
2828 devinfo->role = role; in ahc_compile_devinfo()
2845 role_t role; in ahc_scb_devinfo() local
2849 role = ROLE_INITIATOR; in ahc_scb_devinfo()
2851 role = ROLE_TARGET; in ahc_scb_devinfo()
2853 SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahc, scb), role); in ahc_scb_devinfo()
2991 if (devinfo->role == ROLE_TARGET) in ahc_build_transfer_msg()
2994 &ppr_options, devinfo->role); in ahc_build_transfer_msg()
3026 if (devinfo->role == ROLE_TARGET) in ahc_build_transfer_msg()
3043 devinfo->role); in ahc_build_transfer_msg()
3663 devinfo->role); in ahc_parse_msg()
3666 devinfo->role); in ahc_parse_msg()
3698 && devinfo->role == ROLE_INITIATOR) { in ahc_parse_msg()
3739 devinfo->role); in ahc_parse_msg()
3769 && devinfo->role == ROLE_INITIATOR) { in ahc_parse_msg()
3862 devinfo->role); in ahc_parse_msg()
3865 devinfo->role); in ahc_parse_msg()
3868 devinfo->role); in ahc_parse_msg()
3887 if (devinfo->role != ROLE_TARGET) in ahc_parse_msg()
3949 if (devinfo->role != ROLE_TARGET) { in ahc_parse_msg()
4332 CAM_LUN_WILDCARD, SCB_LIST_NULL, devinfo->role, in ahc_handle_devreset()
5757 char channel, int lun, u_int tag, role_t role) in ahc_match_scb() argument
5774 if (role == ROLE_INITIATOR) { in ahc_match_scb()
5778 } else if (role == ROLE_TARGET) { in ahc_match_scb()
5864 int lun, u_int tag, role_t role, uint32_t status, in ahc_search_qinfifo() argument
5912 if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) { in ahc_search_qinfifo()
6024 lun, SCB_LIST_NULL, role)) { in ahc_search_qinfifo()
6334 int lun, u_int tag, role_t role, uint32_t status) in ahc_abort_scbs() argument
6356 role, CAM_REQUEUE_REQ, SEARCH_COMPLETE); in ahc_abort_scbs()
6387 if (role != ROLE_TARGET) { in ahc_abort_scbs()
6398 lun, tag, role) == 0) in ahc_abort_scbs()
6430 && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role))) in ahc_abort_scbs()
6444 if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) { in ahc_abort_scbs()
6459 ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status); in ahc_abort_scbs()