Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 13 of 13) 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.c396 FILE *fid; in cal_read_persist() local
399 fid = fopen(CAL_FILE, "r"); in cal_read_persist()
400 if (fid == NULL) { in cal_read_persist()
405 while (!feof(fid)) { in cal_read_persist()
411 num = fscanf(fid, "Version: %f\n", &coef.version); in cal_read_persist()
417 num = fscanf(fid, "Mode: %d\n", &coef.mode); in cal_read_persist()
423 num = fscanf(fid, "ch1: %f %f\n", &coef.ch1_i_val, &coef.ch1_q_val); in cal_read_persist()
429 num = fscanf(fid, "ch2: %f %f\n", &coef.ch2_i_val, &coef.ch2_q_val); in cal_read_persist()
435 num = fscanf(fid, "ch3: %f %f\n", &coef.ch3_i_val, &coef.ch3_q_val); in cal_read_persist()
454 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.cc70 static int i2cSetPolarity(int fid, bool low, bool edge);
71 static int i2cResetPulse(int fid);
72 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
73 static int i2cGetGPIOState(int fid);
374 static int i2cSetPolarity(int fid, bool low, bool edge) { in i2cSetPolarity() argument
393 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
405 static int i2cResetPulse(int fid) { in i2cResetPulse() argument
408 if (-1 == (result = ioctl(fid, ST21NFC_PULSE_RESET, NULL))) { in i2cResetPulse()
422 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) { in i2cWrite() argument
435 if (hal_ctrl_clk && 0 > (clk_state = ioctl(fid, ST21NFC_CLK_STATE, NULL))) { 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/interfaces/biometrics/fingerprint/2.2/default/
DBiometricsFingerprint.cpp89 Return<RequestStatus> BiometricsFingerprint::remove(uint32_t gid, uint32_t fid) { in remove() argument
90 mClientCallback->onRemoved(kDeviceId, fid, gid, 0 /* remaining */); in remove()
/hardware/libhardware/include/hardware/
Dfingerprint.h81 uint32_t fid; member
241 int (*remove)(struct fingerprint_device *dev, uint32_t gid, uint32_t fid);
/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/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()