Lines Matching refs:debugfs_priv
94 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debugfs_single_show() local
96 return debugfs_priv->cb_read(m, v); in rtw89_debugfs_single_show()
103 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debugfs_single_write() local
105 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_single_write()
113 struct rtw89_debugfs_priv *debugfs_priv = seqpriv->private; in rtw89_debugfs_seq_file_write() local
115 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_seq_file_write()
158 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_reg_select() local
159 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_reg_select()
176 debugfs_priv->read_reg.addr = addr; in rtw89_debug_priv_read_reg_select()
177 debugfs_priv->read_reg.len = len; in rtw89_debug_priv_read_reg_select()
186 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_reg_get() local
187 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_reg_get()
191 len = debugfs_priv->read_reg.len; in rtw89_debug_priv_read_reg_get()
192 addr = debugfs_priv->read_reg.addr; in rtw89_debug_priv_read_reg_get()
235 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_write_reg_set() local
236 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_write_reg_set()
280 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_rf_select() local
281 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_rf_select()
303 debugfs_priv->read_rf.addr = addr; in rtw89_debug_priv_read_rf_select()
304 debugfs_priv->read_rf.mask = mask; in rtw89_debug_priv_read_rf_select()
305 debugfs_priv->read_rf.path = path; in rtw89_debug_priv_read_rf_select()
314 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_read_rf_get() local
315 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_read_rf_get()
319 addr = debugfs_priv->read_rf.addr; in rtw89_debug_priv_read_rf_get()
320 mask = debugfs_priv->read_rf.mask; in rtw89_debug_priv_read_rf_get()
321 path = debugfs_priv->read_rf.path; in rtw89_debug_priv_read_rf_get()
334 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_write_rf_set() local
335 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_write_rf_set()
367 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_rf_reg_dump_get() local
368 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_rf_reg_dump_get()
866 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_txpwr_table_get() local
867 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_txpwr_table_get()
917 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_reg_dump_select() local
918 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_reg_dump_select()
945 debugfs_priv->cb_data = sel; in rtw89_debug_priv_mac_reg_dump_select()
946 rtw89_info(rtwdev, "select mac page dump %d\n", debugfs_priv->cb_data); in rtw89_debug_priv_mac_reg_dump_select()
955 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_reg_dump_get() local
956 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_reg_dump_get()
957 enum rtw89_debug_mac_reg_sel reg_sel = debugfs_priv->cb_data; in rtw89_debug_priv_mac_reg_dump_get()
1034 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_mem_dump_select() local
1035 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_mem_dump_select()
1052 debugfs_priv->mac_mem.sel = sel; in rtw89_debug_priv_mac_mem_dump_select()
1053 debugfs_priv->mac_mem.start = start_addr; in rtw89_debug_priv_mac_mem_dump_select()
1054 debugfs_priv->mac_mem.len = len; in rtw89_debug_priv_mac_mem_dump_select()
1103 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_mem_dump_get() local
1104 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_mem_dump_get()
1107 if (debugfs_priv->mac_mem.sel >= RTW89_MAC_MEM_NUM) in rtw89_debug_priv_mac_mem_dump_get()
1111 switch (debugfs_priv->mac_mem.sel) { in rtw89_debug_priv_mac_mem_dump_get()
1128 debugfs_priv->mac_mem.sel, in rtw89_debug_priv_mac_mem_dump_get()
1129 debugfs_priv->mac_mem.start, in rtw89_debug_priv_mac_mem_dump_get()
1130 debugfs_priv->mac_mem.len); in rtw89_debug_priv_mac_mem_dump_get()
1144 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_dbg_port_dump_select() local
1145 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_dbg_port_dump_select()
1166 debugfs_priv->dbgpkg_en.ss_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
1169 debugfs_priv->dbgpkg_en.dle_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
1172 debugfs_priv->dbgpkg_en.dmac_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
1175 debugfs_priv->dbgpkg_en.cmac_dbg = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
1178 debugfs_priv->dbgpkg_en.dbg_port = enable; in rtw89_debug_priv_mac_dbg_port_dump_select()
3250 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_mac_dbg_port_dump_get() local
3251 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_mac_dbg_port_dump_get()
3253 if (debugfs_priv->dbgpkg_en.ss_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
3255 if (debugfs_priv->dbgpkg_en.dle_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
3257 if (debugfs_priv->dbgpkg_en.dmac_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
3259 if (debugfs_priv->dbgpkg_en.cmac_dbg) in rtw89_debug_priv_mac_dbg_port_dump_get()
3261 if (debugfs_priv->dbgpkg_en.dbg_port) in rtw89_debug_priv_mac_dbg_port_dump_get()
3302 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_send_h2c_set() local
3303 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_send_h2c_set()
3322 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_early_h2c_get() local
3323 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_early_h2c_get()
3340 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_early_h2c_set() local
3341 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_early_h2c_set()
3403 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_fw_crash_get() local
3404 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_fw_crash_get()
3421 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_fw_crash_set() local
3422 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_fw_crash_set()
3457 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_btc_info_get() local
3458 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_btc_info_get()
3469 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_btc_manual_set() local
3470 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_btc_manual_set()
3491 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debug_priv_fw_log_manual_set() local
3492 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_fw_log_manual_set()
3649 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_phy_info_get() local
3650 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_phy_info_get()
3788 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_stations_get() local
3789 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_stations_get()
3838 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_disable_dm_get() local
3839 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_disable_dm_get()
3863 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debug_priv_disable_dm_set() local
3864 struct rtw89_dev *rtwdev = debugfs_priv->rtwdev; in rtw89_debug_priv_disable_dm_set()