Home
last modified time | relevance | path

Searched refs:gpio_desc (Results 1 – 25 of 79) sorted by relevance

1234

/external/u-boot/include/asm-generic/
Dgpio.h117 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/
Di2c-gpio.c34 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 …]
Di2c-uclass.c458 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/
Dgpio-uclass.c29 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 …]
D74x164_gpio.c33 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/
Ddemo-shape.c23 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/
Dvideo_bridge.h20 struct gpio_desc sleep;
21 struct gpio_desc reset;
22 struct gpio_desc hotplug;
/external/u-boot/board/renesas/ulcb/
Dcpld.c24 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/
Dsynclink.h231 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/
Dsoft_spi.c23 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/
Di2c-mux-gpio.c33 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()
Di2c-arb-gpio-challenge.c16 struct gpio_desc ap_claim;
17 struct gpio_desc ec_claim;
/external/u-boot/arch/arm/include/asm/mach-imx/
Dmxc_i2c.h56 struct gpio_desc scl_gpio;
57 struct gpio_desc sda_gpio;
/external/u-boot/drivers/power/regulator/
Dfixed.c17 struct gpio_desc gpio; /* GPIO for regulator enable control */
25 struct gpio_desc *gpio; in fixed_regulator_ofdata_to_platdata()
Dgpio-regulator.c21 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/
Ddragonboard410c.c47 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/
Dimx6logic.c66 struct gpio_desc nint; in fixup_enet_clock()
67 struct gpio_desc reset; in fixup_enet_clock()
/external/u-boot/board/gdsys/a38x/
Dihs_phys.c68 struct gpio_desc gpio = {}; in calculate_octo_phy_mask()
212 struct gpio_desc mdc_gpio;
213 struct gpio_desc mdio_gpio;
Ddt_helpers.h12 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
Ddt_helpers.c28 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name, in request_gpio_by_name()
/external/u-boot/drivers/pinctrl/
Dpinctrl_stm32.c17 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/
Dact8846_pmic.h32 struct gpio_desc pwr_hold;
/external/u-boot/board/dfi/dfi-bt700/
Ddfi-bt700.c33 struct gpio_desc desc; in board_late_init()
/external/u-boot/board/intel/minnowmax/
Dminnowmax.c17 struct gpio_desc desc; in misc_init_r()
/external/u-boot/drivers/video/
Dbacklight_gpio.c13 struct gpio_desc gpio;

1234