Searched refs:tio (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/pps/generators/ |
| H A D | pps_gen_tio.c | 52 static inline u32 pps_tio_read(u32 offset, struct pps_tio *tio) in pps_tio_read() argument 54 return readl(tio->base + offset); in pps_tio_read() 57 static inline void pps_ctl_write(u32 value, struct pps_tio *tio) in pps_ctl_write() argument 59 writel(value, tio->base + TIOCTL); in pps_ctl_write() 66 static inline void pps_compv_write(u64 value, struct pps_tio *tio) in pps_compv_write() argument 68 hi_lo_writeq(value, tio->base + TIOCOMPV); in pps_compv_write() 71 static inline ktime_t first_event(struct pps_tio *tio) in first_event() argument 76 static u32 pps_tio_disable(struct pps_tio *tio) in pps_tio_disable() argument 80 ctrl = pps_tio_read(TIOCTL, tio); in pps_tio_disable() 81 pps_compv_write(0, tio); in pps_tio_disable() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-rq.c | 82 struct dm_rq_target_io *tio = info->tio; in end_clone_bio() local 89 if (tio->error) in end_clone_bio() 102 tio->error = error; in end_clone_bio() 110 tio->completed += nr_bytes; in end_clone_bio() 119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 130 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats() local 132 tio->duration_jiffies = jiffies - tio->duration_jiffies; in rq_end_stats() 134 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats() 135 tio->duration_jiffies, &tio->stats_aux); in rq_end_stats() 159 struct dm_rq_target_io *tio = clone->end_io_data; in dm_end_request() local [all …]
|
| H A D | dm-core.h | 254 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio)) 264 static inline bool dm_tio_flagged(struct dm_target_io *tio, unsigned int bit) in dm_tio_flagged() argument 266 return (tio->flags & (1U << bit)) != 0; in dm_tio_flagged() 269 static inline void dm_tio_set_flag(struct dm_target_io *tio, unsigned int bit) in dm_tio_set_flag() argument 271 tio->flags |= (1U << bit); in dm_tio_set_flag() 274 static inline bool dm_tio_is_normal(struct dm_target_io *tio) in dm_tio_is_normal() argument 276 return (dm_tio_flagged(tio, DM_TIO_INSIDE_DM_IO) && in dm_tio_is_normal() 277 !dm_tio_flagged(tio, DM_TIO_IS_DUPLICATE_BIO)); in dm_tio_is_normal() 304 struct dm_target_io tio; member
|
| H A D | dm.c | 574 struct dm_target_io *tio; in alloc_io() local 580 tio = clone_to_tio(clone); in alloc_io() 581 tio->flags = 0; in alloc_io() 582 dm_tio_set_flag(tio, DM_TIO_INSIDE_DM_IO); in alloc_io() 583 tio->io = NULL; in alloc_io() 585 io = container_of(tio, struct dm_io, tio); in alloc_io() 610 bio_put(&io->tio.clone); in free_io() 617 struct dm_target_io *tio; in alloc_tio() local 620 if (!ci->io->tio.io) { in alloc_tio() 622 tio = &ci->io->tio; in alloc_tio() [all …]
|
| H A D | dm-rq.h | 30 struct dm_rq_target_io *tio; member
|
| /linux/drivers/crypto/ccp/ |
| H A D | Makefile | 20 ccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += sev-dev-tsm.o sev-dev-tio.o
|
| H A D | sev-dev.c | 80 module_param_named(tio, sev_tio_enabled, bool, 0444); 81 MODULE_PARM_DESC(tio, "Enables TIO in SNP_INIT_EX");
|
| /linux/ |
| H A D | MAINTAINERS | 20856 F: Documentation/ABI/testing/sysfs-pps-gen-tio
|