Home
last modified time | relevance | path

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

12345

/rk3399_rockchip-uboot/include/asm-generic/
H A 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);
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 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 …]
/rk3399_rockchip-uboot/drivers/gpio/
H A Dgpio-uclass.c33 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 Ddemo-shape.c24 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 Dvideo_bridge.h21 struct gpio_desc sleep;
22 struct gpio_desc reset;
23 struct gpio_desc hotplug;
H A Dmax96755f.h177 struct gpio_desc enable_gpio;
183 struct gpio_desc lock_gpio;
/rk3399_rockchip-uboot/drivers/power/pmic/
H A Dpmic_sy7636a.c63 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 Dfp9931.h37 struct gpio_desc power_gpio[4];
39 struct gpio_desc enable_gpio;
H A Dact8846_pmic.h33 struct gpio_desc pwr_hold;
/rk3399_rockchip-uboot/drivers/i2c/muxes/
H A Di2c-mux-gpio.c34 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 Dmax96745.c15 struct gpio_desc enable_gpio;
16 struct gpio_desc pwdnb_gpio;
H A Di2c-arb-gpio-challenge.c17 struct gpio_desc ap_claim;
18 struct gpio_desc ec_claim;
/rk3399_rockchip-uboot/drivers/spi/
H A Dsoft_spi.c24 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 Dmxc_i2c.h57 struct gpio_desc scl_gpio;
58 struct gpio_desc sda_gpio;
/rk3399_rockchip-uboot/board/qualcomm/dragonboard410c/
H A Ddragonboard410c.c34 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 Drk618.h62 struct gpio_desc enable_gpio;
63 struct gpio_desc reset_gpio;
H A Drk1000.h16 struct gpio_desc reset_gpio;
/rk3399_rockchip-uboot/drivers/video/drm/display-serdes/
H A Dcore.h307 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 Ddt_helpers.h13 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
H A Ddt_helpers.c29 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 Dgpio-regulator.c22 struct gpio_desc gpio; /* GPIO for regulator voltage control */
31 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata()
H A Dfixed.c20 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 Dimx6logic.c66 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 Ddfi-bt700.c34 struct gpio_desc desc; in board_late_init()
/rk3399_rockchip-uboot/board/intel/minnowmax/
H A Dminnowmax.c18 struct gpio_desc desc; in misc_init_r()

12345