/external/u-boot/include/asm-generic/ |
D | gpio.h | 117 struct gpio_desc { struct 140 static inline bool dm_gpio_is_valid(const struct gpio_desc *desc) in dm_gpio_is_valid() argument 219 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, 291 int (*xlate)(struct udevice *dev, struct gpio_desc *desc, 349 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc); 386 int dm_gpio_get_values_as_int(const struct gpio_desc *desc_list, int count); 435 int index, struct gpio_desc *desc, int flags); 459 struct gpio_desc *desc_list, int max_count, 472 int dm_gpio_request(struct gpio_desc *desc, const char *label); 494 struct gpio_desc *desc, int flags); [all …]
|
/external/u-boot/drivers/i2c/ |
D | i2c-gpio.c | 34 struct gpio_desc gpios[PIN_COUNT]; 37 static int i2c_gpio_sda_get(struct gpio_desc *sda) in i2c_gpio_sda_get() 42 static void i2c_gpio_sda_set(struct gpio_desc *sda, int bit) in i2c_gpio_sda_set() 50 static void i2c_gpio_scl_set(struct gpio_desc *scl, int bit) in i2c_gpio_scl_set() 59 static void i2c_gpio_write_bit(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_write_bit() 70 static int i2c_gpio_read_bit(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_read_bit() 86 static void i2c_gpio_send_start(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_start() 99 static void i2c_gpio_send_stop(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_stop() 113 static void i2c_gpio_send_ack(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_ack() 126 static void i2c_gpio_send_reset(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_reset() [all …]
|
D | i2c-uclass.c | 458 static void i2c_gpio_set_pin(struct gpio_desc *pin, int bit) in i2c_gpio_set_pin() 468 static int i2c_gpio_get_pin(struct gpio_desc *pin) in i2c_gpio_get_pin() 473 static int i2c_deblock_gpio_loop(struct gpio_desc *sda_pin, in i2c_deblock_gpio_loop() 474 struct gpio_desc *scl_pin) in i2c_deblock_gpio_loop() 511 struct gpio_desc gpios[PIN_COUNT]; in i2c_deblock_gpio()
|
/external/u-boot/drivers/gpio/ |
D | gpio-uclass.c | 29 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device() 52 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name() 94 struct gpio_desc desc; in gpio_lookup_name() 116 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, in gpio_xlate_offs_flags() 133 static int gpio_find_and_xlate(struct gpio_desc *desc, in gpio_find_and_xlate() 144 int dm_gpio_request(struct gpio_desc *desc, const char *label) in dm_gpio_request() 169 static int dm_gpio_requestf(struct gpio_desc *desc, const char *fmt, ...) in dm_gpio_requestf() 198 struct gpio_desc desc; in gpio_request() 263 struct gpio_desc desc; in gpio_free() 273 static int check_reserved(const struct gpio_desc *desc, const char *func) in check_reserved() [all …]
|
D | 74x164_gpio.c | 33 struct gpio_desc oe; 107 static int gen_74x164_xlate(struct udevice *dev, struct gpio_desc *desc, in gen_74x164_xlate()
|
/external/u-boot/drivers/demo/ |
D | demo-shape.c | 23 struct gpio_desc gpio_desc[8]; member 97 struct gpio_desc *desc; in set_light() 101 desc = priv->gpio_desc; in set_light() 116 struct gpio_desc *desc; in get_light() 121 desc = priv->gpio_desc; in get_light() 164 ret = gpio_request_list_by_name(dev, "light-gpios", priv->gpio_desc, in dm_shape_probe() 165 ARRAY_SIZE(priv->gpio_desc), in dm_shape_probe() 179 return gpio_free_list(dev, priv->gpio_desc, priv->gpio_count); in dm_shape_remove()
|
/external/u-boot/include/ |
D | video_bridge.h | 20 struct gpio_desc sleep; 21 struct gpio_desc reset; 22 struct gpio_desc hotplug;
|
/external/u-boot/board/renesas/ulcb/ |
D | cpld.c | 24 struct gpio_desc miso; 25 struct gpio_desc mosi; 26 struct gpio_desc sck; 27 struct gpio_desc sstbz;
|
/external/kernel-headers/original/uapi/linux/ |
D | synclink.h | 231 struct gpio_desc { struct 292 #define MGSL_IOCSGPIO _IOW(MGSL_MAGIC_IOC,16,struct gpio_desc) 293 #define MGSL_IOCGGPIO _IOR(MGSL_MAGIC_IOC,17,struct gpio_desc) 294 #define MGSL_IOCWAITGPIO _IOWR(MGSL_MAGIC_IOC,18,struct gpio_desc)
|
/external/u-boot/drivers/spi/ |
D | soft_spi.c | 23 struct gpio_desc cs; 24 struct gpio_desc sclk; 25 struct gpio_desc mosi; 26 struct gpio_desc miso;
|
/external/u-boot/drivers/i2c/muxes/ |
D | i2c-mux-gpio.c | 33 struct gpio_desc *gpios; 74 struct gpio_desc *gpios; in i2c_mux_gpio_probe() 101 gpios = devm_kzalloc(dev, sizeof(struct gpio_desc) * mux->n_gpios, in i2c_mux_gpio_probe()
|
D | i2c-arb-gpio-challenge.c | 16 struct gpio_desc ap_claim; 17 struct gpio_desc ec_claim;
|
/external/u-boot/arch/arm/include/asm/mach-imx/ |
D | mxc_i2c.h | 56 struct gpio_desc scl_gpio; 57 struct gpio_desc sda_gpio;
|
/external/u-boot/drivers/power/regulator/ |
D | fixed.c | 17 struct gpio_desc gpio; /* GPIO for regulator enable control */ 25 struct gpio_desc *gpio; in fixed_regulator_ofdata_to_platdata()
|
D | gpio-regulator.c | 21 struct gpio_desc gpio; /* GPIO for regulator voltage control */ 30 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata()
|
/external/u-boot/board/qualcomm/dragonboard410c/ |
D | dragonboard410c.c | 47 static struct gpio_desc hub_reset, usb_sel; in board_prepare_usb() 116 struct gpio_desc resin; in misc_init_r()
|
/external/u-boot/board/logicpd/imx6/ |
D | imx6logic.c | 66 struct gpio_desc nint; in fixup_enet_clock() 67 struct gpio_desc reset; in fixup_enet_clock()
|
/external/u-boot/board/gdsys/a38x/ |
D | ihs_phys.c | 68 struct gpio_desc gpio = {}; in calculate_octo_phy_mask() 212 struct gpio_desc mdc_gpio; 213 struct gpio_desc mdio_gpio;
|
D | dt_helpers.h | 12 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
|
D | dt_helpers.c | 28 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name, in request_gpio_by_name()
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl_stm32.c | 17 static int stm32_gpio_config(struct gpio_desc *desc, in stm32_gpio_config() 118 struct gpio_desc desc; in stm32_pinctrl_config()
|
/external/u-boot/include/power/ |
D | act8846_pmic.h | 32 struct gpio_desc pwr_hold;
|
/external/u-boot/board/dfi/dfi-bt700/ |
D | dfi-bt700.c | 33 struct gpio_desc desc; in board_late_init()
|
/external/u-boot/board/intel/minnowmax/ |
D | minnowmax.c | 17 struct gpio_desc desc; in misc_init_r()
|
/external/u-boot/drivers/video/ |
D | backlight_gpio.c | 13 struct gpio_desc gpio;
|