Searched refs:gpiodev (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/gpio/ |
D | gpiolib.h | 233 dev_emerg(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 235 dev_crit(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 237 dev_err(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 239 dev_warn(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 241 dev_info(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__) 243 dev_dbg(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
|
D | gpiolib.c | 144 struct gpio_device *gdev = gc->gpiodev; in gpiochip_get_desc() 336 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names() 368 struct gpio_device *gdev = chip->gpiodev; in devprop_gpiochip_set_names() 620 gc->gpiodev = gdev; in gpiochip_add_data_with_key() 852 return gc->gpiodev->data; in gpiochip_get_data() 864 struct gpio_device *gdev = gc->gpiodev; in gpiochip_remove() 1535 struct fwnode_handle *fwnode = dev_fwnode(&gc->gpiodev->dev); in gpiochip_add_irqchip() 1725 if (list_empty(&gc->gpiodev->pin_ranges)) in gpiochip_generic_request() 1729 return pinctrl_gpio_request(gc->gpiodev->base + offset); in gpiochip_generic_request() 1741 if (list_empty(&gc->gpiodev->pin_ranges)) in gpiochip_generic_free() [all …]
|
D | gpio-sim.c | 68 desc = &gc->gpiodev->descs[offset]; in gpio_sim_apply_pull() 297 sysfs_remove_groups(&chip->gc.gpiodev->dev.kobj, chip->attr_groups); in gpio_sim_sysfs_remove() 354 ret = sysfs_create_groups(&chip->gc.gpiodev->dev.kobj, in gpio_sim_setup_sysfs() 434 dev_set_drvdata(&gc->gpiodev->dev, chip); in gpio_sim_add_bank()
|
D | gpiolib-of.c | 88 return chip->gpiodev->dev.of_node == gpiospec->np && in of_gpiochip_match_node_and_xlate() 723 return chip->gpiodev->dev.of_node == data; in of_gpiochip_match_node()
|
D | gpio-mockup.c | 354 devname = dev_name(&gc->gpiodev->dev); in gpio_mockup_debugfs_setup()
|
/linux-5.19.10/drivers/net/wireless/broadcom/b43legacy/ |
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()
|
/linux-5.19.10/include/linux/gpio/ |
D | driver.h | 399 struct gpio_device *gpiodev; member
|
/linux-5.19.10/drivers/net/wireless/broadcom/b43/ |
D | main.c | 2867 struct ssb_device *gpiodev; in b43_gpio_init() local 2912 gpiodev = b43_ssb_gpio_dev(dev); in b43_gpio_init() 2913 if (gpiodev) in b43_gpio_init() 2914 ssb_write32(gpiodev, B43_GPIO_CONTROL, in b43_gpio_init() 2915 (ssb_read32(gpiodev, B43_GPIO_CONTROL) in b43_gpio_init() 2928 struct ssb_device *gpiodev; in b43_gpio_cleanup() local 2939 gpiodev = b43_ssb_gpio_dev(dev); in b43_gpio_cleanup() 2940 if (gpiodev) in b43_gpio_cleanup() 2941 ssb_write32(gpiodev, B43_GPIO_CONTROL, 0); in b43_gpio_cleanup()
|
/linux-5.19.10/drivers/pinctrl/ |
D | core.c | 1664 seq_printf(s, "%u:%s ", gpio_num - chip->gpiodev->base, chip->label); in pinctrl_pins_show()
|