Searched refs:rtlpci (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/net/wireless/rtlwifi/ |
D | pci.c | 49 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl_pci_update_default_setting() local 56 ppsc->const_amdpci_aspm = rtlpci->const_amdpci_aspm; in _rtl_pci_update_default_setting() 57 switch (rtlpci->const_pci_aspm) { in _rtl_pci_update_default_setting() 97 switch (rtlpci->const_hwsw_rfoff_d3) { in _rtl_pci_update_default_setting() 115 switch (rtlpci->const_support_pciaspm) { in _rtl_pci_update_default_setting() 154 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl_pci_platform_switch_device_pci_aspm() local 159 pci_write_config_byte(rtlpci->pdev, 0x80, value); in _rtl_pci_platform_switch_device_pci_aspm() 167 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl_pci_switch_clk_req() local 173 pci_write_config_byte(rtlpci->pdev, 0x81, value); in _rtl_pci_switch_clk_req() 185 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl_pci_disable_aspm() local [all …]
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | hw.c | 48 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92ce_set_bcn_ctrl_reg() local 51 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92ce_set_bcn_ctrl_reg() 52 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ce_set_bcn_ctrl_reg() 54 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl92ce_set_bcn_ctrl_reg() 97 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_get_hw_reg() local 101 *((u32 *) (val)) = rtlpci->receive_config; in rtl92ce_get_hw_reg() 159 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_set_hw_reg() local 360 if (rtlpci->acm_method != eAcmWay2_SW) in rtl92ce_set_hw_reg() 374 acm_ctrl | ((rtlpci->acm_method == 2) ? 0x0 : 0x1); in rtl92ce_set_hw_reg() 419 rtlpci->receive_config = ((u32 *) (val))[0]; in rtl92ce_set_hw_reg() [all …]
|
D | sw.c | 48 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92c_init_sw_vars() local 54 rtlpci->transmit_config = CFENDFORM | BIT(12) | BIT(13); in rtl92c_init_sw_vars() 56 rtlpci->receive_config = (RCR_APP_FCS | in rtl92c_init_sw_vars() 68 rtlpci->irq_mask[0] = in rtl92c_init_sw_vars() 77 rtlpci->irq_mask[1] = (u32) (IMR_CPWM | IMR_C2HCMD | 0); in rtl92c_init_sw_vars()
|
D | trx.c | 730 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_tx_fill_desc() local 751 dma_addr_t mapping = pci_map_single(rtlpci->pdev, in rtl92ce_tx_fill_desc() 898 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92ce_tx_fill_cmddesc() local 901 dma_addr_t mapping = pci_map_single(rtlpci->pdev, in rtl92ce_tx_fill_cmddesc() 1039 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92c_cmd_send_packet() local 1046 ring = &rtlpci->tx_ring[BEACON_QUEUE]; in _rtl92c_cmd_send_packet()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | mac.c | 375 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92c_enable_interrupt() local 379 rtl_write_dword(rtlpriv, REG_HIMR, rtlpci->irq_mask[0] & in rtl92c_enable_interrupt() 381 rtl_write_dword(rtlpriv, REG_HIMRE, rtlpci->irq_mask[1] & in rtl92c_enable_interrupt() 383 rtlpci->irq_enabled = true; in rtl92c_enable_interrupt() 402 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92c_disable_interrupt() local 408 rtlpci->irq_enabled = false; in rtl92c_disable_interrupt()
|