Lines Matching defs:retval

3443 	int retval, win;
3453 retval = GET_PAGE(window->lw_if, window->lw_adapter->pca_dip,
3455 if (retval == SUCCESS) {
3459 return (retval);
3465 int retval, sock;
3477 retval = GET_SOCKET(sockp->ls_if, sockp->ls_adapter->pca_dip,
3479 if (retval == SUCCESS) {
3493 return (retval);
3500 int sock, retval;
3511 retval = GET_STATUS(sockp->ls_if, sockp->ls_adapter->pca_dip,
3513 if (retval == SUCCESS) {
3518 return (retval);
3524 int win, retval;
3533 retval = GET_WINDOW(winp->lw_if, winp->lw_adapter->pca_dip,
3535 if (retval == SUCCESS) {
3540 return (retval);
3575 int retval, sock;
3585 retval = INQUIRE_SOCKET(sockp->ls_if, sockp->ls_adapter->pca_dip,
3587 if (retval == SUCCESS) {
3591 return (retval);
3597 int retval, win;
3609 retval = INQUIRE_WINDOW(winp->lw_if, winp->lw_adapter->pca_dip,
3616 if (retval == SUCCESS) {
3641 return (retval);
3660 int window, retval;
3677 retval = SET_PAGE(winp->lw_if, winp->lw_adapter->pca_dip, &newpage);
3678 if (retval == SUCCESS) {
3683 if ((pcmcia_debug > 1) && retval != SUCCESS)
3684 cmn_err(CE_CONT, "\tSetPage: returning error %x\n", retval);
3686 return (retval);
3692 int socket, window, retval, func;
3716 retval = SET_WINDOW(winp->lw_if, winp->lw_adapter->pca_dip, &newwin);
3717 if (retval == SUCCESS) {
3722 return (retval);
3728 int sock, retval;
3755 retval = SET_SOCKET(sockp->ls_if, sockp->ls_adapter->pca_dip,
3757 if (retval == SUCCESS) {
3775 return (retval);
3786 int sock, retval, func;
3816 retval = ddi_add_intr(dip, 0, handler->iblk_cookie,
3821 if (retval == DDI_SUCCESS) {
3825 retval = SUCCESS;
3827 retval = sockp->ls_error;
3829 return (retval);