Home
last modified time | relevance | path

Searched refs:usPciCommand (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dpci_intf.c256 u16 usPciCommand = 0; in rtw_pci_parse_configuration() local
263 pci_read_config_word(pdev, PCI_COMMAND, &usPciCommand); in rtw_pci_parse_configuration()
267 if (!(usPciCommand & PCI_CMD_ENABLE_BUS_MASTER)) { in rtw_pci_parse_configuration()
268 RTW_INFO("Bus master is not enabled by BIOS! usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
270 usPciCommand |= CMD_BUS_MASTER; in rtw_pci_parse_configuration()
272 Result = pci_write_config_word(pdev, PCI_COMMAND, usPciCommand); in rtw_pci_parse_configuration()
279 Result = pci_read_config_word(pdev, PCI_COMMAND, &usPciCommand); in rtw_pci_parse_configuration()
286 if (!(usPciCommand & PCI_CMD_ENABLE_BUS_MASTER)) { in rtw_pci_parse_configuration()
287 RTW_INFO("Failed to enable bus master! usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
292 RTW_INFO("Bus master is enabled. usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dpci_intf.c529 u16 usPciCommand = 0; in rtw_pci_parse_configuration() local
539 pci_read_config_word(pdev, PCI_COMMAND, &usPciCommand); in rtw_pci_parse_configuration()
543 if (!(usPciCommand & PCI_CMD_ENABLE_BUS_MASTER)) { in rtw_pci_parse_configuration()
544 RTW_INFO("Bus master is not enabled by BIOS! usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
546 usPciCommand |= CMD_BUS_MASTER; in rtw_pci_parse_configuration()
548 Result = pci_write_config_word(pdev, PCI_COMMAND, usPciCommand); in rtw_pci_parse_configuration()
555 Result = pci_read_config_word(pdev, PCI_COMMAND, &usPciCommand); in rtw_pci_parse_configuration()
562 if (!(usPciCommand & PCI_CMD_ENABLE_BUS_MASTER)) { in rtw_pci_parse_configuration()
563 RTW_INFO("Failed to enable bus master! usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
568 RTW_INFO("Bus master is enabled. usPciCommand=%x\n", usPciCommand); in rtw_pci_parse_configuration()
[all …]