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/
Dgpio-aggregator.c41 int hwnum, unsigned int *n) in aggr_add_gpio() argument
50 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
Dgpiolib.h109 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
Dgpiolib.c142 unsigned int hwnum) in gpiochip_get_desc() argument
146 if (hwnum >= gdev->ngpio) in gpiochip_get_desc()
149 return &gdev->descs[hwnum]; in gpiochip_get_desc()
2141 unsigned int hwnum, in gpiochip_request_own_desc() argument
2146 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc()
4194 int hwnum; in gpiod_hog() local
4198 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4200 local_desc = gpiochip_request_own_desc(gc, hwnum, name, in gpiod_hog()
4205 name, gc->label, hwnum, ret); in gpiod_hog()