MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mtk_sysctl_set

Function mtk_sysctl_set

freebsd/mips/mediatek/mtk_sysctl.c:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void
154mtk_sysctl_set(uint32_t reg, uint32_t val)
155{
156
157 MTK_SYSCTL_LOCK(mtk_sysctl_sc);
158 bus_write_4(mtk_sysctl_sc->mem_res, reg, val);
159 MTK_SYSCTL_UNLOCK(mtk_sysctl_sc);
160}
161
162void
163mtk_sysctl_clr_set(uint32_t reg, uint32_t clr, uint32_t set)

Callers 2

mtk_usb_phy_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected