Searched refs:reg_ofs (Results 1 – 2 of 2) sorted by relevance
154 mask = readw(ndev->reg_ofs.pdb_mask); in ntb_register_db_callback()156 writew(mask, ndev->reg_ofs.pdb_mask); in ntb_register_db_callback()176 mask = readw(ndev->reg_ofs.pdb_mask); in ntb_unregister_db_callback()178 writew(mask, ndev->reg_ofs.pdb_mask); in ntb_unregister_db_callback()258 writel(val, ndev->reg_ofs.spad_read + idx * 4); in ntb_write_local_spad()280 *val = readl(ndev->reg_ofs.spad_write + idx * 4); in ntb_read_local_spad()307 writel(val, ndev->reg_ofs.spad_write + idx * 4); in ntb_write_remote_spad()329 *val = readl(ndev->reg_ofs.spad_read + idx * 4); in ntb_read_remote_spad()393 writeq(addr, ndev->reg_ofs.sbar2_xlat); in ntb_set_mw_addr()396 writeq(addr, ndev->reg_ofs.sbar4_xlat); in ntb_set_mw_addr()[all …]
116 } reg_ofs; member