Lines Matching refs:comm
56 reset_data(struct SynapticsHwState **hw, struct CommData *comm,
59 SynapticsHwStateFree(&comm->hwState);
60 memset(comm, 0, sizeof(struct CommData));
63 comm->hwState = SynapticsHwStateAlloc(priv);
77 test_buttons(int fd, InputInfoPtr pInfo, struct CommData *comm)
83 reset_data(&hw, comm, priv);
89 EventReadHwState(pInfo, comm, hw); \
93 EventReadHwState(pInfo, comm, hw); \
124 struct CommData comm = { 0 };
144 reset_data(&hw, &comm, &private);
146 EventReadHwState(&info, &comm, hw);
150 reset_data(&hw, &comm, &private);
152 EventReadHwState(&info, &comm, hw);
156 reset_data(&hw, &comm, &private);
158 EventReadHwState(&info, &comm, hw);
162 reset_data(&hw, &comm, &private);
164 EventReadHwState(&info, &comm, hw);
168 reset_data(&hw, &comm, &private);
170 EventReadHwState(&info, &comm, hw);
175 reset_data(&hw, &comm, &private);
177 EventReadHwState(&info, &comm, hw);
181 reset_data(&hw, &comm, &private);
183 EventReadHwState(&info, &comm, hw);
187 test_buttons(fd_write, &info, &comm);
191 SynapticsHwStateFree(&comm.hwState);
232 struct CommData comm = { 0 };
269 reset_data(&hw_zero, &comm, &private);
272 reset_data(&hw, &comm, &private); \
277 EventReadHwState(&info, &comm, hw); \
315 SynapticsHwStateFree(&comm.hwState);