Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dled.c63 int hwnum = -1; in brcms_led_register() local
73 hwnum = i; in brcms_led_register()
81 if (hwnum == -1) in brcms_led_register()
85 radio_led->gpiod = gpiochip_request_own_desc(bcma_gpio, hwnum, in brcms_led_register()
/drivers/gpio/
Dgpiolib.h84 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
Dgpio-aggregator.c94 int hwnum, unsigned int *n) in aggr_add_gpio() argument
104 (struct gpiod_lookup)GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
Dgpiolib.c143 unsigned int hwnum) in gpiochip_get_desc() argument
147 if (hwnum >= gdev->ngpio) in gpiochip_get_desc()
150 return &gdev->descs[hwnum]; in gpiochip_get_desc()
2226 unsigned int hwnum, in gpiochip_request_own_desc() argument
2231 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc()
4162 int hwnum; in gpiod_hog() local
4166 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4168 local_desc = gpiochip_request_own_desc(gc, hwnum, name, in gpiod_hog()
4173 name, gc->label, hwnum, ret); in gpiod_hog()