Home
last modified time | relevance | path

Searched refs:hwnum (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dled.c63 int hwnum = -1; in brcms_led_register() local
70 hwnum = i; in brcms_led_register()
78 if (hwnum == -1) in brcms_led_register()
82 radio_led->gpiod = gpiochip_request_own_desc(bcma_gpio, hwnum, in brcms_led_register()
/linux/include/linux/gpio/
H A Ddriver.h784 unsigned int hwnum,
791 gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum);
/linux/drivers/gpio/
H A Dgpiolib.c177 unsigned int hwnum) in gpiochip_get_desc() argument
179 return gpio_device_get_desc(gc->gpiodev, hwnum); in gpiochip_get_desc()
199 gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum) in gpio_device_get_desc() argument
201 if (hwnum >= gdev->ngpio) in gpio_device_get_desc()
204 return &gdev->descs[array_index_nospec(hwnum, gdev->ngpio)]; in gpio_device_get_desc()
2506 unsigned int hwnum, in gpiochip_request_own_desc() argument
2511 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc()
4692 int hwnum; in gpiod_hog() local
4702 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4704 local_desc = gpiochip_request_own_desc(guard.gc, hwnum, name, in gpiod_hog()
[all …]
H A Dgpiolib.h270 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
/linux/Documentation/driver-api/gpio/
H A Ddriver.rst766 u16 hwnum,