/device/google/contexthub/firmware/os/drivers/hall/ |
D | hall.c | 52 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/ |
D | vsync.c | 72 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/ |
D | ams_tmd4903.c | 226 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/ |
D | rohm_rpr0521.c | 225 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/ |
D | synaptics_s3708.c | 145 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/ |
D | hall_twopole.c | 121 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/ |
D | st_acc44.c | 464 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/ |
D | sim_service.cpp | 191 bool SimService::PinStatus::VerifyPIN(const std::string_view pin) { in VerifyPIN() argument 192 if (pin.size() < kSimPinSizeRange.first || pin.size() > kSimPinSizeRange.second) { in VerifyPIN() 196 if (!CheckPasswordValid(pin)) { in VerifyPIN() 205 if (pin == temp) { // C++20 remove Operator!= in VerifyPIN() 1069 bool SimService::checkPin1AndAdjustSimStatus(std::string_view pin) { in checkPin1AndAdjustSimStatus() argument 1070 if (pin1_status_.VerifyPIN(pin) == true) { in checkPin1AndAdjustSimStatus() 1144 std::string_view pin, in ChangePin1AndAdjustSimStatus() argument 1146 if (pin1_status_.ChangePIN(mode, pin, new_pin) == true) { in ChangePin1AndAdjustSimStatus() 1183 auto pin = cmd.GetNextStr(','); in HandleChangeOrEnterPIN() local 1186 if (ChangePin1AndAdjustSimStatus(PinStatus::WITH_PIN, pin, new_pin)) { in HandleChangeOrEnterPIN()
|
D | sim_service.h | 203 bool VerifyPIN(const std::string_view pin); 214 std::string_view pin,
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 680 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/cuttlefish_vmm/qemu/third_party/.cargo/ |
D | config.toml | 12 pin-utils = { path = "rust/crates/pin-utils" }
|
/device/google/gs-common/ramdump_and_coredump/sepolicy/ |
D | ramdump.te | 9 # f2fs set pin file requires sys_admin
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 1867 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/cuttlefish_vmm/x86_64-linux-gnu/ |
D | Cargo.lock | 624 "pin-utils", 1277 "pin-project-lite", 1278 "pin-utils", 2087 name = "pin-project-lite" 2093 name = "pin-utils"
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | Cargo.lock | 624 "pin-utils", 1277 "pin-project-lite", 1278 "pin-utils", 2087 name = "pin-project-lite" 2093 name = "pin-utils"
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | README | 36 #define LSM6DSM_SPI_SLAVE_CS_GPIO GPIO_PB(12) /* SPI NSS pin, on …
|
D | st_lsm6dsm.c | 1492 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/bosch_bmi160/ |
D | bosch_bmi160.c | 1026 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/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 2025 ioapic_set_remote_irr(int n) "set remote irr for pin %d" 2026 ioapic_clear_remote_irr(int n, int vector) "clear remote irr for pin %d vector %d" 3291 pci_nvme_irq_pin(void) "pulsing IRQ pin" 3629 spapr_pci_lsi_set(const char *busname, int pin, uint32_t irq) "%s PIN%d IRQ %u" 3753 ppc_irq_set(void *env, uint32_t pin, uint32_t level) "env [%p] pin %d level %d" 5116 vfio_platform_eoi(int pin, int fd) "EOI IRQ pin %d (fd=%d)" 5117 vfio_platform_intp_mmap_enable(int pin) "IRQ #%d still active, stay in slow path" 5118 vfio_platform_intp_interrupt(int pin, int fd) "Inject IRQ #%d (fd = %d)" 5119 vfio_platform_intp_inject_pending_lockheld(int pin, int fd) "Inject pending IRQ #%d (fd = %d)" 5120 vfio_platform_populate_interrupts(int pin, int count, int flags) "- IRQ index %d: count %d, flags=0… [all …]
|
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 2025 ioapic_set_remote_irr(int n) "set remote irr for pin %d" 2026 ioapic_clear_remote_irr(int n, int vector) "clear remote irr for pin %d vector %d" 3291 pci_nvme_irq_pin(void) "pulsing IRQ pin" 3629 spapr_pci_lsi_set(const char *busname, int pin, uint32_t irq) "%s PIN%d IRQ %u" 3753 ppc_irq_set(void *env, uint32_t pin, uint32_t level) "env [%p] pin %d level %d" 5116 vfio_platform_eoi(int pin, int fd) "EOI IRQ pin %d (fd=%d)" 5117 vfio_platform_intp_mmap_enable(int pin) "IRQ #%d still active, stay in slow path" 5118 vfio_platform_intp_interrupt(int pin, int fd) "Inject IRQ #%d (fd = %d)" 5119 vfio_platform_intp_inject_pending_lockheld(int pin, int fd) "Inject pending IRQ #%d (fd = %d)" 5120 vfio_platform_populate_interrupts(int pin, int count, int flags) "- IRQ index %d: count %d, flags=0… [all …]
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril_service.cpp | 215 Return<void> supplyIccPinForApp(int32_t serial, const hidl_string& pin, 219 const hidl_string& pin, const hidl_string& aid); 1115 Return<void> RadioImpl_1_6::supplyIccPinForApp(int32_t serial, const hidl_string& pin, in supplyIccPinForApp() argument 1121 2, pin.c_str(), aid.c_str()); in supplyIccPinForApp() 1126 const hidl_string& pin, const hidl_string& aid) { in supplyIccPukForApp() argument 1131 3, puk.c_str(), pin.c_str(), aid.c_str()); in supplyIccPukForApp()
|