Lines Matching refs:errcode

120 	u16		errcode;  member
410 u16 errcode, datahandle; in handle_recv_skb() local
451 errcode = capi20_put_message(mp->ap, nskb); in handle_recv_skb()
453 if (errcode == CAPI_NOERROR) { in handle_recv_skb()
460 errcode); in handle_recv_skb()
463 if (errcode == CAPI_SENDQUEUEFULL) in handle_recv_skb()
495 u16 errcode; in handle_minor_send() local
543 errcode = capi20_put_message(mp->ap, skb); in handle_minor_send()
544 if (errcode == CAPI_NOERROR) { in handle_minor_send()
551 if (errcode == CAPI_SENDQUEUEFULL) { in handle_minor_send()
563 printk(KERN_ERR "capi: put_message = %x\n", errcode); in handle_minor_send()
730 cdev->errcode = capi20_put_message(&cdev->ap, skb); in capi_write()
732 if (cdev->errcode) { in capi_write()
778 cdev->errcode = capi20_register(&cdev->ap); in capi_ioctl()
780 if (cdev->errcode) { in capi_ioctl()
793 cdev->errcode = capi20_get_version(data.contr, &data.version); in capi_ioctl()
794 if (cdev->errcode) in capi_ioctl()
805 cdev->errcode = capi20_get_serial(data.contr, data.serial); in capi_ioctl()
806 if (cdev->errcode) in capi_ioctl()
819 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl()
820 if (cdev->errcode) in capi_ioctl()
828 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl()
829 if (cdev->errcode) in capi_ioctl()
843 cdev->errcode = capi20_get_manufacturer(data.contr, data.manufacturer); in capi_ioctl()
844 if (cdev->errcode) in capi_ioctl()
854 data.errcode = cdev->errcode; in capi_ioctl()
855 cdev->errcode = CAPI_NOERROR; in capi_ioctl()
857 if (copy_to_user(argp, &data.errcode, in capi_ioctl()
858 sizeof(data.errcode))) in capi_ioctl()
861 return data.errcode; in capi_ioctl()