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

Function bus_space_read_4

freebsd/x86/include/bus.h:239–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239static __inline u_int32_t
240bus_space_read_4(bus_space_tag_t tag, bus_space_handle_t handle,
241 bus_size_t offset)
242{
243
244 if (tag == X86_BUS_SPACE_IO)
245 return (inl(handle + offset));
246 return (*(volatile u_int32_t *)(handle + offset));
247}
248
249#ifdef __amd64__
250static __inline uint64_t

Callers 15

ena_reg_read32Function · 0.85
ccp_read_4Function · 0.85
mtk_detect_cpuclk_rt2880Function · 0.85
mtk_detect_cpuclk_rt305xFunction · 0.85
mtk_detect_cpuclk_rt3352Function · 0.85
mtk_detect_cpuclk_rt3883Function · 0.85
mtk_detect_cpuclk_rt5350Function · 0.85
mtk_detect_cpuclk_mt7620Function · 0.85
mtk_detect_cpuclk_mt7621Function · 0.85
mtk_detect_cpuclk_mt7628Function · 0.85
mtk_soc_try_early_detectFunction · 0.85
thunder_pem_read_configFunction · 0.85

Calls 1

inlFunction · 0.50

Tested by

no test coverage detected