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

Function its_cmd_cwriter_offset

freebsd/arm64/arm64/gicv3_its.c:1583–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1581}
1582
1583static inline uint64_t
1584its_cmd_cwriter_offset(struct gicv3_its_softc *sc, struct its_cmd *cmd)
1585{
1586 uint64_t off;
1587
1588 off = (cmd - sc->sc_its_cmd_base) * sizeof(*cmd);
1589
1590 return (off);
1591}
1592
1593static void
1594its_cmd_wait_completion(device_t dev, struct its_cmd *cmd_first,

Callers 1

its_cmd_wait_completionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected