Home
last modified time | relevance | path

Searched refs:mRq (Results 1 – 1 of 1) sorted by relevance

/device/google/felix/vibrator/cs40l26/
DVibMgrHwApi.h39 struct gpiohandle_request mRq; variable
77 mRq.lineoffsets[0] = mGPIOShift; in initGPIO()
78 mRq.lines = 1; in initGPIO()
79 mRq.flags = GPIOHANDLE_REQUEST_OUTPUT; in initGPIO()
81 int ret = ioctl(fd, GPIO_GET_LINEHANDLE_IOCTL, &mRq); in initGPIO()
95 ret = ioctl(mRq.fd, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); in initGPIO()
98 close(mRq.fd); in initGPIO()
107 int ret = ioctl(mRq.fd, GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); in setGPIOOutput()
110 close(mRq.fd); in setGPIOOutput()