[go: nahoru, domu]

Searched refs:fd (Results 1 - 25 of 125) sorted by path

12345

/drivers/block/
H A Damiflop.c59 #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 Dataflop.c66 #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 Dfloppy.c175 #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 Dswim.c20 #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 Dswim3.c26 #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 Dhpet.c406 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 Drandom.c1501 static int random_fasync(int fd, struct file *filp, int on) argument
1503 return fasync_helper(fd, filp, on, &fasync);
H A Drtc.c748 static int rtc_fasync(int fd, struct file *filp, int on) argument
750 return fasync_helper(fd, filp, on, &rtc_async_queue);
H A Dsonypi.c887 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 Dvirtio_console.c1093 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 Dipmi_devintf.c99 static int ipmi_fasync(int fd, struct file *file, int on) argument
105 result = fasync_helper(fd, file, on, &priv->fasync_queue);
H A Dipmi_watchdog.c897 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 Dclk-fractional-divider.c23 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 Ddma-buf.c349 * @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 Ddrm_prime.c57 * 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 Dttm_object.c609 * 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 Dvmwgfx_drv.h942 int fd, u32 *handle);
H A Dvmwgfx_prime.c122 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 Dhidraw.c319 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 Dhiddev.c226 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 Dindustrialio-core.c1105 int fd; local
1111 fd = iio_event_getfd(indio_dev);
1112 if (copy_to_user(ip, &fd, sizeof(fd)))
H A Dindustrialio-event.c172 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 Ducma.c1401 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 Duverbs.h181 struct ib_uverbs_event_file *ib_uverbs_lookup_comp_file(int fd);
H A Duverbs_cmd.c703 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);

Completed in 252 milliseconds

12345