Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-sim.c737 unsigned int num_hogs = 0, idx = 0; in gpio_sim_add_hogs() local
748 num_hogs++; in gpio_sim_add_hogs()
752 if (!num_hogs) in gpio_sim_add_hogs()
756 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()