Searched refs:bdev (Results 1 - 25 of 223) sorted by relevance

123456789

/drivers/staging/media/bcm2048/
H A Dradio-bcm2048.c358 static int bcm2048_send_command(struct bcm2048_device *bdev, unsigned int reg, argument
361 struct i2c_client *client = bdev->client;
364 if (!bdev->power_state) {
365 dev_err(&bdev->client->dev, "bcm2048: chip not powered!\n");
375 dev_err(&bdev->client->dev, "BCM I2C error!\n");
376 dev_err(&bdev->client->dev, "Is Bluetooth up and running?\n");
380 static int bcm2048_recv_command(struct bcm2048_device *bdev, unsigned int reg, argument
383 struct i2c_client *client = bdev->client;
385 if (!bdev->power_state) {
386 dev_err(&bdev
395 bcm2048_recv_duples(struct bcm2048_device *bdev, unsigned int reg, u8 *value, u8 duples) argument
427 bcm2048_set_power_state(struct bcm2048_device *bdev, u8 power) argument
457 bcm2048_get_power_state(struct bcm2048_device *bdev) argument
474 bcm2048_set_rds_no_lock(struct bcm2048_device *bdev, u8 rds_on) argument
501 bcm2048_get_rds_no_lock(struct bcm2048_device *bdev) argument
514 bcm2048_set_rds(struct bcm2048_device *bdev, u8 rds_on) argument
526 bcm2048_get_rds(struct bcm2048_device *bdev) argument
538 bcm2048_get_rds_pi(struct bcm2048_device *bdev) argument
543 bcm2048_set_fm_automatic_stereo_mono(struct bcm2048_device *bdev, u8 enabled) argument
562 bcm2048_set_fm_hi_lo_injection(struct bcm2048_device *bdev, u8 hi_lo) argument
581 bcm2048_get_fm_hi_lo_injection(struct bcm2048_device *bdev) argument
598 bcm2048_set_fm_frequency(struct bcm2048_device *bdev, u32 frequency) argument
621 bcm2048_get_fm_frequency(struct bcm2048_device *bdev) argument
642 bcm2048_set_fm_af_frequency(struct bcm2048_device *bdev, u32 frequency) argument
666 bcm2048_get_fm_af_frequency(struct bcm2048_device *bdev) argument
687 bcm2048_set_fm_deemphasis(struct bcm2048_device *bdev, int d) argument
713 bcm2048_get_fm_deemphasis(struct bcm2048_device *bdev) argument
734 bcm2048_set_region(struct bcm2048_device *bdev, u8 region) argument
764 bcm2048_get_region(struct bcm2048_device *bdev) argument
775 bcm2048_set_mute(struct bcm2048_device *bdev, u16 mute) argument
797 bcm2048_get_mute(struct bcm2048_device *bdev) argument
817 bcm2048_set_audio_route(struct bcm2048_device *bdev, u8 route) argument
835 bcm2048_get_audio_route(struct bcm2048_device *bdev) argument
853 bcm2048_set_dac_output(struct bcm2048_device *bdev, u8 channels) argument
870 bcm2048_get_dac_output(struct bcm2048_device *bdev) argument
888 bcm2048_set_fm_search_rssi_threshold(struct bcm2048_device *bdev, u8 threshold) argument
906 bcm2048_get_fm_search_rssi_threshold(struct bcm2048_device *bdev) argument
923 bcm2048_set_fm_search_mode_direction(struct bcm2048_device *bdev, u8 direction) argument
942 bcm2048_get_fm_search_mode_direction(struct bcm2048_device *bdev) argument
959 bcm2048_set_fm_search_tune_mode(struct bcm2048_device *bdev, u8 mode) argument
1015 bcm2048_get_fm_search_tune_mode(struct bcm2048_device *bdev) argument
1033 bcm2048_set_rds_b_block_mask(struct bcm2048_device *bdev, u16 mask) argument
1048 bcm2048_get_rds_b_block_mask(struct bcm2048_device *bdev) argument
1068 bcm2048_set_rds_b_block_match(struct bcm2048_device *bdev, u16 match) argument
1084 bcm2048_get_rds_b_block_match(struct bcm2048_device *bdev) argument
1104 bcm2048_set_rds_pi_mask(struct bcm2048_device *bdev, u16 mask) argument
1119 bcm2048_get_rds_pi_mask(struct bcm2048_device *bdev) argument
1139 bcm2048_set_rds_pi_match(struct bcm2048_device *bdev, u16 match) argument
1154 bcm2048_get_rds_pi_match(struct bcm2048_device *bdev) argument
1174 bcm2048_set_fm_rds_mask(struct bcm2048_device *bdev, u16 mask) argument
1189 bcm2048_get_fm_rds_mask(struct bcm2048_device *bdev) argument
1207 bcm2048_get_fm_rds_flags(struct bcm2048_device *bdev) argument
1225 bcm2048_get_region_bottom_frequency(struct bcm2048_device *bdev) argument
1230 bcm2048_get_region_top_frequency(struct bcm2048_device *bdev) argument
1235 bcm2048_set_fm_best_tune_mode(struct bcm2048_device *bdev, u8 mode) argument
1256 bcm2048_get_fm_best_tune_mode(struct bcm2048_device *bdev) argument
1274 bcm2048_get_fm_carrier_error(struct bcm2048_device *bdev) argument
1289 bcm2048_get_fm_rssi(struct bcm2048_device *bdev) argument
1304 bcm2048_set_rds_wline(struct bcm2048_device *bdev, u8 wline) argument
1319 bcm2048_get_rds_wline(struct bcm2048_device *bdev) argument
1338 bcm2048_checkrev(struct bcm2048_device *bdev) argument
1358 bcm2048_get_rds_rt(struct bcm2048_device *bdev, char *data) argument
1408 bcm2048_get_rds_ps(struct bcm2048_device *bdev, char *data) argument
1441 bcm2048_parse_rds_pi(struct bcm2048_device *bdev) argument
1471 bcm2048_rds_block_crc(struct bcm2048_device *bdev, int i) argument
1476 bcm2048_parse_rds_rt_block(struct bcm2048_device *bdev, int i, int index, int crc) argument
1494 bcm2048_parse_rt_match_b(struct bcm2048_device *bdev, int i) argument
1542 bcm2048_parse_rt_match_c(struct bcm2048_device *bdev, int i, int index) argument
1565 bcm2048_parse_rt_match_d(struct bcm2048_device *bdev, int i, int index) argument
1582 bcm2048_parse_rds_rt(struct bcm2048_device *bdev) argument
1622 bcm2048_parse_rds_ps_block(struct bcm2048_device *bdev, int i, int index, int crc) argument
1640 bcm2048_parse_ps_match_c(struct bcm2048_device *bdev, int i, int index) argument
1657 bcm2048_parse_ps_match_d(struct bcm2048_device *bdev, int i, int index) argument
1672 bcm2048_parse_ps_match_b(struct bcm2048_device *bdev, int i) argument
1720 bcm2048_parse_rds_ps(struct bcm2048_device *bdev) argument
1758 bcm2048_rds_fifo_receive(struct bcm2048_device *bdev) argument
1783 bcm2048_get_rds_data(struct bcm2048_device *bdev, char *data) argument
1817 bcm2048_init(struct bcm2048_device *bdev) argument
1839 bcm2048_deinit(struct bcm2048_device *bdev) argument
1862 bcm2048_probe(struct bcm2048_device *bdev) argument
1913 struct bcm2048_device *bdev; local
1948 struct bcm2048_device *bdev = dev; local
2147 bcm2048_sysfs_unregister_properties(struct bcm2048_device *bdev, int size) argument
2158 bcm2048_sysfs_register_properties(struct bcm2048_device *bdev) argument
2179 struct bcm2048_device *bdev = video_drvdata(file); local
2190 struct bcm2048_device *bdev = video_drvdata(file); local
2200 struct bcm2048_device *bdev = video_drvdata(file); local
2214 struct bcm2048_device *bdev = video_drvdata(file); local
2323 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2372 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2392 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2441 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2496 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2510 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2531 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2549 struct bcm2048_device *bdev = video_get_drvdata(video_devdata(file)); local
2597 struct bcm2048_device *bdev; local
2676 struct bcm2048_device *bdev = i2c_get_clientdata(client); local
[all...]
/drivers/s390/block/
H A Dscm_blk.c121 static bool scm_permit_request(struct scm_blk_dev *bdev, struct request *req) argument
123 return rq_data_dir(req) != WRITE || bdev->state != SCM_WR_PROHIBIT;
128 struct scm_blk_dev *bdev = scmrq->bdev; local
129 struct scm_device *scmdev = bdev->gendisk->private_data;
152 static inline void scm_request_init(struct scm_blk_dev *bdev, argument
161 aobrq->scmdev = bdev->scmdev;
165 scmrq->bdev = bdev;
171 static void scm_ensure_queue_restart(struct scm_blk_dev *bdev) argument
182 struct scm_blk_dev *bdev = scmrq->bdev; local
193 struct scm_blk_dev *bdev = scmrq->bdev; local
204 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); local
272 struct scm_blk_dev *bdev = scmrq->bdev; local
286 struct scm_blk_dev *bdev = scmrq->bdev; local
316 scm_blk_tasklet(struct scm_blk_dev *bdev) argument
354 scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) argument
426 scm_blk_dev_cleanup(struct scm_blk_dev *bdev) argument
434 scm_blk_set_available(struct scm_blk_dev *bdev) argument
[all...]
H A Dscm_drv.c18 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); local
30 scm_blk_set_available(bdev);
37 struct scm_blk_dev *bdev; local
46 bdev = kzalloc(sizeof(*bdev), GFP_KERNEL);
47 if (!bdev)
50 dev_set_drvdata(&scmdev->dev, bdev);
51 ret = scm_blk_dev_setup(bdev, scmdev);
54 kfree(bdev);
64 struct scm_blk_dev *bdev local
[all...]
H A Ddasd_genhd.c101 struct block_device *bdev; local
103 bdev = bdget_disk(block->gdp, 0);
104 if (!bdev || blkdev_get(bdev, FMODE_READ, NULL) < 0)
110 ioctl_by_bdev(bdev, BLKRRPART, 0);
115 * 0 to 1. This is done by setting device->bdev (see
118 * is why the assignment to device->bdev is done AFTER
121 block->bdev = bdev;
134 struct block_device *bdev; local
[all...]
H A Dscm_blk_cluster.c77 struct scm_blk_dev *bdev = scmrq->bdev; local
83 spin_lock(&bdev->lock);
84 list_for_each_entry(iter, &bdev->cluster_list, cluster.list) {
88 spin_unlock(&bdev->lock);
92 list_add(&scmrq->cluster.list, &bdev->cluster_list);
93 spin_unlock(&bdev->lock);
100 struct scm_blk_dev *bdev = scmrq->bdev; local
106 spin_lock_irqsave(&bdev
111 scm_blk_dev_cluster_setup(struct scm_blk_dev *bdev) argument
119 struct scm_blk_dev *bdev = scmrq->bdev; local
201 struct scm_blk_dev *bdev = scmrq->bdev; local
[all...]
H A Ddasd_ioctl.c44 dasd_ioctl_enable(struct block_device *bdev) argument
51 base = dasd_device_from_gendisk(bdev->bd_disk);
57 mutex_lock(&bdev->bd_mutex);
58 i_size_write(bdev->bd_inode,
60 mutex_unlock(&bdev->bd_mutex);
70 dasd_ioctl_disable(struct block_device *bdev) argument
77 base = dasd_device_from_gendisk(bdev->bd_disk);
93 mutex_lock(&bdev->bd_mutex);
94 i_size_write(bdev->bd_inode, 0);
95 mutex_unlock(&bdev
231 struct block_device *bdev = bdget_disk(block->gdp, 0); local
266 dasd_ioctl_format(struct block_device *bdev, void __user *argp) argument
461 dasd_ioctl_set_ro(struct block_device *bdev, void __user *argp) argument
499 dasd_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/input/misc/
H A Dcobalt_btns.c50 struct buttons_dev *bdev = dev->private; local
55 status = ~readl(bdev->reg) >> 24;
57 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) {
59 if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) {
61 input_report_key(input, bdev->keymap[i], 1);
65 if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) {
67 input_report_key(input, bdev->keymap[i], 0);
70 bdev->count[i] = 0;
77 struct buttons_dev *bdev; local
83 bdev
139 struct buttons_dev *bdev = dev_get_drvdata(dev); local
[all...]
H A Dsgi_btns.c68 struct buttons_dev *bdev = dev->private; local
75 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) {
77 if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) {
79 input_report_key(input, bdev->keymap[i], 1);
83 if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) {
85 input_report_key(input, bdev->keymap[i], 0);
88 bdev->count[i] = 0;
95 struct buttons_dev *bdev; local
100 bdev = kzalloc(sizeof(struct buttons_dev), GFP_KERNEL);
102 if (!bdev || !poll_de
146 struct buttons_dev *bdev = platform_get_drvdata(pdev); local
[all...]
/drivers/hid/
H A Dhid-picolcd_backlight.c27 static int picolcd_get_brightness(struct backlight_device *bdev) argument
29 struct picolcd_data *data = bl_get_data(bdev);
33 static int picolcd_set_brightness(struct backlight_device *bdev) argument
35 struct picolcd_data *data = bl_get_data(bdev);
42 data->lcd_brightness = bdev->props.brightness & 0x0ff;
43 data->lcd_power = bdev->props.power;
52 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) argument
54 return fb && fb == picolcd_fbinfo((struct picolcd_data *)bl_get_data(bdev));
66 struct backlight_device *bdev; local
79 bdev
94 struct backlight_device *bdev = data->backlight; local
[all...]
/drivers/dma/
H A Dqcom_bam_dma.c259 struct bam_device *bdev; member in struct:bam_chan
315 struct bam_device *bdev = bchan->bdev; local
320 writel_relaxed(1, bdev->regs + BAM_P_RST(bchan->id));
321 writel_relaxed(0, bdev->regs + BAM_P_RST(bchan->id));
339 struct bam_device *bdev = bchan->bdev; local
350 bdev->regs + BAM_P_DESC_FIFO_ADDR(bchan->id));
351 writel_relaxed(BAM_DESC_FIFO_SIZE, bdev->regs +
355 writel_relaxed(P_DEFAULT_IRQS_EN, bdev
388 struct bam_device *bdev = bchan->bdev; local
415 struct bam_device *bdev = bchan->bdev; local
474 struct bam_device *bdev = bchan->bdev; local
579 struct bam_device *bdev = bchan->bdev; local
623 process_channel_irqs(struct bam_device *bdev) argument
687 struct bam_device *bdev = data; local
758 struct bam_device *bdev = bchan->bdev; local
778 struct bam_device *bdev = bchan->bdev; local
844 struct bam_device *bdev = (struct bam_device *)data; local
896 struct bam_device *bdev = container_of(of->of_dma_data, local
916 bam_init(struct bam_device *bdev) argument
962 bam_channel_init(struct bam_device *bdev, struct bam_chan *bchan, u32 index) argument
974 struct bam_device *bdev; local
1080 struct bam_device *bdev = platform_get_drvdata(pdev); local
[all...]
/drivers/staging/comedi/drivers/
H A Dcomedi_bond.c91 struct bonded_device *bdev = *devs++; local
93 if (base_chan < bdev->nchans) {
102 b_chans = bdev->nchans - base_chan;
109 ret = comedi_dio_bitfield2(bdev->dev, bdev->subdev,
126 base_chan -= bdev->nchans;
140 struct bonded_device *bdev; local
147 for (bdev = *devs++; chan >= bdev->nchans; bdev
195 struct bonded_device *bdev; local
334 struct bonded_device *bdev; local
[all...]
/drivers/gpu/drm/shmobile/
H A Dshmob_drm_backlight.c20 static int shmob_drm_backlight_update(struct backlight_device *bdev) argument
22 struct shmob_drm_connector *scon = bl_get_data(bdev);
25 int brightness = bdev->props.brightness;
27 if (bdev->props.power != FB_BLANK_UNBLANK ||
28 bdev->props.state & BL_CORE_SUSPENDED)
34 static int shmob_drm_backlight_get_brightness(struct backlight_device *bdev) argument
36 struct shmob_drm_connector *scon = bl_get_data(bdev);
/drivers/gpu/drm/ttm/
H A Dttm_bo.c70 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument
72 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
100 ttm_mem_type_debug(bo->bdev, mem_type);
140 struct ttm_bo_device *bdev = bo->bdev; local
161 ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
166 struct ttm_bo_device *bdev = bo->bdev; local
175 man = &bdev->man[bo->mem.mem_type];
236 struct ttm_bo_device *bdev local
281 struct ttm_bo_device *bdev = bo->bdev; local
428 struct ttm_bo_device *bdev = bo->bdev; local
554 ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) argument
612 struct ttm_bo_device *bdev = local
625 struct ttm_bo_device *bdev = bo->bdev; local
645 ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) argument
651 ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) argument
662 struct ttm_bo_device *bdev = bo->bdev; local
710 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, const struct ttm_place *place, bool interruptible, bool no_wait_gpu) argument
789 struct ttm_bo_device *bdev = bo->bdev; local
868 struct ttm_bo_device *bdev = bo->bdev; local
1075 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, size_t acc_size, struct sg_table *sg, struct reservation_object *resv, void (*destroy) (struct ttm_buffer_object *)) argument
1179 ttm_bo_acc_size(struct ttm_bo_device *bdev, unsigned long bo_size, unsigned struct_size) argument
1193 ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, unsigned long bo_size, unsigned struct_size) argument
1208 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, struct ttm_buffer_object **p_bo) argument
1236 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument
1264 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1295 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1313 ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type, unsigned long p_size) argument
1410 ttm_bo_device_release(struct ttm_bo_device *bdev) argument
1453 ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob, struct ttm_bo_driver *driver, struct address_space *mapping, uint64_t file_page_offset, bool need_dma32) argument
1496 ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) argument
1515 struct ttm_bo_device *bdev = bo->bdev; local
1523 struct ttm_bo_device *bdev = bo->bdev; local
1693 ttm_bo_swapout_all(struct ttm_bo_device *bdev) argument
[all...]
H A Dttm_bo_util.c119 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, argument
122 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
125 if (!bdev->driver->io_mem_reserve)
128 return bdev->driver->io_mem_reserve(bdev, mem);
130 if (bdev->driver->io_mem_reserve &&
133 ret = bdev->driver->io_mem_reserve(bdev, mem);
144 void ttm_mem_io_free(struct ttm_bo_device *bdev, argument
147 struct ttm_mem_type_manager *man = &bdev
191 ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, void **virtual) argument
223 ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, void *virtual) argument
327 struct ttm_bo_device *bdev = bo->bdev; local
639 struct ttm_bo_device *bdev = bo->bdev; local
[all...]
H A Dttm_bo_vm.c90 struct ttm_bo_device *bdev = bo->bdev; local
101 &bdev->man[bo->mem.mem_type];
141 if (bdev->driver->fault_reserve_notify) {
142 ret = bdev->driver->fault_reserve_notify(bo);
204 if (ttm->bdev->driver->ttm_tt_populate(ttm)) {
265 WARN_ON(bo->bdev->dev_mapping != vma->vm_file->f_mapping);
284 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, argument
291 drm_vma_offset_lock_lookup(&bdev->vma_manager);
293 node = drm_vma_offset_lookup_locked(&bdev
308 ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma, struct ttm_bo_device *bdev) argument
[all...]
/drivers/ide/
H A Dide-disk_ioctl.c18 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, argument
24 err = ide_setting_ioctl(drive, bdev, cmd, arg, ide_disk_ioctl_settings);
28 err = generic_ide_ioctl(drive, bdev, cmd, arg);
/drivers/char/
H A Draw.c56 struct block_device *bdev; local
69 bdev = raw_devices[minor].binding;
71 if (!bdev)
73 igrab(bdev->bd_inode);
74 err = blkdev_get(bdev, filp->f_mode | FMODE_EXCL, raw_open);
77 err = set_blocksize(bdev, bdev_logical_block_size(bdev));
81 filp->f_mapping = bdev->bd_inode->i_mapping;
84 bdev->bd_inode->i_mapping;
85 filp->private_data = bdev;
103 struct block_device *bdev; local
124 struct block_device *bdev = filp->private_data; local
191 struct block_device *bdev; local
[all...]
/drivers/input/keyboard/
H A Dgpio_keys_polled.c71 struct gpio_keys_polled_dev *bdev = dev->private; local
72 const struct gpio_keys_platform_data *pdata = bdev->pdata;
77 struct gpio_keys_button_data *bdata = &bdev->data[i];
89 struct gpio_keys_polled_dev *bdev = dev->private; local
90 const struct gpio_keys_platform_data *pdata = bdev->pdata;
93 pdata->enable(bdev->dev);
98 struct gpio_keys_polled_dev *bdev = dev->private; local
99 const struct gpio_keys_platform_data *pdata = bdev->pdata;
102 pdata->disable(bdev->dev);
203 struct gpio_keys_polled_dev *bdev; local
[all...]
/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) argument
45 mman = container_of(bdev, struct qxl_mman, bdev);
143 r = ttm_bo_mmap(filp, vma, &qdev->mman.bdev);
155 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) argument
160 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, argument
216 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, argument
219 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
220 struct qxl_device *qdev = qxl_get_qdev(bdev);
249 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, argument
316 qxl_ttm_tt_create(struct ttm_bo_device *bdev, unsigned long size, uint32_t page_flags, struct page *dummy_read_page) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.h7 return container_of(bd, struct nouveau_drm, ttm.bdev);
/drivers/net/wireless/b43/
H A Dbus.c36 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */
45 return bcma_core_is_enabled(dev->bdev);
50 bcma_core_enable(dev->bdev, core_specific_flags);
55 bcma_core_disable(dev->bdev, core_specific_flags);
59 return bcma_read16(dev->bdev, offset);
63 return bcma_read32(dev->bdev, offset);
68 bcma_write16(dev->bdev, offset, value);
73 bcma_write32(dev->bdev, offset, value);
79 bcma_block_read(dev->bdev, buffer, count, offset, reg_width);
85 bcma_block_write(dev->bdev, buffe
[all...]
/drivers/mtd/
H A Dmtdsuper.c126 struct block_device *bdev; local
179 bdev = lookup_bdev(dev_name);
180 if (IS_ERR(bdev)) {
181 ret = PTR_ERR(bdev);
189 major = MAJOR(bdev->bd_dev);
190 mtdnr = MINOR(bdev->bd_dev);
191 bdput(bdev);
/drivers/gpu/drm/bochs/
H A Dbochs_mm.c16 return container_of(bd, struct bochs_device, ttm.bdev);
90 static int bochs_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, argument
134 static int bochs_ttm_io_mem_reserve(struct ttm_bo_device *bdev, argument
137 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
138 struct bochs_device *bochs = bochs_bdev(bdev);
163 static void bochs_ttm_io_mem_free(struct ttm_bo_device *bdev, argument
187 static struct ttm_tt *bochs_ttm_tt_create(struct ttm_bo_device *bdev, argument
198 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
219 struct ttm_bo_device *bdev = &bochs->ttm.bdev; local
[all...]
/drivers/gpu/drm/ast/
H A Dast_ttm.c35 return container_of(bd, struct ast_private, ttm.bdev);
113 ast_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, argument
156 static int ast_ttm_io_mem_reserve(struct ttm_bo_device *bdev, argument
159 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
160 struct ast_private *ast = ast_bdev(bdev);
185 static void ast_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) argument
211 static struct ttm_tt *ast_ttm_tt_create(struct ttm_bo_device *bdev, argument
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
254 struct ttm_bo_device *bdev = &ast->ttm.bdev; local
[all...]
/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c35 return container_of(bd, struct cirrus_device, ttm.bdev);
113 cirrus_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, argument
156 static int cirrus_ttm_io_mem_reserve(struct ttm_bo_device *bdev, argument
159 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
160 struct cirrus_device *cirrus = cirrus_bdev(bdev);
185 static void cirrus_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) argument
211 static struct ttm_tt *cirrus_ttm_tt_create(struct ttm_bo_device *bdev, argument
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
254 struct ttm_bo_device *bdev = &cirrus->ttm.bdev; local
[all...]

Completed in 8562 milliseconds

123456789