Lines Matching refs:status

90 	int status;  in hci1394_ioctl()  local
102 status = 0; in hci1394_ioctl()
106 status = hci1394_ioctl_wrreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
109 status = hci1394_ioctl_rdreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
112 status = hci1394_ioctl_rdvreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
115 status = hci1394_ioctl_wrvreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
118 status = hci1394_ohci_bus_reset(soft_state->ohci); in hci1394_ioctl()
121 status = hci1394_ioctl_selfid_cnt(soft_state, (void *)arg, in hci1394_ioctl()
125 status = hci1394_ioctl_busgen_cnt(soft_state, (void *)arg, in hci1394_ioctl()
129 status = hci1394_ioctl_read_selfid(soft_state, (void *)arg, in hci1394_ioctl()
133 status = hci1394_ioctl_rdphy(soft_state, (void *)arg, mode); in hci1394_ioctl()
136 status = hci1394_ioctl_wrphy(soft_state, (void *)arg, mode); in hci1394_ioctl()
139 status = hci1394_ioctl_hbainfo(soft_state, (void *)arg, mode); in hci1394_ioctl()
148 status = h1394_ioctl(soft_state->drvinfo.di_sl_private, cmd, in hci1394_ioctl()
153 return (status); in hci1394_ioctl()
161 int status; in hci1394_ioctl_wrreg() local
167 status = ddi_copyin(arg, &wrreg, sizeof (hci1394_ioctl_wrreg_t), mode); in hci1394_ioctl_wrreg()
168 if (status != 0) { in hci1394_ioctl_wrreg()
182 int status; in hci1394_ioctl_rdreg() local
188 status = ddi_copyin(arg, &rdreg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
189 if (status != 0) { in hci1394_ioctl_rdreg()
195 status = ddi_copyout(&rdreg, arg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
196 if (status != 0) { in hci1394_ioctl_rdreg()
208 int status; in hci1394_ioctl_wrvreg() local
214 status = ddi_copyin(arg, &wrvreg, sizeof (hci1394_ioctl_wrvreg_t), in hci1394_ioctl_wrvreg()
216 if (status != 0) { in hci1394_ioctl_wrvreg()
220 status = hci1394_vendor_reg_write(soft_state->vendor, in hci1394_ioctl_wrvreg()
222 if (status != DDI_SUCCESS) { in hci1394_ioctl_wrvreg()
234 int status; in hci1394_ioctl_rdvreg() local
240 status = ddi_copyin(arg, &rdvreg, sizeof (hci1394_ioctl_rdvreg_t), in hci1394_ioctl_rdvreg()
242 if (status != 0) { in hci1394_ioctl_rdvreg()
246 status = hci1394_vendor_reg_read(soft_state->vendor, in hci1394_ioctl_rdvreg()
248 if (status != DDI_SUCCESS) { in hci1394_ioctl_rdvreg()
252 status = ddi_copyout(&rdvreg, arg, sizeof (hci1394_ioctl_rdvreg_t), in hci1394_ioctl_rdvreg()
254 if (status != 0) { in hci1394_ioctl_rdvreg()
266 int status; in hci1394_ioctl_selfid_cnt() local
274 status = ddi_copyout(&selfid_cnt, arg, in hci1394_ioctl_selfid_cnt()
276 if (status != 0) { in hci1394_ioctl_selfid_cnt()
288 int status; in hci1394_ioctl_busgen_cnt() local
296 status = ddi_copyout(&busgen_cnt, arg, in hci1394_ioctl_busgen_cnt()
298 if (status != 0) { in hci1394_ioctl_busgen_cnt()
310 int status; in hci1394_ioctl_wrphy() local
316 status = ddi_copyin(arg, &wrphy, sizeof (hci1394_ioctl_wrphy_t), mode); in hci1394_ioctl_wrphy()
317 if (status != 0) { in hci1394_ioctl_wrphy()
321 status = hci1394_ohci_phy_write(soft_state->ohci, wrphy.addr, in hci1394_ioctl_wrphy()
323 if (status != DDI_SUCCESS) { in hci1394_ioctl_wrphy()
335 int status; in hci1394_ioctl_rdphy() local
341 status = ddi_copyin(arg, &rdphy, sizeof (hci1394_ioctl_rdphy_t), mode); in hci1394_ioctl_rdphy()
342 if (status != 0) { in hci1394_ioctl_rdphy()
346 status = hci1394_ohci_phy_read(soft_state->ohci, rdphy.addr, in hci1394_ioctl_rdphy()
348 if (status != DDI_SUCCESS) { in hci1394_ioctl_rdphy()
352 status = ddi_copyout(&rdphy, arg, sizeof (hci1394_ioctl_rdphy_t), mode); in hci1394_ioctl_rdphy()
353 if (status != 0) { in hci1394_ioctl_rdphy()
365 int status; in hci1394_ioctl_hbainfo() local
378 status = ddi_copyout(&hbainfo, arg, sizeof (hci1394_ioctl_hbainfo_t), in hci1394_ioctl_hbainfo()
380 if (status != 0) { in hci1394_ioctl_hbainfo()
392 int status; in hci1394_ioctl_read_selfid() local
409 status = ddi_copyin(arg, &read_selfid32, in hci1394_ioctl_read_selfid()
411 if (status != 0) { in hci1394_ioctl_read_selfid()
419 status = hci1394_ioctl_read_selfid32(soft_state, in hci1394_ioctl_read_selfid()
421 return (status); in hci1394_ioctl_read_selfid()
433 status = ddi_copyin(arg, &read_selfid, in hci1394_ioctl_read_selfid()
435 if (status != 0) { in hci1394_ioctl_read_selfid()
457 status = ddi_copyout(&data, &read_selfid.buf[offset], 4, mode); in hci1394_ioctl_read_selfid()
458 if (status != 0) { in hci1394_ioctl_read_selfid()
472 int status; in hci1394_ioctl_read_selfid32() local
497 status = ddi_copyout(&data, in hci1394_ioctl_read_selfid32()
500 if (status != 0) { in hci1394_ioctl_read_selfid32()