Lines Matching refs:status

92 	int status;
113 status = 0;
117 status = hci1394_ioctl_wrreg(soft_state, (void *)arg, mode);
120 status = hci1394_ioctl_rdreg(soft_state, (void *)arg, mode);
123 status = hci1394_ioctl_rdvreg(soft_state, (void *)arg, mode);
126 status = hci1394_ioctl_wrvreg(soft_state, (void *)arg, mode);
129 status = hci1394_ohci_bus_reset(soft_state->ohci);
132 status = hci1394_ioctl_selfid_cnt(soft_state, (void *)arg,
136 status = hci1394_ioctl_busgen_cnt(soft_state, (void *)arg,
140 status = hci1394_ioctl_read_selfid(soft_state, (void *)arg,
144 status = hci1394_ioctl_rdphy(soft_state, (void *)arg, mode);
147 status = hci1394_ioctl_wrphy(soft_state, (void *)arg, mode);
150 status = hci1394_ioctl_hbainfo(soft_state, (void *)arg, mode);
159 status = h1394_ioctl(soft_state->drvinfo.di_sl_private, cmd,
166 return (status);
174 int status;
181 status = ddi_copyin(arg, &wrreg, sizeof (hci1394_ioctl_wrreg_t), mode);
182 if (status != 0) {
202 int status;
209 status = ddi_copyin(arg, &rdreg, sizeof (hci1394_ioctl_rdreg_t), mode);
210 if (status != 0) {
220 status = ddi_copyout(&rdreg, arg, sizeof (hci1394_ioctl_rdreg_t), mode);
221 if (status != 0) {
239 int status;
247 status = ddi_copyin(arg, &wrvreg, sizeof (hci1394_ioctl_wrvreg_t),
249 if (status != 0) {
257 status = hci1394_vendor_reg_write(soft_state->vendor,
259 if (status != DDI_SUCCESS) {
277 int status;
285 status = ddi_copyin(arg, &rdvreg, sizeof (hci1394_ioctl_rdvreg_t),
287 if (status != 0) {
295 status = hci1394_vendor_reg_read(soft_state->vendor,
297 if (status != DDI_SUCCESS) {
305 status = ddi_copyout(&rdvreg, arg, sizeof (hci1394_ioctl_rdvreg_t),
307 if (status != 0) {
325 int status;
335 status = ddi_copyout(&selfid_cnt, arg,
337 if (status != 0) {
356 int status;
366 status = ddi_copyout(&busgen_cnt, arg,
368 if (status != 0) {
387 int status;
394 status = ddi_copyin(arg, &wrphy, sizeof (hci1394_ioctl_wrphy_t), mode);
395 if (status != 0) {
403 status = hci1394_ohci_phy_write(soft_state->ohci, wrphy.addr,
405 if (status != DDI_SUCCESS) {
423 int status;
430 status = ddi_copyin(arg, &rdphy, sizeof (hci1394_ioctl_rdphy_t), mode);
431 if (status != 0) {
439 status = hci1394_ohci_phy_read(soft_state->ohci, rdphy.addr,
441 if (status != DDI_SUCCESS) {
449 status = ddi_copyout(&rdphy, arg, sizeof (hci1394_ioctl_rdphy_t), mode);
450 if (status != 0) {
468 int status;
483 status = ddi_copyout(&hbainfo, arg, sizeof (hci1394_ioctl_hbainfo_t),
485 if (status != 0) {
504 int status;
523 status = ddi_copyin(arg, &read_selfid32,
525 if (status != 0) {
537 status = hci1394_ioctl_read_selfid32(soft_state,
539 return (status);
551 status = ddi_copyin(arg, &read_selfid,
553 if (status != 0) {
583 status = ddi_copyout(&data, &read_selfid.buf[offset], 4, mode);
584 if (status != 0) {
605 int status;
636 status = ddi_copyout(&data,
639 if (status != 0) {