/linux/drivers/virtio/ |
H A D | virtio_input.c | 24 static void virtinput_queue_evtbuf(struct virtio_input *vi, in virtinput_queue_evtbuf() argument 30 virtqueue_add_inbuf(vi->evt, sg, 1, evtbuf, GFP_ATOMIC); in virtinput_queue_evtbuf() 35 struct virtio_input *vi = vq->vdev->priv; in virtinput_recv_events() local 40 spin_lock_irqsave(&vi->lock, flags); in virtinput_recv_events() 41 if (vi->ready) { in virtinput_recv_events() 42 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events() 43 spin_unlock_irqrestore(&vi->lock, flags); in virtinput_recv_events() 44 input_event(vi->idev, in virtinput_recv_events() 48 spin_lock_irqsave(&vi->lock, flags); in virtinput_recv_events() 49 virtinput_queue_evtbuf(vi, event); in virtinput_recv_events() [all …]
|
/linux/fs/erofs/ |
H A D | zmap.c | 27 struct erofs_inode *const vi = EROFS_I(inode); in z_erofs_load_full_lcluster() local 29 vi->inode_isize + vi->xattr_isize) + in z_erofs_load_full_lcluster() 43 m->clusterofs = 1 << vi->z_lclusterbits; in z_erofs_load_full_lcluster() 46 if (!(vi->z_advise & (Z_EROFS_ADVISE_BIG_PCLUSTER_1 | in z_erofs_load_full_lcluster() 58 if (m->clusterofs >= 1 << vi->z_lclusterbits) { in z_erofs_load_full_lcluster() 104 struct erofs_inode *const vi = EROFS_I(inode); in z_erofs_load_compact_lcluster() local 106 vi->inode_isize + vi->xattr_isize); in z_erofs_load_compact_lcluster() 107 const unsigned int lclusterbits = vi->z_lclusterbits; in z_erofs_load_compact_lcluster() 111 bool big_pcluster = vi->z_advise & Z_EROFS_ADVISE_BIG_PCLUSTER_1; in z_erofs_load_compact_lcluster() 123 if ((vi->z_advise & Z_EROFS_ADVISE_COMPACTED_2B) && in z_erofs_load_compact_lcluster() [all …]
|
H A D | inode.c | 14 struct erofs_inode *vi = EROFS_I(inode); in erofs_fill_symlink() local 17 m_pofs += vi->xattr_isize; in erofs_fill_symlink() 19 if (vi->datalayout != EROFS_INODE_FLAT_INLINE || in erofs_fill_symlink() 37 struct erofs_inode *vi = EROFS_I(inode); in erofs_read_inode() local 48 vi->nid, err); in erofs_read_inode() 56 ifmt, vi->nid); in erofs_read_inode() 61 vi->datalayout = erofs_inode_datalayout(ifmt); in erofs_read_inode() 62 if (vi->datalayout >= EROFS_INODE_DATALAYOUT_MAX) { in erofs_read_inode() 64 vi->datalayout, vi->nid); in erofs_read_inode() 71 vi->inode_isize = sizeof(struct erofs_inode_extended); in erofs_read_inode() [all …]
|
H A D | xattr.c | 30 struct erofs_inode *const vi = EROFS_I(inode); in erofs_init_inode_xattrs() local 38 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) { in erofs_init_inode_xattrs() 47 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in erofs_init_inode_xattrs() 51 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) in erofs_init_inode_xattrs() 62 if (vi->xattr_isize == sizeof(struct erofs_xattr_ibody_header)) { in erofs_init_inode_xattrs() 65 vi->xattr_isize, vi->nid); in erofs_init_inode_xattrs() 68 } else if (vi->xattr_isize < sizeof(struct erofs_xattr_ibody_header)) { in erofs_init_inode_xattrs() 69 if (vi->xattr_isize) { in erofs_init_inode_xattrs() 70 erofs_err(sb, "bogus xattr ibody @ nid %llu", vi->nid); in erofs_init_inode_xattrs() 83 it.pos = erofs_iloc(inode) + vi->inode_isize; in erofs_init_inode_xattrs() [all …]
|
H A D | data.c | 91 struct erofs_inode *vi = EROFS_I(inode); in erofs_map_blocks() local 105 if (vi->datalayout != EROFS_INODE_CHUNK_BASED) { in erofs_map_blocks() 106 tailpacking = (vi->datalayout == EROFS_INODE_FLAT_INLINE); in erofs_map_blocks() 107 if (!tailpacking && vi->startblk == EROFS_NULL_ADDR) in erofs_map_blocks() 113 map->m_pa = erofs_pos(sb, vi->startblk) + map->m_la; in erofs_map_blocks() 116 map->m_pa = erofs_iloc(inode) + vi->inode_isize + in erofs_map_blocks() 117 vi->xattr_isize + erofs_blkoff(sb, map->m_la); in erofs_map_blocks() 124 if (vi->chunkformat & EROFS_CHUNK_FORMAT_INDEXES) in erofs_map_blocks() 129 chunknr = map->m_la >> vi->chunkbits; in erofs_map_blocks() 130 pos = ALIGN(erofs_iloc(inode) + vi->inode_isize + in erofs_map_blocks() [all …]
|
/linux/drivers/parisc/ |
H A D | iosapic.c | 517 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1) in iosapic_rd_irt_entry() argument 519 struct iosapic_info *isp = vi->iosapic; in iosapic_rd_irt_entry() 520 u8 idx = vi->irqline; in iosapic_rd_irt_entry() 527 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) in iosapic_wr_irt_entry() argument 529 struct iosapic_info *isp = vi->iosapic; in iosapic_wr_irt_entry() 532 vi->irqline, isp->isi_hpa, dp0, dp1); in iosapic_wr_irt_entry() 534 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0); in iosapic_wr_irt_entry() 539 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1); in iosapic_wr_irt_entry() 551 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) in iosapic_set_irt_data() argument 554 struct irt_entry *p = vi->irte; in iosapic_set_irt_data() [all …]
|
/linux/Documentation/devicetree/bindings/display/tegra/ |
H A D | nvidia,tegra20-vi.yaml | 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vi.yaml# 15 pattern: "^vi@[0-9a-f]+$" 19 - const: nvidia,tegra20-vi 20 - const: nvidia,tegra30-vi 21 - const: nvidia,tegra114-vi 22 - const: nvidia,tegra124-vi 24 - const: nvidia,tegra132-vi 25 - const: nvidia,tegra124-vi 26 - const: nvidia,tegra210-vi 27 - const: nvidia,tegra186-vi [all …]
|
/linux/drivers/mtd/ubi/ |
H A D | gluebi.c | 272 * @vi: UBI volume description object 279 struct ubi_volume_info *vi) in gluebi_create() argument 289 mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL); in gluebi_create() 295 gluebi->vol_id = vi->vol_id; in gluebi_create() 296 gluebi->ubi_num = vi->ubi_num; in gluebi_create() 302 mtd->erasesize = vi->usable_leb_size; in gluebi_create() 314 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create() 315 mtd->size = (unsigned long long)vi->usable_leb_size * vi->size; in gluebi_create() 317 mtd->size = vi->used_bytes; in gluebi_create() 321 g = find_gluebi_nolock(vi->ubi_num, vi->vol_id); in gluebi_create() [all …]
|
H A D | nvmem.c | 61 static int ubi_nvmem_add(struct ubi_volume_info *vi) in ubi_nvmem_add() argument 63 struct device_node *np = dev_of_node(vi->dev); in ubi_nvmem_add() 74 if (WARN_ON_ONCE(vi->usable_leb_size <= 0) || in ubi_nvmem_add() 75 WARN_ON_ONCE(vi->size <= 0)) in ubi_nvmem_add() 83 config.dev = vi->dev; in ubi_nvmem_add() 84 config.name = dev_name(vi->dev); in ubi_nvmem_add() 88 config.size = vi->usable_leb_size * vi->size; in ubi_nvmem_add() 96 unv->ubi_num = vi->ubi_num; in ubi_nvmem_add() 97 unv->vol_id = vi->vol_id; in ubi_nvmem_add() 98 unv->usable_leb_size = vi->usable_leb_size; in ubi_nvmem_add() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-virtio.c | 137 struct virtio_i2c *vi = i2c_get_adapdata(adap); in virtio_i2c_xfer() local 138 struct virtqueue *vq = vi->vq; in virtio_i2c_xfer() 173 static int virtio_i2c_setup_vqs(struct virtio_i2c *vi) in virtio_i2c_setup_vqs() argument 175 struct virtio_device *vdev = vi->vdev; in virtio_i2c_setup_vqs() 177 vi->vq = virtio_find_single_vq(vdev, virtio_i2c_msg_done, "msg"); in virtio_i2c_setup_vqs() 178 return PTR_ERR_OR_ZERO(vi->vq); in virtio_i2c_setup_vqs() 193 struct virtio_i2c *vi; in virtio_i2c_probe() local 200 vi = devm_kzalloc(&vdev->dev, sizeof(*vi), GFP_KERNEL); in virtio_i2c_probe() 201 if (!vi) in virtio_i2c_probe() 204 vdev->priv = vi; in virtio_i2c_probe() [all …]
|
/linux/fs/verity/ |
H A D | open.c | 181 struct fsverity_info *vi; in fsverity_create_info() local 184 vi = kmem_cache_zalloc(fsverity_info_cachep, GFP_KERNEL); in fsverity_create_info() 185 if (!vi) in fsverity_create_info() 187 vi->inode = inode; in fsverity_create_info() 189 err = fsverity_init_merkle_tree_params(&vi->tree_params, inode, in fsverity_create_info() 200 memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); in fsverity_create_info() 202 compute_file_digest(vi->tree_params.hash_alg, desc, vi->file_digest); in fsverity_create_info() 204 err = fsverity_verify_signature(vi, desc->signature, in fsverity_create_info() 209 if (vi->tree_params.block_size != PAGE_SIZE) { in fsverity_create_info() 225 vi->tree_params.tree_pages << in fsverity_create_info() [all …]
|
H A D | measure.c | 30 const struct fsverity_info *vi; in fsverity_ioctl_measure() local 34 vi = fsverity_get_info(inode); in fsverity_ioctl_measure() 35 if (!vi) in fsverity_ioctl_measure() 37 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure() 57 if (copy_to_user(uarg->digest, vi->file_digest, hash_alg->digest_size)) in fsverity_ioctl_measure() 90 const struct fsverity_info *vi; in fsverity_get_digest() local 93 vi = fsverity_get_info(inode); in fsverity_get_digest() 94 if (!vi) in fsverity_get_digest() 97 hash_alg = vi->tree_params.hash_alg; in fsverity_get_digest() 98 memcpy(raw_digest, vi->file_digest, hash_alg->digest_size); in fsverity_get_digest() [all …]
|
H A D | verify.c | 23 struct fsverity_info *vi; member 44 static bool is_hash_block_verified(struct fsverity_info *vi, struct page *hpage, in is_hash_block_verified() argument 59 if (!vi->hash_block_verified) in is_hash_block_verified() 91 return test_bit(hblock_idx, vi->hash_block_verified); in is_hash_block_verified() 93 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified() 96 clear_bit(hblock_idx + i, vi->hash_block_verified); in is_hash_block_verified() 116 static bool verify_data_block(struct inode *inode, struct fsverity_info *vi, in verify_data_block() argument 121 const struct merkle_tree_params *params = &vi->tree_params; in verify_data_block() 212 if (is_hash_block_verified(vi, hpage, hblock_idx)) { in verify_data_block() 226 want_hash = vi->root_hash; in verify_data_block() [all …]
|
H A D | read_metadata.c | 17 const struct fsverity_info *vi, in fsverity_read_merkle_tree() argument 27 end_offset = min(offset + length, vi->tree_params.tree_size); in fsverity_read_merkle_tree() 155 const struct fsverity_info *vi; in fsverity_ioctl_read_metadata() local 160 vi = fsverity_get_info(inode); in fsverity_ioctl_read_metadata() 161 if (!vi) in fsverity_ioctl_read_metadata() 185 return fsverity_read_merkle_tree(inode, vi, buf, arg.offset, in fsverity_ioctl_read_metadata()
|
H A D | signature.c | 40 * @vi: the file's fsverity_info 53 int fsverity_verify_signature(const struct fsverity_info *vi, in fsverity_verify_signature() argument 56 const struct inode *inode = vi->inode; in fsverity_verify_signature() 57 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature() 92 memcpy(d->digest, vi->file_digest, hash_alg->digest_size); in fsverity_verify_signature()
|
/linux/lib/raid6/ |
H A D | rvv.c | 65 "vsra.vi v2, v1, 7\n" in raid6_rvv1_gen_syndrome_real() 66 "vsll.vi v3, v1, 1\n" in raid6_rvv1_gen_syndrome_real() 139 "vsra.vi v2, v1, 7\n" in raid6_rvv1_xor_syndrome_real() 140 "vsll.vi v3, v1, 1\n" in raid6_rvv1_xor_syndrome_real() 163 "vsra.vi v2, v1, 7\n" in raid6_rvv1_xor_syndrome_real() 164 "vsll.vi v3, v1, 1\n" in raid6_rvv1_xor_syndrome_real() 242 "vsra.vi v2, v1, 7\n" in raid6_rvv2_gen_syndrome_real() 243 "vsll.vi v3, v1, 1\n" in raid6_rvv2_gen_syndrome_real() 250 "vsra.vi v6, v5, 7\n" in raid6_rvv2_gen_syndrome_real() 251 "vsll.vi v7, v5, 1\n" in raid6_rvv2_gen_syndrome_real() [all …]
|
/linux/drivers/staging/media/tegra-video/ |
H A D | vi.h | 44 * struct tegra_vi_ops - Tegra VI operations 45 * @vi_enable: soc-specific operations needed to enable/disable the VI peripheral 52 * VI for capture and runs capture start and capture finish 58 int (*vi_enable)(struct tegra_vi *vi, bool on); 73 * @ops: vi operations 74 * @hw_revision: VI hw_revision 76 * @vi_max_clk_hz: VI clock max frequency 96 * @clk: main clock for VI block 97 * @vdd: vdd regulator for VI hardware, normally it is avdd_dsi_csi 99 * @ops: vi operations [all …]
|
H A D | tegra210.c | 8 * VI and CSI SoC specific data, operations and registers accessors. 18 #include "vi.h" 29 /* Tegra210 VI registers */ 40 /* Tegra210 VI CSI registers */ 146 /* Tegra210 VI registers accessors */ 150 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() 155 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read() 164 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_write() 174 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_read() 180 * Tegra210 VI channel capture operations [all …]
|
H A D | video.c | 21 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 83 * Both vi and csi channels are available now. in host1x_video_probe() 98 /* vi exit ops does not clean channels, so clean them here */ in host1x_video_probe() 99 tegra_channels_cleanup(vid->vi); in host1x_video_probe() 128 { .compatible = "nvidia,tegra20-vi", }, 132 { .compatible = "nvidia,tegra210-vi", },
|
/linux/lib/crypto/riscv/ |
H A D | chacha-riscv64-zvkb.S | 87 vror.vi \d0, \d0, 32 - 16 88 vror.vi \d1, \d1, 32 - 16 89 vror.vi \d2, \d2, 32 - 16 90 vror.vi \d3, \d3, 32 - 16 101 vror.vi \b0, \b0, 32 - 12 102 vror.vi \b1, \b1, 32 - 12 103 vror.vi \b2, \b2, 32 - 12 104 vror.vi \b3, \b3, 32 - 12 115 vror.vi \d0, \d0, 32 - 8 116 vror.vi \d1, \d1, 32 - 8 [all …]
|
/linux/scripts/dtc/ |
H A D | flattree.c | 238 struct version_info *vi) in flatten_tree() argument 249 if (vi->flags & FTF_FULLPATH) in flatten_tree() 268 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree() 275 if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { in flatten_tree() 280 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree() 288 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree() 295 struct version_info *vi) in flatten_reserve_list() argument 315 struct version_info *vi, in make_fdt_header() argument 326 fdt->version = cpu_to_fdt32(vi->version); in make_fdt_header() 327 fdt->last_comp_version = cpu_to_fdt32(vi in make_fdt_header() 348 struct version_info *vi = NULL; dt_to_blob() local 449 struct version_info *vi = NULL; dt_to_asm() local [all...] |
/linux/fs/ubifs/ |
H A D | misc.c | 17 c->vi.ubi_num, c->vi.vol_id, &vaf); in ubifs_msg() 34 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_err() 53 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_warn()
|
/linux/Documentation/translations/it_IT/process/ |
H A D | 6.Followthrough.rst | 39 comprenderanno il valore e il perché vi siete presi il disturbo di 51 fatti ancora e ancora. Se ricevete una revisione che vi sembra abbia 54 la persona, e i revisori non vi stanno attaccando personalmente. 70 Quello che si sta cercando di dire è che, quando i revisori vi inviano degli 71 appunti dovete fare attenzione alle osservazioni tecniche che vi stanno 75 comunicarvi. Se possibile, sistemate le cose che il revisore vi chiede di 163 Un giorno, se tutto va bene, vi collegherete e vedrete che la vostra patch 220 Un giorno, potreste aprire la vostra email e vedere che qualcuno vi ha 233 come qualcuno che blocca un buon lavoro senza motivo, quelle patch vi
|
/linux/Documentation/devicetree/bindings/powerpc/nintendo/ |
H A D | wii.txt | 23 1.a) The Video Interface (VI) node 30 - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi" 31 - reg : should contain the VI registers location and length 32 - interrupts : should contain the VI interrupt
|
H A D | gamecube.txt | 14 1.a) The Video Interface (VI) node 21 - compatible : should be "nintendo,flipper-vi" 22 - reg : should contain the VI registers location and length 23 - interrupts : should contain the VI interrupt
|