Home
last modified time | relevance | path

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

1234567

/drivers/bluetooth/
Dbtmtksdio.c147 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local
256 static int btmtksdio_tx_packet(struct btmtksdio_dev *bdev, in btmtksdio_tx_packet()
296 static u32 btmtksdio_drv_own_query(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query()
301 static u32 btmtksdio_drv_own_query_79xx(struct btmtksdio_dev *bdev) in btmtksdio_drv_own_query_79xx()
306 static u32 btmtksdio_chcr_query(struct btmtksdio_dev *bdev) in btmtksdio_chcr_query()
311 static int btmtksdio_fw_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_fw_pmctrl()
348 static int btmtksdio_drv_pmctrl(struct btmtksdio_dev *bdev) in btmtksdio_drv_pmctrl()
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
446 static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size) in btmtksdio_rx_packet()
[all …]
Dbtmtkuart.c83 #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
238 struct btmtkuart_dev *bdev = container_of(work, struct btmtkuart_dev, in btmtkuart_tx_work() local
285 static void btmtkuart_tx_wakeup(struct btmtkuart_dev *bdev) in btmtkuart_tx_wakeup()
294 mtk_stp_split(struct btmtkuart_dev *bdev, const unsigned char *data, int count, in mtk_stp_split()
341 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in btmtkuart_recv() local
389 struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev); in btmtkuart_receive_buf() local
400 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()
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 …]
/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/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/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()
513 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) in scm_blk_dev_cleanup()
[all …]
Ddasd_ioctl.c45 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()
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/hid/
Dhid-picolcd_backlight.c17 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
/drivers/gpu/drm/radeon/
Dradeon_ttm.c59 struct radeon_device *radeon_get_rdev(struct ttm_device *bdev) in radeon_get_rdev()
264 static int radeon_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in radeon_ttm_io_mem_reserve()
331 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
392 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_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()
[all …]
/drivers/gpu/drm/ttm/
Dttm_device.c126 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()
Dttm_resource.c149 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()
Dttm_bo.c120 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
Dttm_tt.c65 struct ttm_device *bdev = bo->bdev; in ttm_tt_create() local
141 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
262 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, in ttm_tt_swapout()
309 int ttm_tt_populate(struct ttm_device *bdev, in ttm_tt_populate()
367 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_unpopulate()
Dttm_bo_util.c45 int ttm_mem_io_reserve(struct ttm_device *bdev, in ttm_mem_io_reserve()
58 void ttm_mem_io_free(struct ttm_device *bdev, in ttm_mem_io_free()
146 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_memcpy() local
616 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_pipeline_evict() local
657 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup() local
691 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_sync_cleanup() local
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c305 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()
/drivers/gpu/drm/loongson/
Dlsdc_ttm.c88 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
/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
233 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()
73 int qxl_ttm_io_mem_reserve(struct ttm_device *bdev, in qxl_ttm_io_mem_reserve()
102 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
/drivers/block/rnbd/
Drnbd-srv.c425 static struct rnbd_srv_dev *rnbd_srv_init_srv_dev(struct block_device *bdev) in rnbd_srv_init_srv_dev()
510 rnbd_srv_get_or_create_srv_dev(struct block_device *bdev, in rnbd_srv_get_or_create_srv_dev()
537 struct block_device *bdev = sess_dev->bdev; in rnbd_srv_fill_msg_open_rsp() local
562 struct block_device *bdev, bool readonly, in rnbd_srv_create_set_sess_dev()
680 struct block_device *bdev; in process_msg_open() local

1234567