Home
last modified time | relevance | path

Searched refs:share_count (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/clk/imx/
Dclk-gate2.c36 unsigned int *share_count; member
60 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable()
77 if (gate->share_count) { in clk_gate2_disable()
78 if (WARN_ON(*gate->share_count == 0)) in clk_gate2_disable()
80 else if (--(*gate->share_count) > 0) in clk_gate2_disable()
123 if (!gate->share_count || *gate->share_count == 0) in clk_gate2_disable_unused()
140 unsigned int *share_count) in clk_hw_register_gate2() argument
158 gate->share_count = share_count; in clk_hw_register_gate2()
Dclk.h101 cgr_val, cgr_mask, clk_gate_flags, lock, share_count) \ argument
103 cgr_val, cgr_mask, clk_gate_flags, lock, share_count))
283 unsigned int *share_count);
371 unsigned int *share_count) in __imx_clk_hw_gate2() argument
374 shift, cgr_val, 0x3, 0, &imx_ccm_lock, share_count); in __imx_clk_hw_gate2()
/linux-5.19.10/fs/btrfs/
Dbackref.c140 int share_count; member
145 return (sc && sc->share_count > 1) ? BACKREF_FOUND_SHARED : 0; in extent_is_shared()
215 sc->share_count--; in update_share_count()
217 sc->share_count++; in update_share_count()
1546 .share_count = 0, in btrfs_check_shared()
1580 shared.share_count = 0; in btrfs_check_shared()