Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pps/
Dkc.c36 int pps_kc_bind(struct pps_device *pps, struct pps_bind_args *bind_args) in pps_kc_bind() argument
41 if (bind_args->edge == 0) in pps_kc_bind()
57 pps_kc_hardpps_mode = bind_args->edge; in pps_kc_bind()
61 "edge=0x%x\n", bind_args->edge); in pps_kc_bind()
Dpps.c207 struct pps_bind_args bind_args; in pps_cdev_ioctl() local
215 if (copy_from_user(&bind_args, uarg, in pps_cdev_ioctl()
220 if ((bind_args.edge & ~pps->info.mode) != 0) { in pps_cdev_ioctl()
222 bind_args.edge); in pps_cdev_ioctl()
227 if (bind_args.tsformat != PPS_TSFMT_TSPEC || in pps_cdev_ioctl()
228 (bind_args.edge & ~PPS_CAPTUREBOTH) != 0 || in pps_cdev_ioctl()
229 bind_args.consumer != PPS_KC_HARDPPS) { in pps_cdev_ioctl()
231 " parameters (%x)\n", bind_args.edge); in pps_cdev_ioctl()
235 err = pps_kc_bind(pps, &bind_args); in pps_cdev_ioctl()
Dkc.h17 struct pps_bind_args *bind_args);
26 struct pps_bind_args *bind_args) { return -EOPNOTSUPP; } in pps_kc_bind() argument