/openbmc/linux/block/ |
H A D | bdev.c | 34 struct block_device bdev; member 221 int freeze_bdev(struct block_device *bdev) in freeze_bdev() 259 int thaw_bdev(struct block_device *bdev) in thaw_bdev() 309 struct block_device *bdev = I_BDEV(inode); in bdev_free_inode() local 387 struct block_device *bdev; in bdev_alloc() local 706 struct block_device *bdev; in blkdev_get_no_open() local 758 struct block_device *bdev; in blkdev_get_by_dev() local 838 struct block_device *bdev; in bdev_open_by_dev() local 873 struct block_device *bdev; in blkdev_get_by_path() local 1036 struct block_device *bdev; in sync_bdevs() local [all …]
|
H A D | ioctl.c | 16 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl() 55 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl() 75 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl() 88 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() 366 static int blkdev_flushbuf(struct block_device *bdev, unsigned cmd, in blkdev_flushbuf() 383 static int blkdev_roset(struct block_device *bdev, unsigned cmd, in blkdev_roset() 402 static int blkdev_getgeo(struct block_device *bdev, in blkdev_getgeo() 436 static int compat_hdio_getgeo(struct block_device *bdev, in compat_hdio_getgeo() 468 static int blkdev_bszset(struct block_device *bdev, blk_mode_t mode, in blkdev_bszset() 587 struct block_device *bdev = I_BDEV(file->f_mapping->host); in blkdev_ioctl() local [all …]
|
H A D | blk-lib.c | 13 static sector_t bio_discard_limit(struct block_device *bdev, sector_t sector) in bio_discard_limit() 38 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard() 97 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard() 118 static int __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes() 168 static int __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages() 218 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout() 252 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout() 303 int blkdev_issue_secure_erase(struct block_device *bdev, sector_t sector, in blkdev_issue_secure_erase()
|
H A D | blk-zoned.c | 108 unsigned int bdev_nr_zones(struct block_device *bdev) in bdev_nr_zones() 138 int blkdev_report_zones(struct block_device *bdev, sector_t sector, in blkdev_report_zones() 180 static int blkdev_zone_reset_all_emulated(struct block_device *bdev, in blkdev_zone_reset_all_emulated() 226 static int blkdev_zone_reset_all(struct block_device *bdev, gfp_t gfp_mask) in blkdev_zone_reset_all() 250 int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op, in blkdev_zone_mgmt() 326 int blkdev_report_zones_ioctl(struct block_device *bdev, unsigned int cmd, in blkdev_report_zones_ioctl() 359 static int blkdev_truncate_zone_range(struct block_device *bdev, in blkdev_truncate_zone_range() 379 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_zone_mgmt_ioctl()
|
H A D | holder.c | 11 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, in bd_find_holder_disk() 60 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder() 136 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_unlink_disk_holder()
|
H A D | fops.c | 37 static bool blkdev_dio_unaligned(struct block_device *bdev, loff_t pos, in blkdev_dio_unaligned() 49 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO_simple() local 165 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO() local 305 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in __blkdev_direct_IO_async() local 385 struct block_device *bdev = I_BDEV(inode); in blkdev_iomap_begin() local 526 struct block_device *bdev = I_BDEV(filp->f_mapping->host); in blkdev_fsync() local 571 struct block_device *bdev; in blkdev_open() local 647 struct block_device *bdev = I_BDEV(file->f_mapping->host); in blkdev_write_iter() local 695 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_read_iter() local 746 struct block_device *bdev = I_BDEV(inode); in blkdev_fallocate() local
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btmtksdio.c | 147 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local 380 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_event() local 421 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_acl() local 631 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_open() local 715 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_close() local 738 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_flush() local 771 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mt76xx_setup() local 856 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mt79xx_setup() local 1321 struct btmtksdio_dev *bdev; in btmtksdio_probe() local 1438 struct btmtksdio_dev *bdev; in btmtksdio_runtime_suspend() local [all …]
|
H A D | btmtkuart.c | 83 #define btmtkuart_is_standalone(bdev) \ argument 85 #define btmtkuart_is_builtin_soc(bdev) \ argument 91 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local 192 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv_event() local 341 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv() local 412 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_open() local 469 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_close() local 484 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_flush() local 525 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_change_baudrate() local 589 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_setup() local [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | pr.c | 52 static int nvme_send_ns_head_pr_command(struct block_device *bdev, in nvme_send_ns_head_pr_command() 97 static int nvme_send_pr_command(struct block_device *bdev, in nvme_send_pr_command() 108 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() 128 static int nvme_pr_register(struct block_device *bdev, u64 old, in nvme_pr_register() 142 static int nvme_pr_reserve(struct block_device *bdev, u64 key, in nvme_pr_reserve() 155 static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new, in nvme_pr_preempt() 163 static int nvme_pr_clear(struct block_device *bdev, u64 key) in nvme_pr_clear() 170 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in nvme_pr_release() 177 static int nvme_pr_resv_report(struct block_device *bdev, void *data, in nvme_pr_resv_report() 203 static int nvme_pr_read_keys(struct block_device *bdev, in nvme_pr_read_keys() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 270 struct hmm_bo_device *bdev = bo->bdev; in __bo_take_off_handling() local 312 struct hmm_bo_device *bdev; in __bo_merge() local 331 int hmm_bo_device_init(struct hmm_bo_device *bdev, in hmm_bo_device_init() 441 struct hmm_bo_device *bdev = bo->bdev; in hmm_bo_release() local 501 void hmm_bo_device_exit(struct hmm_bo_device *bdev) in hmm_bo_device_exit() 539 int hmm_bo_device_inited(struct hmm_bo_device *bdev) in hmm_bo_device_inited() 554 struct hmm_bo_device *bdev, ia_css_ptr vaddr) in hmm_bo_device_search_start() 574 struct hmm_bo_device *bdev, unsigned int vaddr) in hmm_bo_device_search_in_range() 594 struct hmm_bo_device *bdev, const void *vaddr) in hmm_bo_device_search_vmap_start() 774 struct hmm_bo_device *bdev; in hmm_bo_bind() local [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_backlight.c | 17 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness() 23 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness() 42 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) in picolcd_check_bl_fb() 56 struct backlight_device *bdev; in picolcd_init_backlight() local 84 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight() local
|
/openbmc/linux/drivers/s390/block/ |
H A D | scm_blk.c | 146 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 269 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_start() local 287 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_blk_request() local 374 struct scm_blk_dev *bdev = scmrq->bdev; in scm_blk_handle_error() local 436 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) in scm_blk_dev_setup() 513 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) in scm_blk_dev_cleanup() [all …]
|
H A D | dasd_ioctl.c | 45 dasd_ioctl_enable(struct block_device *bdev) in dasd_ioctl_enable() 66 dasd_ioctl_disable(struct block_device *bdev) in dasd_ioctl_disable() 256 dasd_ioctl_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_format() 293 static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_check_format() 344 static int dasd_ioctl_release_space(struct block_device *bdev, void __user *argp) in dasd_ioctl_release_space() 387 dasd_ioctl_copy_pair_swap(struct block_device *bdev, void __user *argp) in dasd_ioctl_copy_pair_swap() 583 int dasd_set_read_only(struct block_device *bdev, bool ro) in dasd_set_read_only() 616 int dasd_ioctl(struct block_device *bdev, blk_mode_t mode, in dasd_ioctl()
|
H A D | scm_drv.c | 19 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
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 126 struct ttm_device *bdev; in ttm_global_swapout() local 141 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout() 192 int ttm_device_init(struct ttm_device *bdev, const struct ttm_device_funcs *funcs, in ttm_device_init() 230 void ttm_device_fini(struct ttm_device *bdev) in ttm_device_fini() 257 static void ttm_device_clear_lru_dma_mappings(struct ttm_device *bdev, in ttm_device_clear_lru_dma_mappings() 282 void ttm_device_clear_dma_mappings(struct ttm_device *bdev) in ttm_device_clear_dma_mappings()
|
H A D | ttm_resource.c | 149 struct ttm_device *bdev = bo->bdev; in ttm_resource_move_to_lru_tail() local 217 struct ttm_device *bdev = man->bdev; in ttm_resource_fini() local 273 bool ttm_resource_intersects(struct ttm_device *bdev, in ttm_resource_intersects() 302 bool ttm_resource_compatible(struct ttm_device *bdev, in ttm_resource_compatible() 324 struct ttm_device *bdev = bo->bdev; in ttm_resource_places_compat() local 386 struct ttm_device *bdev, in ttm_resource_manager_init() 411 int ttm_resource_manager_evict_all(struct ttm_device *bdev, in ttm_resource_manager_evict_all() 654 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_init() 716 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_fini()
|
H A D | ttm_bo.c | 120 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local 323 struct ttm_device *bdev = bo->bdev; in ttm_bo_release() local 426 struct ttm_device *bdev = bo->bdev; in ttm_bo_evict() local 491 struct ttm_device *bdev = bo->bdev; in ttm_bo_eviction_valuable() local 589 int ttm_mem_evict_first(struct ttm_device *bdev, in ttm_mem_evict_first() 731 struct ttm_device *bdev = bo->bdev; in ttm_bo_mem_force_space() local 776 struct ttm_device *bdev = bo->bdev; in ttm_bo_mem_space() local 964 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_reserved() 1057 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_validate() 1089 struct ttm_device *bdev = bo->bdev; in ttm_bo_unmap_virtual() local
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | 761 static inline int bdev_read_only(struct block_device *bdev) in bdev_read_only() 1147 bdev_max_zone_append_sectors(struct block_device *bdev) in bdev_max_zone_append_sectors() 1187 static inline int bdev_io_min(struct block_device *bdev) in bdev_io_min() 1197 static inline int bdev_io_opt(struct block_device *bdev) in bdev_io_opt() 1209 bdev_zone_write_granularity(struct block_device *bdev) in bdev_zone_write_granularity() 1228 bdev_max_secure_erase_sectors(struct block_device *bdev) in bdev_max_secure_erase_sectors() 1243 static inline bool bdev_nonrot(struct block_device *bdev) in bdev_nonrot() 1265 static inline bool bdev_fua(struct block_device *bdev) in bdev_fua() 1270 static inline bool bdev_nowait(struct block_device *bdev) in bdev_nowait() 1496 struct block_device *bdev; member [all …]
|
/openbmc/linux/drivers/dma/qcom/ |
H A D | bam_dma.c | 350 struct bam_device *bdev; member 466 struct bam_device *bdev = bchan->bdev; in bam_reset_channel() local 491 struct bam_device *bdev = bchan->bdev; in bam_chan_init_hw() local 541 struct bam_device *bdev = bchan->bdev; in bam_alloc_chan() local 571 struct bam_device *bdev = bchan->bdev; in bam_free_chan() local 653 struct bam_device *bdev = bchan->bdev; in bam_prep_slave_sg() local 775 struct bam_device *bdev = bchan->bdev; in bam_pause() local 801 struct bam_device *bdev = bchan->bdev; in bam_resume() local 904 struct bam_device *bdev = data; in bam_dma_irq() local 995 struct bam_device *bdev = bchan->bdev; in bam_apply_new_config() local [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 59 struct radeon_device *radeon_get_rdev(struct ttm_device *bdev) in radeon_get_rdev() 331 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr() 428 static int radeon_ttm_backend_bind(struct ttm_device *bdev, in radeon_ttm_backend_bind() 464 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind() 480 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy() 535 static int radeon_ttm_tt_populate(struct ttm_device *bdev, in radeon_ttm_tt_populate() 561 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate() 596 bool radeon_ttm_tt_is_bound(struct ttm_device *bdev, in radeon_ttm_tt_is_bound() 607 static int radeon_ttm_tt_bind(struct ttm_device *bdev, in radeon_ttm_tt_bind() 625 static void radeon_ttm_tt_unbind(struct ttm_device *bdev, in radeon_ttm_tt_unbind() [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-iproc-bcma.c | 29 struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev); in iproc_bcma_pcie_map_irq() local 34 static int iproc_bcma_pcie_probe(struct bcma_device *bdev) in iproc_bcma_pcie_probe() 74 static void iproc_bcma_pcie_remove(struct bcma_device *bdev) in iproc_bcma_pcie_remove()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 305 static int vmw_ttm_bind(struct ttm_device *bdev, in vmw_ttm_bind() 352 static void vmw_ttm_unbind(struct ttm_device *bdev, in vmw_ttm_unbind() 380 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy() 394 static int vmw_ttm_populate(struct ttm_device *bdev, in vmw_ttm_populate() 410 static void vmw_ttm_unpopulate(struct ttm_device *bdev, in vmw_ttm_unpopulate() 470 static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in vmw_ttm_io_mem_reserve()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event() local 89 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_poll() local 124 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_open() local 135 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_close() local 233 struct gpio_keys_polled_dev *bdev; in gpio_keys_polled_probe() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sgdma.c | 20 nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy() 31 nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind() 58 nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 88 static void lsdc_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *tt) in lsdc_ttm_tt_destroy() 113 static int lsdc_ttm_tt_populate(struct ttm_device *bdev, in lsdc_ttm_tt_populate() 130 static void lsdc_ttm_tt_unpopulate(struct ttm_device *bdev, in lsdc_ttm_tt_unpopulate() 221 static int lsdc_bo_reserve_io_mem(struct ttm_device *bdev, in lsdc_bo_reserve_io_mem() 411 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_evict_vram() local 443 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_create() local 581 struct ttm_device *bdev = &ldev->bdev; in lsdc_ttm_debugfs_init() local
|