Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c348 char *port_offset; in plx_ro_disable() local
439 port_offset = 0x0 + offset; in plx_ro_disable()
440 val = ddi_get32(hdl, (uint32_t *)port_offset); in plx_ro_disable()
443 ddi_put32(hdl, (uint32_t *)port_offset, val); in plx_ro_disable()
449 port_offset = (8 * 0x1000) + offset; in plx_ro_disable()
450 val = ddi_get32(hdl, (uint32_t *)port_offset); in plx_ro_disable()
453 ddi_put32(hdl, (uint32_t *)port_offset, val); in plx_ro_disable()
460 port_offset = (12 * 0x1000) + offset; in plx_ro_disable()
461 val = ddi_get32(hdl, (uint32_t *)port_offset); in plx_ro_disable()
464 ddi_put32(hdl, (uint32_t *)port_offset, val); in plx_ro_disable()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dev.c1594 int port_offset = port ? 0x800 : 0; in ecore_link_init_bb() local
1619 ecore_wr(p_hwfn, p_ptt, XMAC_REG_MODE_BB + port_offset, 0x20); in ecore_link_init_bb()
1622 ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_MAX_SIZE_BB + port_offset, 0x2710); in ecore_link_init_bb()
1625 ecore_wr(p_hwfn, p_ptt, XMAC_REG_TX_CTRL_LO_BB + port_offset, 0xC800); in ecore_link_init_bb()
1628 ecore_wr(p_hwfn, p_ptt, XMAC_REG_CTRL_BB + port_offset, in ecore_link_init_bb()
1631 XMAC_REG_RX_CTRL_BB + port_offset); in ecore_link_init_bb()
1633 ecore_wr(p_hwfn, p_ptt, XMAC_REG_RX_CTRL_BB + port_offset, xmac_rxctrl); in ecore_link_init_bb()