Lines Matching refs:write
83 write(8, 0); /* Padding */
84 write(8, 0); /* nsections placeholder */
85 write(8, 0); /* repeat */
88 write(16, (PWLE_FTR_BUZZ_BIT | PWLE_FTR_DVL_BIT)
90 write(8, PWLE_WT_TYPE); /* type12 */
91 write(24, PWLE_HEADER_WORD_COUNT); /* Header word count */
92 write(24, 0); /* Body word count placeholder */
94 write(24, 0); /* Waveform length placeholder */
95 write(8, 0); /* Repeat */
96 write(12, 0); /* Wait time between repeats */
97 write(8, 0); /* nsections placeholder */
103 int DspMemChunk::write(int nbits, uint32_t val) { in write() function in aidl::android::hardware::vibrator::DspMemChunk
126 return write(nbits, val); in write()
143 write(16, delay); in constructPwleSegment()
144 write(12, amplitude); in constructPwleSegment()
145 write(12, frequency); in constructPwleSegment()
147 write(8, (flags | 1) << 4); in constructPwleSegment()
149 write(24, vbemfTarget); /* target back EMF voltage */ in constructPwleSegment()
158 return write(24 - _cachebits, 0); in flush()
172 write(8, effectVolLevel); /* amplitude */ in constructComposeSegment()
173 write(8, effectIndex); /* index */ in constructComposeSegment()
174 write(8, repeat); /* repeat */ in constructComposeSegment()
175 write(8, flags); /* flags */ in constructComposeSegment()
176 write(16, nextEffectDelay); /* delay */ in constructComposeSegment()