Lines Matching refs:arg

57 static int hci1394_ioctl_wrreg(hci1394_state_t *soft_state, void *arg,
59 static int hci1394_ioctl_rdreg(hci1394_state_t *soft_state, void *arg,
61 static int hci1394_ioctl_wrvreg(hci1394_state_t *soft_state, void *arg,
63 static int hci1394_ioctl_rdvreg(hci1394_state_t *soft_state, void *arg,
65 static int hci1394_ioctl_selfid_cnt(hci1394_state_t *soft_state, void *arg,
67 static int hci1394_ioctl_busgen_cnt(hci1394_state_t *soft_state, void *arg,
69 static int hci1394_ioctl_wrphy(hci1394_state_t *soft_state, void *arg,
71 static int hci1394_ioctl_rdphy(hci1394_state_t *soft_state, void *arg,
73 static int hci1394_ioctl_hbainfo(hci1394_state_t *soft_state, void *arg,
75 static int hci1394_ioctl_read_selfid(hci1394_state_t *soft_state, void *arg,
85 hci1394_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in hci1394_ioctl() argument
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()
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()
149 arg, mode, credp, rvalp); in hci1394_ioctl()
158 hci1394_ioctl_wrreg(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_wrreg() argument
165 ASSERT(arg != NULL); in hci1394_ioctl_wrreg()
167 status = ddi_copyin(arg, &wrreg, sizeof (hci1394_ioctl_wrreg_t), mode); in hci1394_ioctl_wrreg()
179 hci1394_ioctl_rdreg(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_rdreg() argument
186 ASSERT(arg != NULL); in hci1394_ioctl_rdreg()
188 status = ddi_copyin(arg, &rdreg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
195 status = ddi_copyout(&rdreg, arg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
205 hci1394_ioctl_wrvreg(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_wrvreg() argument
212 ASSERT(arg != NULL); in hci1394_ioctl_wrvreg()
214 status = ddi_copyin(arg, &wrvreg, sizeof (hci1394_ioctl_wrvreg_t), in hci1394_ioctl_wrvreg()
231 hci1394_ioctl_rdvreg(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_rdvreg() argument
238 ASSERT(arg != NULL); in hci1394_ioctl_rdvreg()
240 status = ddi_copyin(arg, &rdvreg, sizeof (hci1394_ioctl_rdvreg_t), in hci1394_ioctl_rdvreg()
252 status = ddi_copyout(&rdvreg, arg, sizeof (hci1394_ioctl_rdvreg_t), in hci1394_ioctl_rdvreg()
263 hci1394_ioctl_selfid_cnt(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_selfid_cnt() argument
270 ASSERT(arg != NULL); in hci1394_ioctl_selfid_cnt()
274 status = ddi_copyout(&selfid_cnt, arg, in hci1394_ioctl_selfid_cnt()
285 hci1394_ioctl_busgen_cnt(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_busgen_cnt() argument
292 ASSERT(arg != NULL); in hci1394_ioctl_busgen_cnt()
296 status = ddi_copyout(&busgen_cnt, arg, in hci1394_ioctl_busgen_cnt()
307 hci1394_ioctl_wrphy(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_wrphy() argument
314 ASSERT(arg != NULL); in hci1394_ioctl_wrphy()
316 status = ddi_copyin(arg, &wrphy, sizeof (hci1394_ioctl_wrphy_t), mode); in hci1394_ioctl_wrphy()
332 hci1394_ioctl_rdphy(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_rdphy() argument
339 ASSERT(arg != NULL); in hci1394_ioctl_rdphy()
341 status = ddi_copyin(arg, &rdphy, sizeof (hci1394_ioctl_rdphy_t), mode); in hci1394_ioctl_rdphy()
352 status = ddi_copyout(&rdphy, arg, sizeof (hci1394_ioctl_rdphy_t), mode); in hci1394_ioctl_rdphy()
362 hci1394_ioctl_hbainfo(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_hbainfo() argument
369 ASSERT(arg != NULL); in hci1394_ioctl_hbainfo()
378 status = ddi_copyout(&hbainfo, arg, sizeof (hci1394_ioctl_hbainfo_t), in hci1394_ioctl_hbainfo()
389 hci1394_ioctl_read_selfid(hci1394_state_t *soft_state, void *arg, int mode) in hci1394_ioctl_read_selfid() argument
401 ASSERT(arg != NULL); in hci1394_ioctl_read_selfid()
409 status = ddi_copyin(arg, &read_selfid32, in hci1394_ioctl_read_selfid()
433 status = ddi_copyin(arg, &read_selfid, in hci1394_ioctl_read_selfid()