Home
last modified time | relevance | path

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

/drivers/pci/controller/
Dpcie-mt7621.c352 u8 num_disabled = 0; in mt7621_pcie_init_ports() local
385 num_disabled++; in mt7621_pcie_init_ports()
397 return (num_disabled != PCIE_PORT_CNT) ? 0 : -ENODEV; in mt7621_pcie_init_ports()
/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c152 u8 *ports, int *num_disabled) in mlx5_infer_tx_disabled() argument
156 *num_disabled = 0; in mlx5_infer_tx_disabled()
160 ports[(*num_disabled)++] = i; in mlx5_infer_tx_disabled()
387 int num_disabled; in mlx5_lag_drop_rule_setup() local
399 mlx5_infer_tx_disabled(tracker, ldev->ports, disabled_ports, &num_disabled); in mlx5_lag_drop_rule_setup()
401 for (i = 0; i < num_disabled; i++) { in mlx5_lag_drop_rule_setup()
/drivers/dma/
Dste_dma40.c3455 int num_phy = 0, num_memcpy = 0, num_disabled = 0; in d40_of_probe() local
3482 list = of_get_property(np, "disabled-channels", &num_disabled); in d40_of_probe()
3483 num_disabled /= sizeof(*list); in d40_of_probe()
3485 if (num_disabled >= STEDMA40_MAX_PHYS || num_disabled < 0) { in d40_of_probe()
3488 num_disabled); in d40_of_probe()
3494 num_disabled); in d40_of_probe()
3495 pdata->disabled_channels[num_disabled] = -1; in d40_of_probe()