Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/include/linux/gpio/
H A Ddriver.h820 unsigned int hwnum,
827 gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum);
/linux-6.15/drivers/gpio/
H A Dgpiolib.c178 unsigned int hwnum) in gpiochip_get_desc() argument
180 return gpio_device_get_desc(gc->gpiodev, hwnum); in gpiochip_get_desc()
200 gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum) in gpio_device_get_desc() argument
202 if (hwnum >= gdev->ngpio) in gpio_device_get_desc()
205 return &gdev->descs[array_index_nospec(hwnum, gdev->ngpio)]; in gpio_device_get_desc()
2571 unsigned int hwnum, in gpiochip_request_own_desc() argument
2576 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc()
4906 int hwnum; in gpiod_hog() local
4916 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4918 local_desc = gpiochip_request_own_desc(guard.gc, hwnum, name, in gpiod_hog()
[all …]
H A Dgpiolib.h276 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
H A Dgpio-aggregator.c46 int hwnum, unsigned int *n) in aggr_add_gpio() argument
55 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
/linux-6.15/Documentation/driver-api/gpio/
H A Ddriver.rst766 u16 hwnum,