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

Function iowrite32

dpdk/drivers/bus/pci/linux/pci_uio.c:619–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619static inline void iowrite32(uint32_t val, void *addr)
620{
621 (uint64_t)(uintptr_t)addr >= PIO_MAX ?
622 *(volatile uint32_t *)addr = val :
623#ifdef __GLIBC__
624 outl_p(val, (unsigned long)addr);
625#else
626 outl(val, (unsigned long)addr);
627#endif
628}
629
630#else /* !RTE_ARCH_X86 */
631

Callers 2

pci_uio_ioport_writeFunction · 0.70
mc_write_commandFunction · 0.50

Calls 1

outlFunction · 0.50

Tested by

no test coverage detected