Lines Matching refs:rtwdev
22 void rtw_sec_write_cam(struct rtw_dev *rtwdev, in rtw_sec_write_cam() argument
73 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content); in rtw_sec_write_cam()
74 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_write_cam()
78 void rtw_sec_clear_cam(struct rtw_dev *rtwdev, in rtw_sec_clear_cam() argument
95 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, 0); in rtw_sec_clear_cam()
96 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_clear_cam()
99 void rtw_sec_enable_sec_engine(struct rtw_dev *rtwdev) in rtw_sec_enable_sec_engine() argument
101 struct rtw_sec_desc *sec = &rtwdev->sec; in rtw_sec_enable_sec_engine()
108 ctrl_reg = rtw_read16(rtwdev, REG_CR); in rtw_sec_enable_sec_engine()
110 rtw_write16(rtwdev, REG_CR, ctrl_reg); in rtw_sec_enable_sec_engine()
112 sec_config = rtw_read16(rtwdev, RTW_SEC_CONFIG); in rtw_sec_enable_sec_engine()
119 rtw_write16(rtwdev, RTW_SEC_CONFIG, sec_config); in rtw_sec_enable_sec_engine()