/drivers/staging/ste_rmi4/ |
H A D | synaptics_i2c_rmi4.c | 505 * @fd: pointer to synaptics_rmi4_fn_desc structure 512 struct synaptics_rmi4_fn_desc *fd, 530 rfi->fn_desc.query_base_addr = fd->query_base_addr; 531 rfi->fn_desc.data_base_addr = fd->data_base_addr; 532 rfi->fn_desc.intr_src_count = fd->intr_src_count; 533 rfi->fn_desc.fn_number = fd->fn_number; 534 rfi->fn_number = fd->fn_number; 535 rfi->num_of_data_sources = fd->intr_src_count; 536 rfi->fn_desc.ctrl_base_addr = fd->ctrl_base_addr; 537 rfi->fn_desc.cmd_base_addr = fd 510 synpatics_rmi4_touchpad_detect(struct synaptics_rmi4_data *pdata, struct synaptics_rmi4_fn *rfi, struct synaptics_rmi4_fn_desc *fd, unsigned int interruptcount) argument [all...] |
/drivers/vhost/ |
H A D | net.c | 839 static struct socket *get_raw_socket(int fd) argument 846 struct socket *sock = sockfd_lookup(fd, &r); 872 static struct socket *get_tap_socket(int fd) argument 874 struct file *file = fget(fd); 888 static struct socket *get_socket(int fd) argument 893 if (fd == -1) 895 sock = get_raw_socket(fd); 898 sock = get_tap_socket(fd); 904 static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) argument 930 sock = get_socket(fd); [all...] |
H A D | vhost.c | 756 eventfp = f.fd == -1 ? NULL : eventfd_fget(f.fd); 772 eventfp = f.fd == -1 ? NULL : eventfd_fget(f.fd); 791 eventfp = f.fd == -1 ? NULL : eventfd_fget(f.fd); 835 int i, fd; local 875 r = get_user(fd, (int __user *)argp); 878 eventfp = fd == -1 ? NULL : eventfd_fget(fd); [all...] |
/drivers/net/wimax/i2400m/ |
H A D | usb.c | 398 struct dentry *fd; local 415 fd = debugfs_create_u8("rx_size_auto_shrink", 0600, dentry, 417 result = PTR_ERR(fd); 418 if (IS_ERR(fd) && result != -ENODEV) { 424 fd = debugfs_create_size_t("rx_size", 0600, dentry, 426 result = PTR_ERR(fd); 427 if (IS_ERR(fd) && result != -ENODEV) {
|
/drivers/staging/android/ion/ |
H A D | ion.c | 325 * The taskcomm and pid can provide a debug hint as to where this fd 1137 int fd; local 1143 fd = dma_buf_fd(dmabuf, O_CLOEXEC); 1144 if (fd < 0) 1147 return fd; 1151 struct ion_handle *ion_import_dma_buf(struct ion_client *client, int fd) argument 1158 dmabuf = dma_buf_get(fd); 1199 static int ion_sync_for_device(struct ion_client *client, int fd) argument 1204 dmabuf = dma_buf_get(fd); 1245 struct ion_fd_data fd; member in union:__anon6246 [all...] |
H A D | ion_test.c | 167 int fd = arg; local 169 if (fd >= 0) {
|
/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 1160 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/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 302 __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...] |
/drivers/net/ |
H A D | sungem_phy.c | 344 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument 350 phy->duplex = fd; 370 if (fd == DUPLEX_FULL) 512 static int bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) argument 518 phy->duplex = fd; 537 if (fd == DUPLEX_FULL) 795 static int marvell_setup_forced(struct mii_phy *phy, int speed, int fd) argument 801 phy->duplex = fd; 821 if (fd == DUPLEX_FULL) 833 ctl2 |= (fd [all...] |
/drivers/iio/ |
H A D | industrialio-event.c | 172 int fd; local 182 fd = anon_inode_getfd("iio:event", &iio_event_chrdev_fileops, 184 if (fd < 0) { 191 return fd;
|
/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra.c | 55 static ssize_t fuse_read(struct file *fd, struct kobject *kobj, argument
|
/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 1151 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/video/adf/ |
H A D | adf_fops.c | 187 buf->dma_bufs[i] = dma_buf_get(user_buf.fd[i]); 190 dev_err(&dev->base.dev, "importing dma_buf fd %d failed: %d\n", 191 user_buf.fd[i], ret); 203 dev_err(&dev->base.dev, "getting fence fd %d failed\n", 389 data.fd = get_unused_fd_flags(O_CLOEXEC); 390 if (data.fd < 0) 391 return data.fd; 403 fd_install(data.fd, dma_buf->file); 410 put_unused_fd(data.fd);
|
/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 168 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument 174 phy->duplex = fd; 198 if (fd == DUPLEX_FULL)
|
/drivers/misc/eeprom/ |
H A D | sunxi_sid.c | 62 static ssize_t sid_read(struct file *fd, struct kobject *kobj, argument
|
/drivers/usb/gadget/function/ |
H A D | f_hid.c | 320 static int f_hidg_release(struct inode *inode, struct file *fd) argument 322 fd->private_data = NULL; 326 static int f_hidg_open(struct inode *inode, struct file *fd) argument 331 fd->private_data = hidg;
|
/drivers/pps/ |
H A D | pps.c | 61 static int pps_cdev_fasync(int fd, struct file *file, int on) argument 64 return fasync_helper(fd, file, on, &pps->async_queue);
|
/drivers/video/console/ |
H A D | newport_con.c | 37 #define REFCOUNT(fd) (((int *)(fd))[-1]) 38 #define FNTSIZE(fd) (((int *)(fd))[-2]) 39 #define FNTCHARCNT(fd) (((int *)(fd))[-3])
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 1879 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/core/ |
H A D | uverbs_main.c | 384 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/input/misc/ |
H A D | hp_sdc_rtc.c | 76 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/tty/serial/ |
H A D | tilegx.c | 342 if (context->fd < 0) { 467 if (context->fd < 0) { 638 tile_uart_ports[i].context.fd = -1;
|
/drivers/input/serio/ |
H A D | serio_raw.c | 58 static int serio_raw_fasync(int fd, struct file *file, int on) argument 62 return fasync_helper(fd, file, on, &client->fasync);
|
/drivers/rtc/ |
H A D | rtc-dev.c | 417 static int rtc_dev_fasync(int fd, struct file *file, int on) argument 420 return fasync_helper(fd, file, on, &rtc->async_queue);
|
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_mmap.c | 150 struct ll_file_data *fd = LUSTRE_FPRIVATE(file); local 157 cio->cui_fd = fd;
|