Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/hxge/
H A Dhpi_rxdma.c234 rdc_desc_cfg_t *rdc_desc_cfg) in hpi_rxdma_cfg_rdc_ring() argument
256 if (rdc_desc_cfg->mbox_enable == 1) { in hpi_rxdma_cfg_rdc_ring()
257 cfg1.bits.mbaddr_h = (rdc_desc_cfg->mbox_addr >> 32) & 0xfff; in hpi_rxdma_cfg_rdc_ring()
258 cfg2.bits.mbaddr_l = ((rdc_desc_cfg->mbox_addr & in hpi_rxdma_cfg_rdc_ring()
271 if (rdc_desc_cfg->full_hdr == 1) in hpi_rxdma_cfg_rdc_ring()
274 if (RXDMA_BUFF_OFFSET_VALID(rdc_desc_cfg->offset)) { in hpi_rxdma_cfg_rdc_ring()
275 cfg2.bits.offset = rdc_desc_cfg->offset; in hpi_rxdma_cfg_rdc_ring()
281 cfga.value = (rdc_desc_cfg->rbr_addr & in hpi_rxdma_cfg_rdc_ring()
285 page_handle.bits.handle = (rdc_desc_cfg->rbr_addr >> 44) && 0xfffff; in hpi_rxdma_cfg_rdc_ring()
290 if ((rdc_desc_cfg->rbr_len < RBR_DEFAULT_MIN_LEN) || in hpi_rxdma_cfg_rdc_ring()
[all …]
/titanic_50/usr/src/uts/common/io/nxge/npi/
H A Dnpi_rxdma.c595 rdc_desc_cfg_t *rdc_desc_cfg, boolean_t new_off) in npi_rxdma_cfg_rdc_ring() argument
619 if (rdc_desc_cfg->mbox_enable == 1) { in npi_rxdma_cfg_rdc_ring()
621 (rdc_desc_cfg->mbox_addr >> 32) & 0xfff; in npi_rxdma_cfg_rdc_ring()
623 ((rdc_desc_cfg->mbox_addr & in npi_rxdma_cfg_rdc_ring()
638 if (rdc_desc_cfg->full_hdr == 1) in npi_rxdma_cfg_rdc_ring()
642 if (RXDMA_RF_BUFF_OFFSET_VALID(rdc_desc_cfg->offset)) { in npi_rxdma_cfg_rdc_ring()
643 switch (rdc_desc_cfg->offset) { in npi_rxdma_cfg_rdc_ring()
648 cfg2.bits.ldw.offset = rdc_desc_cfg->offset; in npi_rxdma_cfg_rdc_ring()
656 rdc_desc_cfg->offset & 0x3; in npi_rxdma_cfg_rdc_ring()
668 if (RXDMA_BUFF_OFFSET_VALID(rdc_desc_cfg->offset)) { in npi_rxdma_cfg_rdc_ring()
[all …]