Home
last modified time | relevance | path

Searched refs:hwnum (Results 1 – 2 of 2) 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/drivers/gpio/
H A Dgpiolib.c189 unsigned int hwnum) in gpiochip_get_desc() argument
191 return gpio_device_get_desc(gc->gpiodev, hwnum); in gpiochip_get_desc()
211 gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum) in gpio_device_get_desc() argument
213 if (hwnum >= gdev->ngpio) in gpio_device_get_desc()
216 return &gdev->descs[array_index_nospec(hwnum, gdev->ngpio)]; in gpio_device_get_desc()
2723 unsigned int hwnum, in gpiochip_request_own_desc() argument
2728 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc()
5101 int hwnum; in gpiod_hog() local
5111 hwnum = gpiod_hwgpio(desc); in gpiod_hog()
5113 local_desc = gpiochip_request_own_desc(guard.gc, hwnum, name, in gpiod_hog()
[all …]