Home
last modified time | relevance | path

Searched refs:write_nic_byte (Results 1 – 23 of 23) sorted by relevance

/drivers/staging/rtl8187se/
Dr8185b_init.c125 write_nic_byte(dev, offset, data); in PlatformIOWrite1Byte()
169 write_nic_byte(dev, offset, cmdByte); in PlatformIOWrite4Byte()
208 write_nic_byte(dev, RF_SW_CONFIG, u1bTmp); in HwHSSIThreeWire()
213 write_nic_byte(dev, RFPinsSelect, u1bTmp); in HwHSSIThreeWire()
224 write_nic_byte(dev, SW_3W_CMD1, SW_3W_CMD1_WE); in HwHSSIThreeWire()
226 write_nic_byte(dev, SW_3W_CMD1, SW_3W_CMD1_RE); in HwHSSIThreeWire()
238 write_nic_byte(dev, SW_3W_CMD1, 0); in HwHSSIThreeWire()
299 write_nic_byte(dev, ANTSEL, 0x00); in SetAntennaConfig87SE()
310 write_nic_byte(dev, ANTSEL, 0x03); in SetAntennaConfig87SE()
473 write_nic_byte(dev, 0x24E, (u1b24E & (~(BIT5|BIT6)))); in ZEBRA_Config_85BASIC_HardCode()
[all …]
Dr8180_rtl8225z2.c363 write_nic_byte(dev, CCK_TXAGC, cck_power_level); in rtl8225z2_SetTXPowerLevel()
378 write_nic_byte(dev, OFDM_TXAGC, ofdm_power_level); in rtl8225z2_SetTXPowerLevel()
420 write_nic_byte(dev, GP_ENABLE, 0); in rtl8225_host_pci_init()
450 write_nic_byte(dev, CONFIG3, 0x44); in rtl8225z2_rf_init()
590 write_nic_byte(dev, 0x5b, 0x0d); mdelay(1); in rtl8225z2_rf_init()
669 write_nic_byte(dev, CR9346, (btCR9346 | 0xC0)); in SetZebraRFPowerState8185()
672 write_nic_byte(dev, CONFIG3, (btConfig3 | CONFIG3_PARM_En)); in SetZebraRFPowerState8185()
679 write_nic_byte(dev, 0x54, 0x00); in SetZebraRFPowerState8185()
680 write_nic_byte(dev, 0x62, 0x00); in SetZebraRFPowerState8185()
695 write_nic_byte(dev, CONFIG4, priv->RFProgType); in SetZebraRFPowerState8185()
[all …]
Dr8180_dm.c65 write_nic_byte(dev, CCK_TXAGC, u1bTmp); in DoTxHighPower()
69 write_nic_byte(dev, OFDM_TXAGC, u1bTmp); in DoTxHighPower()
79 write_nic_byte(dev, CCK_TXAGC, CckTxPwrIdx); in DoTxHighPower()
84 write_nic_byte(dev, OFDM_TXAGC, OfdmTxPwrIdx); in DoTxHighPower()
807 write_nic_byte(dev, OFDM_TXAGC, u1bOfdm); in StaRateAdaptive87SE()
814 write_nic_byte(dev, OFDM_TXAGC, u1bOfdm); in StaRateAdaptive87SE()
824 write_nic_byte(dev, OFDM_TXAGC, OfdmTxPwrIdx); in StaRateAdaptive87SE()
830 write_nic_byte(dev, OFDM_TXAGC, u1bOfdm); in StaRateAdaptive87SE()
922 write_nic_byte(dev, ANTSEL, 0x03); in SetAntenna8185()
932 write_nic_byte(dev, ANTSEL, 0x00); in SetAntenna8185()
Dr8180_core.c176 void write_nic_byte(struct net_device *dev, int x, u8 y) in write_nic_byte() function
610 write_nic_byte(dev, EPROM_CMD, ecmd); in rtl8180_set_mode()
642 write_nic_byte(dev, MSR, msr); in rtl8180_update_msr()
678 write_nic_byte(dev, TPPollStop, priv->dma_poll_mask); in rtl8180_beacon_tx_enable()
688 write_nic_byte(dev, TPPollStop, priv->dma_poll_stop_mask); in rtl8180_beacon_tx_disable()
699 write_nic_byte(dev, CMD, cmd & in rtl8180_rtx_disable()
949 write_nic_byte(dev, PGSELECT, pgreg & ~(1<<PGSELECT_PG_SHIFT)); in set_nic_rxring()
963 write_nic_byte(dev, CMD, cr); in rtl8180_reset()
1504 write_nic_byte(dev, TX_DMA_POLLING, in rtl8180_dma_kick()
1517 write_nic_byte(dev, TPPollStop, priv->dma_poll_stop_mask); in rtl8180_data_hard_stop()
[all …]
Dr8180.h648 void write_nic_byte(struct net_device *dev, int x,u8 y);
/drivers/staging/rtl8192e/rtl8192e/
Drtl_eeprom.c31 write_nic_byte(dev, EPROM_CMD, in eprom_cs()
35 write_nic_byte(dev, EPROM_CMD, read_nic_byte(dev, EPROM_CMD) in eprom_cs()
44 write_nic_byte(dev, EPROM_CMD, in eprom_ck_cycle()
47 write_nic_byte(dev, EPROM_CMD, in eprom_ck_cycle()
56 write_nic_byte(dev, EPROM_CMD, (1<<EPROM_W_SHIFT) | in eprom_w()
59 write_nic_byte(dev, EPROM_CMD, read_nic_byte(dev, EPROM_CMD) in eprom_w()
98 write_nic_byte(dev, EPROM_CMD, in eprom_read()
136 write_nic_byte(dev, EPROM_CMD, in eprom_read()
Drtl_dm.c353 write_nic_byte(dev, UFWP, 1); in dm_check_rate_adaptive()
466 write_nic_byte(dev, Pw_Track_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
467 write_nic_byte(dev, FW_Busy_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
497 write_nic_byte(dev, Pw_Track_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
498 write_nic_byte(dev, FW_Busy_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
504 write_nic_byte(dev, Pw_Track_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
505 write_nic_byte(dev, FW_Busy_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
515 write_nic_byte(dev, Pw_Track_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
516 write_nic_byte(dev, FW_Busy_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
539 write_nic_byte(dev, Pw_Track_Flag, 0); in dm_TXPowerTrackingCallback_TSSI()
[all …]
Dr8192E_dev.c52 write_nic_byte(dev, BCN_ERR_THRESH, 100); in rtl8192e_start_beacon()
92 write_nic_byte(dev, MSR, msr); in rtl8192e_update_msr()
135 write_nic_byte(dev, MSR, btMsr); in rtl8192e_SetHwReg()
162 write_nic_byte(dev, SLOT_TIME, val[0]); in rtl8192e_SetHwReg()
289 write_nic_byte(dev, AcmHwCtrl, AcmCtrl); in rtl8192e_SetHwReg()
294 write_nic_byte(dev, SIFS, val[0]); in rtl8192e_SetHwReg()
295 write_nic_byte(dev, SIFS+1, val[0]); in rtl8192e_SetHwReg()
301 write_nic_byte(dev, rFPGA0_RFTiming1, Rf_Timing); in rtl8192e_SetHwReg()
681 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_hwconfig()
688 write_nic_byte(dev, UFWP, 1); in rtl8192_hwconfig()
[all …]
Drtl_pm.c62 write_nic_byte(dev, PMR, 0x5); in rtl8192E_suspend()
63 write_nic_byte(dev, MacBlkCtrl, 0xa); in rtl8192E_suspend()
Dr8192E_phy.c560 write_nic_byte(dev, BB_GLOBAL_RESET, (bRegValue|BB_GLOBAL_RESET_BIT)); in rtl8192_BB_Config_ParaFile()
967 write_nic_byte(dev, CurrentCmd->Para1, in rtl8192_phy_SwChnlStepByStep()
1198 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_SetBWModeWorkItem()
1203 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_SetBWModeWorkItem()
1351 write_nic_byte(dev, rOFDM0_XAAGCCore1, initial_gain); in InitialGain819xPci()
1352 write_nic_byte(dev, rOFDM0_XBAGCCore1, initial_gain); in InitialGain819xPci()
1353 write_nic_byte(dev, rOFDM0_XCAGCCore1, initial_gain); in InitialGain819xPci()
1354 write_nic_byte(dev, rOFDM0_XDAGCCore1, initial_gain); in InitialGain819xPci()
1357 write_nic_byte(dev, 0xa0a, POWER_DETECTION_TH); in InitialGain819xPci()
1414 write_nic_byte(dev, ANAPAR_FOR_8192PciE, 0x07); in PHY_SetRtl8192eRfOff()
[all …]
Dr8192E_firmware.c100 write_nic_byte(dev, TPPoll, TPPoll_CQ); in fw_download_code()
127 write_nic_byte(dev, CPU_GEN, in CPUcheck_maincodeok_turnonCPU()
Drtl_cam.c80 write_nic_byte(dev, SECR, SECR_value); in EnableHWSecurityConfig8192()
Dr8192E_cmdpkt.c100 write_nic_byte(dev, TPPoll, TPPoll_CQ); in cmpk_message_handle_tx()
Drtl_core.h1019 void write_nic_byte(struct net_device *dev, int x, u8 y);
Drtl_core.c291 void write_nic_byte(struct net_device *dev, int x, u8 y) in write_nic_byte() function
1605 write_nic_byte(dev, UFWP, 1); in rtl819x_ifsilentreset()
2659 write_nic_byte(dev, 0x173, 1); in rtl8192_ioctl()
Drtl_wx.c1035 write_nic_byte(dev, 0x173, 1); in r8192_wx_set_enc_ext()
/drivers/staging/rtl8192u/
Dr8192U_dm.c494 write_nic_byte(dev, UFWP, 1); in dm_check_rate_adaptive()
606 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
651 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
679 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
707 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
801 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
808 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
816 write_nic_byte(dev, 0x1ba, 0); in dm_TXPowerTrackingCallback_TSSI()
1745 write_nic_byte(dev, UFWP, 1); in dm_restore_dynamic_mechanism_state()
2187 write_nic_byte(dev, rOFDM0_XAAGCCore1, 0x17); in dm_ctrl_initgain_byrssi_by_fwfalse_alarm()
[all …]
Dr819xU_phy.c774 write_nic_byte(dev, BB_GLOBAL_RESET,(bRegValue|BB_GLOBAL_RESET_BIT)); in rtl8192_BB_Config_ParaFile()
1365 write_nic_byte(dev, CurrentCmd->Para1, (u8)CurrentCmd->Para2); in rtl8192_phy_SwChnlStepByStep()
1535 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_SetBWModeWorkItem()
1541 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_SetBWModeWorkItem()
1729 write_nic_byte(dev, rOFDM0_XAAGCCore1, initial_gain); in InitialGainOperateWorkItemCallBack()
1730 write_nic_byte(dev, rOFDM0_XBAGCCore1, initial_gain); in InitialGainOperateWorkItemCallBack()
1731 write_nic_byte(dev, rOFDM0_XCAGCCore1, initial_gain); in InitialGainOperateWorkItemCallBack()
1732 write_nic_byte(dev, rOFDM0_XDAGCCore1, initial_gain); in InitialGainOperateWorkItemCallBack()
1734 write_nic_byte(dev, 0xa0a, POWER_DETECTION_TH); in InitialGainOperateWorkItemCallBack()
Dr8192U_core.c311 void write_nic_byte(struct net_device *dev, int indx, u8 data) in write_nic_byte() function
780 write_nic_byte(dev, EPROM_CMD, ecmd); in rtl8192_set_mode()
809 write_nic_byte(dev, MSR, msr); in rtl8192_update_msr()
987 write_nic_byte(dev, CMDR, cmd &~ \ in rtl8192_rtx_disable()
1531 write_nic_byte(dev, MSR, msr2 | MSR_LINK_NONE); in rtl8192_beacon_stop()
1532 write_nic_byte(dev, MSR, msr); in rtl8192_beacon_stop()
1608 write_nic_byte(dev, SLOT_TIME, slot_time); in rtl8192_update_cap()
1638 write_nic_byte(dev, BCN_ERR_THRESH, 100); in rtl8192_net_update()
2514 write_nic_byte(dev, UFWP, 1); in rtl8192_update_ratr_table()
3196 write_nic_byte(dev, BW_OPMODE, regBwOpMode); in rtl8192_hwconfig()
[all …]
Dr819xU_firmware.c187 write_nic_byte(dev, CPU_GEN, (u8)((CPU_status|CPU_GEN_PWR_STB_CPU)&0xff)); in CPUcheck_maincodeok_turnonCPU()
Dr8192U.h1212 void write_nic_byte(struct net_device *dev, int x,u8 y);
Dr8192U_wx.c221 write_nic_byte(dev, addr, wrqu->data.length); in r8192_wx_write_nicb()
/drivers/net/wireless/ipw2x00/
Dipw2100.c429 static inline void write_nic_byte(struct net_device *dev, u32 addr, u8 val) in write_nic_byte() function
8568 write_nic_byte(dev, 0x210014, 0x72); /* fifo width =16 */ in ipw2100_ucode_download()
8570 write_nic_byte(dev, 0x210014, 0x72); /* fifo width =16 */ in ipw2100_ucode_download()
8574 write_nic_byte(dev, 0x210000, 0x40); in ipw2100_ucode_download()
8576 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
8578 write_nic_byte(dev, 0x210000, 0x40); in ipw2100_ucode_download()
8584 write_nic_byte(dev, 0x210010, *microcode_data++); in ipw2100_ucode_download()
8585 write_nic_byte(dev, 0x210010, *microcode_data++); in ipw2100_ucode_download()
8590 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
8595 write_nic_byte(dev, 0x210000, 0x0); in ipw2100_ucode_download()
[all …]