Lines Matching refs:cmdstat
27 u16 cmdstat = 0; in dm_pciauto_setup_device() local
36 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_setup_device()
37 cmdstat = (cmdstat & ~(PCI_COMMAND_IO | PCI_COMMAND_MEMORY)) | in dm_pciauto_setup_device()
122 cmdstat |= (bar_response & PCI_BASE_ADDRESS_SPACE) ? in dm_pciauto_setup_device()
149 cmdstat |= PCI_COMMAND_MEMORY; in dm_pciauto_setup_device()
158 cmdstat |= PCI_COMMAND_IO; in dm_pciauto_setup_device()
160 dm_pci_write_config16(dev, PCI_COMMAND, cmdstat); in dm_pciauto_setup_device()
171 u16 cmdstat, prefechable_64; in dm_pciauto_prescan_setup_bridge() local
179 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_prescan_setup_bridge()
200 cmdstat |= PCI_COMMAND_MEMORY; in dm_pciauto_prescan_setup_bridge()
221 cmdstat |= PCI_COMMAND_MEMORY; in dm_pciauto_prescan_setup_bridge()
241 cmdstat |= PCI_COMMAND_IO; in dm_pciauto_prescan_setup_bridge()
245 dm_pci_write_config16(dev, PCI_COMMAND, cmdstat | PCI_COMMAND_MASTER); in dm_pciauto_prescan_setup_bridge()