Home
last modified time | relevance | path

Searched refs:bus_master_base (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/busses/ata/promise_tx2/
H A Dpromise_tx2.c95 pci->write_io_8(device, channel->bus_master_base + 1, 0x0b); in handle_interrupt()
96 if ((pci->read_io_8(device, channel->bus_master_base + 3) & 0x20) == 0) in handle_interrupt()
176 publish_controller(device_node *parent, uint16 bus_master_base, uint8 intnum, in publish_controller() argument
200 { ATA_ADAPTER_BUS_MASTER_BASE, B_UINT16_TYPE, { .ui16 = bus_master_base }}, in publish_controller()
217 device_node *parent, uint16 bus_master_base, int8 intnum, in detect_controller() argument
222 if ((bus_master_base & PCI_address_space) != 1) in detect_controller()
225 bus_master_base &= ~PCI_address_space; in detect_controller()
229 { B_IO_PORT, bus_master_base, 16 }, in detect_controller()
233 return publish_controller(parent, bus_master_base, intnum, resources, in detect_controller()
246 uint16 bus_master_base; in probe_controller() local
[all …]
/haiku/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp207 statusBM = pci->read_io_8(device, channel->bus_master_base in ata_adapter_inthand()
219 pci->write_io_8(device, channel->bus_master_base + ATA_BM_STATUS_REG, in ata_adapter_inthand()
267 pci->write_io_32(device, channel->bus_master_base + ATA_BM_PRDT_ADDRESS, in ata_adapter_prepare_dma()
268 (pci->read_io_32(device, channel->bus_master_base + ATA_BM_PRDT_ADDRESS) & 3) in ata_adapter_prepare_dma()
273 status = pci->read_io_8(device, channel->bus_master_base in ata_adapter_prepare_dma()
276 channel->bus_master_base + ATA_BM_STATUS_REG, status); in ata_adapter_prepare_dma()
279 command = pci->read_io_8(device, channel->bus_master_base in ata_adapter_prepare_dma()
286 pci->write_io_8(device, channel->bus_master_base + ATA_BM_COMMAND_REG, in ata_adapter_prepare_dma()
300 command = pci->read_io_8(device, channel->bus_master_base in ata_adapter_start_dma()
307 pci->write_io_8(device, channel->bus_master_base + ATA_BM_COMMAND_REG, in ata_adapter_start_dma()
[all …]
/haiku/headers/private/drivers/
H A Data_adapter.h88 uint16 bus_master_base; member
111 uint16 bus_master_base; member
165 uint16 control_block_base, uint16 bus_master_base,
176 status_t (*publish_controller)(device_node *parent, uint16 bus_master_base,
183 device_node *parent, uint16 bus_master_base,
/haiku/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.cpp131 uint32 bus_master_base; in controller_probe() local
146 bus_master_base = pci->read_pci_config(device, PCI_base_registers + 16, 4); in controller_probe()
187 bus_master_base &= PCI_address_io_mask; in controller_probe()
193 res = sATAAdapter->detect_controller(pci, device, parent, bus_master_base, in controller_probe()
209 true, command_block_base[index], control_block_base[index], bus_master_base, in controller_probe()