Searched defs:pin (Results 1 - 5 of 5) sorted by relevance

/system/core/libcutils/
H A Dashmem-dev.cpp196 ashmem_pin pin = { static_cast<uint32_t>(offset), static_cast<uint32_t>(len) }; local
203 return TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_PIN, &pin));
209 ashmem_pin pin = { static_cast<uint32_t>(offset), static_cast<uint32_t>(len) }; local
216 return TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_UNPIN, &pin));
/system/tpm/trunks/ftdi/
H A Dsupport.c136 /* For I2C we need to ensure that the clock pin is set low prior to
227 int gpio_write(struct mpsse_context* mpsse, int pin, int direction) { argument
232 mpsse->bitbang |= (1 << pin);
234 mpsse->bitbang &= ~(1 << pin);
243 if (pin < NUM_GPIOL_PINS && mpsse->status == STOPPED) {
244 /* Convert pin number (0-3) to the corresponding pin bit */
245 pin = (GPIO0 << pin);
248 mpsse->pstart |= pin;
[all...]
H A Dmpsse.c277 /* During reads and writes the chip select pin is brought low */
306 /* Keep the clock low while the CS pin is brought high to ensure we
323 * high when we set the CS pin high to prevent
326 * after the CS pin goes high.
376 /* Set the idle pin states */
553 * Sets the idle state of the chip select pin. CS idles high by default.
606 /* Set the default pin states while the clock is low since this is an I2C
1012 * Sets the specified pin high.
1015 * @pin - Pin number to set high.
1020 int PinHigh(struct mpsse_context* mpsse, int pin) { argument
1039 PinLow(struct mpsse_context* mpsse, int pin) argument
1120 PinState(struct mpsse_context* mpsse, int pin, int state) argument
[all...]
/system/bt/embdrv/sbc/decoder/include/
H A Doi_bt_spec.h152 uint8_t pin[OI_BT_PIN_CODE_SIZE]; member in struct:__anon629
/system/bt/include/hardware/
H A Dbluetooth.h91 typedef struct { uint8_t pin[16]; } __attribute__((packed)) bt_pin_code_t; member in struct:__anon678

Completed in 2387 milliseconds