Home
last modified time | relevance | path

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

12345678

/drivers/bluetooth/
Dbtmtksdio.c149 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local
258 static int btmtksdio_tx_packet(struct btmtksdio_dev *bdev, in btmtksdio_tx_packet()
298 static u32 btmtksdio_drv_own_query(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query()
303 static u32 btmtksdio_drv_own_query_79xx(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query_79xx()
308 static u32 btmtksdio_chcr_query(struct btmtksdio_dev *bdev) in btmtksdio_chcr_query()
313 static int btmtksdio_fw_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_fw_pmctrl()
350 static int btmtksdio_drv_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_drv_pmctrl()
382 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_event() local
423 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in btmtksdio_recv_acl() local
448 static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size) in btmtksdio_rx_packet()
[all …]
Dbtmtkuart.c84 #define btmtkuart_is_standalone(bdev) \ argument
86 #define btmtkuart_is_builtin_soc(bdev) \ argument
92 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local
193 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv_event() local
239 struct btmtkuart_dev *bdev = container_of(work, struct btmtkuart_dev, in btmtkuart_tx_work() local
286 static void btmtkuart_tx_wakeup(struct btmtkuart_dev *bdev) in btmtkuart_tx_wakeup()
295 mtk_stp_split(struct btmtkuart_dev *bdev, const unsigned char *data, int count, in mtk_stp_split()
342 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv() local
390 struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev); in btmtkuart_receive_buf() local
401 struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev); in btmtkuart_write_wakeup() local
[all …]
Dhci_bcm.c324 struct bcm_device *bdev = data; in bcm_host_wake() local
337 struct bcm_device *bdev = bcm->dev; in bcm_request_irq() local
530 struct bcm_device *bdev = NULL; in bcm_close() local
739 struct bcm_device *bdev = NULL; in bcm_dequeue() local
764 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend_device() local
794 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume_device() local
823 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_suspend() local
857 struct bcm_device *bdev = dev_get_drvdata(dev); in bcm_resume() local
1237 static int bcm_of_probe(struct bcm_device *bdev) in bcm_of_probe()
/drivers/nvme/host/
Dpr.c52 static int nvme_send_ns_head_pr_command(struct block_device *bdev, in nvme_send_ns_head_pr_command()
95 static int nvme_send_pr_command(struct block_device *bdev, in nvme_send_pr_command()
105 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command()
125 static int nvme_pr_register(struct block_device *bdev, u64 old, in nvme_pr_register()
139 static int nvme_pr_reserve(struct block_device *bdev, u64 key, in nvme_pr_reserve()
152 static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new, in nvme_pr_preempt()
160 static int nvme_pr_clear(struct block_device *bdev, u64 key) in nvme_pr_clear()
167 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type) in nvme_pr_release()
174 static int nvme_pr_resv_report(struct block_device *bdev, void *data, in nvme_pr_resv_report()
200 static int nvme_pr_read_keys(struct block_device *bdev, in nvme_pr_read_keys()
[all …]
/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c47 static int __bo_init(struct hmm_bo_device *bdev, struct hmm_buffer_object *bo, in __bo_init()
236 static struct hmm_buffer_object *__bo_break_up(struct hmm_bo_device *bdev, in __bo_break_up()
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()
393 struct hmm_buffer_object *hmm_bo_alloc(struct hmm_bo_device *bdev, in hmm_bo_alloc()
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()
[all …]
/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
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()
509 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) in scm_blk_dev_cleanup()
[all …]
Ddasd_ioctl.c39 dasd_ioctl_enable(struct block_device *bdev) in dasd_ioctl_enable()
60 dasd_ioctl_disable(struct block_device *bdev) in dasd_ioctl_disable()
250 dasd_ioctl_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_format()
287 static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_check_format()
338 static int dasd_ioctl_release_space(struct block_device *bdev, void __user *argp) in dasd_ioctl_release_space()
381 dasd_ioctl_copy_pair_swap(struct block_device *bdev, void __user *argp) in dasd_ioctl_copy_pair_swap()
577 int dasd_set_read_only(struct block_device *bdev, bool ro) in dasd_set_read_only()
610 int dasd_ioctl(struct block_device *bdev, blk_mode_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
/drivers/dma/qcom/
Dbam_dma.c350 struct bam_device *bdev; member
409 static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, in bam_addr()
424 static void bam_reset(struct bam_device *bdev) in bam_reset()
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
[all …]
/drivers/gpu/drm/radeon/
Dradeon_ttm.c60 struct radeon_device *radeon_get_rdev(struct ttm_device *bdev) in radeon_get_rdev()
257 static int radeon_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in radeon_ttm_io_mem_reserve()
324 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
385 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
421 static int radeon_ttm_backend_bind(struct ttm_device *bdev, in radeon_ttm_backend_bind()
457 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
473 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
528 static int radeon_ttm_tt_populate(struct ttm_device *bdev, in radeon_ttm_tt_populate()
554 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
589 bool radeon_ttm_tt_is_bound(struct ttm_device *bdev, in radeon_ttm_tt_is_bound()
[all …]
/drivers/gpu/drm/ttm/
Dttm_device.c138 struct ttm_device *bdev; in ttm_global_swapout() local
153 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout()
189 int ttm_device_init(struct ttm_device *bdev, const struct ttm_device_funcs *funcs, in ttm_device_init()
234 void ttm_device_fini(struct ttm_device *bdev) in ttm_device_fini()
261 static void ttm_device_clear_lru_dma_mappings(struct ttm_device *bdev, in ttm_device_clear_lru_dma_mappings()
286 void ttm_device_clear_dma_mappings(struct ttm_device *bdev) in ttm_device_clear_dma_mappings()
Dttm_bo.c125 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local
254 struct ttm_device *bdev = bo->bdev; in ttm_bo_release() local
363 struct ttm_device *bdev = bo->bdev; in ttm_bo_evict() local
427 struct ttm_device *bdev = bo->bdev; in ttm_bo_eviction_valuable() local
448 int ttm_bo_evict_first(struct ttm_device *bdev, struct ttm_resource_manager *man, in ttm_bo_evict_first()
547 static int ttm_bo_evict_alloc(struct ttm_device *bdev, in ttm_bo_evict_alloc()
684 struct ttm_device *bdev = bo->bdev; in ttm_bo_alloc_resource() local
890 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_reserved()
983 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_validate()
1015 struct ttm_device *bdev = bo->bdev; in ttm_bo_unmap_virtual() local
[all …]
Dttm_resource.c123 void ttm_lru_bulk_move_fini(struct ttm_device *bdev, in ttm_lru_bulk_move_fini()
262 struct ttm_device *bdev = bo->bdev; in ttm_resource_move_to_lru_tail() local
330 struct ttm_device *bdev = man->bdev; in ttm_resource_fini() local
387 bool ttm_resource_intersects(struct ttm_device *bdev, in ttm_resource_intersects()
418 struct ttm_device *bdev = bo->bdev; in ttm_resource_compatible() local
467 struct ttm_device *bdev, in ttm_resource_manager_init()
492 int ttm_resource_manager_evict_all(struct ttm_device *bdev, in ttm_resource_manager_evict_all()
778 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_init()
840 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_fini()
Dttm_bo_util.c49 int ttm_mem_io_reserve(struct ttm_device *bdev, in ttm_mem_io_reserve()
62 void ttm_mem_io_free(struct ttm_device *bdev, in ttm_mem_io_free()
150 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_memcpy() local
621 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_pipeline_evict() local
662 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup() local
696 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_sync_cleanup() local
864 s64 ttm_lru_walk_for_evict(struct ttm_lru_walk *walk, struct ttm_device *bdev, in ttm_lru_walk_for_evict()
Dttm_tt.c70 struct ttm_device *bdev = bo->bdev; in ttm_tt_create() local
147 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
270 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, in ttm_tt_swapout()
318 int ttm_tt_populate(struct ttm_device *bdev, in ttm_tt_populate()
376 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_unpopulate()
/drivers/hid/
Dhid-picolcd_backlight.c16 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness()
22 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness()
50 struct backlight_device *bdev; in picolcd_init_backlight() local
78 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight() local
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c273 static int vmw_ttm_bind(struct ttm_device *bdev, in vmw_ttm_bind()
320 static void vmw_ttm_unbind(struct ttm_device *bdev, in vmw_ttm_unbind()
348 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
362 static int vmw_ttm_populate(struct ttm_device *bdev, in vmw_ttm_populate()
378 static void vmw_ttm_unpopulate(struct ttm_device *bdev, in vmw_ttm_unpopulate()
438 static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in vmw_ttm_io_mem_reserve()
/drivers/gpu/drm/ttm/tests/
Dttm_mock_manager.c93 int ttm_mock_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_mock_manager_init()
125 void ttm_mock_manager_fini(struct ttm_device *bdev, u32 mem_type) in ttm_mock_manager_fini()
189 int ttm_bad_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_bad_manager_init()
207 int ttm_busy_manager_init(struct ttm_device *bdev, u32 mem_type, u32 size) in ttm_busy_manager_init()
220 void ttm_bad_manager_fini(struct ttm_device *bdev, uint32_t mem_type) in ttm_bad_manager_fini()
/drivers/gpu/drm/loongson/
Dlsdc_ttm.c86 static void lsdc_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *tt) in lsdc_ttm_tt_destroy()
111 static int lsdc_ttm_tt_populate(struct ttm_device *bdev, in lsdc_ttm_tt_populate()
128 static void lsdc_ttm_tt_unpopulate(struct ttm_device *bdev, in lsdc_ttm_tt_unpopulate()
219 static int lsdc_bo_reserve_io_mem(struct ttm_device *bdev, in lsdc_bo_reserve_io_mem()
405 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_evict_vram() local
437 struct ttm_device *bdev = &ldev->bdev; in lsdc_bo_create() local
575 struct ttm_device *bdev = &ldev->bdev; in lsdc_ttm_debugfs_init() local
/drivers/input/keyboard/
Dgpio_keys_polled.c48 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
231 struct gpio_keys_polled_dev *bdev; in gpio_keys_polled_probe() local
/drivers/pci/controller/
Dpcie-iproc-bcma.c29 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()
/drivers/net/fddi/
Ddefxx.c377 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_write_long() local
399 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_read_long() local
434 struct device *bdev = bp->bus_dev; in dfx_get_bars() local
530 static int dfx_register(struct device *bdev) in dfx_register()
724 struct device *bdev = bp->bus_dev; in dfx_bus_init() local
883 struct device *bdev = bp->bus_dev; in dfx_bus_uninit() local
945 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_bus_config_check() local
1043 struct device *bdev = bp->bus_dev; in dfx_driver_init() local
1951 struct device *bdev = bp->bus_dev; in dfx_interrupt() local
3695 static void dfx_unregister(struct device *bdev) in dfx_unregister()
/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c20 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()
/drivers/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
/drivers/gpu/drm/qxl/
Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_device *bdev) in qxl_get_qdev()
71 int qxl_ttm_io_mem_reserve(struct ttm_device *bdev, in qxl_ttm_io_mem_reserve()
100 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()

12345678