Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 24 of 24) sorted by relevance

/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c52 struct Gpio *pin; member
68 bool pinState = gpioGet(mTask.pin); in debounceTimerCallback()
86 bool pinState = gpioGet(data->pin); in hallIsr()
88 if (!extiIsPendingGpio(data->pin)) { in hallIsr()
100 extiClearPendingGpio(data->pin); in hallIsr()
104 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
106 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in enableInterrupt()
107 syscfgSetExtiPort(pin); in enableInterrupt()
108 extiEnableIntGpio(pin, EXTI_TRIGGER_BOTH); in enableInterrupt()
113 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
[all …]
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c72 struct Gpio *pin; member
113 if (!extiIsPendingGpio(data->pin)) { in vsyncIsr()
125 extiClearPendingGpio(data->pin); in vsyncIsr()
129 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
131 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in enableInterrupt()
132 syscfgSetExtiPort(pin); in enableInterrupt()
133 extiEnableIntGpio(pin, EXTI_TRIGGER_FALLING); in enableInterrupt()
138 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
141 extiDisableIntGpio(pin); in disableInterrupt()
159 extiClearPendingGpio(mTask.pin); in vsyncPower()
[all …]
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c226 struct Gpio *pin; member
324 if (!extiIsPendingGpio(data->pin)) { in proxIsr()
328 pinState = gpioGet(data->pin); in proxIsr()
351 extiClearPendingGpio(data->pin); in proxIsr()
355 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, enum ExtiTrigger trigger) in enableInterrupt() argument
357 extiEnableIntGpio(pin, trigger); in enableInterrupt()
362 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
365 extiDisableIntGpio(pin); in disableInterrupt()
537 extiClearPendingGpio(mTask.pin); in sensorCalibrateAls()
538 enableInterrupt(mTask.pin, &mTask.isr, EXTI_TRIGGER_FALLING); in sensorCalibrateAls()
[all …]
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c225 struct Gpio *pin; member
264 if (!extiIsPendingGpio(data->pin)) { in proxIsr()
269 pinState = gpioGet(data->pin); in proxIsr()
281 extiClearPendingGpio(data->pin); in proxIsr()
285 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
287 extiEnableIntGpio(pin, EXTI_TRIGGER_BOTH); in enableInterrupt()
292 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
295 extiDisableIntGpio(pin); in disableInterrupt()
481 extiClearPendingGpio(mTask.pin); in sensorPowerProx()
482 enableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
[all …]
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c145 struct Gpio *pin; member
163 extiEnableIntGpio(mTask.pin, EXTI_TRIGGER_FALLING); in enableInterrupt()
167 extiDisableIntGpio(mTask.pin); in enableInterrupt()
176 if (!extiIsPendingGpio(data->pin)) { in touchIsr()
182 extiClearPendingGpio(data->pin); in touchIsr()
458 if (!gpioGet(mTask.pin)) { in processI2cResponse()
576 mTask.pin = gpioRequest(TOUCH_PIN); in startTask()
577 gpioConfigInput(mTask.pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in startTask()
578 syscfgSetExtiPort(mTask.pin); in startTask()
592 extiClearPendingGpio(mTask.pin); in endTask()
[all …]
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c121 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in enableInterrupt() argument
123 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in enableInterrupt()
124 syscfgSetExtiPort(pin); in enableInterrupt()
125 extiEnableIntGpio(pin, EXTI_TRIGGER_BOTH); in enableInterrupt()
130 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in disableInterrupt() argument
133 extiDisableIntGpio(pin); in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c464 static void inline enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
466 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in enableInterrupt()
467 syscfgSetExtiPort(pin); in enableInterrupt()
468 extiEnableIntGpio(pin, EXTI_TRIGGER_RISING); in enableInterrupt()
472 static void inline disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
475 extiDisableIntGpio(pin); in disableInterrupt()
/device/google/cuttlefish/host/commands/modem_simulator/
Dsim_service.cpp189 bool SimService::PinStatus::VerifyPIN(const std::string_view pin) { in VerifyPIN() argument
190 if (pin.size() < kSimPinSizeRange.first || pin.size() > kSimPinSizeRange.second) { in VerifyPIN()
194 if (!CheckPasswordValid(pin)) { in VerifyPIN()
203 if (pin == temp) { // C++20 remove Operator!= in VerifyPIN()
960 bool SimService::checkPin1AndAdjustSimStatus(std::string_view pin) { in checkPin1AndAdjustSimStatus() argument
961 if (pin1_status_.VerifyPIN(pin) == true) { in checkPin1AndAdjustSimStatus()
976 std::string_view pin, in ChangePin1AndAdjustSimStatus() argument
978 if (pin1_status_.ChangePIN(mode, pin, new_pin) == true) { in ChangePin1AndAdjustSimStatus()
1015 auto pin = cmd.GetNextStr(','); in HandleChangeOrEnterPIN() local
1018 if (ChangePin1AndAdjustSimStatus(PinStatus::WITH_PIN, pin, new_pin)) { in HandleChangeOrEnterPIN()
Dsim_service.h198 bool VerifyPIN(const std::string_view pin);
209 std::string_view pin,
/device/google/coral-sepolicy/vendor/google/
Dramdump.te9 # f2fs set pin file requires sys_admin
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dramdump.te9 # f2fs set pin file requires sys_admin
/device/google/bonito-sepolicy/vendor/qcom/common/
Dramdump.te9 # f2fs set pin file requires sys_admin
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DCargo.lock316 "pin-project",
317 "pin-utils",
556 name = "pin-project"
561 "pin-project-internal",
565 name = "pin-project-internal"
576 name = "pin-utils"
/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DCargo.lock316 "pin-project",
317 "pin-utils",
553 name = "pin-project"
558 "pin-project-internal",
562 name = "pin-project-internal"
573 name = "pin-utils"
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c680 static void enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
682 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in enableInterrupt()
683 syscfgSetExtiPort(pin); in enableInterrupt()
684 extiEnableIntGpio(pin, EXTI_TRIGGER_RISING); in enableInterrupt()
688 static void disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
691 extiDisableIntGpio(pin); in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
DREADME36 #define LSM6DSM_SPI_SLAVE_CS_GPIO GPIO_PB(12) /* SPI NSS pin, on …
Dst_lsm6dsm.c1492 static void lsm6dsm_enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_enableInterrupt() argument
1494 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); in lsm6dsm_enableInterrupt()
1495 syscfgSetExtiPort(pin); in lsm6dsm_enableInterrupt()
1496 extiEnableIntGpio(pin, EXTI_TRIGGER_RISING); in lsm6dsm_enableInterrupt()
1505 static void lsm6dsm_disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_disableInterrupt() argument
1508 extiDisableIntGpio(pin); in lsm6dsm_disableInterrupt()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c1867 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1869 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE);
1870 syscfgSetExtiPort(pin);
1871 extiEnableIntGpio(pin, EXTI_TRIGGER_RISING);
1876 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1879 extiDisableIntGpio(pin);
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c1026 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1028 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE);
1029 syscfgSetExtiPort(pin);
1030 extiEnableIntGpio(pin, EXTI_TRIGGER_RISING);
1035 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1038 extiDisableIntGpio(pin);
/device/generic/goldfish/radio/libril/
Dril_service.cpp144 Return<void> supplyIccPinForApp(int32_t serial, const hidl_string& pin,
148 const hidl_string& pin, const hidl_string& aid);
856 Return<void> RadioImpl::supplyIccPinForApp(int32_t serial, const hidl_string& pin, in supplyIccPinForApp() argument
862 2, pin.c_str(), aid.c_str()); in supplyIccPinForApp()
867 const hidl_string& pin, const hidl_string& aid) { in supplyIccPukForApp() argument
872 3, puk.c_str(), pin.c_str(), aid.c_str()); in supplyIccPukForApp()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp154 Return<void> supplyIccPinForApp(int32_t serial, const hidl_string& pin,
158 const hidl_string& pin, const hidl_string& aid);
989 Return<void> RadioImpl_1_6::supplyIccPinForApp(int32_t serial, const hidl_string& pin, in supplyIccPinForApp() argument
995 2, pin.c_str(), aid.c_str()); in supplyIccPinForApp()
1000 const hidl_string& pin, const hidl_string& aid) { in supplyIccPukForApp() argument
1005 3, puk.c_str(), pin.c_str(), aid.c_str()); in supplyIccPukForApp()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp165 Return<void> supplyIccPinForApp(int32_t serial, const hidl_string& pin,
169 const hidl_string& pin, const hidl_string& aid);
1007 Return<void> RadioImpl_1_6::supplyIccPinForApp(int32_t serial, const hidl_string& pin, in supplyIccPinForApp() argument
1013 2, pin.c_str(), aid.c_str()); in supplyIccPinForApp()
1018 const hidl_string& pin, const hidl_string& aid) { in supplyIccPukForApp() argument
1023 3, puk.c_str(), pin.c_str(), aid.c_str()); in supplyIccPukForApp()
/device/google/crosshatch/acdbdata/OEM/sdm845-tavil-snd-card/
DworkspaceFile.qwsp1 …lhHu5EpxdGuw/Gif9Pnms+rsE3LaztAYQjkk7ky8bIcryilmbXS3e/S5/4QN9cqV4uDFrmmoou+pin/MohAvX5xNc/Q7XSdyev…
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b1332 …rrupt GPIO num is invalid����AFEClientHandler.cpp:Failed to configure GPIO pin: #lu��AFEClientHand…