/drivers/net/tokenring/ |
H A D | ibmtr.c | 329 struct tok_info *ti = netdev_priv(dev); local 330 iounmap(ti->mmio); 331 iounmap(ti->sram_virt); 386 struct tok_info *ti = netdev_priv(dev); local 430 t_mmio = ti->mmio; /*BMS to get virtual address */ 431 irq = ti->irq; /*BMS to display the irq! */ 483 ti->mmio = t_mmio; 491 ti->turbo = 1; 495 ti->readlog_pending = 0; 496 init_waitqueue_head(&ti 832 struct tok_info *ti = netdev_priv(dev); local 845 struct tok_info *ti; local 872 struct tok_info *ti = netdev_priv(dev); local 928 struct tok_info *ti; local 966 struct tok_info *ti = netdev_priv(dev); local 990 struct tok_info *ti = netdev_priv(dev); local 1030 struct tok_info *ti; local 1053 struct tok_info *ti = netdev_priv(dev); local 1085 map_address(struct tok_info *ti, unsigned index, __u8 *page) argument 1096 struct tok_info *ti = netdev_priv(dev); local 1178 struct tok_info *ti; local 1504 struct tok_info *ti; local 1569 struct tok_info *ti = netdev_priv(dev); local 1683 struct tok_info *ti = netdev_priv(dev); local 1854 struct tok_info *ti = netdev_priv(dev); local 1874 struct tok_info *ti; local 1892 struct tok_info *ti = netdev_priv(dev); local [all...] |
H A D | ibmtr_cs.c | 105 struct tok_info *ti; member in struct:ibmtr_dev_t 132 info->ti = netdev_priv(dev); 148 struct tok_info *ti = netdev_priv(dev); local 156 ti->sram_phys |= 1; 160 del_timer_sync(&(ti->tr_timer)); 172 struct tok_info *ti = netdev_priv(dev); local 198 ti->irq = link->irq; 199 ti->global_int_enable=GLOBAL_INT_ENABLE+((dev->irq==9) ? 2 : dev->irq); 213 ti->mmio = ioremap(link->resource[2]->start, 229 ti 270 struct tok_info *ti = netdev_priv(dev); local [all...] |
/drivers/md/ |
H A D | dm-linear.c | 28 static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 35 ti->error = "Invalid argument count"; 41 ti->error = "dm-linear: Cannot allocate linear context"; 46 ti->error = "dm-linear: Invalid device sector"; 51 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev)) { 52 ti->error = "dm-linear: Device lookup failed"; 56 ti->num_flush_requests = 1; 57 ti->num_discard_requests = 1; 58 ti 66 linear_dtr(struct dm_target *ti) argument 74 linear_map_sector(struct dm_target *ti, sector_t bi_sector) argument 81 linear_map_bio(struct dm_target *ti, struct bio *bio) argument 90 linear_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 98 linear_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 116 linear_ioctl(struct dm_target *ti, unsigned int cmd, unsigned long arg) argument 133 linear_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument 148 linear_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-flakey.c | 43 struct dm_target *ti) 60 r = dm_read_arg_group(_args, as, &argc, &ti->error); 73 ti->error = "Feature drop_writes duplicated"; 85 ti->error = "Feature corrupt_bio_byte requires parameters"; 89 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); 103 ti->error = "Invalid corrupt bio direction (r or w)"; 111 r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error); 119 r = dm_read_arg(_args + 3, as, &fc->corrupt_bio_flags, &ti->error); 127 ti->error = "Unrecognised flakey feature requested"; 132 ti 42 parse_features(struct dm_arg_set *as, struct flakey_c *fc, struct dm_target *ti) argument 151 flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 225 flakey_dtr(struct dm_target *ti) argument 233 flakey_map_sector(struct dm_target *ti, sector_t bi_sector) argument 240 flakey_map_bio(struct dm_target *ti, struct bio *bio) argument 268 flakey_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 317 flakey_end_io(struct dm_target *ti, struct bio *bio, int error, union map_info *map_context) argument 335 flakey_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 369 flakey_ioctl(struct dm_target *ti, unsigned int cmd, unsigned long arg) argument 385 flakey_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument 400 flakey_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-delay.c | 130 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 137 ti->error = "requires exactly 3 or 6 arguments"; 143 ti->error = "Cannot allocate context"; 150 ti->error = "Invalid device sector"; 156 ti->error = "Invalid delay"; 160 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), 162 ti->error = "Device lookup failed"; 171 ti->error = "Invalid write device sector"; 177 ti 216 delay_dtr(struct dm_target *ti) argument 261 delay_presuspend(struct dm_target *ti) argument 270 delay_resume(struct dm_target *ti) argument 277 delay_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 297 delay_status(struct dm_target *ti, status_type_t type, char *result, unsigned maxlen) argument 322 delay_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-zero.c | 18 static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 21 ti->error = "No arguments required"; 28 ti->num_discard_requests = 1; 36 static int zero_map(struct dm_target *ti, struct bio *bio, argument
|
H A D | dm-uevent.h | 35 struct dm_target *ti, const char *path, 52 struct dm_target *ti, const char *path, 51 dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti, const char *path, unsigned nr_valid_paths) argument
|
H A D | dm-stripe.c | 39 struct dm_target *ti; member in struct:stripe_c 55 dm_table_event(sc->ti->table); 74 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, argument 83 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), 96 static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 107 ti->error = "Not enough arguments"; 113 ti->error = "Invalid stripe count"; 119 ti->error = "Invalid chunk_size"; 128 ti 204 stripe_dtr(struct dm_target *ti) argument 265 stripe_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 305 stripe_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 336 stripe_end_io(struct dm_target *ti, struct bio *bio, int error, union map_info *map_context) argument 374 stripe_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 390 stripe_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 400 stripe_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument [all...] |
H A D | dm-raid.c | 30 * ti->len and give more flexibility in altering size and 57 struct dm_target *ti; member in struct:raid_set 100 static struct raid_set *context_alloc(struct dm_target *ti, struct raid_type *raid_type, unsigned raid_devs) argument 107 ti->error = "Insufficient number of devices"; 111 sectors_per_dev = ti->len; 114 ti->error = "Target length not divisible by number of data devices"; 120 ti->error = "Cannot allocate raid context"; 126 rs->ti = ti; 157 dm_put_device(rs->ti, r 857 analyse_superblocks(struct dm_target *ti, struct raid_set *rs) argument 956 raid_ctr(struct dm_target *ti, unsigned argc, char **argv) argument 1051 raid_dtr(struct dm_target *ti) argument 1060 raid_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 1070 raid_status(struct dm_target *ti, status_type_t type, char *result, unsigned maxlen) argument 1210 raid_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 1227 raid_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 1237 raid_presuspend(struct dm_target *ti) argument 1244 raid_postsuspend(struct dm_target *ti) argument 1251 raid_resume(struct dm_target *ti) argument [all...] |
H A D | dm-mpath.c | 62 struct dm_target *ti; member in struct:multipath 159 static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti) argument 162 struct multipath *m = ti->private; 168 dm_put_device(ti, pgpath->path.dev); 174 struct dm_target *ti) 183 free_pgpaths(&pg->pgpaths, ti); 187 static struct multipath *alloc_multipath(struct dm_target *ti) argument 207 m->ti = ti; 208 ti 173 free_priority_group(struct priority_group *pg, struct dm_target *ti) argument 527 parse_path_selector(struct dm_arg_set *as, struct priority_group *pg, struct dm_target *ti) argument 563 parse_path(struct dm_arg_set *as, struct path_selector *ps, struct dm_target *ti) argument 642 struct dm_target *ti = m->ti; local 708 struct dm_target *ti = m->ti; local 757 struct dm_target *ti = m->ti; local 803 multipath_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 916 multipath_dtr(struct dm_target *ti) argument 927 multipath_map(struct dm_target *ti, struct request *clone, union map_info *map_context) argument 1273 multipath_end_io(struct dm_target *ti, struct request *clone, int error, union map_info *map_context) argument 1301 multipath_presuspend(struct dm_target *ti) argument 1308 multipath_postsuspend(struct dm_target *ti) argument 1320 multipath_resume(struct dm_target *ti) argument 1346 multipath_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 1454 multipath_message(struct dm_target *ti, unsigned argc, char **argv) argument 1517 multipath_ioctl(struct dm_target *ti, unsigned int cmd, unsigned long arg) argument 1552 multipath_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 1587 multipath_busy(struct dm_target *ti) argument [all...] |
H A D | dm-table.c | 362 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, argument 383 dm_device_name(ti->table->md), bdevname(bdev, b), 396 dm_device_name(ti->table->md), bdevname(bdev, b), 409 dm_device_name(ti->table->md), 418 dm_device_name(ti->table->md), 458 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, argument 465 struct dm_table *t = ti->table; 516 int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev, argument 526 dm_device_name(ti->table->md), bdevname(bdev, b)); 534 dm_device_name(ti 555 dm_put_device(struct dm_target *ti, struct dm_dev *d) argument 571 adjoin(struct dm_table *table, struct dm_target *ti) argument 1296 device_flush_capable(struct dm_target *ti, struct dm_dev *dev, sector_t start, sector_t len, void *data) argument 1307 struct dm_target *ti; local 1332 struct dm_target *ti; local 1346 device_is_nonrot(struct dm_target *ti, struct dm_dev *dev, sector_t start, sector_t len, void *data) argument 1356 struct dm_target *ti; local 1436 struct dm_target *ti = t->targets; local 1470 struct dm_target *ti = t->targets + i; local 1481 struct dm_target *ti = t->targets + i; local 1525 struct dm_target *ti; local 1542 device_discard_capable(struct dm_target *ti, struct dm_dev *dev, sector_t start, sector_t len, void *data) argument 1552 struct dm_target *ti; local [all...] |
H A D | dm-verity.c | 38 struct dm_target *ti; member in struct:dm_verity 144 return v->data_start + dm_target_offset(v->ti, bi_sector); 465 static int verity_map(struct dm_target *ti, struct bio *bio, argument 468 struct dm_verity *v = ti->private; 517 static int verity_status(struct dm_target *ti, status_type_t type, argument 520 struct dm_verity *v = ti->private; 553 static int verity_ioctl(struct dm_target *ti, unsigned cmd, argument 556 struct dm_verity *v = ti->private; 560 ti->len != i_size_read(v->data_dev->bdev->bd_inode) >> SECTOR_SHIFT) 567 static int verity_merge(struct dm_target *ti, struc argument 582 verity_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 590 verity_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 603 verity_dtr(struct dm_target *ti) argument 650 verity_ctr(struct dm_target *ti, unsigned argc, char **argv) argument [all...] |
H A D | dm-raid1.c | 50 struct dm_target *ti; member in struct:mirror_set 251 static int mirror_flush(struct dm_target *ti) argument 253 struct mirror_set *ms = ti->private; 344 from.count = ms->ti->len & (region_size - 1); 398 dm_table_event(ms->ti->table); 446 return m->offset + dm_target_offset(m->ms->ti, bio->bi_sector); 477 if (dm_noflush_suspending(ms->ti)) 816 dm_table_event(ms->ti->table); 850 struct dm_target *ti, 860 ti 848 alloc_context(unsigned int nr_mirrors, uint32_t region_size, struct dm_target *ti, struct dm_dirty_log *dl) argument 911 free_context(struct mirror_set *ms, struct dm_target *ti, unsigned int m) argument 923 get_mirror(struct mirror_set *ms, struct dm_target *ti, unsigned int mirror, char **argv) argument 951 create_dirty_log(struct dm_target *ti, unsigned argc, char **argv, unsigned *args_used) argument 990 struct dm_target *ti = ms->ti; local 1036 mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1138 mirror_dtr(struct dm_target *ti) argument 1153 mirror_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 1204 mirror_end_io(struct dm_target *ti, struct bio *bio, int error, union map_info *map_context) argument 1271 mirror_presuspend(struct dm_target *ti) argument 1317 mirror_postsuspend(struct dm_target *ti) argument 1327 mirror_resume(struct dm_target *ti) argument 1364 mirror_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 1404 mirror_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-snap.c | 29 #define dm_target_is_snapshot_merge(ti) \ 30 ((ti)->type->name == dm_snapshot_merge_target_name) 53 struct dm_target *ti; member in struct:dm_snapshot 359 if (dm_target_is_snapshot_merge(s->ti) && snap_merge) 394 snap->ti->error = "Snapshot cow pairing for exception " 409 if (!dm_target_is_snapshot_merge(snap->ti)) 416 snap->ti->error = "A snapshot is already merging."; 422 snap->ti->error = "Snapshot exception store does not " 1033 static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1043 ti 1251 snapshot_dtr(struct dm_target *ti) argument 1577 snapshot_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 1691 snapshot_merge_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 1751 snapshot_end_io(struct dm_target *ti, struct bio *bio, int error, union map_info *map_context) argument 1763 snapshot_merge_presuspend(struct dm_target *ti) argument 1770 snapshot_preresume(struct dm_target *ti) argument 1796 snapshot_resume(struct dm_target *ti) argument 1831 snapshot_merge_resume(struct dm_target *ti) argument 1848 snapshot_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 1899 snapshot_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 2099 origin_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 2121 origin_dtr(struct dm_target *ti) argument 2127 origin_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 2144 origin_resume(struct dm_target *ti) argument 2151 origin_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 2169 origin_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument 2184 origin_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-crypt.c | 75 int (*ctr)(struct crypt_config *cc, struct dm_target *ti, 305 struct dm_target *ti, 314 ti->error = "Error allocating crypto tfm for ESSIV"; 320 ti->error = "Block size of ESSIV cipher does " 328 ti->error = "Failed to set key for ESSIV cipher"; 360 static int crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, argument 369 ti->error = "Digest algorithm missing for ESSIV mode"; 376 ti->error = "Error initializing ESSIV hash"; 383 ti->error = "Error kmallocing salt storage in ESSIV"; 392 essiv_tfm = setup_essiv_cpu(cc, ti, sal 304 setup_essiv_cpu(struct crypt_config *cc, struct dm_target *ti, u8 *salt, unsigned saltsize) argument 422 crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 483 crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 887 crypt_io_alloc(struct dm_target *ti, struct bio *bio, sector_t sector) argument 1361 crypt_dtr(struct dm_target *ti) argument 1411 crypt_ctr_cipher(struct dm_target *ti, char *cipher_in, char *key) argument 1577 crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1714 crypt_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 1744 crypt_status(struct dm_target *ti, status_type_t type, char *result, unsigned int maxlen) argument 1781 crypt_postsuspend(struct dm_target *ti) argument 1788 crypt_preresume(struct dm_target *ti) argument 1800 crypt_resume(struct dm_target *ti) argument 1811 crypt_message(struct dm_target *ti, unsigned argc, char **argv) argument 1847 crypt_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument 1862 crypt_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-exception-store.c | 196 int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, argument 207 ti->error = "Insufficient exception store arguments"; 213 ti->error = "Exception store allocation failed"; 223 ti->error = "Persistent flag is not P or N"; 229 ti->error = "Exception store type not recognised"; 237 r = set_chunk_size(tmp_store, argv[1], &ti->error); 243 ti->error = "Exception store type constructor failed";
|
H A D | dm-thin.c | 504 struct dm_target *ti; /* Only set if a pool target is bound */ member in struct:pool 549 struct dm_target *ti; member in struct:pool_c 1108 dm_table_event(pool->ti->table); 1541 static int thin_bio_map(struct dm_target *ti, struct bio *bio, argument 1545 struct thin_c *tc = ti->private; 1627 static int bind_control_target(struct pool *pool, struct dm_target *ti) argument 1629 struct pool_c *pt = ti->private; 1631 pool->ti = ti; 1653 static void unbind_control_target(struct pool *pool, struct dm_target *ti) argument 1843 pool_dtr(struct dm_target *ti) argument 1858 parse_pool_features(struct dm_arg_set *as, struct pool_features *pf, struct dm_target *ti) argument 1912 pool_ctr(struct dm_target *ti, unsigned argc, char **argv) argument 2050 pool_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 2080 pool_preresume(struct dm_target *ti) argument 2124 pool_resume(struct dm_target *ti) argument 2139 pool_postsuspend(struct dm_target *ti) argument 2287 pool_message(struct dm_target *ti, unsigned argc, char **argv) argument 2323 pool_status(struct dm_target *ti, status_type_t type, char *result, unsigned maxlen) argument 2408 pool_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 2416 pool_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) argument 2445 pool_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 2478 thin_dtr(struct dm_target *ti) argument 2506 thin_ctr(struct dm_target *ti, unsigned argc, char **argv) argument 2603 thin_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument 2611 thin_endio(struct dm_target *ti, struct bio *bio, int err, union map_info *map_context) argument 2648 thin_postsuspend(struct dm_target *ti) argument 2657 thin_status(struct dm_target *ti, status_type_t type, char *result, unsigned maxlen) argument 2700 thin_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 2720 thin_io_hints(struct dm_target *ti, struct queue_limits *limits) argument [all...] |
H A D | dm.c | 72 struct dm_target *ti; member in struct:dm_target_io 82 struct dm_target *ti; member in struct:dm_rq_target_io 662 dm_endio_fn endio = tio->ti->type->end_io; 668 r = endio(tio->ti, bio, error, &tio->info); 868 dm_request_endio_fn rq_end_io = tio->ti->type->rq_end_io; 871 r = rq_end_io(tio->ti, clone, error, &tio->info); 961 static sector_t max_io_len_target_boundary(sector_t sector, struct dm_target *ti) argument 963 sector_t target_offset = dm_target_offset(ti, sector); 965 return ti->len - target_offset; 968 static sector_t max_io_len(sector_t sector, struct dm_target *ti) argument 987 __map_bio(struct dm_target *ti, struct bio *clone, struct dm_target_io *tio) argument 1107 alloc_tio(struct clone_info *ci, struct dm_target *ti) argument 1119 __issue_target_request(struct clone_info *ci, struct dm_target *ti, unsigned request_nr, sector_t len) argument 1143 __issue_target_requests(struct clone_info *ci, struct dm_target *ti, unsigned num_requests, sector_t len) argument 1155 struct dm_target *ti; local 1167 __clone_and_map_simple(struct clone_info *ci, struct dm_target *ti) argument 1182 struct dm_target *ti; local 1212 struct dm_target *ti; local 1348 struct dm_target *ti; local 1563 map_request(struct dm_target *ti, struct request *clone, struct mapped_device *md) argument 1617 struct dm_target *ti; local 2020 dm_device_merge_is_compulsory(struct dm_target *ti, struct dm_dev *dev, sector_t start, sector_t len, void *data) argument 2037 struct dm_target *ti; local 2687 dm_suspended(struct dm_target *ti) argument 2693 dm_noflush_suspending(struct dm_target *ti) argument [all...] |
H A D | dm-uevent.c | 72 struct dm_target *ti, 88 if (add_uevent_var(&event->ku_env, "DM_TARGET=%s", ti->type->name)) { 178 * @ti: pointer to a dm_target 183 void dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti, argument 186 struct mapped_device *md = dm_table_get_md(ti->table); 194 event = dm_build_path_uevent(md, ti, 71 dm_build_path_uevent(struct mapped_device *md, struct dm_target *ti, enum kobject_action action, const char *dm_action, const char *path, unsigned nr_valid_paths) argument
|
H A D | dm-log.c | 148 struct dm_target *ti, 149 int (*flush_callback_fn)(struct dm_target *ti), 167 if (type->ctr(log, ti, argc, argv)) { 218 struct dm_target *ti; member in struct:log_c 344 static int _check_region_size(struct dm_target *ti, uint32_t region_size) argument 346 if (region_size < 2 || region_size > ti->len) 361 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, argument 392 !_check_region_size(ti, region_size)) { 397 region_count = dm_sector_div_up(ti->len, region_size); 405 lc->ti 147 dm_dirty_log_create(const char *type_name, struct dm_target *ti, int (*flush_callback_fn)(struct dm_target *ti), unsigned int argc, char **argv) argument 514 core_ctr(struct dm_dirty_log *log, struct dm_target *ti, unsigned int argc, char **argv) argument 540 disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, unsigned int argc, char **argv) argument [all...] |
/drivers/gpu/drm/gma500/ |
H A D | mdfld_tpo_vid.c | 34 struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; local 42 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; 43 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; 45 ((ti->hsync_offset_hi << 8) | 46 ti->hsync_offset_lo); 48 ((ti->hsync_pulse_width_hi << 8) | 49 ti->hsync_pulse_width_lo); 50 mode->htotal = mode->hdisplay + ((ti [all...] |
H A D | mdfld_tmd_vid.c | 37 struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; local 45 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; 46 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; 48 ((ti->hsync_offset_hi << 8) | \ 49 ti->hsync_offset_lo); 51 ((ti->hsync_pulse_width_hi << 8) | \ 52 ti->hsync_pulse_width_lo); 53 mode->htotal = mode->hdisplay + ((ti [all...] |
H A D | mid_bios.c | 131 struct gct_r10_timing_info ti; local 223 memcpy(&ti, pGCT, sizeof(struct gct_r10_timing_info)); 226 dp_ti->pixel_clock = ti.pixel_clock; 227 dp_ti->hactive_hi = ti.hactive_hi; 228 dp_ti->hactive_lo = ti.hactive_lo; 229 dp_ti->hblank_hi = ti.hblank_hi; 230 dp_ti->hblank_lo = ti.hblank_lo; 231 dp_ti->hsync_offset_hi = ti.hsync_offset_hi; 232 dp_ti->hsync_offset_lo = ti.hsync_offset_lo; 233 dp_ti->hsync_pulse_width_hi = ti [all...] |
H A D | oaktrail_lvds.c | 255 struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; local 265 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; 266 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; 268 ((ti->hsync_offset_hi << 8) | \ 269 ti->hsync_offset_lo); 271 ((ti->hsync_pulse_width_hi << 8) | \ 272 ti->hsync_pulse_width_lo); 273 mode->htotal = mode->hdisplay + ((ti [all...] |
/drivers/scsi/ |
H A D | sr_ioctl.c | 115 static int sr_fake_playtrkind(struct cdrom_device_info *cdi, struct cdrom_ti *ti) argument 128 if (ti->cdti_trk1 == ntracks) 129 ti->cdti_trk1 = CDROM_LEADOUT; 130 else if (ti->cdti_trk1 != CDROM_LEADOUT) 131 ti->cdti_trk1 ++; 133 trk0_te.cdte_track = ti->cdti_trk0; 135 trk1_te.cdte_track = ti->cdti_trk1; 159 struct cdrom_ti *ti) 169 cgc.cmd[4] = ti->cdti_trk0; 170 cgc.cmd[5] = ti 158 sr_play_trkind(struct cdrom_device_info *cdi, struct cdrom_ti *ti) argument [all...] |