Home
last modified time | relevance | path

Searched refs:dev_fn (Results 1 – 6 of 6) sorted by relevance

/lk-master/dev/bus/pci/
A Dtype1.cpp84 LTRACEF("state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_byte()
85 *value = type1_read_half(state->bus, state->dev_fn >> 3, state->dev_fn & 0x7, reg); in read_config_byte()
90 LTRACEF("state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_half()
91 *value = type1_read_half(state->bus, state->dev_fn >> 3, state->dev_fn & 0x7, reg); in read_config_half()
96 LTRACEF("state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_word()
97 *value = type1_read_word(state->bus, state->dev_fn >> 3, state->dev_fn & 0x7, reg); in read_config_word()
A Ddebug.cpp38 state.dev_fn = devfn; in pci_list()
61 state.bus, state.dev_fn >> 3, state.dev_fn & 7, in pci_list()
109 loc.dev_fn = atoui(argv[4].str); in pci_config()
117 loc.dev_fn >> 3, loc.dev_fn & 7, config.vendor_id, config.device_id); in pci_config()
132 loc.dev_fn = atoui(argv[4].str); in pci_config()
141 … printf("byte at device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
150 … printf("half at device %02x:%02x config offset %04x: %04x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
159 … printf("word at device %02x:%02x config offset %04x: %08x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
169 loc.dev_fn = atoui(argv[4].str); in pci_config()
178 … printf("byte to device %02x:%02x config offset %04x: %02x\n", loc.bus, loc.dev_fn, offset, value); in pci_config()
[all …]
A Decam.cpp90 offset += (size_t)state->dev_fn << 12; in location_to_offset()
115 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_byte()
120 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_half()
125 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in read_config_word()
130 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in write_config_byte()
135 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in write_config_half()
140 LTRACEF_LEVEL(2, "state bus %#hhx dev_fn %#hhx reg %#x\n", state->bus, state->dev_fn, reg); in write_config_word()
A Dbios32.cpp200 state->dev_fn = bx & 0xFF; in find_pci_device()
223 state->dev_fn = bx & 0xFF; in find_pci_class_code()
234 bx |= state->dev_fn; in read_config_byte()
256 bx |= state->dev_fn; in read_config_half()
278 bx |= state->dev_fn; in read_config_word()
300 bx |= state->dev_fn; in write_config_byte()
322 bx |= state->dev_fn; in write_config_half()
344 bx |= state->dev_fn; in write_config_word()
385 bx |= state->dev_fn; in set_irq_hw_int()
/lk-master/dev/bus/pci/include/dev/bus/
A Dpci.h127 uint8_t dev_fn; member
/lk-master/platform/pc/
A Dide.c234 LTRACEF("Found PCI IDE device at %02x:%02x\n", loc.bus, loc.dev_fn); in ide_init()

Completed in 8 milliseconds