Home
last modified time | relevance | path

Searched refs:PCIM_CMD_MEMEN (Results 1 – 18 of 18) sorted by relevance

/freebsd-12-stable/sys/mips/atheros/
Dar724x_pci.c229 reg = PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN | PCIM_CMD_SERRESPEN | in ar724x_pci_setup()
300 val |= (PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN); in ar724x_pci_fixup()
319 val &= ~(PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN); in ar724x_pci_fixup()
435 PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN in ar724x_pci_attach()
Dar71xx_pci.c308 val |= (PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN); in ar71xx_pci_fixup()
325 val &= ~(PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN); in ar71xx_pci_fixup()
451 PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN in ar71xx_pci_attach()
Dqca955x_pci.c227 reg = PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN | PCIM_CMD_SERRESPEN | in qca955x_pci_setup()
359 PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN in qca955x_pci_attach()
/freebsd-12-stable/sys/arm/versatile/
Dversatile_pci.c212 val |= (PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN | PCIM_CMD_MWRICEN); in versatile_pci_attach()
263 val |= PCIM_CMD_MEMEN | PCIM_CMD_PORTEN; in versatile_pci_attach()
/freebsd-12-stable/sys/mips/cavium/
Doctopci.c545 *commandp |= PCIM_CMD_MEMEN; in octopci_init_bar()
567 command &= ~(PCIM_CMD_MEMEN | PCIM_CMD_PORTEN); in octopci_init_device()
653 command |= PCIM_CMD_MEMEN | PCIM_CMD_PORTEN; in octopci_init_device()
/freebsd-12-stable/usr.sbin/bhyve/
Dpci_emul.c536 return (cmd & PCIM_CMD_MEMEN); in memen()
633 enbit = PCIM_CMD_MEMEN; in pci_emul_alloc_bar()
640 enbit = PCIM_CMD_MEMEN; in pci_emul_alloc_bar()
1728 if (changed & PCIM_CMD_MEMEN) { in pci_emul_cmd_changed()
1729 if (new & PCIM_CMD_MEMEN) in pci_emul_cmd_changed()
/freebsd-12-stable/sys/arm/mv/
Dmv_pci.c605 PCIM_CMD_MEMEN | PCIM_CMD_PORTEN; in mv_pcib_enable()
828 command &= ~(PCIM_CMD_MEMEN | PCIM_CMD_PORTEN); in mv_pcib_init()
838 command |= PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN | in mv_pcib_init()
/freebsd-12-stable/sys/powerpc/mpc85xx/
Dpci_mpc85xx.c342 cfgreg |= PCIM_CMD_SERRESPEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN | in fsl_pcib_attach()
592 command &= ~(PCIM_CMD_MEMEN | PCIM_CMD_PORTEN); in fsl_pcib_init()
/freebsd-12-stable/sys/dev/smartpqi/
Dsmartpqi_main.c271 if ((command & PCIM_CMD_MEMEN) == 0) { in smartpqi_attach()
/freebsd-12-stable/sys/dev/pci/
Dpcireg.h88 #define PCIM_CMD_MEMEN 0x0002 macro
Dpci.c2909 bit = PCIM_CMD_MEMEN; in pci_enable_io_method()
2928 bit = PCIM_CMD_MEMEN; in pci_disable_io_method()
3008 return (pci_read_config(dev, PCIR_COMMAND, 2) & PCIM_CMD_MEMEN) != 0; in pci_memen()
3050 cmd & ~(PCI_BAR_MEM(map) ? PCIM_CMD_MEMEN : PCIM_CMD_PORTEN), 2); in pci_read_bar()
3150 return ((cmd & PCIM_CMD_MEMEN) != 0); in pci_bar_enabled()
3306 cmd |= PCIM_CMD_MEMEN; in pci_add_map()
5462 cmd & ~(PCI_BAR_MEM(map) ? PCIM_CMD_MEMEN : PCIM_CMD_PORTEN), 2); in pci_reserve_map()
5696 PCIR_COMMAND, 2) & ~(PCIM_CMD_MEMEN | PCIM_CMD_PORTEN), 2); in pci_child_deleted()
Dvga_pci.c128 if ((config & (PCIM_CMD_PORTEN | PCIM_CMD_MEMEN)) == 0) in vga_pci_is_boot_display()
Dpci_dw.c226 PCIM_CMD_PORTEN | PCIM_CMD_MEMEN | in pci_dw_setup_hw()
Dpci_pci.c1471 if (command & PCIM_CMD_MEMEN) in pcib_cfg_save()
1492 if (command & PCIM_CMD_MEMEN) in pcib_cfg_restore()
/freebsd-12-stable/sys/sparc64/ebus/
Debus.c319 PCIM_CMD_PERRESPEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN, 2); in ebus_pci_attach()
/freebsd-12-stable/sys/dev/ntb/ntb_hw/
Dntb_hw_intel.c1790 PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN); in intel_ntb_xeon_init_dev()
1832 PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN); in intel_ntb_xeon_gen3_init_dev()
1869 PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN); in intel_ntb_atom_init_dev()
Dntb_hw_plx.c234 PNTX_WRITE(sc, PCIR_COMMAND, PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN); in ntb_plx_init()
/freebsd-12-stable/sys/arm64/rockchip/
Drk_pcie.c1038 PRIV_CFG_WR2(sc, PCIR_COMMAND, PCIM_CMD_MEMEN | in rk_pcie_setup_sw()