| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A 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); 358 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc); 403 int dm_gpio_get_values_as_int(const struct gpio_desc *desc_list, int count); 452 int index, struct gpio_desc *desc, int flags); 476 struct gpio_desc *desc_list, int max_count, 489 int dm_gpio_request(struct gpio_desc *desc, const char *label); [all …]
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A 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 …]
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | gpio-uclass.c | 33 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device() 55 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name() 96 struct gpio_desc desc; in gpio_lookup_name() 118 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, in gpio_xlate_offs_flags() 135 static int gpio_find_and_xlate(struct gpio_desc *desc, in gpio_find_and_xlate() 149 struct gpio_desc gpiod; 238 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name() 263 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name() 269 int dm_gpio_request(struct gpio_desc *desc, const char *label) in dm_gpio_request() 294 static int dm_gpio_requestf(struct gpio_desc *desc, const char *fmt, ...) in dm_gpio_requestf() [all …]
|
| /rk3399_rockchip-uboot/drivers/demo/ |
| H A D | demo-shape.c | 24 struct gpio_desc gpio_desc[8]; member 98 struct gpio_desc *desc; in set_light() 102 desc = priv->gpio_desc; in set_light() 117 struct gpio_desc *desc; in get_light() 122 desc = priv->gpio_desc; in get_light() 165 ret = gpio_request_list_by_name(dev, "light-gpios", priv->gpio_desc, in dm_shape_probe() 166 ARRAY_SIZE(priv->gpio_desc), in dm_shape_probe() 180 return gpio_free_list(dev, priv->gpio_desc, priv->gpio_count); in dm_shape_remove()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | video_bridge.h | 21 struct gpio_desc sleep; 22 struct gpio_desc reset; 23 struct gpio_desc hotplug;
|
| H A D | max96755f.h | 177 struct gpio_desc enable_gpio; 183 struct gpio_desc lock_gpio;
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pmic_sy7636a.c | 63 struct gpio_desc gpio_desc[8]; in pmic_sy7636a_probe() local 68 num = gpio_request_list_by_name(dev, "enable-gpios", gpio_desc, 8, in pmic_sy7636a_probe() 87 gpio_free_list(dev, gpio_desc, num); in pmic_sy7636a_probe()
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | fp9931.h | 37 struct gpio_desc power_gpio[4]; 39 struct gpio_desc enable_gpio;
|
| H A D | act8846_pmic.h | 33 struct gpio_desc pwr_hold;
|
| /rk3399_rockchip-uboot/drivers/i2c/muxes/ |
| H A D | i2c-mux-gpio.c | 34 struct gpio_desc *gpios; 75 struct gpio_desc *gpios; in i2c_mux_gpio_probe() 102 gpios = devm_kzalloc(dev, sizeof(struct gpio_desc) * mux->n_gpios, in i2c_mux_gpio_probe()
|
| H A D | max96745.c | 15 struct gpio_desc enable_gpio; 16 struct gpio_desc pwdnb_gpio;
|
| H A D | i2c-arb-gpio-challenge.c | 17 struct gpio_desc ap_claim; 18 struct gpio_desc ec_claim;
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | soft_spi.c | 24 struct gpio_desc cs; 25 struct gpio_desc sclk; 26 struct gpio_desc mosi; 27 struct gpio_desc miso;
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/mach-imx/ |
| H A D | mxc_i2c.h | 57 struct gpio_desc scl_gpio; 58 struct gpio_desc sda_gpio;
|
| /rk3399_rockchip-uboot/board/qualcomm/dragonboard410c/ |
| H A D | dragonboard410c.c | 34 static struct gpio_desc hub_reset, usb_sel; in board_prepare_usb() 108 struct gpio_desc resin; in misc_init_r()
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rk618.h | 62 struct gpio_desc enable_gpio; 63 struct gpio_desc reset_gpio;
|
| H A D | rk1000.h | 16 struct gpio_desc reset_gpio;
|
| /rk3399_rockchip-uboot/drivers/video/drm/display-serdes/ |
| H A D | core.h | 307 struct gpio_desc reset_gpio; 308 struct gpio_desc enable_gpio; 311 struct gpio_desc lock_gpio; 312 struct gpio_desc err_gpio;
|
| /rk3399_rockchip-uboot/board/gdsys/a38x/ |
| H A D | dt_helpers.h | 13 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
|
| H A D | dt_helpers.c | 29 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name, in request_gpio_by_name()
|
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | gpio-regulator.c | 22 struct gpio_desc gpio; /* GPIO for regulator voltage control */ 31 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata()
|
| H A D | fixed.c | 20 struct gpio_desc gpio; /* GPIO for regulator enable control */ 28 struct gpio_desc *gpio; in fixed_regulator_ofdata_to_platdata()
|
| /rk3399_rockchip-uboot/board/logicpd/imx6/ |
| H A D | imx6logic.c | 66 struct gpio_desc nint; in fixup_enet_clock() 67 struct gpio_desc reset; in fixup_enet_clock()
|
| /rk3399_rockchip-uboot/board/dfi/dfi-bt700/ |
| H A D | dfi-bt700.c | 34 struct gpio_desc desc; in board_late_init()
|
| /rk3399_rockchip-uboot/board/intel/minnowmax/ |
| H A D | minnowmax.c | 18 struct gpio_desc desc; in misc_init_r()
|