Searched refs:pincnt (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/arm/mv/ |
H A D | mvebu_gpio.c | 722 pcell_t pincnt; in mvebu_gpio_attach() local 731 pincnt = 0; in mvebu_gpio_attach() 732 rv = OF_getencprop(node, "ngpios", &pincnt, sizeof(pcell_t)); in mvebu_gpio_attach() 739 sc->gpio_npins = MIN(pincnt, MV_GPIO_MAX_NPINS); in mvebu_gpio_attach()
|
H A D | gpio.c | 298 pcell_t pincnt = 0; in mv_gpio_attach() local 307 if (OF_getencprop(node, "pin-count", &pincnt, sizeof(pcell_t)) >= 0 || in mv_gpio_attach() 308 OF_getencprop(node, "ngpios", &pincnt, sizeof(pcell_t)) >= 0) { in mv_gpio_attach() 309 sc->pin_num = MIN(pincnt, MV_GPIO_MAX_NPINS); in mv_gpio_attach()
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdaa.h | 154 u_char pincnt; member
|
H A D | hdaa.c | 1895 if (as->fakeredir && i == (as->pincnt - 1)) { in hdaa_audio_setup() 3235 if (as[cnt].pincnt == 0) { in hdaa_audio_as_parse() 3275 as[cnt].pincnt++; in hdaa_audio_as_parse() 3280 if (j != 15 && as[cnt].pincnt > 0) { in hdaa_audio_as_parse() 3281 if (hpredir && as[cnt].pincnt > 1) in hdaa_audio_as_parse() 3287 if (as[i].dir == HDAA_CTL_IN && (as[i].pincnt == 1 || in hdaa_audio_as_parse()
|