Searched refs:bind_args (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/pps/
H A Dkc.c44 * @bind_args: kernel consumer bind parameters
49 int pps_kc_bind(struct pps_device *pps, struct pps_bind_args *bind_args) pps_kc_bind() argument
54 if (bind_args->edge == 0) pps_kc_bind()
70 pps_kc_hardpps_mode = bind_args->edge; pps_kc_bind()
74 "edge=0x%x\n", bind_args->edge); pps_kc_bind()
H A Dkc.h30 struct pps_bind_args *bind_args);
39 struct pps_bind_args *bind_args) { return -EOPNOTSUPP; } pps_kc_remove()
38 pps_kc_bind(struct pps_device *pps, struct pps_bind_args *bind_args) pps_kc_bind() argument
H A Dpps.c204 struct pps_bind_args bind_args; pps_cdev_ioctl() local
212 if (copy_from_user(&bind_args, uarg, pps_cdev_ioctl()
217 if ((bind_args.edge & ~pps->info.mode) != 0) { pps_cdev_ioctl()
219 bind_args.edge); pps_cdev_ioctl()
224 if (bind_args.tsformat != PPS_TSFMT_TSPEC || pps_cdev_ioctl()
225 (bind_args.edge & ~PPS_CAPTUREBOTH) != 0 || pps_cdev_ioctl()
226 bind_args.consumer != PPS_KC_HARDPPS) { pps_cdev_ioctl()
228 " parameters (%x)\n", bind_args.edge); pps_cdev_ioctl()
232 err = pps_kc_bind(pps, &bind_args); pps_cdev_ioctl()

Completed in 103 milliseconds