/drivers/block/ |
H A D | amiflop.c | 59 #include <linux/fd.h> 264 printk("fd: unmatched rel_fdc\n"); 438 printk (KERN_ERR "fd%d: calibrate failed, turning motor off\n", drive); 554 printk(KERN_NOTICE "fd: drive 0 didn't identify, setting default %08lx\n", (ulong)fd_def_df0); 1397 printk("fd: sector %ld + %d requested for %s\n", 1630 printk(KERN_INFO "fd%d: accessing %s-disk with %s-layout\n",drive, 1734 printk("fd%d ",drive); 1738 sprintf(disk->disk_name, "fd%d", drive); 1766 if (register_blkdev(FLOPPY_MAJOR,"fd")) 1772 printk("fd [all...] |
H A D | ataflop.c | 66 #include <linux/fd.h> 622 printk(KERN_ERR "fd%d: too many errors.\n", SelectedDrive ); 626 printk(KERN_WARNING "fd%d: recalibrating\n", SelectedDrive ); 717 /* do_fd_action() is the general procedure for a fd request: All 801 printk(KERN_ERR "fd%d: restore failed\n", SelectedDrive ); 849 printk(KERN_ERR "fd%d: seek error (to track %d)\n", 1057 printk(KERN_ERR "fd%d: DMA error\n", SelectedDrive ); 1064 printk(KERN_NOTICE "fd%d: is write protected\n", SelectedDrive ); 1083 printk(KERN_INFO "fd%d: Auto-detected floppy type %s\n", 1107 printk(KERN_ERR "fd [all...] |
H A D | floppy.c | 175 #include <linux/fd.h> 2346 DPRINT("Auto-detected floppy type %s in fd%d\n", 2840 reschedule_timeout(current_reqD, "redo fd request"); 2879 debugt(__func__, "queue fd request"); 3612 pr_cont("%s fd%d is %s", prepend, drive, name); 4199 sprintf(disks[drive]->disk_name, "fd%d", drive); 4206 err = register_blkdev(FLOPPY_MAJOR, "fd"); 4363 unregister_blkdev(FLOPPY_MAJOR, "fd"); 4587 unregister_blkdev(FLOPPY_MAJOR, "fd"); 4629 MODULE_SUPPORTED_DEVICE("fd"); [all...] |
H A D | swim.c | 20 #include <linux/fd.h> 829 err = register_blkdev(FLOPPY_MAJOR, "fd"); 856 sprintf(swd->unit[drive].disk->disk_name, "fd%d", drive); 870 unregister_blkdev(FLOPPY_MAJOR, "fd"); 949 unregister_blkdev(FLOPPY_MAJOR, "fd");
|
H A D | swim3.c | 26 #include <linux/fd.h> 211 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 212 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 213 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 216 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 795 swim3_err("fd dma error: stat=%x resid=%d\n", stat, resid); 1232 if (register_blkdev(FLOPPY_MAJOR, "fd")) 1241 sprintf(disk->disk_name, "fd%d", index);
|
/drivers/char/ |
H A D | hpet.c | 406 static int hpet_fasync(int fd, struct file *file, int on) argument 412 if (fasync_helper(fd, file, on, &devp->hd_async_queue) >= 0)
|
H A D | random.c | 1501 static int random_fasync(int fd, struct file *filp, int on) argument 1503 return fasync_helper(fd, filp, on, &fasync);
|
H A D | rtc.c | 748 static int rtc_fasync(int fd, struct file *filp, int on) argument 750 return fasync_helper(fd, filp, on, &rtc_async_queue);
|
H A D | sonypi.c | 887 static int sonypi_misc_fasync(int fd, struct file *filp, int on) argument 889 return fasync_helper(fd, filp, on, &sonypi_device.fifo_async);
|
H A D | virtio_console.c | 1093 static int port_fops_fasync(int fd, struct file *filp, int mode) argument 1098 return fasync_helper(fd, filp, mode, &port->async_queue);
|
/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 99 static int ipmi_fasync(int fd, struct file *file, int on) argument 105 result = fasync_helper(fd, file, on, &priv->fasync_queue);
|
H A D | ipmi_watchdog.c | 897 static int ipmi_fasync(int fd, struct file *file, int on) argument 901 result = fasync_helper(fd, file, on, &fasync_q);
|
/drivers/clk/ |
H A D | clk-fractional-divider.c | 23 struct clk_fractional_divider *fd = to_clk_fd(hw); local 28 if (fd->lock) 29 spin_lock_irqsave(fd->lock, flags); 31 val = clk_readl(fd->reg); 33 if (fd->lock) 34 spin_unlock_irqrestore(fd->lock, flags); 36 m = (val & fd->mmask) >> fd->mshift; 37 n = (val & fd->nmask) >> fd 48 struct clk_fractional_divider *fd = to_clk_fd(hw); local 68 struct clk_fractional_divider *fd = to_clk_fd(hw); local 104 struct clk_fractional_divider *fd; local [all...] |
/drivers/dma-buf/ |
H A D | dma-buf.c | 349 * @dmabuf: [in] pointer to dma_buf for which fd is required. 350 * @flags: [in] flags to give to fd 352 * On success, returns an associated 'fd'. Else, returns error. 356 int fd; local 361 fd = get_unused_fd_flags(flags); 362 if (fd < 0) 363 return fd; 365 fd_install(fd, dmabuf->file); 367 return fd; 372 * dma_buf_get - returns the dma_buf structure related to an fd 379 dma_buf_get(int fd) argument [all...] |
/drivers/gpu/drm/ |
H A D | drm_prime.c | 57 * then it will get a fd->handle request for a GEM object that it created. 235 /* drop the reference on the export fd holds */ 391 * @prime_fd: pointer to storage for the fd id of the create dma-buf 552 * @prime_fd: fd id of the dma-buf which should be imported 645 args->handle, flags, &args->fd); 660 args->fd, &args->handle);
|
/drivers/gpu/drm/ttm/ |
H A D | ttm_object.c | 609 * ttm_prime_fd_to_handle - Get a base object handle from a prime fd 612 * @fd: The prime / dmabuf fd. 620 int fd, u32 *handle) 628 dma_buf = dma_buf_get(fd); 647 * ttm_prime_handle_to_fd - Return a dma_buf fd from a ttm prime object 619 ttm_prime_fd_to_handle(struct ttm_object_file *tfile, int fd, u32 *handle) argument
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 942 int fd, u32 *handle);
|
H A D | vmwgfx_prime.c | 122 int fd, u32 *handle) 126 return ttm_prime_fd_to_handle(tfile, fd, handle); 120 vmw_prime_fd_to_handle(struct drm_device *dev, struct drm_file *file_priv, int fd, u32 *handle) argument
|
/drivers/hid/ |
H A D | hidraw.c | 319 static int hidraw_fasync(int fd, struct file *file, int on) argument 323 return fasync_helper(fd, file, on, &list->fasync);
|
/drivers/hid/usbhid/ |
H A D | hiddev.c | 226 static int hiddev_fasync(int fd, struct file *file, int on) argument 230 return fasync_helper(fd, file, on, &list->fasync);
|
/drivers/iio/ |
H A D | industrialio-core.c | 1105 int fd; local 1111 fd = iio_event_getfd(indio_dev); 1112 if (copy_to_user(ip, &fd, sizeof(fd)))
|
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/infiniband/core/ |
H A D | ucma.c | 1401 struct fd f; 1408 /* Get current fd to protect against it being closed */ 1409 f = fdget(cmd.fd); 1413 /* Validate current fd and prevent destruction of id. */ 1427 * Migrate events between fd's, maintaining order, and avoiding new
|
H A D | uverbs.h | 181 struct ib_uverbs_event_file *ib_uverbs_lookup_comp_file(int fd);
|
H A D | uverbs_cmd.c | 703 struct fd f = {NULL, 0}; 720 if (cmd.fd != -1) { 722 f = fdget(cmd.fd); 1274 resp.fd = ret; 1278 put_unused_fd(resp.fd); 1284 put_unused_fd(resp.fd); 1289 fd_install(resp.fd, filp);
|