[go: nahoru, domu]

Searched refs:fd (Results 26 - 50 of 125) sorted by path

12345

/drivers/infiniband/core/
H A Duverbs_main.c384 static int ib_uverbs_event_fasync(int fd, struct file *filp, int on) argument
388 return fasync_helper(fd, filp, on, &file->async_queue);
572 struct ib_uverbs_event_file *ib_uverbs_lookup_comp_file(int fd) argument
575 struct fd f = fdget(fd);
/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c1879 struct ipath_filedata *fd = fp->private_data; local
1880 const struct ipath_portdata *pd = fd->pd;
1883 fd->pq = ipath_user_sdma_queue_create(&dd->pcidev->dev,
1886 fd->subport);
1888 if (!fd->pq)
2046 struct ipath_filedata *fd; local
2058 fd = fp->private_data;
2060 pd = fd->pd;
2069 ipath_user_sdma_queue_drain(dd, fd->pq);
2070 ipath_user_sdma_queue_destroy(fd
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c1160 struct qib_filedata *fd = fp->private_data; local
1173 fd->rec_cpu_num = local_cpu;
1196 fd->rec_cpu_num = cpu;
1305 struct qib_filedata *fd = fp->private_data; local
1314 numa_id = qib_numa_aware ? ((fd->rec_cpu_num != -1) ?
1315 cpu_to_node(fd->rec_cpu_num) :
1350 if (fd->rec_cpu_num != -1)
1351 __clear_bit(fd->rec_cpu_num, qib_cpulist);
1577 struct qib_filedata *fd = fp->private_data; local
1578 struct qib_ctxtdata *rcd = fd
1807 struct qib_filedata *fd; local
1901 struct qib_filedata *fd; local
[all...]
/drivers/input/
H A Devdev.c239 static int evdev_fasync(int fd, struct file *file, int on) argument
243 return fasync_helper(fd, file, on, &client->fasync);
H A Djoydev.c159 static int joydev_fasync(int fd, struct file *file, int on) argument
163 return fasync_helper(fd, file, on, &client->fasync);
H A Dmousedev.c407 static int mousedev_fasync(int fd, struct file *file, int on) argument
411 return fasync_helper(fd, file, on, &client->fasync);
/drivers/input/misc/
H A Dhp_sdc_rtc.c76 static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on);
426 static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on) argument
428 return fasync_helper (fd, filp, on, &hp_sdc_rtc_async_queue);
/drivers/input/serio/
H A Dserio_raw.c58 static int serio_raw_fasync(int fd, struct file *file, int on) argument
62 return fasync_helper(fd, file, on, &client->fasync);
/drivers/lguest/
H A Dlguest_user.c90 static int add_eventfd(struct lguest *lg, unsigned long addr, int fd) argument
116 new->map[new->num].event = eventfd_ctx_fdget(fd);
155 unsigned long addr, fd; local
161 if (get_user(fd, input) != 0)
170 err = add_eventfd(lg, addr, fd);
/drivers/md/
H A Dmd.c5771 static int set_bitmap_file(struct mddev *mddev, int fd) argument
5783 if (fd >= 0) {
5787 mddev->bitmap_info.file = fget(fd);
5820 if (fd >= 0) {
5825 if (fd < 0 || err) {
5827 fd = -1; /* make sure to put the file */
5831 if (fd < 0) {
/drivers/media/i2c/m5mols/
H A Dm5mols_core.c603 struct v4l2_mbus_frame_desc *fd)
607 if (pad != 0 || fd == NULL)
615 fd->entry[0].length = info->cap.buf_size;
616 fd->entry[0].pixelcode = info->ffmt[M5MOLS_RESTYPE_CAPTURE].code;
619 fd->entry[0].flags = V4L2_MBUS_FRAME_DESC_FL_LEN_MAX;
620 fd->num_entries = 1;
626 struct v4l2_mbus_frame_desc *fd)
631 if (pad != 0 || fd == NULL)
634 fd->entry[0].flags = V4L2_MBUS_FRAME_DESC_FL_LEN_MAX;
635 fd
602 m5mols_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad, struct v4l2_mbus_frame_desc *fd) argument
625 m5mols_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad, struct v4l2_mbus_frame_desc *fd) argument
[all...]
/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c1151 struct v4l2_mbus_frame_desc *fd)
1156 if (pad != OIF_SOURCE_PAD || fd == NULL)
1160 fd->num_entries = 2;
1161 for (i = 0; i < fd->num_entries; i++)
1162 fd->entry[i] = state->frame_desc.entry[i];
1169 struct v4l2_mbus_frame_desc *fd)
1175 if (pad != OIF_SOURCE_PAD || fd == NULL)
1178 fd->entry[0].length = 10 * SZ_1M;
1179 fd->entry[1].length = max_t(u32, fd
1150 s5c73m3_oif_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad, struct v4l2_mbus_frame_desc *fd) argument
1168 s5c73m3_oif_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad, struct v4l2_mbus_frame_desc *fd) argument
[all...]
/drivers/media/platform/exynos4-is/
H A Dfimc-capture.c878 struct v4l2_mbus_frame_desc fd; local
883 fd.entry[i].length = plane_fmt[i].sizeimage;
887 ret = v4l2_subdev_call(sensor, pad, set_frame_desc, pad, &fd);
889 ret = v4l2_subdev_call(sensor, pad, get_frame_desc, pad, &fd);
894 if (num_planes != fd.num_entries)
898 plane_fmt[i].sizeimage = fd.entry[i].length;
900 if (fd.entry[0].length > FIMC_MAX_JPEG_BUF_SIZE) {
902 fd.entry[0].length);
H A Dfimc-is-param.c142 __hw_param_copy(&par->fd.control, &cfg->fd.control);
146 __hw_param_copy(&par->fd.otf_input, &cfg->fd.otf_input);
150 __hw_param_copy(&par->fd.dma_input, &cfg->fd.dma_input);
154 __hw_param_copy(&par->fd.config, &cfg->fd.config);
224 struct fd_param *fd; local
228 fd
475 struct fd_param *fd; local
490 struct fd_param *fd; local
510 struct fd_param *fd; local
530 struct fd_param *fd; local
550 struct fd_param *fd; local
570 struct fd_param *fd; local
590 struct fd_param *fd; local
610 struct fd_param *fd; local
630 struct fd_param *fd; local
650 struct fd_param *fd; local
672 struct fd_param *fd; local
[all...]
H A Dfimc-is-param.h770 struct fd_param fd; member in struct:is_param_region
H A Dfimc-is.h226 struct fd_param fd; member in struct:chain_config
/drivers/media/platform/
H A Dvino.c3095 struct v4l2_fmtdesc *fd)
3097 dprintk("format index = %d\n", fd->index);
3099 if (fd->index >= VINO_DATA_FMT_COUNT)
3101 dprintk("format name = %s\n", vino_data_formats[fd->index].description);
3103 fd->pixelformat = vino_data_formats[fd->index].pixelformat;
3104 strcpy(fd->description, vino_data_formats[fd->index].description);
3094 vino_enum_fmt_vid_cap(struct file *file, void *__fh, struct v4l2_fmtdesc *fd) argument
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c434 static int pvr2_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *fd) argument
437 if (fd->index != 0)
440 memcpy(fd, pvr_fmtdesc, sizeof(struct v4l2_fmtdesc));
/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c302 __s32 fd; member in union:v4l2_plane32::__anon2497
324 __s32 fd; member in union:v4l2_buffer32::__anon2498
349 if (copy_in_user(&up->m.fd, &up32->m.fd, sizeof(int)))
374 /* For DMABUF, driver might've set up the fd, so copy it back. */
376 if (copy_in_user(&up32->m.fd, &up->m.fd,
462 if (get_user(kp->m.fd, &up->m.fd))
530 if (put_user(kp->m.fd,
[all...]
H A Dv4l2-ioctl.c474 pr_cont("fd=%d, type=%s, index=%u, plane=%u, flags=0x%08x\n",
475 p->fd, prt_names(p->type, v4l2_type_names),
H A Dvideobuf2-core.c681 b->m.fd = vb->v4l2_planes[0].m.fd;
1259 v4l2_planes[plane].m.fd =
1260 b->m.planes[plane].m.fd;
1303 v4l2_planes[0].m.fd = b->m.fd;
1472 struct dma_buf *dbuf = dma_buf_get(planes[plane].m.fd);
1475 dprintk(1, "invalid dmabuf fd for plane %d\n",
2416 eb->fd = ret;
/drivers/message/fusion/
H A Dmptctl.c600 mptctl_fasync(int fd, struct file *filep, int mode) argument
609 ret = fasync_helper(fd, filep, mode, &async_queue);
/drivers/message/i2o/
H A Di2o_config.c1090 static int cfg_fasync(int fd, struct file *fp, int on) argument
1102 ret = fasync_helper(fd, fp, on, &p->fasync);
/drivers/misc/eeprom/
H A Dsunxi_sid.c62 static ssize_t sid_read(struct file *fd, struct kobject *kobj, argument
/drivers/misc/genwqe/
H A Dcard_dev.c333 * @fd: file descriptor
346 static int genwqe_fasync(int fd, struct file *filp, int mode) argument
350 return fasync_helper(fd, filp, mode, &cdev->async_queue);

Completed in 699 milliseconds

12345