MCPcopy Create free account
hub / github.com/facebook/time / IoctlPtpPinSetfunc

Function IoctlPtpPinSetfunc

phc/unix/linux.go:117–119  ·  view source on GitHub ↗

IoctlPtpPinSetfunc updates configuration of the specified PTP I/O pin.

(fd int, pd *PtpPinDesc)

Source from the content-addressed store, hash-verified

115
116// IoctlPtpPinSetfunc updates configuration of the specified PTP I/O pin.
117func IoctlPtpPinSetfunc(fd int, pd *PtpPinDesc) error {
118 return ioctlPtr(fd, PTP_PIN_SETFUNC2, unsafe.Pointer(pd))
119}
120
121// IoctlPtpPeroutRequest configures the periodic output mode of the PTP I/O pins.
122func IoctlPtpPeroutRequest(fd int, r *PtpPeroutRequest) error {

Callers

nothing calls this directly

Calls 1

ioctlPtrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…