Lines Matching refs:databuf

2746 	u32 *databuf;  in hisi_sas_debugfs_snapshot_port_reg()  local
2749 databuf = hisi_hba->debugfs_port_reg[dump_index][phy_cnt].data; in hisi_sas_debugfs_snapshot_port_reg()
2750 for (i = 0; i < port->count; i++, databuf++) { in hisi_sas_debugfs_snapshot_port_reg()
2752 *databuf = port->read_port_reg(hisi_hba, phy_cnt, in hisi_sas_debugfs_snapshot_port_reg()
2761 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; in hisi_sas_debugfs_snapshot_global_reg() local
2767 for (i = 0; i < global->count; i++, databuf++) in hisi_sas_debugfs_snapshot_global_reg()
2768 *databuf = global->read_global_reg(hisi_hba, 4 * i); in hisi_sas_debugfs_snapshot_global_reg()
2774 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; in hisi_sas_debugfs_snapshot_axi_reg() local
2780 for (i = 0; i < axi->count; i++, databuf++) in hisi_sas_debugfs_snapshot_axi_reg()
2781 *databuf = axi->read_global_reg(hisi_hba, in hisi_sas_debugfs_snapshot_axi_reg()
2788 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_RAS].data; in hisi_sas_debugfs_snapshot_ras_reg() local
2794 for (i = 0; i < ras->count; i++, databuf++) in hisi_sas_debugfs_snapshot_ras_reg()
2795 *databuf = ras->read_global_reg(hisi_hba, in hisi_sas_debugfs_snapshot_ras_reg()
2803 void *databuf = hisi_hba->debugfs_itct[dump_index].itct; in hisi_sas_debugfs_snapshot_itct_reg() local
2813 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in hisi_sas_debugfs_snapshot_itct_reg()
2814 databuf += sizeof(struct hisi_sas_itct); in hisi_sas_debugfs_snapshot_itct_reg()
2823 void *databuf = hisi_hba->debugfs_iost[dump_index].iost; in hisi_sas_debugfs_snapshot_iost_reg() local
2833 memcpy(databuf, iost, sizeof(struct hisi_sas_iost)); in hisi_sas_debugfs_snapshot_iost_reg()
2834 databuf += sizeof(struct hisi_sas_iost); in hisi_sas_debugfs_snapshot_iost_reg()