Home
last modified time | relevance | path

Searched refs:sb_lock (Results 1 – 9 of 9) sorted by relevance

/openbsd/sys/dev/pci/drm/i915/
H A Dintel_pcode.c60 lockdep_assert_held(&uncore->i915->sb_lock); in __snb_pcode_rw()
99 mutex_lock(&uncore->i915->sb_lock); in snb_pcode_read()
101 mutex_unlock(&uncore->i915->sb_lock); in snb_pcode_read()
117 mutex_lock(&uncore->i915->sb_lock); in snb_pcode_write_timeout()
120 mutex_unlock(&uncore->i915->sb_lock); in snb_pcode_write_timeout()
165 mutex_lock(&uncore->i915->sb_lock); in skl_pcode_request()
202 mutex_unlock(&uncore->i915->sb_lock); in skl_pcode_request()
H A Dvlv_sideband.c68 mutex_lock(&i915->sb_lock); in vlv_iosf_sb_get()
73 mutex_unlock(&i915->sb_lock); in vlv_iosf_sb_put()
87 lockdep_assert_held(&i915->sb_lock); in vlv_sideband_rw()
H A Dintel_sbi.c20 lockdep_assert_held(&i915->sb_lock); in intel_sbi_rw()
H A Di915_driver.c232 rw_init(&dev_priv->sb_lock, "sb"); in i915_driver_early_probe()
303 mutex_destroy(&dev_priv->sb_lock); in i915_driver_late_release()
H A Di915_drv.h304 struct rwlock sb_lock; member
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_pch_refclk.c111 mutex_lock(&dev_priv->sb_lock); in lpt_disable_iclkip()
117 mutex_unlock(&dev_priv->sb_lock); in lpt_disable_iclkip()
198 mutex_lock(&dev_priv->sb_lock); in lpt_program_iclkip()
221 mutex_unlock(&dev_priv->sb_lock); in lpt_program_iclkip()
239 mutex_lock(&dev_priv->sb_lock); in lpt_get_iclkip()
257 mutex_unlock(&dev_priv->sb_lock); in lpt_get_iclkip()
282 mutex_lock(&dev_priv->sb_lock); in lpt_enable_clkout_dp()
305 mutex_unlock(&dev_priv->sb_lock); in lpt_enable_clkout_dp()
313 mutex_lock(&dev_priv->sb_lock); in lpt_disable_clkout_dp()
331 mutex_unlock(&dev_priv->sb_lock); in lpt_disable_clkout_dp()
[all …]
/openbsd/sys/sys/
H A Dsocketvar.h87 struct rwlock sb_lock; member
369 rw_assert_wrlock(&sb->sb_lock); in sbassertlocked()
/openbsd/sys/kern/
H A Duipc_socket2.c549 error = rw_enter(&sb->sb_lock, rwflags); in sblock()
559 rw_exit(&sb->sb_lock); in sbunlock()
1079 rw_assert_unlocked(&sb->sb_lock); in sbflush()
H A Duipc_socket.c146 rw_init(&so->so_rcv.sb_lock, "sbufrcv"); in soalloc()
147 rw_init(&so->so_snd.sb_lock, "sbufsnd"); in soalloc()