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

Function nlm_get_device_node

freebsd/mips/nlm/hal/iomap.h:200–204  ·  view source on GitHub ↗

* Find node on which a given Soc device is located. * input is the pci device (slot) number. */

Source from the content-addressed store, hash-verified

198 * input is the pci device (slot) number.
199 */
200static __inline__ int
201nlm_get_device_node(int device)
202{
203 return (device / 8);
204}
205
206#endif /* !LOCORE or !__ASSEMBLY */
207

Callers 2

xlp_rsa_attachFunction · 0.85
xlp_sec_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected