Lines Matching +full:int +full:- +full:property
1 /*-
51 int
52 vcio_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, in vcio_ioctl()
55 int error; in vcio_ioctl()
58 uint8_t *property; in vcio_ioctl() local
68 property = malloc(size, M_VCIO, M_WAITOK); in vcio_ioctl()
70 error = copyin(ptr, property, size); in vcio_ioctl()
72 free(property, M_VCIO); in vcio_ioctl()
76 error = bcm2835_mbox_property(property, size); in vcio_ioctl()
78 free(property, M_VCIO); in vcio_ioctl()
82 error = copyout(property, ptr, size); in vcio_ioctl()
83 free(property, M_VCIO); in vcio_ioctl()
93 static int
94 vcio_load(module_t mod, int cmd, void *arg) in vcio_load()
96 int err = 0; in vcio_load()