Searched refs:gpiodev (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib.h | 257 dev_emerg(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 259 dev_crit(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 261 dev_err(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 263 dev_warn(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 265 dev_info(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 267 dev_dbg(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
|
H A D | gpiolib-of.c | 125 return device_match_of_node(&chip->gpiodev->dev, gpiospec->np) && in of_gpiochip_match_node_and_xlate() 709 chip_np = dev_of_node(&chip->gpiodev->dev); in of_parse_own_gpio() 801 for_each_available_child_of_node(dev_of_node(&chip->gpiodev->dev), np) { in of_gpiochip_scan_gpios() 835 return device_match_of_node(&chip->gpiodev->dev, data); in of_gpiochip_match_node() 1022 np = dev_of_node(&chip->gpiodev->dev); in of_gpiochip_add_pin_range() 1103 np = dev_of_node(&chip->gpiodev->dev); in of_gpiochip_add() 1130 of_node_put(dev_of_node(&chip->gpiodev->dev)); in of_gpiochip_remove()
|
H A D | gpiolib.c | 163 struct gpio_device *gdev = gc->gpiodev; in gpiochip_get_desc() 357 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names() 389 struct gpio_device *gdev = chip->gpiodev; in gpiochip_set_names() 477 struct device *dev = &gc->gpiodev->dev; in gpiochip_count_reserved_ranges() 490 struct device *dev = &gc->gpiodev->dev; in gpiochip_apply_reserved_ranges() 559 if (device_property_present(&gc->gpiodev->dev, "gpio-ranges")) in gpiochip_add_pin_ranges() 688 gc->gpiodev->data = data; in gpiochip_set_data() 700 return gc->gpiodev->data; in gpiochip_get_data() 759 gc->gpiodev = gdev; in gpiochip_add_data_with_key() 973 struct gpio_device *gdev = gc->gpiodev; in gpiochip_remove() [all …]
|
H A D | gpio-sim.c | 71 desc = &gc->gpiodev->descs[offset]; in gpio_sim_apply_pull() 299 sysfs_remove_groups(&chip->gc.gpiodev->dev.kobj, chip->attr_groups); in gpio_sim_sysfs_remove() 356 ret = sysfs_create_groups(&chip->gc.gpiodev->dev.kobj, in gpio_sim_setup_sysfs() 444 dev_set_drvdata(&gc->gpiodev->dev, chip); in gpio_sim_add_bank()
|
H A D | gpio-mockup.c | 355 devname = dev_name(&gc->gpiodev->dev); in gpio_mockup_debugfs_setup()
|
H A D | gpiolib-acpi.c | 132 if (device_match_acpi_handle(&gc->gpiodev->dev, data)) in acpi_gpiochip_find()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.c | 1879 struct ssb_device *gpiodev, *pcidev = NULL; in b43legacy_gpio_init() local 1913 gpiodev = bus->chipco.dev ? : pcidev; in b43legacy_gpio_init() 1914 if (!gpiodev) in b43legacy_gpio_init() 1916 ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, in b43legacy_gpio_init() 1917 (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) in b43legacy_gpio_init() 1927 struct ssb_device *gpiodev, *pcidev = NULL; in b43legacy_gpio_cleanup() local 1932 gpiodev = bus->chipco.dev ? : pcidev; in b43legacy_gpio_cleanup() 1933 if (!gpiodev) in b43legacy_gpio_cleanup() 1935 ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, 0); in b43legacy_gpio_cleanup()
|
/openbmc/linux/include/linux/gpio/ |
H A D | driver.h | 417 struct gpio_device *gpiodev; member
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 2868 struct ssb_device *gpiodev; in b43_gpio_init() local 2913 gpiodev = b43_ssb_gpio_dev(dev); in b43_gpio_init() 2914 if (gpiodev) in b43_gpio_init() 2915 ssb_write32(gpiodev, B43_GPIO_CONTROL, in b43_gpio_init() 2916 (ssb_read32(gpiodev, B43_GPIO_CONTROL) in b43_gpio_init() 2929 struct ssb_device *gpiodev; in b43_gpio_cleanup() local 2940 gpiodev = b43_ssb_gpio_dev(dev); in b43_gpio_cleanup() 2941 if (gpiodev) in b43_gpio_cleanup() 2942 ssb_write32(gpiodev, B43_GPIO_CONTROL, 0); in b43_gpio_cleanup()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | core.c | 1686 seq_printf(s, "%u:%s ", gpio_num - chip->gpiodev->base, chip->label); in pinctrl_pins_show()
|