Home
last modified time | relevance | path

Searched full:clu (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/media/platform/renesas/vsp1/
Dvsp1_clu.c28 static inline void vsp1_clu_write(struct vsp1_clu *clu, in vsp1_clu_write() argument
43 static int clu_set_table(struct vsp1_clu *clu, struct v4l2_ctrl *ctrl) in clu_set_table() argument
48 dlb = vsp1_dl_body_get(clu->pool); in clu_set_table()
56 spin_lock_irq(&clu->lock); in clu_set_table()
57 swap(clu->clu, dlb); in clu_set_table()
58 spin_unlock_irq(&clu->lock); in clu_set_table()
66 struct vsp1_clu *clu = in clu_s_ctrl() local
71 clu_set_table(clu, ctrl); in clu_s_ctrl()
75 clu->mode = ctrl->val; in clu_s_ctrl()
178 struct vsp1_clu *clu = to_clu(&entity->subdev); in clu_configure_stream() local
[all …]
Dvsp1_clu.h34 struct vsp1_dl_body *clu; member
Dvsp1.h89 struct vsp1_clu *clu; member
Dvsp1_drv.c296 vsp1->clu = vsp1_clu_create(vsp1); in vsp1_create_entities()
297 if (IS_ERR(vsp1->clu)) { in vsp1_create_entities()
298 ret = PTR_ERR(vsp1->clu); in vsp1_create_entities()
302 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
Dvsp1_entity.c537 VSP1_ENTITY_ROUTE(CLU),
Dvsp1_regs.h537 * CLU Control Registers
/linux-6.12.1/fs/exfat/
Ddir.c72 struct exfat_chain dir, clu; in exfat_readdir() local
96 exfat_chain_dup(&clu, &dir); in exfat_readdir()
98 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_readdir()
99 clu.dir += clu_offset; in exfat_readdir()
100 clu.size -= clu_offset; in exfat_readdir()
106 clu.dir = ei->hint_bmap.clu; in exfat_readdir()
109 while (clu_offset > 0 && clu.dir != EXFAT_EOF_CLUSTER) { in exfat_readdir()
110 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_readdir()
117 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir()
121 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_readdir()
[all …]
Dfatent.c154 unsigned int clu; in __exfat_free_cluster() local
172 clu = p_chain->dir; in __exfat_free_cluster()
175 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in __exfat_free_cluster()
182 if (clu < last_cluster) in __exfat_free_cluster()
184 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster()
187 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
192 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
193 clu++; in __exfat_free_cluster()
199 unsigned int n_clu = clu; in __exfat_free_cluster()
213 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
[all …]
Dballoc.c80 struct exfat_chain clu; in exfat_load_bitmap() local
83 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
84 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
89 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_load_bitmap()
108 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_load_bitmap()
125 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_set_bitmap() argument
132 if (!is_valid_cluster(sbi, clu)) in exfat_set_bitmap()
135 ent_idx = CLUSTER_TO_BITMAP_ENT(clu); in exfat_set_bitmap()
144 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument
152 if (!is_valid_cluster(sbi, clu)) in exfat_clear_bitmap()
[all …]
Dfile.c26 struct exfat_chain clu; in exfat_cont_expand() local
39 exfat_chain_set(&clu, ei->start_clu, num_clusters, ei->flags); in exfat_cont_expand()
40 ret = exfat_find_last_cluster(sb, &clu, &last_clu); in exfat_cont_expand()
44 clu.dir = last_clu + 1; in exfat_cont_expand()
47 clu.dir = EXFAT_EOF_CLUSTER; in exfat_cont_expand()
50 clu.size = 0; in exfat_cont_expand()
51 clu.flags = ei->flags; in exfat_cont_expand()
54 &clu, inode_needs_sync(inode)); in exfat_cont_expand()
60 if (clu.flags != ei->flags) in exfat_cont_expand()
64 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_cont_expand()
[all …]
Dinode.c124 * *clu = (~0), if it's unable to allocate a new cluster
127 unsigned int *clu, int create) in exfat_map_cluster() argument
144 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
148 *clu = last_clu = ei->start_clu; in exfat_map_cluster()
151 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
155 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
157 *clu += clu_offset; in exfat_map_cluster()
162 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
172 /* hint_bmap.clu should be valid */ in exfat_map_cluster()
173 WARN_ON(ei->hint_bmap.clu < 2); in exfat_map_cluster()
[all …]
Dnamei.c214 struct exfat_chain clu; in exfat_search_empty_slot() local
234 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
236 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
241 clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
244 ret = exfat_get_empty_dentry_set(es, sb, &clu, i, num_entries); in exfat_search_empty_slot()
254 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
255 if (--clu.size > 0) in exfat_search_empty_slot()
256 clu.dir++; in exfat_search_empty_slot()
258 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
260 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
[all …]
Dexfat_fs.h112 #define EXFAT_CLU_TO_DEN(clu, sbi) \ argument
113 ((clu) << ((sbi)->cluster_size_bits - DENTRY_SIZE_BITS))
130 #define CLUSTER_TO_BITMAP_ENT(clu) ((clu) - EXFAT_RESERVED_CLUSTERS) argument
139 #define IGNORED_BITS_REMAINED(clu, clu_base) ((1UL << ((clu) - (clu_base))) - 1) argument
187 unsigned int clu; member
445 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu);
454 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync);
455 void exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync);
456 unsigned int exfat_find_free_bitmap(struct super_block *sb, unsigned int clu);
503 int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu);
Dnls.c748 struct exfat_chain clu; in exfat_create_upcase_table() local
753 clu.dir = sbi->root_dir; in exfat_create_upcase_table()
754 clu.flags = ALLOC_FAT_CHAIN; in exfat_create_upcase_table()
756 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
758 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_create_upcase_table()
792 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_create_upcase_table()
Dsuper.c81 buf->f_blocks = sbi->num_clusters - 2; /* clu 0 & 1 */ in exfat_statfs()
389 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root()
/linux-6.12.1/Documentation/devicetree/bindings/display/
Drenesas,cmm.yaml17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color