Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/dma/
Dste_dma40.c3453 int num_phy = 0, num_memcpy = 0, num_disabled = 0; in d40_of_probe() local
3480 list = of_get_property(np, "disabled-channels", &num_disabled); in d40_of_probe()
3481 num_disabled /= sizeof(*list); in d40_of_probe()
3483 if (num_disabled >= STEDMA40_MAX_PHYS || num_disabled < 0) { in d40_of_probe()
3486 num_disabled); in d40_of_probe()
3492 num_disabled); in d40_of_probe()
3493 pdata->disabled_channels[num_disabled] = -1; in d40_of_probe()