Home
last modified time | relevance | path

Searched refs:n_regs (Results 1 – 24 of 24) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c102 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7615_tm_reg_backup_restore() local
107 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore()
112 rf_backup_list[i].reg, b[n_regs + i]); in mt7615_tm_reg_backup_restore()
119 b = devm_kzalloc(dev->mt76.dev, 4 * (n_regs + n_rf_regs), in mt7615_tm_reg_backup_restore()
125 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore()
128 b[n_regs + i] = mt7615_rf_rr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v7.c205 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_dump() argument
233 *n_regs = i; in kgd_hqd_dump()
295 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument
314 *n_regs = i; in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v8.c229 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_dump() argument
257 *n_regs = i; in kgd_hqd_dump()
318 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument
346 *n_regs = i; in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_arcturus.h27 uint32_t (**dump)[2], uint32_t *n_regs);
Damdgpu_amdkfd_gfx_v10.c341 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_dump() argument
365 *n_regs = i; in kgd_hqd_dump()
441 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument
465 *n_regs = i; in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v11.c313 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_dump_v11() argument
337 *n_regs = i; in hqd_dump_v11()
413 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v11() argument
442 *n_regs = i; in hqd_sdma_dump_v11()
Damdgpu_amdkfd_arcturus.c192 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_arcturus_hqd_sdma_dump() argument
216 *n_regs = i; in kgd_arcturus_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v9.c353 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_gfx_v9_hqd_dump() argument
377 *n_regs = i; in kgd_gfx_v9_hqd_dump()
453 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument
477 *n_regs = i; in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v10_3.c328 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_dump_v10_3() argument
352 *n_regs = i; in hqd_dump_v10_3()
428 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v10_3() argument
452 *n_regs = i; in hqd_sdma_dump_v10_3()
Damdgpu_amdkfd_gfx_v9.h41 uint32_t (**dump)[2], uint32_t *n_regs);
/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h254 uint32_t (**dump)[2], uint32_t *n_regs);
258 uint32_t (**dump)[2], uint32_t *n_regs);
/drivers/net/ethernet/mediatek/
Dmtk_wed_debugfs.c48 const struct reg_dump *regs, int n_regs) in dump_wed_regs() argument
53 for (cur = regs; cur < &regs[n_regs]; cur++) { in dump_wed_regs()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c336 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7915_tm_reg_backup_restore() local
360 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore()
366 b = devm_kzalloc(dev->mt76.dev, 4 * n_regs, GFP_KERNEL); in mt7915_tm_reg_backup_restore()
371 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c2431 uint32_t (*dump)[2], uint32_t n_regs) in seq_reg_dump() argument
2435 for (i = 0, count = 0; i < n_regs; i++) { in seq_reg_dump()
2454 uint32_t (*dump)[2], n_regs; in dqm_debugfs_hqds() local
2465 &dump, &n_regs); in dqm_debugfs_hqds()
2471 seq_reg_dump(m, dump, n_regs); in dqm_debugfs_hqds()
2485 dqm->dev->adev, pipe, queue, &dump, &n_regs); in dqm_debugfs_hqds()
2491 seq_reg_dump(m, dump, n_regs); in dqm_debugfs_hqds()
2502 dqm->dev->adev, pipe, queue, &dump, &n_regs); in dqm_debugfs_hqds()
2508 seq_reg_dump(m, dump, n_regs); in dqm_debugfs_hqds()
/drivers/net/ethernet/sfc/siena/
Dnic.h201 size_t n_regs);
Dfarch.c104 size_t n_regs) in efx_farch_test_registers() argument
110 for (i = 0; i < n_regs; ++i) { in efx_farch_test_registers()
/drivers/net/ethernet/sfc/
Dnic.h387 size_t n_regs);
/drivers/gpu/drm/i915/
Di915_perf.c1831 u32 n_regs) in write_cs_mi_lri() argument
1835 for (i = 0; i < n_regs; i++) { in write_cs_mi_lri()
1838 n_regs - i, in write_cs_mi_lri()
4040 u32 n_regs) in alloc_oa_regs() argument
4046 if (!n_regs) in alloc_oa_regs()
4054 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs()
4058 for (i = 0; i < n_regs; i++) { in alloc_oa_regs()
/drivers/net/ethernet/sfc/falcon/
Dnic.h495 size_t n_regs);
Dfarch.c100 size_t n_regs) in ef4_farch_test_registers() argument
106 for (i = 0; i < n_regs; ++i) { in ef4_farch_test_registers()
/drivers/net/wireless/realtek/rtw89/
Drtw8852c_table.c36644 .n_regs = ARRAY_SIZE(rtw89_8852c_phy_bb_regs),
36650 .n_regs = ARRAY_SIZE(rtw89_8852c_phy_bb_reg_gain),
36656 .n_regs = ARRAY_SIZE(rtw89_8852c_phy_radioa_regs),
36663 .n_regs = ARRAY_SIZE(rtw89_8852c_phy_radiob_regs),
36670 .n_regs = ARRAY_SIZE(rtw89_8852c_phy_nctl_regs),
Drtw8852a_table.c50997 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_bb_regs),
51003 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_radioa_regs),
51009 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_radiob_regs),
51015 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_nctl_regs),
Dphy.c1172 for (i = 0; i < table->n_regs; i++) { in rtw89_phy_sel_headline()
1269 for (i = headline_size; i < table->n_regs; i++) { in rtw89_phy_init_reg()
Dcore.h2515 u32 n_regs; member