Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/mt7621-pci/
Dpci-mt7621.c396 u8 num_disabled = 0; in mt7621_pcie_init_ports() local
428 num_disabled++; in mt7621_pcie_init_ports()
440 return (num_disabled != PCIE_PORT_CNT) ? 0 : -ENODEV; in mt7621_pcie_init_ports()
/Linux-v5.15/drivers/dma/
Dste_dma40.c3458 int num_phy = 0, num_memcpy = 0, num_disabled = 0; in d40_of_probe() local
3485 list = of_get_property(np, "disabled-channels", &num_disabled); in d40_of_probe()
3486 num_disabled /= sizeof(*list); in d40_of_probe()
3488 if (num_disabled >= STEDMA40_MAX_PHYS || num_disabled < 0) { in d40_of_probe()
3491 num_disabled); in d40_of_probe()
3497 num_disabled); in d40_of_probe()
3498 pdata->disabled_channels[num_disabled] = -1; in d40_of_probe()