Lines Matching refs:periodic

2331 		switch (effect->u.periodic.waveform) {  in hidpp_ff_upload_effect()
2348 …hid_err(data->hidpp->hid_dev, "Unexpected periodic waveform type %i!\n", effect->u.periodic.wavefo… in hidpp_ff_upload_effect()
2351 force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2352 params[6] = effect->u.periodic.magnitude >> 8; in hidpp_ff_upload_effect()
2353 params[7] = effect->u.periodic.magnitude & 255; in hidpp_ff_upload_effect()
2354 params[8] = effect->u.periodic.offset >> 8; in hidpp_ff_upload_effect()
2355 params[9] = effect->u.periodic.offset & 255; in hidpp_ff_upload_effect()
2356 params[10] = effect->u.periodic.period >> 8; in hidpp_ff_upload_effect()
2357 params[11] = effect->u.periodic.period & 255; in hidpp_ff_upload_effect()
2358 params[12] = effect->u.periodic.phase >> 8; in hidpp_ff_upload_effect()
2359 params[13] = effect->u.periodic.phase & 255; in hidpp_ff_upload_effect()
2360 params[14] = effect->u.periodic.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2361 params[15] = effect->u.periodic.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2362 params[16] = effect->u.periodic.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2363 params[17] = effect->u.periodic.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2364 params[18] = effect->u.periodic.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2365 params[19] = effect->u.periodic.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2368 effect->u.periodic.magnitude, effect->direction, in hidpp_ff_upload_effect()
2369 effect->u.periodic.offset, in hidpp_ff_upload_effect()
2370 effect->u.periodic.period, in hidpp_ff_upload_effect()
2371 effect->u.periodic.phase); in hidpp_ff_upload_effect()
2373 effect->u.periodic.envelope.attack_level, in hidpp_ff_upload_effect()
2374 effect->u.periodic.envelope.attack_length, in hidpp_ff_upload_effect()
2375 effect->u.periodic.envelope.fade_level, in hidpp_ff_upload_effect()
2376 effect->u.periodic.envelope.fade_length); in hidpp_ff_upload_effect()