Lines Matching refs:debugfs_priv
73 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debugfs_single_show() local
75 return debugfs_priv->cb_read(m, v); in rtw89_debugfs_single_show()
82 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debugfs_single_write() local
84 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_single_write()
92 struct rtw89_debugfs_priv *debugfs_priv = seqpriv->private; in rtw89_debugfs_seq_file_write() local
94 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_seq_file_write()
137 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_reg_select() local
138 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_reg_select()
155 debugfs_priv->read_reg.addr = addr; in rtw89_debug_priv_read_reg_select()
156 debugfs_priv->read_reg.len = len; in rtw89_debug_priv_read_reg_select()
165 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_reg_get() local
166 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_reg_get()
170 len = debugfs_priv->read_reg.len; in rtw89_debug_priv_read_reg_get()
171 addr = debugfs_priv->read_reg.addr; in rtw89_debug_priv_read_reg_get()
214 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_write_reg_set() local
215 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_write_reg_set()
259 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_rf_select() local
260 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_rf_select()
282 debugfs_priv->read_rf.addr = addr; in rtw89_debug_priv_read_rf_select()
283 debugfs_priv->read_rf.mask = mask; in rtw89_debug_priv_read_rf_select()
284 debugfs_priv->read_rf.path = path; in rtw89_debug_priv_read_rf_select()
293 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_rf_get() local
294 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_rf_get()
298 addr = debugfs_priv->read_rf.addr; in rtw89_debug_priv_read_rf_get()
299 mask = debugfs_priv->read_rf.mask; in rtw89_debug_priv_read_rf_get()
300 path = debugfs_priv->read_rf.path; in rtw89_debug_priv_read_rf_get()
313 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_write_rf_set() local
314 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_write_rf_set()
346 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_rf_reg_dump_get() local
347 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_rf_reg_dump_get()
605 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_txpwr_table_get() local
606 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_txpwr_table_get()
649 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_reg_dump_select() local
650 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_reg_dump_select()
677 debugfs_priv->cb_data = sel; in rtw89_debug_priv_mac_reg_dump_select()
678 rtw89_info(rtwdev, "select mac page dump %d\n", debugfs_priv->cb_data); in rtw89_debug_priv_mac_reg_dump_select()
687 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_reg_dump_get() local
688 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_reg_dump_get()
689 enum rtw89_debug_mac_reg_sel reg_sel = debugfs_priv->cb_data; in rtw89_debug_priv_mac_reg_dump_get()
766 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_mem_dump_select() local
767 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_mem_dump_select()
784 debugfs_priv->mac_mem.sel = sel; in rtw89_debug_priv_mac_mem_dump_select()
785 debugfs_priv->mac_mem.start = start_addr; in rtw89_debug_priv_mac_mem_dump_select()
786 debugfs_priv->mac_mem.len = len; in rtw89_debug_priv_mac_mem_dump_select()
835 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_mem_dump_get() local
836 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_mem_dump_get()
839 if (debugfs_priv->mac_mem.sel >= RTW89_MAC_MEM_NUM) in rtw89_debug_priv_mac_mem_dump_get()
843 switch (debugfs_priv->mac_mem.sel) { in rtw89_debug_priv_mac_mem_dump_get()
860 debugfs_priv->mac_mem.sel, in rtw89_debug_priv_mac_mem_dump_get()
861 debugfs_priv->mac_mem.start, in rtw89_debug_priv_mac_mem_dump_get()
862 debugfs_priv->mac_mem.len); in rtw89_debug_priv_mac_mem_dump_get()
876 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_dbg_port_dump_select() local
877 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_dbg_port_dump_select()
898 debugfs_priv->dbgpkg_en.ss_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
901 debugfs_priv->dbgpkg_en.dle_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
904 debugfs_priv->dbgpkg_en.dmac_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
907 debugfs_priv->dbgpkg_en.cmac_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
910 debugfs_priv->dbgpkg_en.dbg_port = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
2982 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_dbg_port_dump_get() local
2983 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_dbg_port_dump_get()
2985 if (debugfs_priv->dbgpkg_en.ss_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
2987 if (debugfs_priv->dbgpkg_en.dle_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
2989 if (debugfs_priv->dbgpkg_en.dmac_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
2991 if (debugfs_priv->dbgpkg_en.cmac_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
2993 if (debugfs_priv->dbgpkg_en.dbg_port) in rtw89_debug_priv_mac_dbg_port_dump_get()
3034 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_send_h2c_set() local
3035 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_send_h2c_set()
3054 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_early_h2c_get() local
3055 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_early_h2c_get()
3072 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_early_h2c_set() local
3073 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_early_h2c_set()
3134 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_fw_crash_get() local
3135 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_fw_crash_get()
3152 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_fw_crash_set() local
3153 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_fw_crash_set()
3188 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_btc_info_get() local
3189 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_btc_info_get()
3200 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_btc_manual_set() local
3201 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_btc_manual_set()
3219 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_fw_log_manual_set() local
3220 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_fw_log_manual_set()
3362 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_phy_info_get() local
3363 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_phy_info_get()
3495 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_stations_get() local
3496 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_stations_get()