Home
last modified time | relevance | path

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

/hardware/st/nfc/1.0/adaptation/
Di2clayer.c62 static int i2cSetPolarity(int fid, bool low, bool edge);
63 static int i2cResetPulse(int fid);
64 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
65 static int i2cGetGPIOState(int fid);
296 static int i2cSetPolarity(int fid, bool low, bool edge) in i2cSetPolarity() argument
316 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
328 static int i2cResetPulse(int fid) in i2cResetPulse() argument
332 if (-1 == (result = ioctl(fid, ST21NFC_PULSE_RESET, NULL))) { in i2cResetPulse()
346 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) in i2cWrite() argument
352 result = write(fid, pvBuffer, length); in i2cWrite()
[all …]
/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_config_test.c386 FILE *fid; in cal_read_persist() local
389 fid = fopen(CAL_FILE, "r"); in cal_read_persist()
390 if (fid == NULL) { in cal_read_persist()
395 while (!feof(fid)) { in cal_read_persist()
401 num = fscanf(fid, "Version: %f\n", &coef.version); in cal_read_persist()
407 num = fscanf(fid, "Mode: %d\n", &coef.mode); in cal_read_persist()
413 num = fscanf(fid, "ch1: %f %f\n", &coef.ch1_i_val, &coef.ch1_q_val); in cal_read_persist()
419 num = fscanf(fid, "ch2: %f %f\n", &coef.ch2_i_val, &coef.ch2_q_val); in cal_read_persist()
425 num = fscanf(fid, "ch3: %f %f\n", &coef.ch3_i_val, &coef.ch3_q_val); in cal_read_persist()
444 fclose(fid); in cal_read_persist()
[all …]
Doslo_data_injection_test.c187 FILE *fid = NULL; in main() local
264 fid = fopen(file_path, "r"); in main()
265 if (fid == NULL) { in main()
274 while (!feof(fid)) { in main()
275 frame_data_bytes_remaining = fread(frame_data_buf, 1, frame_size, fid); in main()
319 if (fid) in main()
320 fclose(fid); in main()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc62 static int i2cSetPolarity(int fid, bool low, bool edge);
63 static int i2cResetPulse(int fid);
64 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
65 static int i2cGetGPIOState(int fid);
310 static int i2cSetPolarity(int fid, bool low, bool edge) { in i2cSetPolarity() argument
329 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
341 static int i2cResetPulse(int fid) { in i2cResetPulse() argument
344 if (-1 == (result = ioctl(fid, ST21NFC_PULSE_RESET, NULL))) { in i2cResetPulse()
358 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) { in i2cWrite() argument
365 result = write(fid, pvBuffer, length); in i2cWrite()
[all …]
/hardware/interfaces/biometrics/fingerprint/2.1/default/
DBiometricsFingerprint.cpp184 Return<RequestStatus> BiometricsFingerprint::remove(uint32_t gid, uint32_t fid) { in remove() argument
185 return ErrorFilter(mDevice->remove(mDevice, gid, fid)); in remove()
291 msg->data.enroll.finger.fid, in notify()
295 msg->data.enroll.finger.fid, in notify()
303 msg->data.removed.finger.fid, in notify()
307 msg->data.removed.finger.fid, in notify()
314 if (msg->data.authenticated.finger.fid != 0) { in notify()
316 msg->data.authenticated.finger.fid, in notify()
323 msg->data.authenticated.finger.fid, in notify()
331 msg->data.authenticated.finger.fid, in notify()
[all …]
DBiometricsFingerprint.h60 Return<RequestStatus> remove(uint32_t gid, uint32_t fid) override;
/hardware/libhardware/include/hardware/
Dfingerprint.h81 uint32_t fid; member
241 int (*remove)(struct fingerprint_device *dev, uint32_t gid, uint32_t fid);
/hardware/libhardware/modules/fingerprint/
Dfingerprint.c59 uint32_t __unused gid, uint32_t __unused fid) { in fingerprint_remove() argument
/hardware/interfaces/biometrics/fingerprint/2.1/
DIBiometricsFingerprint.hal130 * @param fid template id to delete or 0 to delete all templates within the
137 remove(uint32_t gid, uint32_t fid) generates (RequestStatus debugErrno);
Dtypes.hal102 uint32_t fid;
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp208 for (DRMPPFeatureID fid : drm_features->second) in ToDrmFeatureId() local
209 drm_id->push_back(fid); in ToDrmFeatureId()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Lan.cpp3429 ipacm_event_data_fid* fid; in post_del_self_evt() local
3430 fid = (ipacm_event_data_fid*)malloc(sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3431 if(fid == NULL) in post_del_self_evt()
3436 memset(fid, 0, sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3439 fid->if_index = ipa_if_num; in post_del_self_evt()
3441 evt.evt_data = (void*)fid; in post_del_self_evt()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Lan.cpp3732 ipacm_event_data_fid* fid; in post_del_self_evt() local
3733 fid = (ipacm_event_data_fid*)malloc(sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3734 if(fid == NULL) in post_del_self_evt()
3739 memset(fid, 0, sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3742 fid->if_index = ipa_if_num; in post_del_self_evt()
3744 evt.evt_data = (void*)fid; in post_del_self_evt()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Lan.cpp3700 ipacm_event_data_fid* fid; in post_del_self_evt() local
3701 fid = (ipacm_event_data_fid*)malloc(sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3702 if(fid == NULL) in post_del_self_evt()
3707 memset(fid, 0, sizeof(ipacm_event_data_fid)); in post_del_self_evt()
3710 fid->if_index = ipa_if_num; in post_del_self_evt()
3712 evt.evt_data = (void*)fid; in post_del_self_evt()