Home
last modified time | relevance | path

Searched defs:bdev (Results 1 – 25 of 255) sorted by relevance

1234567891011

/Linux-v4.19/drivers/staging/media/bcm2048/
Dradio-bcm2048.c344 static int bcm2048_send_command(struct bcm2048_device *bdev, unsigned int reg, in bcm2048_send_command()
366 static int bcm2048_recv_command(struct bcm2048_device *bdev, unsigned int reg, in bcm2048_recv_command()
381 static int bcm2048_recv_duples(struct bcm2048_device *bdev, unsigned int reg, in bcm2048_recv_duples()
413 static int bcm2048_set_power_state(struct bcm2048_device *bdev, u8 power) in bcm2048_set_power_state()
443 static int bcm2048_get_power_state(struct bcm2048_device *bdev) in bcm2048_get_power_state()
460 static int bcm2048_set_rds_no_lock(struct bcm2048_device *bdev, u8 rds_on) in bcm2048_set_rds_no_lock()
487 static int bcm2048_get_rds_no_lock(struct bcm2048_device *bdev) in bcm2048_get_rds_no_lock()
500 static int bcm2048_set_rds(struct bcm2048_device *bdev, u8 rds_on) in bcm2048_set_rds()
512 static int bcm2048_get_rds(struct bcm2048_device *bdev) in bcm2048_get_rds()
524 static int bcm2048_get_rds_pi(struct bcm2048_device *bdev) in bcm2048_get_rds_pi()
[all …]
/Linux-v4.19/fs/
Dblock_dev.c40 struct block_device bdev; member
57 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode()
78 void kill_bdev(struct block_device *bdev) in kill_bdev()
91 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
107 int set_blocksize(struct block_device *bdev, int size) in set_blocksize()
192 struct block_device *bdev = I_BDEV(bdev_file_inode(file)); in __blkdev_direct_IO_simple() local
327 struct block_device *bdev = I_BDEV(inode); in __blkdev_direct_IO() local
443 int __sync_blockdev(struct block_device *bdev, int wait) in __sync_blockdev()
456 int sync_blockdev(struct block_device *bdev) in sync_blockdev()
467 int fsync_bdev(struct block_device *bdev) in fsync_bdev()
[all …]
/Linux-v4.19/block/
Dioctl.c13 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl()
162 int __blkdev_reread_part(struct block_device *bdev) in __blkdev_reread_part()
188 int blkdev_reread_part(struct block_device *bdev) in blkdev_reread_part()
200 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
233 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
297 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl()
314 static int blkdev_pr_register(struct block_device *bdev, in blkdev_pr_register()
332 static int blkdev_pr_reserve(struct block_device *bdev, in blkdev_pr_reserve()
350 static int blkdev_pr_release(struct block_device *bdev, in blkdev_pr_release()
368 static int blkdev_pr_preempt(struct block_device *bdev, in blkdev_pr_preempt()
[all …]
Dblk-lib.c26 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard()
108 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard()
142 static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in __blkdev_issue_write_same()
203 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in blkdev_issue_write_same()
223 static int __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes()
279 static int __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages()
335 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout()
369 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout()
Dblk-zoned.c71 static bool blkdev_report_zone(struct block_device *bdev, in blkdev_report_zone()
107 int blkdev_report_zones(struct block_device *bdev, in blkdev_report_zones()
246 int blkdev_reset_zones(struct block_device *bdev, in blkdev_reset_zones()
303 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl()
366 int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_reset_zones_ioctl()
Dcompat_ioctl.c51 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, in compat_hdio_getgeo()
80 static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode, in compat_hdio_ioctl()
117 static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, in compat_cdrom_read_audio()
144 static int compat_cdrom_generic_command(struct block_device *bdev, fmode_t mode, in compat_cdrom_generic_command()
183 static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkpg_ioctl()
209 static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkdev_driver_ioctl()
319 struct block_device *bdev = inode->i_bdev; in compat_blkdev_ioctl() local
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_bo.c72 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) in ttm_mem_type_debug()
143 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release_list() local
163 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_to_lru() local
230 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local
383 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_cleanup_refs_or_queue() local
525 static bool ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete()
567 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue() local
579 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release() local
605 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) in ttm_bo_lock_delayed_workqueue()
611 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) in ttm_bo_unlock_delayed_workqueue()
[all …]
Dttm_bo_vm.c100 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_io_mem_pfn() local
114 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_vm_fault() local
400 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup()
425 struct ttm_bo_device *bdev) in ttm_bo_mmap()
/Linux-v4.19/drivers/bluetooth/
Dbtmtkuart.c80 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local
184 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv_event() local
217 struct btmtkuart_dev *bdev = container_of(work, struct btmtkuart_dev, in btmtkuart_tx_work() local
264 static void btmtkuart_tx_wakeup(struct btmtkuart_dev *bdev) in btmtkuart_tx_wakeup()
273 mtk_stp_split(struct btmtkuart_dev *bdev, const unsigned char *data, int count, in mtk_stp_split()
320 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv() local
370 struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev); in btmtkuart_receive_buf() local
384 struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev); in btmtkuart_write_wakeup() local
396 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_open() local
436 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_close() local
[all …]
Dhci_bcm.c249 struct bcm_device *bdev = data; in bcm_host_wake() local
262 struct bcm_device *bdev = bcm->dev; in bcm_request_irq() local
432 struct bcm_device *bdev = NULL; in bcm_close() local
617 struct bcm_device *bdev = NULL; in bcm_dequeue() local
642 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device() local
672 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device() local
701 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend() local
735 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume() local
1007 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
/Linux-v4.19/drivers/hid/
Dhid-picolcd_backlight.c27 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness()
33 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness()
52 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) in picolcd_check_bl_fb()
66 struct backlight_device *bdev; in picolcd_init_backlight() local
94 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight() local
/Linux-v4.19/drivers/s390/block/
Dscm_blk.c146 static bool scm_permit_request(struct scm_blk_dev *bdev, struct request *req) in scm_permit_request()
181 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_prepare() local
218 static inline void scm_request_init(struct scm_blk_dev *bdev, in scm_request_init()
239 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_requeue() local
252 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_finish() local
268 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_start() local
286 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request() local
373 struct scm_blk_dev *bdev = scmrq->bdev; in scm_blk_handle_error() local
435 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup()
515 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) in scm_blk_dev_cleanup()
[all …]
Ddasd_ioctl.c44 dasd_ioctl_enable(struct block_device *bdev) in dasd_ioctl_enable()
70 dasd_ioctl_disable(struct block_device *bdev) in dasd_ioctl_disable()
229 struct block_device *bdev = bdget_disk(block->gdp, 0); in dasd_format() local
262 dasd_ioctl_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_format()
299 static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_check_format()
497 dasd_ioctl_set_ro(struct block_device *bdev, void __user *argp) in dasd_ioctl_set_ro()
535 int dasd_ioctl(struct block_device *bdev, fmode_t mode, in dasd_ioctl()
Dscm_drv.c19 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify() local
38 struct scm_blk_dev *bdev; in scm_probe() local
65 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_remove() local
/Linux-v4.19/drivers/dma/qcom/
Dbam_dma.c359 struct bam_device *bdev; member
417 static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, in bam_addr()
436 struct bam_device *bdev = bchan->bdev; in bam_reset_channel() local
461 struct bam_device *bdev = bchan->bdev; in bam_chan_init_hw() local
511 struct bam_device *bdev = bchan->bdev; in bam_alloc_chan() local
546 struct bam_device *bdev = bchan->bdev; in bam_free_chan() local
621 struct bam_device *bdev = bchan->bdev; in bam_prep_slave_sg() local
728 struct bam_device *bdev = bchan->bdev; in bam_pause() local
754 struct bam_device *bdev = bchan->bdev; in bam_resume() local
779 static u32 process_channel_irqs(struct bam_device *bdev) in process_channel_irqs()
[all …]
/Linux-v4.19/include/linux/
Ddax.h71 static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) in bdev_dax_supported()
94 static inline bool bdev_dax_supported(struct block_device *bdev, in bdev_dax_supported()
109 static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) in fs_dax_get_by_bdev()
120 struct block_device *bdev, struct writeback_control *wbc) in dax_writeback_mapping_range()
164 static inline int __dax_zero_page_range(struct block_device *bdev, in __dax_zero_page_range()
/Linux-v4.19/drivers/pci/controller/
Dpcie-iproc-bcma.c29 struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev); in iproc_pcie_bcma_map_irq() local
34 static int iproc_pcie_bcma_probe(struct bcma_device *bdev) in iproc_pcie_bcma_probe()
78 static void iproc_pcie_bcma_remove(struct bcma_device *bdev) in iproc_pcie_bcma_remove()
/Linux-v4.19/drivers/input/keyboard/
Dgpio_keys_polled.c52 struct gpio_keys_polled_dev *bdev = dev->private; in gpio_keys_button_event() local
94 struct gpio_keys_polled_dev *bdev = dev->private; in gpio_keys_polled_poll() local
130 struct gpio_keys_polled_dev *bdev = dev->private; in gpio_keys_polled_open() local
139 struct gpio_keys_polled_dev *bdev = dev->private; in gpio_keys_polled_close() local
235 struct gpio_keys_polled_dev *bdev; in gpio_keys_polled_probe() local
/Linux-v4.19/drivers/input/misc/
Dcobalt_btns.c50 struct buttons_dev *bdev = dev->private; in handle_buttons() local
77 struct buttons_dev *bdev; in cobalt_buttons_probe() local
139 struct buttons_dev *bdev = dev_get_drvdata(dev); in cobalt_buttons_remove() local
Dsgi_btns.c68 struct buttons_dev *bdev = dev->private; in handle_buttons() local
95 struct buttons_dev *bdev; in sgi_buttons_probe() local
146 struct buttons_dev *bdev = platform_get_drvdata(pdev); in sgi_buttons_remove() local
/Linux-v4.19/fs/udf/
Dlowlevel.c32 struct block_device *bdev = sb->s_bdev; in udf_get_last_session() local
52 struct block_device *bdev = sb->s_bdev; in udf_get_last_block() local
/Linux-v4.19/drivers/staging/comedi/drivers/
Dcomedi_bond.c81 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits() local
131 struct bonded_device *bdev; in bonding_dio_insn_config() local
186 struct bonded_device *bdev; in do_dev_config() local
323 struct bonded_device *bdev; in bonding_detach() local
/Linux-v4.19/drivers/char/
Draw.c57 struct block_device *bdev; in raw_open() local
104 struct block_device *bdev; in raw_release() local
123 struct block_device *bdev = filp->private_data; in raw_ioctl() local
190 struct block_device *bdev; in bind_get() local
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c43 virtio_gpu_device *virtio_gpu_get_vgdev(struct ttm_bo_device *bdev) in virtio_gpu_get_vgdev()
161 static int virtio_gpu_invalidate_caches(struct ttm_bo_device *bdev, in virtio_gpu_invalidate_caches()
206 static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in virtio_gpu_init_mem_type()
254 static int virtio_gpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_reserve()
277 static void virtio_gpu_ttm_io_mem_free(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_free()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_ttm.c39 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) in qxl_get_qdev()
151 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in qxl_invalidate_caches()
156 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in qxl_init_mem_type()
213 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_reserve()
246 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_free()

1234567891011