Searched refs:num_disabled (Results 1 – 3 of 3) sorted by relevance
352 u8 num_disabled = 0; in mt7621_pcie_init_ports() local385 num_disabled++; in mt7621_pcie_init_ports()397 return (num_disabled != PCIE_PORT_CNT) ? 0 : -ENODEV; in mt7621_pcie_init_ports()
152 u8 *ports, int *num_disabled) in mlx5_infer_tx_disabled() argument156 *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() local399 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()
3455 int num_phy = 0, num_memcpy = 0, num_disabled = 0; in d40_of_probe() local3482 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()