Lines Matching refs:debugfs_priv
53 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_single_show() local
55 return debugfs_priv->cb_read(m, v); in rtw_debugfs_single_show()
62 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_common_write() local
64 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_common_write()
72 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_single_write() local
74 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_single_write()
113 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_read_reg() local
114 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_read_reg()
117 len = debugfs_priv->read_reg.len; in rtw_debugfs_get_read_reg()
118 addr = debugfs_priv->read_reg.addr; in rtw_debugfs_get_read_reg()
138 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_rf_read() local
139 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rf_read()
143 path = debugfs_priv->rf_path; in rtw_debugfs_get_rf_read()
144 addr = debugfs_priv->rf_addr; in rtw_debugfs_get_rf_read()
145 mask = debugfs_priv->rf_mask; in rtw_debugfs_get_rf_read()
159 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_fix_rate() local
160 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_fix_rate()
199 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_read_reg() local
200 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_read_reg()
219 debugfs_priv->read_reg.addr = addr; in rtw_debugfs_set_read_reg()
220 debugfs_priv->read_reg.len = len; in rtw_debugfs_set_read_reg()
227 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_dump_cam() local
228 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_dump_cam()
230 u32 hw_key_idx = debugfs_priv->cb_data << RTW_SEC_CAM_ENTRY_SHIFT; in rtw_debugfs_get_dump_cam()
234 seq_printf(m, "cam entry%d\n", debugfs_priv->cb_data); in rtw_debugfs_get_dump_cam()
253 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_rsvd_page() local
254 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_rsvd_page()
256 u32 buf_size = debugfs_priv->rsvd_page.page_num * page_size; in rtw_debugfs_get_rsvd_page()
257 u32 offset = debugfs_priv->rsvd_page.page_offset * page_size; in rtw_debugfs_get_rsvd_page()
289 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_rsvd_page() local
290 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rsvd_page()
307 debugfs_priv->rsvd_page.page_offset = offset; in rtw_debugfs_set_rsvd_page()
308 debugfs_priv->rsvd_page.page_num = page_num; in rtw_debugfs_set_rsvd_page()
318 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_single_input() local
319 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_single_input()
336 debugfs_priv->cb_data = input; in rtw_debugfs_set_single_input()
345 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_write_reg() local
346 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_write_reg()
391 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_h2c() local
392 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_h2c()
421 struct rtw_debugfs_priv *debugfs_priv = filp->private_data; in rtw_debugfs_set_rf_write() local
422 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rf_write()
454 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_rf_read() local
455 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_rf_read()
472 debugfs_priv->rf_path = path; in rtw_debugfs_set_rf_read()
473 debugfs_priv->rf_addr = addr; in rtw_debugfs_set_rf_read()
474 debugfs_priv->rf_mask = mask; in rtw_debugfs_set_rf_read()
484 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_fix_rate() local
485 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_fix_rate()
508 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debug_get_mac_page() local
509 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debug_get_mac_page()
510 u32 page = debugfs_priv->cb_data; in rtw_debug_get_mac_page()
514 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
527 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debug_get_bb_page() local
528 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debug_get_bb_page()
529 u32 page = debugfs_priv->cb_data; in rtw_debug_get_bb_page()
533 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
546 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debug_get_rf_dump() local
547 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debug_get_rf_dump()
654 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_tx_pwr_tbl() local
655 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_tx_pwr_tbl()
712 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_simple_phy_info() local
713 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_simple_phy_info()
735 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_phy_info() local
736 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_phy_info()
864 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_coex_info() local
865 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_coex_info()
879 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_coex_enable() local
880 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_coex_enable()
905 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_coex_enable() local
906 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_coex_enable()
920 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_edcca_enable() local
921 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_edcca_enable()
937 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_edcca_enable() local
938 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_edcca_enable()
952 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_fw_crash() local
953 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_fw_crash()
983 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_fw_crash() local
984 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_fw_crash()
997 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_force_lowest_basic_rate() local
998 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_force_lowest_basic_rate()
1016 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_force_lowest_basic_rate() local
1017 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_force_lowest_basic_rate()
1030 struct rtw_debugfs_priv *debugfs_priv = seqpriv->private; in rtw_debugfs_set_dm_cap() local
1031 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_set_dm_cap()
1052 debugfs_priv->dm_cap.bit = bit; in rtw_debugfs_set_dm_cap()
1084 struct rtw_debugfs_priv *debugfs_priv = m->private; in rtw_debugfs_get_dm_cap() local
1085 struct rtw_dev *rtwdev = debugfs_priv->rtwdev; in rtw_debugfs_get_dm_cap()
1089 switch (debugfs_priv->dm_cap.bit) { in rtw_debugfs_get_dm_cap()
1101 debugfs_priv->dm_cap.bit = RTW_DM_CAP_NA; in rtw_debugfs_get_dm_cap()