Searched refs:pin_index (Results 1 – 2 of 2) sorted by relevance
135 unsigned int i, pin_index; in ptp_ioctl() local250 pin_index = pd.index; in ptp_ioctl()251 if (pin_index >= ops->n_pins) { in ptp_ioctl()255 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()258 pd = ops->pin_config[pin_index]; in ptp_ioctl()269 pin_index = pd.index; in ptp_ioctl()270 if (pin_index >= ops->n_pins) { in ptp_ioctl()274 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()277 err = ptp_set_pinfunc(ptp, pin_index, pd.func, pd.chan); in ptp_ioctl()
600 int pin_index; member615 int pin_index = lookup->pin_index; in acpi_populate_gpio_lookup() local617 if (pin_index >= agpio->pin_table_length) in acpi_populate_gpio_lookup()621 agpio->pin_table[pin_index]); in acpi_populate_gpio_lookup()701 lookup->pin_index = args.args[1]; in acpi_gpio_property_lookup()755 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index()936 int pin_index = (int)address; in acpi_gpio_adr_space_handler() local959 length = min(agpio->pin_table_length, (u16)(pin_index + bits)); in acpi_gpio_adr_space_handler()960 for (i = pin_index; i < length; ++i) { in acpi_gpio_adr_space_handler()