Home
last modified time | relevance | path

Searched refs:bus_cap (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_cap.c24 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in _hal_bus_cap_pre_decision() local
27 bus_cap->l0s_ctrl = bus_sw->l0s_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
29 bus_cap->l1_ctrl = bus_sw->l1_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
31 bus_cap->l1ss_ctrl = bus_sw->l1ss_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
33 bus_cap->wake_ctrl = bus_sw->wake_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
35 bus_cap->crq_ctrl = bus_sw->crq_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
39 bus_cap->l0sdly_ctrl = bus_sw->l0sdly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
41 bus_cap->l1dly_ctrl = bus_sw->l1dly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
43 bus_cap->clkdly_ctrl = bus_sw->clkdly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
47 bus_cap->txbd_num = (bus_sw->txbd_num) ? in _hal_bus_cap_pre_decision()
[all …]
H A Dhal_pci.c175 struct bus_cap_t *bus_cap = &hal_info->hal_com->bus_cap; in rtw_hal_ltr_is_sw_ctrl() local
177 return bus_cap->ltr_sw_ctrl ? in rtw_hal_ltr_is_sw_ctrl()
184 struct bus_cap_t *bus_cap = &hal_info->hal_com->bus_cap; in rtw_hal_ltr_is_hw_ctrl() local
186 return bus_cap->ltr_hw_ctrl ? in rtw_hal_ltr_is_hw_ctrl()
H A Dhal_def.h1040 struct bus_cap_t bus_cap; /* Final bus capability */ member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_cap.c24 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in _hal_bus_cap_pre_decision() local
27 bus_cap->l0s_ctrl = bus_sw->l0s_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
29 bus_cap->l1_ctrl = bus_sw->l1_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
31 bus_cap->l1ss_ctrl = bus_sw->l1ss_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
33 bus_cap->wake_ctrl = bus_sw->wake_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
35 bus_cap->crq_ctrl = bus_sw->crq_ctrl >= RTW_PCIE_BUS_FUNC_DEFAULT ? in _hal_bus_cap_pre_decision()
39 bus_cap->l0sdly_ctrl = bus_sw->l0sdly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
41 bus_cap->l1dly_ctrl = bus_sw->l1dly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
43 bus_cap->clkdly_ctrl = bus_sw->clkdly_ctrl == RTW_PCIE_BUS_ASPM_DLY_IGNORE ? in _hal_bus_cap_pre_decision()
47 bus_cap->txbd_num = (bus_sw->txbd_num) ? in _hal_bus_cap_pre_decision()
[all …]
H A Dhal_def.h1039 struct bus_cap_t bus_cap; /* Final bus capability */ member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/pci/
H A Drtl8852be_halinit.c74 pcicfg.l0s_ctrl = _hal_set_each_pcicfg(hal_com->bus_cap.l0s_ctrl); in _hal_set_pcicfg_8852be()
75 pcicfg.l1_ctrl = _hal_set_each_pcicfg(hal_com->bus_cap.l1_ctrl); in _hal_set_pcicfg_8852be()
76 pcicfg.l1ss_ctrl = _hal_set_each_pcicfg(hal_com->bus_cap.l1ss_ctrl); in _hal_set_pcicfg_8852be()
77 pcicfg.wake_ctrl = _hal_set_each_pcicfg(hal_com->bus_cap.wake_ctrl); in _hal_set_pcicfg_8852be()
78 pcicfg.crq_ctrl = _hal_set_each_pcicfg(hal_com->bus_cap.crq_ctrl); in _hal_set_pcicfg_8852be()
79 pcicfg.clkdly_ctrl = hal_com->bus_cap.clkdly_ctrl; in _hal_set_pcicfg_8852be()
80 pcicfg.l0sdly_ctrl = hal_com->bus_cap.l0sdly_ctrl; in _hal_set_pcicfg_8852be()
81 pcicfg.l1dly_ctrl = hal_com->bus_cap.l1dly_ctrl; in _hal_set_pcicfg_8852be()
102 "%s :sw state = %u \n",__func__, hal_com->bus_cap.ltr_init_state); in _hal_ltr_sw_init_state_8852be()
104 if (hal_com->bus_cap.ltr_init_state > 0) { in _hal_ltr_sw_init_state_8852be()
[all …]
H A Dhal_trx_8852be.c437 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in hal_get_avail_txbd_8852be() local
456 (u16)bus_cap->txbd_num); in hal_get_avail_txbd_8852be()
477 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in hal_get_avail_rxbd_8852be() local
495 (u16)bus_cap->rxbd_num); in hal_get_avail_rxbd_8852be()
705 u16 txbd_num = (u16)hal_com->bus_cap.txbd_num; in hal_update_txbd_8852be()
1065 u16 rxbd_num = (u16)hal_com->bus_cap.rxbd_num; in hal_update_rxbd_8852be()
1159 u16 txbd_num = (u16)hal_com->bus_cap.txbd_num; in _hal_trx_init_bd_num_8852be()
1160 u16 rxbd_num = (u16)hal_com->bus_cap.rxbd_num; in _hal_trx_init_bd_num_8852be()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hci/
H A Dphl_trx_sdio.c481 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in phl_tx_sdio_thrd_hdl() local
483 u16 retry_time = bus_cap->tx_buf_retry_lmt ? bus_cap->tx_buf_retry_lmt : XMIT_BUFFER_RETRY_LIMIT; in phl_tx_sdio_thrd_hdl()
1308 struct bus_cap_t *bus_cap = &hal_com->bus_cap; in phl_trx_init_sdio() local
1321 "%s: tx_buf_num(%u)\n", __FUNCTION__, bus_cap->tx_buf_num); in phl_trx_init_sdio()
1323 "%s: tx_buf_size(%u)\n", __FUNCTION__, bus_cap->tx_buf_size); in phl_trx_init_sdio()
1325 "%s: mgnt_buf_num(%u)\n", __FUNCTION__, bus_cap->tx_mgnt_buf_num); in phl_trx_init_sdio()
1327 "%s: mgnt_buf_size(%u)\n", __FUNCTION__, bus_cap->tx_mgnt_buf_size); in phl_trx_init_sdio()
1329 "%s: rx_buf_num(%u)\n", __FUNCTION__, bus_cap->rx_buf_num); in phl_trx_init_sdio()
1331 "%s: rx_buf_size(%u)\n", __FUNCTION__, bus_cap->rx_buf_size); in phl_trx_init_sdio()
1340 tx_pool->block_cnt_alloc = bus_cap->tx_mgnt_buf_num in phl_trx_init_sdio()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dcpqphp_core.c758 u8 bus_cap; in cpqhpc_probe() local
849 pci_read_config_byte(pdev, 0x41, &bus_cap); in cpqhpc_probe()
850 if (bus_cap & 0x80) { in cpqhpc_probe()
855 if (bus_cap & 0x40) { in cpqhpc_probe()
860 if (bus_cap & 0x20) { in cpqhpc_probe()
865 if (bus_cap & 0x10) { in cpqhpc_probe()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hci/
H A Dphl_trx_pcie.c1090 txbd->avail_num = (u16)hal_com->bus_cap.txbd_num; in _phl_reset_txbd()
1425 u16 rxbuf_num = (u16)hal_com->bus_cap.rxbuf_num; in _phl_free_rxbuf_pcie()
1513 u16 rxbuf_num = (u16)hal_com->bus_cap.rxbuf_num; in _phl_alloc_rxbuf_pcie()
1572 u16 rxbuf_num = (u16)hal_com->bus_cap.rxbuf_num; in _phl_alloc_rxbuf_pool_pcie()
1917 u16 rxbd_num = (u16)hal_com->bus_cap.rxbd_num; in _phl_alloc_rxbd_pcie()
1999 u16 txbd_num = (u16)hal_com->bus_cap.txbd_num; in _phl_alloc_txbd_pcie()
2053 for (j = 0; j < hal_com->bus_cap.rxbd_num; j++) { in _phl_update_default_rx_bd()
2841 u16 bndy = (u16)hal_com->bus_cap.txbd_num; in phl_handle_busy_wd()
2916 u16 bndy = (u16)hal_com->bus_cap.txbd_num; in phl_handle_busy_h2c()
3008 if (wd_ring[ch].cur_hw_res < hal_com->bus_cap.read_txbd_th || in phl_tx_pcie()
[all …]