Home
last modified time | relevance | path

Searched refs:num_rings (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_sli.h282 uint32_t num_rings; member
Dlpfc_mbox.c948 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup()
950 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup()
1395 for (i = 0; i < phba->sli.num_rings; i++) { in lpfc_config_port()
Dlpfc_sli.c1297 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_ring_map()
3947 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_brdreset()
8842 psli->num_rings = MAX_SLI3_CONFIGURED_RINGS; in lpfc_sli_setup()
8844 psli->num_rings += phba->cfg_fcp_io_channel; in lpfc_sli_setup()
8854 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_setup()
8976 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_queue_setup()
9071 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_host_down()
9142 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_hba_down()
9666 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_hba_iocb_abort()
Dlpfc_init.c529 if (psli->num_rings > 0) in lpfc_config_port_post()
531 if (psli->num_rings > 1) in lpfc_config_port_post()
533 if (psli->num_rings > 2) in lpfc_config_port_post()
535 if (psli->num_rings > 3) in lpfc_config_port_post()
842 for (i = 0; i < psli->num_rings; i++) { in lpfc_hba_down_post_s3()
Dlpfc_attr.c696 for (i = 0; i < psli->num_rings; i++) { in lpfc_do_offline()
Dlpfc_hbadisc.c4393 for (i = 0; i < psli->num_rings; i++) { in lpfc_no_rpi()
/drivers/net/ethernet/broadcom/
Dbnx2.c5151 u32 buf_size, int num_rings) in bnx2_init_rxbd_rings() argument
5156 for (i = 0; i < num_rings; i++) { in bnx2_init_rxbd_rings()
5164 if (i == (num_rings - 1)) in bnx2_init_rxbd_rings()
5308 u32 max, num_rings = 1; in bnx2_find_max_ring() local
5312 num_rings++; in bnx2_find_max_ring()
5316 while ((max & num_rings) == 0) in bnx2_find_max_ring()
5319 if (num_rings != max) in bnx2_find_max_ring()