Home
last modified time | relevance | path

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

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