Home
last modified time | relevance | path

Searched refs:shared_count (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-bio-prison-v2.c165 (*cell)->shared_count++; in __get()
168 (*cell)->shared_count = 1; in __get()
193 BUG_ON(!cell->shared_count); in __put()
194 cell->shared_count--; in __put()
197 if (!cell->shared_count) { in __put()
244 return cell->shared_count > 0; in __lock()
248 cell->shared_count = 0; in __lock()
277 if (!cell->shared_count) in __quiesce()
301 return cell->shared_count > 0; in __promote()
327 if (cell->shared_count) { in __unlock()
H A Ddm-bio-prison-v2.h49 unsigned int shared_count; member
/openbmc/linux/drivers/clk/imx/
H A Dclk.h181 #define imx_clk_hw_gate2_shared(name, parent, reg, shift, shared_count) \ argument
182 __imx_clk_hw_gate2(name, parent, reg, shift, 0x3, 0, shared_count)
184 #define imx_clk_hw_gate2_shared2(name, parent, reg, shift, shared_count) \ argument
185 __imx_clk_hw_gate2(name, parent, reg, shift, 0x3, CLK_OPS_PARENT_ENABLE, shared_count)
H A Dclk-imx93.c157 u32 *shared_count; member
327 ccgr->shared_count); in imx93_clocks_probe()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c132 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_flip_work_func()
251 &work->shared_count, in amdgpu_display_crtc_page_flip_target()
301 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_crtc_page_flip_target()
H A Damdgpu.h454 unsigned shared_count; member