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

Function ccp_pci_reg_write

dpdk/drivers/crypto/ccp/ccp_dev.h:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155/** CCP registers Write/Read */
156
157static inline void ccp_pci_reg_write(void *base, int offset,
158 uint32_t value)
159{
160 volatile void *reg_addr = ((uint8_t *)base + offset);
161
162 rte_write32((rte_cpu_to_le_32(value)), reg_addr);
163}
164
165static inline uint32_t ccp_pci_reg_read(void *base, int offset)
166{

Callers

nothing calls this directly

Calls 1

rte_write32Function · 0.50

Tested by

no test coverage detected