Lines Matching refs:debugfs_priv
109 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_single_show() local
111 return debugfs_priv->cb_read(m, v); in rtw_debugfs_single_show()
118 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_common_write() local
120 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_common_write()
128 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_single_write() local
130 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_single_write()
169 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_read_reg() local
170 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_read_reg()
173 len = debugfs_priv->read_reg.len; in rtw_debugfs_get_read_reg()
174 addr = debugfs_priv->read_reg.addr; in rtw_debugfs_get_read_reg()
194 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_rf_read() local
195 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rf_read()
199 path = debugfs_priv->rf_path; in rtw_debugfs_get_rf_read()
200 addr = debugfs_priv->rf_addr; in rtw_debugfs_get_rf_read()
201 mask = debugfs_priv->rf_mask; in rtw_debugfs_get_rf_read()
215 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_fix_rate() local
216 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_fix_rate()
255 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_read_reg() local
256 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_read_reg()
275 debugfs_priv->read_reg.addr = addr; in rtw_debugfs_set_read_reg()
276 debugfs_priv->read_reg.len = len; in rtw_debugfs_set_read_reg()
283 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_dump_cam() local
284 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_dump_cam()
286 u32 hw_key_idx = debugfs_priv->cb_data << RTW_SEC_CAM_ENTRY_SHIFT; in rtw_debugfs_get_dump_cam()
290 seq_printf(m, "cam entry%d\n", debugfs_priv->cb_data); in rtw_debugfs_get_dump_cam()
309 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_rsvd_page() local
310 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rsvd_page()
312 u32 buf_size = debugfs_priv->rsvd_page.page_num * page_size; in rtw_debugfs_get_rsvd_page()
313 u32 offset = debugfs_priv->rsvd_page.page_offset * page_size; in rtw_debugfs_get_rsvd_page()
345 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_rsvd_page() local
346 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rsvd_page()
363 debugfs_priv->rsvd_page.page_offset = offset; in rtw_debugfs_set_rsvd_page()
364 debugfs_priv->rsvd_page.page_num = page_num; in rtw_debugfs_set_rsvd_page()
374 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_single_input() local
382 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input()
391 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_write_reg() local
392 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_write_reg()
437 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_h2c() local
438 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_h2c()
467 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_rf_write() local
468 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rf_write()
500 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_rf_read() local
501 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rf_read()
518 debugfs_priv->rf_path = path; in rtw_debugfs_set_rf_read()
519 debugfs_priv->rf_addr = addr; in rtw_debugfs_set_rf_read()
520 debugfs_priv->rf_mask = mask; in rtw_debugfs_set_rf_read()
530 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_fix_rate() local
531 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_fix_rate()
547 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debug_get_mac_page() local
548 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debug_get_mac_page()
549 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page()
553 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
566 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debug_get_bb_page() local
567 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debug_get_bb_page()
568 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page()
572 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
585 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_rf_dump() local
586 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rf_dump()
693 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_tx_pwr_tbl() local
694 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_tx_pwr_tbl()
751 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_simple_phy_info() local
752 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_simple_phy_info()
774 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_phy_info() local
775 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_phy_info()
903 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_coex_info() local
904 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_coex_info()
918 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_coex_enable() local
919 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_coex_enable()
937 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_coex_enable() local
938 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_coex_enable()
952 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_edcca_enable() local
953 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_edcca_enable()
969 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_edcca_enable() local
970 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_edcca_enable()
984 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_fw_crash() local
985 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_fw_crash()
1010 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_fw_crash() local
1011 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_fw_crash()
1024 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_force_lowest_basic_rate() local
1025 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_force_lowest_basic_rate()
1043 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_force_lowest_basic_rate() local
1044 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_force_lowest_basic_rate()
1057 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_dm_cap() local
1058 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_dm_cap()
1080 debugfs_priv->dm_cap.bit = bit; in rtw_debugfs_set_dm_cap()
1112 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_dm_cap() local
1113 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_dm_cap()
1117 switch (debugfs_priv->dm_cap.bit) { in rtw_debugfs_get_dm_cap()
1129 debugfs_priv->dm_cap.bit = RTW_DM_CAP_NA; in rtw_debugfs_get_dm_cap()