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

/system/core/libcutils/
H A Dashmem-dev.c195 struct ashmem_pin pin = { offset, len }; local
202 return TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_PIN, &pin));
207 struct ashmem_pin pin = { offset, len }; local
214 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:__anon693

Completed in 179 milliseconds