Lines Matching refs:reply
38 static int32_t SendVibratorMsg(uint32_t cmd, struct HdfSBuf *msg, struct HdfSBuf *reply)
47 int32_t ret = priv->ioService->dispatcher->Dispatch(&priv->ioService->object, cmd, msg, reply);
56 static int32_t ReadVibratorInfo(struct HdfSBuf *reply, struct VibratorDevice *priv)
62 if (!HdfSbufReadBuffer(reply, (const void **)&buf, &len)) {
92 struct HdfSBuf *reply = HdfSbufObtainDefaultSize();
93 if (reply == NULL) {
99 ret = SendVibratorMsg(VIBRATOR_IO_GET_INFO, NULL, reply);
102 HdfSbufRecycle(reply);
107 if (ReadVibratorInfo(reply, priv) != HDF_SUCCESS) {
108 HdfSbufRecycle(reply);
113 HdfSbufRecycle(reply);