Searched refs:devctl (Results 1 – 6 of 6) sorted by relevance
/dflybsd-src/sys/dev/netif/ae/ |
H A D | if_ae.c | 1338 uint16_t devctl; in ae_attach() 1340 devctl = pci_read_config(dev, pcie_ptr + PCIER_DEVCTRL, 2); in ae_attach() 1342 sc->ae_dma_rd_burst = ((devctl >> 12) & 0x07) << in ae_attach() 1345 sc->ae_dma_wr_burst = ((devctl >> 5) & 0x07) << in ae_attach() 1349 128 << ((devctl >> 12) & 0x07)); in ae_attach() 1351 128 << ((devctl >> 5) & 0x07)); in ae_attach()
|
/dflybsd-src/sys/dev/netif/bge/ |
H A D | if_bge.c | 2863 uint16_t devctl; in bge_reset() local 2873 devctl = pci_read_config(dev, in bge_reset() 2877 devctl &= ~(PCIEM_DEVCTL_RELAX_ORDER | PCIEM_DEVCTL_NOSNOOP); in bge_reset() 2881 devctl &= ~PCIEM_DEVCTL_MAX_PAYLOAD_MASK; in bge_reset() 2882 devctl |= PCIEM_DEVCTL_MAX_PAYLOAD_128; in bge_reset() 2886 devctl, 2); in bge_reset() 2920 uint16_t devctl; in bge_reset() local 2922 devctl = pci_read_config(dev, in bge_reset() 2924 devctl &= ~PCIXM_COMMAND_ERO; in bge_reset() 2926 devctl &= ~PCIXM_COMMAND_MAX_READ; in bge_reset() [all …]
|
/dflybsd-src/sys/dev/netif/ale/ |
H A D | if_ale.c | 575 uint16_t devctl; in ale_attach() local 578 devctl = pci_read_config(dev, pcie_ptr + PCIER_DEVCTRL, 2); in ale_attach() 580 sc->ale_dma_rd_burst = ((devctl >> 12) & 0x07) << in ale_attach() 583 sc->ale_dma_wr_burst = ((devctl >> 5) & 0x07) << in ale_attach() 587 128 << ((devctl >> 12) & 0x07)); in ale_attach() 589 128 << ((devctl >> 5) & 0x07)); in ale_attach()
|
/dflybsd-src/sys/dev/netif/age/ |
H A D | if_age.c | 604 uint16_t devctl; in age_attach() local 607 devctl = pci_read_config(dev, pcie_ptr + PCIER_DEVCTRL, 2); in age_attach() 609 sc->age_dma_rd_burst = ((devctl >> 12) & 0x07) << in age_attach() 612 sc->age_dma_wr_burst = ((devctl >> 5) & 0x07) << in age_attach() 616 128 << ((devctl >> 12) & 0x07)); in age_attach() 618 128 << ((devctl >> 5) & 0x07)); in age_attach()
|
/dflybsd-src/share/man/man4/ |
H A D | Makefile | 82 devctl.4 \
|
/dflybsd-src/sys/dev/netif/bnx/ |
H A D | if_bnx.c | 2575 uint16_t devctl; in bnx_reset() local 2667 devctl = pci_read_config(dev, sc->bnx_pciecap + PCIER_DEVCTRL, 2); in bnx_reset() 2670 devctl &= ~(PCIEM_DEVCTL_RELAX_ORDER | PCIEM_DEVCTL_NOSNOOP); in bnx_reset() 2674 devctl &= ~PCIEM_DEVCTL_MAX_PAYLOAD_MASK; in bnx_reset() 2675 devctl |= PCIEM_DEVCTL_MAX_PAYLOAD_128; in bnx_reset() 2679 devctl, 2); in bnx_reset()
|