/openbmc/skeleton/pytools/ |
H A D | gpioutil | 129 gpio_name = "" 137 gpio_name = arg 140 gpio_name = arg 146 gpio_name = convertGpio(arg) 148 gpio_name = convertGpio(arg) 149 print gpio_name 154 if (System.GPIO_CONFIG.has_key(gpio_name) == False): 160 gpio_info = System.GPIO_CONFIG[gpio_name] 163 gpio_name = str(gpio_info['gpio_num']) 170 if (gpio_name == ""): [all …]
|
/openbmc/u-boot/cmd/ |
H A D | gpio.c | 66 static int do_gpio_status(bool all, const char *gpio_name) in do_gpio_status() argument 74 if (gpio_name && !*gpio_name) in do_gpio_status() 75 gpio_name = NULL; in do_gpio_status() 92 if (!gpio_name || !bank_name || in do_gpio_status() 93 !strncasecmp(gpio_name, bank_name, banklen)) { in do_gpio_status() 97 p = gpio_name + banklen; in do_gpio_status() 98 if (gpio_name && *p) { in do_gpio_status()
|
/openbmc/u-boot/board/alliedtelesis/common/ |
H A D | gpio_hog.h | 7 const char *gpio_name, int value); 10 const char *gpio_name, int value) in gpio_hog() argument 12 return gpio_hog_list(gpiod, 1, node_name, gpio_name, value); in gpio_hog()
|
H A D | gpio_hog.c | 13 const char *node_name, const char *gpio_name, int value) in gpio_hog_list() argument 26 gpio_name, gpiod, max_count, in gpio_hog_list()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-gpio.c | 197 const char *gpio_name; in gpio_clk_driver_probe() local 212 gpio_name = is_mux ? "select" : "enable"; in gpio_clk_driver_probe() 213 gpiod = devm_gpiod_get(dev, gpio_name, GPIOD_OUT_LOW); in gpio_clk_driver_probe() 222 gpio_name); in gpio_clk_driver_probe()
|
/openbmc/u-boot/board/gdsys/a38x/ |
H A D | dt_helpers.c | 29 uint offset, char *gpio_name) in request_gpio_by_name() argument 40 return dm_gpio_request(gpio, gpio_name); in request_gpio_by_name()
|
H A D | ihs_phys.c | 69 char gpio_name[64]; in calculate_octo_phy_mask() local 76 snprintf(gpio_name, 64, "cat-gpio-%u", k); in calculate_octo_phy_mask() 78 if (request_gpio_by_name(&gpio, dev_name[k], 0x20, gpio_name)) in calculate_octo_phy_mask() 88 snprintf(gpio_name, 64, "second-octo-gpio-%u", k); in calculate_octo_phy_mask() 90 if (request_gpio_by_name(&gpio, dev_name[k], 0x27, gpio_name)) { in calculate_octo_phy_mask()
|
H A D | dt_helpers.h | 13 uint offset, char *gpio_name);
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/ |
H A D | motor-init | 62 for gpio_name in "${motor_ctrl_gpio_pins_names[@]}"; do 63 set_gpio "$gpio_name" 0
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | adm1266.c | 288 char *gpio_name; in adm1266_config_gpio() local 293 gpio_name = devm_kasprintf(&data->client->dev, GFP_KERNEL, "adm1266-%x-%s", in adm1266_config_gpio() 295 if (!gpio_name) in adm1266_config_gpio() 298 data->gpio_names[i] = gpio_name; in adm1266_config_gpio()
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio.c | 228 cJSON* get_gpio_def(const char* gpio_name) in get_gpio_def() argument 248 if (strcmp(name->valuestring, gpio_name) == 0) in get_gpio_def()
|
/openbmc/linux/sound/soc/generic/ |
H A D | simple-card-utils.c | 750 char *gpio_name; in asoc_simple_init_jack() local 762 gpio_name = "Headphone detection"; in asoc_simple_init_jack() 767 gpio_name = "Mic detection"; in asoc_simple_init_jack() 777 error = gpiod_set_consumer_name(desc, gpio_name); in asoc_simple_init_jack() 784 sjack->gpio.name = gpio_name; in asoc_simple_init_jack()
|
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_type.h | 160 char gpio_name[32]; member
|
H A D | txgbe_phy.c | 32 snprintf(nodes->gpio_name, sizeof(nodes->gpio_name), "txgbe_gpio-%x", id); in txgbe_swnodes_register() 47 swnodes[SWNODE_GPIO] = NODE_PROP(nodes->gpio_name, nodes->gpio_props); in txgbe_swnodes_register()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltc2992.c | 304 char *gpio_name; in ltc2992_config_gpio() local 315 gpio_name = devm_kasprintf(&st->client->dev, GFP_KERNEL, "ltc2992-%x-%s", in ltc2992_config_gpio() 317 if (!gpio_name) in ltc2992_config_gpio() 320 st->gpio_names[i] = gpio_name; in ltc2992_config_gpio()
|
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 777 const char *gpio_name; in abx500_dt_subnode_to_map() local 791 gpio_name = abx500_find_pin_name(pctldev, pin); in abx500_dt_subnode_to_map() 794 num_maps, gpio_name, configs, 1); in abx500_dt_subnode_to_map()
|
H A D | pinctrl-nomadik.c | 1438 const char *gpio_name; in nmk_pinctrl_dt_subnode_to_map() local 1451 gpio_name = nmk_find_pin_name(pctldev, pin); in nmk_pinctrl_dt_subnode_to_map() 1455 gpio_name, &configs, 1); in nmk_pinctrl_dt_subnode_to_map()
|