/external/u-boot/arch/arm/mach-kirkwood/include/mach/ |
D | gpio.h | 18 #define GPIO_OFF(pin) (((pin) >> 5) ? 0x0040 : 0x0000) argument 19 #define GPIO_OUT(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x00) argument 20 #define GPIO_IO_CONF(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x04) argument 21 #define GPIO_BLINK_EN(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x08) argument 22 #define GPIO_IN_POL(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x0c) argument 23 #define GPIO_DATA_IN(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x10) argument 24 #define GPIO_EDGE_CAUSE(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x14) argument 25 #define GPIO_EDGE_MASK(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x18) argument 26 #define GPIO_LEVEL_MASK(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x1c) argument
|
/external/u-boot/drivers/gpio/ |
D | kw_gpio.c | 24 void __set_direction(unsigned pin, int input) in __set_direction() 38 static void __set_level(unsigned pin, int high) in __set_level() 50 static void __set_blinking(unsigned pin, int blink) in __set_blinking() 62 int kw_gpio_is_valid(unsigned pin, int mode) in kw_gpio_is_valid() 78 void kw_gpio_set_valid(unsigned pin, int mode) in kw_gpio_set_valid() 94 int kw_gpio_direction_input(unsigned pin) in kw_gpio_direction_input() 105 int kw_gpio_direction_output(unsigned pin, int value) in kw_gpio_direction_output() 124 int kw_gpio_get_value(unsigned pin) in kw_gpio_get_value() 136 void kw_gpio_set_value(unsigned pin, int value) in kw_gpio_set_value() 142 void kw_gpio_set_blink(unsigned pin, int blink) in kw_gpio_set_blink()
|
D | at91_gpio.c | 58 int at91_set_pio_pullup(unsigned port, unsigned pin, int use_pullup) in at91_set_pio_pullup() 71 int at91_set_pio_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_pio_periph() 89 int at91_set_a_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_a_periph() 108 int at91_set_b_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_b_periph() 127 int at91_pio3_set_a_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_a_periph() 150 int at91_pio3_set_b_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_b_periph() 172 int at91_pio3_set_c_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_c_periph() 194 int at91_pio3_set_d_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_d_periph() 240 int at91_set_pio_input(unsigned port, u32 pin, int use_pullup) in at91_set_pio_input() 270 int at91_set_pio_output(unsigned port, u32 pin, int value) in at91_set_pio_output() [all …]
|
D | axp_gpio.c | 21 static u8 axp_get_gpio_ctrl_reg(unsigned pin) in axp_get_gpio_ctrl_reg() 36 static int axp_gpio_direction_input(struct udevice *dev, unsigned pin) in axp_gpio_direction_input() 54 static int axp_gpio_direction_output(struct udevice *dev, unsigned pin, in axp_gpio_direction_output() 81 static int axp_gpio_get_value(struct udevice *dev, unsigned pin) in axp_gpio_get_value() 114 static int axp_gpio_set_value(struct udevice *dev, unsigned pin, int val) in axp_gpio_set_value()
|
D | atmel_pio4.c | 45 static int atmel_pio4_config_io_func(u32 port, u32 pin, in atmel_pio4_config_io_func() 68 int atmel_pio4_set_gpio(u32 port, u32 pin, u32 config) in atmel_pio4_set_gpio() 75 int atmel_pio4_set_a_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_a_periph() 82 int atmel_pio4_set_b_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_b_periph() 89 int atmel_pio4_set_c_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_c_periph() 96 int atmel_pio4_set_d_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_d_periph() 103 int atmel_pio4_set_e_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_e_periph() 110 int atmel_pio4_set_f_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_f_periph() 117 int atmel_pio4_set_g_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_g_periph() 124 int atmel_pio4_set_pio_output(u32 port, u32 pin, u32 value) in atmel_pio4_set_pio_output() [all …]
|
D | altera_pio.c | 28 static int altera_pio_direction_input(struct udevice *dev, unsigned pin) in altera_pio_direction_input() 38 static int altera_pio_direction_output(struct udevice *dev, unsigned pin, in altera_pio_direction_output() 54 static int altera_pio_get_value(struct udevice *dev, unsigned pin) in altera_pio_get_value() 63 static int altera_pio_set_value(struct udevice *dev, unsigned pin, int val) in altera_pio_set_value()
|
D | dwapb_gpio.c | 39 static int dwapb_gpio_direction_input(struct udevice *dev, unsigned pin) in dwapb_gpio_direction_input() 47 static int dwapb_gpio_direction_output(struct udevice *dev, unsigned pin, in dwapb_gpio_direction_output() 62 static int dwapb_gpio_get_value(struct udevice *dev, unsigned pin) in dwapb_gpio_get_value() 69 static int dwapb_gpio_set_value(struct udevice *dev, unsigned pin, int val) in dwapb_gpio_set_value()
|
/external/u-boot/board/micronas/vct/ |
D | gpio.c | 16 #define GPIO_MODULE(pin) ((pin) >> 5) argument 22 #define MASK(pin) (1 << ((pin) & 0x1F)) argument 39 int vct_gpio_dir(int pin, int dir) in vct_gpio_dir() 53 void vct_gpio_set(int pin, int val) in vct_gpio_set() 65 int vct_gpio_get(int pin) in vct_gpio_get()
|
D | top.c | 26 static TOP_PINMUX_t top_read_pin(int pin) in top_read_pin() 67 static void top_write_pin(int pin, TOP_PINMUX_t reg) in top_write_pin() 99 int top_set_pin(int pin, int func) in top_set_pin() 122 int top_set_pin(int pin, int func) in top_set_pin()
|
/external/u-boot/arch/arm/mach-tegra/ |
D | pinmux-common.c | 12 #define pmux_pingrp_isvalid(pin) (((pin) >= 0) && ((pin) < PMUX_PINGRP_COUNT)) argument 95 #define REG(pin) _R(0x3000 + ((pin) * 4)) argument 97 #define MUX_REG(pin) REG(pin) argument 98 #define MUX_SHIFT(pin) 0 argument 100 #define PULL_REG(pin) REG(pin) argument 101 #define PULL_SHIFT(pin) 2 argument 103 #define TRI_REG(pin) REG(pin) argument 104 #define TRI_SHIFT(pin) 4 argument 157 void pinmux_set_func(enum pmux_pingrp pin, enum pmux_func func) in pinmux_set_func() 189 void pinmux_set_pullupdown(enum pmux_pingrp pin, enum pmux_pull pupd) in pinmux_set_pullupdown() [all …]
|
/external/u-boot/arch/arm/mach-sunxi/ |
D | pinmux.c | 20 void sunxi_gpio_set_cfgpin(u32 pin, u32 val) in sunxi_gpio_set_cfgpin() 40 int sunxi_gpio_get_cfgpin(u32 pin) in sunxi_gpio_get_cfgpin() 48 int sunxi_gpio_set_drv(u32 pin, u32 val) in sunxi_gpio_set_drv() 60 int sunxi_gpio_set_pull(u32 pin, u32 val) in sunxi_gpio_set_pull()
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | sim.py | 110 pin=DEFAULT_PIN, argument 322 def SendPin(self, pin): argument 358 def SendPuk(self, puk, pin): argument 393 def EnablePin(self, pin, enabled): argument 407 def _EnablePin(self, pin): argument 423 def _DisablePin(self, pin): argument
|
/external/u-boot/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 92 unsigned int pin, int enable) in uniphier_pinconf_input_enable_perpin() 112 unsigned int pin, int enable) in uniphier_pinconf_input_enable_legacy() 130 unsigned int pin, int enable) in uniphier_pinconf_input_enable() 153 uniphier_pinctrl_pin_get(struct uniphier_pinctrl_priv *priv, unsigned int pin) in uniphier_pinctrl_pin_get() 166 static int uniphier_pinconf_bias_set(struct udevice *dev, unsigned int pin, in uniphier_pinconf_bias_set() 218 static int uniphier_pinconf_drive_set(struct udevice *dev, unsigned int pin, in uniphier_pinconf_drive_set() 286 static int uniphier_pinconf_set(struct udevice *dev, unsigned int pin, in uniphier_pinconf_set() 332 static void uniphier_pinmux_set_one(struct udevice *dev, unsigned pin, in uniphier_pinmux_set_one()
|
/external/u-boot/board/LaCie/common/ |
D | cpld-gpio-bus.c | 19 int pin; in cpld_gpio_bus_set_addr() local 27 int pin; in cpld_gpio_bus_set_data() local
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
D | p2p_connect.py | 79 pin,wps_method,go_intent): argument 228 pin = None variable 259 pin = value variable
|
/external/u-boot/arch/arm/include/asm/arch-sunxi/ |
D | gpio.h | 80 #define GPIO_BANK(pin) ((pin) >> 5) argument 81 #define GPIO_NUM(pin) ((pin) & 0x1f) argument 83 #define GPIO_CFG_INDEX(pin) (((pin) & 0x1f) >> 3) argument 84 #define GPIO_CFG_OFFSET(pin) ((((pin) & 0x1f) & 0x7) << 2) argument 86 #define GPIO_DRV_INDEX(pin) (((pin) & 0x1f) >> 4) argument 87 #define GPIO_DRV_OFFSET(pin) ((((pin) & 0x1f) & 0xf) << 1) argument 89 #define GPIO_PULL_INDEX(pin) (((pin) & 0x1f) >> 4) argument 90 #define GPIO_PULL_OFFSET(pin) ((((pin) & 0x1f) & 0xf) << 1) argument
|
/external/u-boot/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 39 void mvebu_pinctl_emmc_set_mux(struct udevice *dev, u32 pin, u32 func) in mvebu_pinctl_emmc_set_mux() 100 int pin = pin_arr[i]; in mvebu_pinctrl_set_state() local 134 int pin, err; in mvebu_pinctrl_set_state_all() local
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-at91.c | 95 static u32 two_bit_pin_value_shift_amount(u32 pin) in two_bit_pin_value_shift_amount() 202 static void set_drive_strength(void *reg, u32 pin, u32 strength) in set_drive_strength() 210 u32 pin, u32 setting) in at91_mux_sama5d3_set_drivestrength() 227 u32 pin, u32 setting) in at91_mux_sam9x5_set_drivestrength() 319 struct at91_port *pio, u32 pin, u32 config) in at91_pinconf_set() 346 static int at91_pin_check_config(struct udevice *dev, u32 bank, u32 pin) in at91_pin_check_config() 370 u32 bank, pin; in at91_pinctrl_set_state() local
|
/external/u-boot/drivers/misc/ |
D | ali512x.c | 328 void ali512x_cio_function(int pin, int special, int inv, int input) in ali512x_cio_function() 366 void ali512x_cio_out(int pin, int value) in ali512x_cio_out() 386 int ali512x_cio_in(int pin) in ali512x_cio_in()
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
D | help_functions_ds.cc | 38 IPin* pin = NULL; in GetInputPin() local 71 IPin* pin = NULL; in GetOutputPin() local
|
/external/u-boot/board/gdsys/mpc8308/ |
D | hrcon.c | 236 void fpga_gpio_set(unsigned int bus, int pin) in fpga_gpio_set() 241 void fpga_gpio_clear(unsigned int bus, int pin) in fpga_gpio_clear() 246 int fpga_gpio_get(unsigned int bus, int pin) in fpga_gpio_get() 255 void fpga_control_set(unsigned int bus, int pin) in fpga_control_set() 263 void fpga_control_clear(unsigned int bus, int pin) in fpga_control_clear()
|
D | strider.c | 289 void fpga_gpio_set(unsigned int bus, int pin) in fpga_gpio_set() 294 void fpga_gpio_clear(unsigned int bus, int pin) in fpga_gpio_clear() 299 int fpga_gpio_get(unsigned int bus, int pin) in fpga_gpio_get() 309 void fpga_control_set(unsigned int bus, int pin) in fpga_control_set() 317 void fpga_control_clear(unsigned int bus, int pin) in fpga_control_clear()
|
/external/u-boot/board/sunxi/ |
D | gmac.c | 11 int pin; local
|
/external/u-boot/drivers/pinctrl/renesas/ |
D | pfc.c | 60 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index() 338 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pin_to_bias_reg() 467 const struct sh_pfc_pin *pin = NULL; in sh_pfc_config_mux_for_gpio() local 496 const struct sh_pfc_pin *pin = &priv->pfc.info->pins[pin_selector]; in sh_pfc_pinctrl_pin_set() local 545 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pinconf_find_drive_strength_reg() 569 unsigned int pin, u16 strength) in sh_pfc_pinconf_set_drive_strength() 610 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_pinconf_validate() local 707 const struct sh_pfc_pin *pin = &pfc->info->pins[pin_selector]; in sh_pfc_pinconf_pin_set() local
|
/external/u-boot/arch/arm/cpu/arm920t/imx/ |
D | generic.c | 20 unsigned int pin = gpio_mode & GPIO_PIN_MASK; in imx_gpio_mode() local
|