/linux-6.6.21/block/ |
D | bdev.c | 34 struct block_device bdev; member 45 return &BDEV_I(inode)->bdev; in I_BDEV() 49 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode() argument 51 struct inode *inode = bdev->bd_inode; in bdev_write_inode() 61 bdev, ret); in bdev_write_inode() 68 static void kill_bdev(struct block_device *bdev) in kill_bdev() argument 70 struct address_space *mapping = bdev->bd_inode->i_mapping; in kill_bdev() 80 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev() argument 82 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev() 96 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode, in truncate_bdev_range() argument [all …]
|
D | ioctl.c | 16 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl() argument 19 struct gendisk *disk = bdev->bd_disk; in blkpg_do_ioctl() 27 if (bdev_is_partition(bdev)) in blkpg_do_ioctl() 39 if (!IS_ALIGNED(p.start | p.length, bdev_logical_block_size(bdev))) in blkpg_do_ioctl() 55 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl() argument 64 return blkpg_do_ioctl(bdev, udata, op); in blkpg_ioctl() 75 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl() argument 84 return blkpg_do_ioctl(bdev, compat_ptr(udata), op); in compat_blkpg_ioctl() 88 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard() argument 93 struct inode *inode = bdev->bd_inode; in blk_ioctl_discard() [all …]
|
D | blk-lib.c | 13 static sector_t bio_discard_limit(struct block_device *bdev, sector_t sector) in bio_discard_limit() argument 15 unsigned int discard_granularity = bdev_discard_granularity(bdev); in bio_discard_limit() 18 if (bdev_is_partition(bdev)) in bio_discard_limit() 19 sector += bdev->bd_start_sect; in bio_discard_limit() 38 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard() argument 44 if (bdev_read_only(bdev)) in __blkdev_issue_discard() 46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard() 50 if (WARN_ON_ONCE(!bdev_discard_granularity(bdev))) { in __blkdev_issue_discard() 52 bdev); in __blkdev_issue_discard() 56 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_discard() [all …]
|
D | holder.c | 11 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, in bd_find_holder_disk() argument 17 if (holder->holder_dir == bdev->bd_holder_dir) in bd_find_holder_disk() 60 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder() argument 68 if (bdev->bd_disk == disk) in bd_link_disk_holder() 75 mutex_lock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 76 if (!disk_live(bdev->bd_disk)) { in bd_link_disk_holder() 77 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 80 kobject_get(bdev->bd_holder_dir); in bd_link_disk_holder() 81 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 84 WARN_ON_ONCE(!bdev->bd_holder); in bd_link_disk_holder() [all …]
|
D | blk-zoned.c | 108 unsigned int bdev_nr_zones(struct block_device *bdev) in bdev_nr_zones() argument 110 sector_t zone_sectors = bdev_zone_sectors(bdev); in bdev_nr_zones() 112 if (!bdev_is_zoned(bdev)) in bdev_nr_zones() 114 return (bdev_nr_sectors(bdev) + zone_sectors - 1) >> in bdev_nr_zones() 138 int blkdev_report_zones(struct block_device *bdev, sector_t sector, in blkdev_report_zones() argument 141 struct gendisk *disk = bdev->bd_disk; in blkdev_report_zones() 144 if (!bdev_is_zoned(bdev) || WARN_ON_ONCE(!disk->fops->report_zones)) in blkdev_report_zones() 180 static int blkdev_zone_reset_all_emulated(struct block_device *bdev, in blkdev_zone_reset_all_emulated() argument 183 struct gendisk *disk = bdev->bd_disk; in blkdev_zone_reset_all_emulated() 184 sector_t capacity = bdev_nr_sectors(bdev); in blkdev_zone_reset_all_emulated() [all …]
|
/linux-6.6.21/drivers/bluetooth/ |
D | btmtkuart.c | 83 #define btmtkuart_is_standalone(bdev) \ argument 84 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 85 #define btmtkuart_is_builtin_soc(bdev) \ argument 86 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 91 struct btmtkuart_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local 119 set_bit(BTMTKUART_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 123 clear_bit(BTMTKUART_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 136 err = wait_on_bit_timeout(&bdev->tx_state, BTMTKUART_TX_WAIT_VND_EVT, in mtk_hci_wmt_sync() 140 clear_bit(BTMTKUART_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 146 clear_bit(BTMTKUART_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() [all …]
|
D | btmtksdio.c | 147 struct btmtksdio_dev *bdev = hci_get_drvdata(hdev); in mtk_hci_wmt_sync() local 172 set_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 176 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 189 err = wait_on_bit_timeout(&bdev->tx_state, BTMTKSDIO_TX_WAIT_VND_EVT, in mtk_hci_wmt_sync() 193 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 199 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync() 205 wmt_evt = (struct btmtk_hci_wmt_evt *)bdev->evt_skb->data; in mtk_hci_wmt_sync() 248 kfree_skb(bdev->evt_skb); in mtk_hci_wmt_sync() 249 bdev->evt_skb = NULL; in mtk_hci_wmt_sync() 256 static int btmtksdio_tx_packet(struct btmtksdio_dev *bdev, in btmtksdio_tx_packet() argument [all …]
|
D | hci_bcm.c | 324 struct bcm_device *bdev = data; in bcm_host_wake() local 326 bt_dev_dbg(bdev, "Host wake IRQ"); in bcm_host_wake() 328 pm_runtime_get(bdev->dev); in bcm_host_wake() 329 pm_runtime_mark_last_busy(bdev->dev); in bcm_host_wake() 330 pm_runtime_put_autosuspend(bdev->dev); in bcm_host_wake() 337 struct bcm_device *bdev = bcm->dev; in bcm_request_irq() local 341 if (!bcm_device_exists(bdev)) { in bcm_request_irq() 346 if (bdev->irq <= 0) { in bcm_request_irq() 351 err = devm_request_irq(bdev->dev, bdev->irq, bcm_host_wake, in bcm_request_irq() 352 bdev->irq_active_low ? IRQF_TRIGGER_FALLING : in bcm_request_irq() [all …]
|
/linux-6.6.21/drivers/dma/qcom/ |
D | bam_dma.c | 350 struct bam_device *bdev; member 409 static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, in bam_addr() argument 412 const struct reg_offset_data r = bdev->layout[reg]; in bam_addr() 414 return bdev->regs + r.base_offset + in bam_addr() 417 r.ee_mult * bdev->ee; in bam_addr() 424 static void bam_reset(struct bam_device *bdev) in bam_reset() argument 430 val = readl_relaxed(bam_addr(bdev, 0, BAM_CTRL)); in bam_reset() 432 writel_relaxed(val, bam_addr(bdev, 0, BAM_CTRL)); in bam_reset() 434 writel_relaxed(val, bam_addr(bdev, 0, BAM_CTRL)); in bam_reset() 441 writel_relaxed(val, bam_addr(bdev, 0, BAM_CTRL)); in bam_reset() [all …]
|
/linux-6.6.21/drivers/gpu/drm/ttm/ |
D | ttm_device.c | 126 struct ttm_device *bdev; in ttm_global_swapout() local 130 list_for_each_entry(bdev, &glob->device_list, device_list) { in ttm_global_swapout() 131 ret = ttm_device_swapout(bdev, ctx, gfp_flags); in ttm_global_swapout() 133 list_move_tail(&bdev->device_list, &glob->device_list); in ttm_global_swapout() 141 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout() argument 150 spin_lock(&bdev->lru_lock); in ttm_device_swapout() 152 man = ttm_manager_type(bdev, i); in ttm_device_swapout() 172 spin_unlock(&bdev->lru_lock); in ttm_device_swapout() 192 int ttm_device_init(struct ttm_device *bdev, const struct ttm_device_funcs *funcs, in ttm_device_init() argument 207 bdev->wq = alloc_workqueue("ttm", WQ_MEM_RECLAIM | WQ_HIGHPRI, 16); in ttm_device_init() [all …]
|
D | ttm_resource.c | 65 lockdep_assert_held(&pos->first->bo->bdev->lru_lock); in ttm_lru_bulk_move_tail() 69 man = ttm_manager_type(pos->first->bo->bdev, i); in ttm_lru_bulk_move_tail() 149 struct ttm_device *bdev = bo->bdev; in ttm_resource_move_to_lru_tail() local 151 lockdep_assert_held(&bo->bdev->lru_lock); in ttm_resource_move_to_lru_tail() 154 list_move_tail(&res->lru, &bdev->pinned); in ttm_resource_move_to_lru_tail() 164 man = ttm_manager_type(bdev, res->mem_type); in ttm_resource_move_to_lru_tail() 193 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init() 194 spin_lock(&bo->bdev->lru_lock); in ttm_resource_init() 196 list_add_tail(&res->lru, &bo->bdev->pinned); in ttm_resource_init() 200 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_init() [all …]
|
D | ttm_bo.c | 60 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug() 105 spin_lock(&bo->bdev->lru_lock); in ttm_bo_set_bulk_move() 111 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_set_bulk_move() 120 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() local 124 old_use_tt = !bo->resource || ttm_manager_type(bdev, bo->resource->mem_type)->use_tt; in ttm_bo_handle_move_mem() 125 new_use_tt = ttm_manager_type(bdev, mem->mem_type)->use_tt; in ttm_bo_handle_move_mem() 142 ret = ttm_tt_populate(bo->bdev, bo->ttm, ctx); in ttm_bo_handle_move_mem() 152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem() 179 if (bo->bdev->funcs->delete_mem_notify) in ttm_bo_cleanup_memtype_use() 180 bo->bdev->funcs->delete_mem_notify(bo); in ttm_bo_cleanup_memtype_use() [all …]
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 47 static int __bo_init(struct hmm_bo_device *bdev, struct hmm_buffer_object *bo, in __bo_init() argument 50 check_bodev_null_return(bdev, -EINVAL); in __bo_init() 51 var_equal_return(hmm_bo_device_inited(bdev), 0, -EINVAL, in __bo_init() 65 bo->bdev = bdev; in __bo_init() 68 bo->start = bdev->start; in __bo_init() 111 rb_erase(&this->node, &this->bdev->free_rbtree); in __bo_search_and_remove_from_free_rbtree() 236 static struct hmm_buffer_object *__bo_break_up(struct hmm_bo_device *bdev, in __bo_break_up() argument 244 new_bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in __bo_break_up() 249 ret = __bo_init(bdev, new_bo, pgnr); in __bo_break_up() 252 kmem_cache_free(bdev->bo_cache, new_bo); in __bo_break_up() [all …]
|
/linux-6.6.21/drivers/s390/block/ |
D | scm_blk.c | 146 static bool scm_permit_request(struct scm_blk_dev *bdev, struct request *req) in scm_permit_request() argument 148 return rq_data_dir(req) != WRITE || bdev->state != SCM_WR_PROHIBIT; in scm_permit_request() 181 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_prepare() local 182 struct scm_device *scmdev = bdev->gendisk->private_data; in scm_request_prepare() 218 static inline void scm_request_init(struct scm_blk_dev *bdev, in scm_request_init() argument 227 aobrq->scmdev = bdev->scmdev; in scm_request_init() 230 scmrq->bdev = bdev; in scm_request_init() 239 struct scm_blk_dev *bdev = scmrq->bdev; in scm_request_requeue() local 245 atomic_dec(&bdev->queued_reqs); in scm_request_requeue() 247 blk_mq_kick_requeue_list(bdev->rq); in scm_request_requeue() [all …]
|
D | scm_drv.c | 19 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_notify() local 31 scm_blk_set_available(bdev); in scm_notify() 38 struct scm_blk_dev *bdev; in scm_probe() local 47 bdev = kzalloc(sizeof(*bdev), GFP_KERNEL); in scm_probe() 48 if (!bdev) in scm_probe() 51 dev_set_drvdata(&scmdev->dev, bdev); in scm_probe() 52 ret = scm_blk_dev_setup(bdev, scmdev); in scm_probe() 55 kfree(bdev); in scm_probe() 65 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); in scm_remove() local 67 scm_blk_dev_cleanup(bdev); in scm_remove() [all …]
|
/linux-6.6.21/include/linux/ |
D | blkdev.h | 336 int blkdev_report_zones(struct block_device *bdev, sector_t sector, 338 unsigned int bdev_nr_zones(struct block_device *bdev); 339 extern int blkdev_zone_mgmt(struct block_device *bdev, enum req_op op, 345 static inline unsigned int bdev_nr_zones(struct block_device *bdev) in bdev_nr_zones() argument 679 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) in bdev_max_open_zones() argument 681 return bdev->bd_disk->max_open_zones; in bdev_max_open_zones() 684 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) in bdev_max_active_zones() argument 686 return bdev->bd_disk->max_active_zones; in bdev_max_active_zones() 702 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) in bdev_max_open_zones() argument 707 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) in bdev_max_active_zones() argument [all …]
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | comedi_bond.c | 81 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits() local 83 if (base_chan < bdev->nchans) { in bonding_dio_insn_bits() 92 b_chans = bdev->nchans - base_chan; in bonding_dio_insn_bits() 100 ret = comedi_dio_bitfield2(bdev->dev, bdev->subdev, in bonding_dio_insn_bits() 117 base_chan -= bdev->nchans; in bonding_dio_insn_bits() 131 struct bonded_device *bdev; in bonding_dio_insn_config() local 138 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs++) in bonding_dio_insn_config() 139 chan -= bdev->nchans; in bonding_dio_insn_config() 154 ret = comedi_dio_config(bdev->dev, bdev->subdev, chan, data[0]); in bonding_dio_insn_config() 157 ret = comedi_dio_get_config(bdev->dev, bdev->subdev, chan, in bonding_dio_insn_config() [all …]
|
/linux-6.6.21/drivers/input/misc/ |
D | cobalt_btns.c | 37 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() local 41 status = ~readl(bdev->reg) >> 24; in handle_buttons() 43 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 45 if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) { in handle_buttons() 47 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 51 if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) { in handle_buttons() 53 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 56 bdev->count[i] = 0; in handle_buttons() 63 struct buttons_dev *bdev; in cobalt_buttons_probe() local 68 bdev = devm_kzalloc(&pdev->dev, sizeof(*bdev), GFP_KERNEL); in cobalt_buttons_probe() [all …]
|
D | sgi_btns.c | 54 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() local 60 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 62 if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) { in handle_buttons() 64 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 68 if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) { in handle_buttons() 70 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 73 bdev->count[i] = 0; in handle_buttons() 80 struct buttons_dev *bdev; in sgi_buttons_probe() local 84 bdev = devm_kzalloc(&pdev->dev, sizeof(*bdev), GFP_KERNEL); in sgi_buttons_probe() 85 if (!bdev) in sgi_buttons_probe() [all …]
|
/linux-6.6.21/drivers/hid/ |
D | hid-picolcd_backlight.c | 17 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness() argument 19 struct picolcd_data *data = bl_get_data(bdev); in picolcd_get_brightness() 23 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness() argument 25 struct picolcd_data *data = bl_get_data(bdev); in picolcd_set_brightness() 32 data->lcd_brightness = bdev->props.brightness & 0x0ff; in picolcd_set_brightness() 33 data->lcd_power = bdev->props.power; in picolcd_set_brightness() 42 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) in picolcd_check_bl_fb() argument 44 return fb && fb == picolcd_fbinfo((struct picolcd_data *)bl_get_data(bdev)); in picolcd_check_bl_fb() 56 struct backlight_device *bdev; in picolcd_init_backlight() local 69 bdev = backlight_device_register(dev_name(dev), dev, data, in picolcd_init_backlight() [all …]
|
/linux-6.6.21/drivers/nvme/host/ |
D | pr.c | 52 static int nvme_send_ns_head_pr_command(struct block_device *bdev, in nvme_send_ns_head_pr_command() argument 55 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command() 97 static int nvme_send_pr_command(struct block_device *bdev, in nvme_send_pr_command() argument 101 bdev->bd_disk->fops == &nvme_ns_head_ops) in nvme_send_pr_command() 102 return nvme_send_ns_head_pr_command(bdev, c, data, data_len); in nvme_send_pr_command() 104 return nvme_send_ns_pr_command(bdev->bd_disk->private_data, c, data, in nvme_send_pr_command() 108 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument 121 ret = nvme_send_pr_command(bdev, &c, data, sizeof(data)); in nvme_pr_command() 128 static int nvme_pr_register(struct block_device *bdev, u64 old, in nvme_pr_register() argument 139 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register() [all …]
|
/linux-6.6.21/drivers/input/keyboard/ |
D | gpio_keys_polled.c | 48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event() local 54 __set_bit(button->code, bdev->rel_axis_seen); in gpio_keys_button_event() 59 __set_bit(button->code, bdev->abs_axis_seen); in gpio_keys_button_event() 89 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_polled_poll() local 90 const struct gpio_keys_platform_data *pdata = bdev->pdata; in gpio_keys_polled_poll() 93 memset(bdev->rel_axis_seen, 0, sizeof(bdev->rel_axis_seen)); in gpio_keys_polled_poll() 94 memset(bdev->abs_axis_seen, 0, sizeof(bdev->abs_axis_seen)); in gpio_keys_polled_poll() 97 struct gpio_keys_button_data *bdata = &bdev->data[i]; in gpio_keys_polled_poll() 110 if (!test_bit(i, bdev->rel_axis_seen)) in gpio_keys_polled_poll() 115 if (!test_bit(i, bdev->abs_axis_seen)) in gpio_keys_polled_poll() [all …]
|
/linux-6.6.21/include/drm/ttm/ |
D | ttm_device.h | 85 int (*ttm_tt_populate)(struct ttm_device *bdev, 96 void (*ttm_tt_unpopulate)(struct ttm_device *bdev, 108 void (*ttm_tt_destroy)(struct ttm_device *bdev, struct ttm_tt *ttm); 170 int (*io_mem_reserve)(struct ttm_device *bdev, 172 void (*io_mem_free)(struct ttm_device *bdev, 272 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, 276 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() argument 280 return bdev->man_drv[mem_type]; in ttm_manager_type() 283 static inline void ttm_set_driver_manager(struct ttm_device *bdev, int type, in ttm_set_driver_manager() argument 287 bdev->man_drv[type] = manager; in ttm_set_driver_manager() [all …]
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 55 static int radeon_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, 57 static void radeon_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm); 59 struct radeon_device *radeon_get_rdev(struct ttm_device *bdev) in radeon_get_rdev() argument 64 mman = container_of(bdev, struct radeon_mman, bdev); in radeon_get_rdev() 71 return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_VRAM, in radeon_ttm_init_vram() 77 return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_TT, in radeon_ttm_init_gtt() 149 rdev = radeon_get_rdev(bo->bdev); in radeon_move_blit() 204 r = radeon_ttm_tt_bind(bo->bdev, bo->ttm, new_mem); in radeon_bo_move() 214 rdev = radeon_get_rdev(bo->bdev); in radeon_bo_move() 228 radeon_ttm_tt_unbind(bo->bdev, bo->ttm); in radeon_bo_move() [all …]
|
/linux-6.6.21/drivers/pci/controller/ |
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 31 return bcma_core_irq(bdev, 5); in iproc_bcma_pcie_map_irq() 34 static int iproc_bcma_pcie_probe(struct bcma_device *bdev) in iproc_bcma_pcie_probe() argument 36 struct device *dev = &bdev->dev; in iproc_bcma_pcie_probe() 50 pcie->base = bdev->io_addr; in iproc_bcma_pcie_probe() 56 pcie->base_addr = bdev->addr; in iproc_bcma_pcie_probe() 58 pcie->mem.start = bdev->addr_s[0]; in iproc_bcma_pcie_probe() 59 pcie->mem.end = bdev->addr_s[0] + SZ_128M - 1; in iproc_bcma_pcie_probe() 69 bcma_set_drvdata(bdev, pcie); in iproc_bcma_pcie_probe() 74 static void iproc_bcma_pcie_remove(struct bcma_device *bdev) in iproc_bcma_pcie_remove() argument [all …]
|