Lines Matching defs:rets
526 int rets = 0;
547 rets = 1;
550 return (rets);
567 int rets = 0;
573 rets = 1;
578 rets = 1;
582 rets = 1;
585 rets = 1;
588 if (dev->iamthif_current_cb && (!rets)) {
594 rets = 1;
597 return (rets);
684 int rets = 0;
715 rets = heci_disconnect_host_client(dev, file_ext);
773 return (rets);
812 int rets = 0;
864 rets = pthi_read(dev, if_num, file, uio_p);
875 rets = 0;
882 rets = 0;
891 rets = err;
903 rets = -EINTR;
912 rets = -EBUSY;
935 rets = -EMSGSIZE;
944 rets = -EFAULT;
948 rets = 0;
963 out: DBG("end heci read rets= %d\n", rets);
964 return (rets);
973 int rets = 0;
1055 rets = err;
1077 rets = -ENOMEM;
1083 rets = -ENODEV;
1098 rets = -ENODEV;
1104 rets = -EMSGSIZE;
1115 rets = -ENODEV;
1125 rets = 0; /* length; */
1128 rets = pthi_write(dev, priv_write_cb);
1130 if (rets != 0) {
1132 rets);
1136 rets = 0; /* length; */
1139 return (rets);
1153 rets = -ENODEV;
1167 rets = -ENODEV;
1171 rets = -EINVAL;
1204 rets = -ENODEV;
1206 return (rets);
1235 return (rets);
1245 int rets = 0;
1293 rets = heci_ioctl_get_version(dev, if_num, u_msg, k_msg,
1299 rets = heci_ioctl_connect_client(dev, if_num, u_msg, k_msg,
1305 rets = heci_ioctl_wd(dev, if_num, k_msg, file_ext, mode);
1310 rets = heci_ioctl_bypass_wd(dev, if_num, k_msg, file_ext, mode);
1314 rets = -EINVAL;
1317 return (rets);