Lines Matching refs:bdf
23 union pci_bdf bdf; member
42 .bdf.value = CONFIG_SERIAL_PCI_BDF,
173 uint32_t bar0 = pci_pdev_read_cfg(uart.bdf, pci_bar_offset(0), 4U); in uart16550_init()
180 uint16_t cmd = (uint16_t)pci_pdev_read_cfg(uart.bdf, PCIR_COMMAND, 2U); in uart16550_init()
185 pci_pdev_write_cfg(uart.bdf, PCIR_COMMAND, 2U, cmd | PCIM_CMD_PORTEN); in uart16550_init()
188 uint32_t bar_hi = pci_pdev_read_cfg(uart.bdf, pci_bar_offset(1), 4U); in uart16550_init()
194 pci_pdev_write_cfg(uart.bdf, PCIR_COMMAND, 2U, cmd | PCIM_CMD_MEMEN); in uart16550_init()
286 uart.bdf.value = 0U; in uart16550_set_property()
291 uart.bdf.value = data; in uart16550_set_property()
303 if (uart.enabled && (uart.bdf.value != 0)) { in is_pci_dbg_uart()
304 if (bdf_value.value == uart.bdf.value) { in is_pci_dbg_uart()