/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 102 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v12.c | 107 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v12() argument 131 *n_regs = i; in hqd_dump_v12() 138 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v12() argument 158 *n_regs = i; in hqd_sdma_dump_v12()
|
H A D | amdgpu_amdkfd_gfx_v7.c | 206 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() argument 234 *n_regs = i; in kgd_hqd_dump() 296 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument 315 *n_regs = i; in kgd_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_arcturus.h | 27 uint32_t (**dump)[2], uint32_t *n_regs);
|
H A D | amdgpu_amdkfd_gfx_v8.c | 230 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() argument 258 *n_regs = i; in kgd_hqd_dump() 319 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument 347 *n_regs = i; in kgd_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_gfx_v10_3.c | 330 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v10_3() argument 354 *n_regs = i; in hqd_dump_v10_3() 430 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v10_3() argument 454 *n_regs = i; in hqd_sdma_dump_v10_3()
|
H A D | amdgpu_amdkfd_gfx_v11.c | 315 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v11() argument 339 *n_regs = i; in hqd_dump_v11() 415 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v11() argument 444 *n_regs = i; in hqd_sdma_dump_v11()
|
H A D | amdgpu_amdkfd_arcturus.c | 194 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_arcturus_hqd_sdma_dump() argument 218 *n_regs = i; in kgd_arcturus_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_gfx_v10.c | 344 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() argument 368 *n_regs = i; in kgd_hqd_dump() 444 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument 468 *n_regs = i; in kgd_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_gfx_v9.h | 40 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst);
|
H A D | amdgpu_amdkfd_gfx_v9.c | 355 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_gfx_v9_hqd_dump() argument 379 *n_regs = i; in kgd_gfx_v9_hqd_dump() 455 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump() argument 479 *n_regs = i; in kgd_hqd_sdma_dump()
|
H A D | amdgpu_amdkfd_gc_9_4_3.c | 130 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_gfx_v9_4_3_hqd_sdma_dump() argument 160 *n_regs = i; in kgd_gfx_v9_4_3_hqd_sdma_dump()
|
/linux/drivers/media/i2c/ |
H A D | tw9900.c | 70 int n_regs; member 126 .n_regs = ARRAY_SIZE(tw9900_ntsc_regs), 133 .n_regs = ARRAY_SIZE(tw9900_pal_regs), 149 const struct regval *regs, int n_regs) in tw9900_write_array() argument 153 for (i = 0; i < n_regs; i++) { in tw9900_write_array() 287 tw9900->cur_mode->n_regs); in tw9900_s_stream()
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | kgd_kfd_interface.h | 247 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst); 251 uint32_t (**dump)[2], uint32_t *n_regs);
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 337 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7915_tm_reg_backup_restore() local 362 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore() 368 b = devm_kzalloc(dev->mt76.dev, 4 * n_regs, GFP_KERNEL); in mt7915_tm_reg_backup_restore() 373 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | nic.h | 201 size_t n_regs);
|
H A D | farch.c | 104 size_t n_regs) in efx_farch_test_registers() argument 110 for (i = 0; i < n_regs; ++i) { in efx_farch_test_registers()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_oa.c | 633 static void write_cs_mi_lri(struct xe_bb *bb, const struct xe_oa_reg *reg_data, u32 n_regs) in write_cs_mi_lri() argument 639 for (i = 0; i < n_regs; i++) { in write_cs_mi_lri() 641 u32 n_lri = min_t(u32, n_regs - i, in write_cs_mi_lri() 2270 u32 __user *regs, u32 n_regs) in xe_oa_alloc_regs() argument 2276 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in xe_oa_alloc_regs() 2280 for (i = 0; i < n_regs; i++) { in xe_oa_alloc_regs() 2374 XE_IOCTL_DBG(oa->xe, !arg->n_regs)) in xe_oa_add_config_ioctl() 2393 oa_config->regs_len = arg->n_regs; in xe_oa_add_config_ioctl() 2396 arg->n_regs); in xe_oa_add_config_ioctl()
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_debugfs.c | 58 const struct reg_dump *regs, int n_regs) in dump_wed_regs() argument 63 for (cur = regs; cur < ®s[n_regs]; cur++) { in dump_wed_regs()
|
/linux/include/uapi/drm/ |
H A D | xe_drm.h | 1671 __u32 n_regs; member
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 2157 u32 n_regs) in write_cs_mi_lri() argument 2161 for (i = 0; i < n_regs; i++) { in write_cs_mi_lri() 2164 n_regs - i, in write_cs_mi_lri() 4501 u32 n_regs) in alloc_oa_regs() argument 4507 if (!n_regs) in alloc_oa_regs() 4515 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs() 4519 for (i = 0; i < n_regs; i++) { in alloc_oa_regs()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852b_table.c | 22861 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_bb_regs), 22867 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_bb_reg_gain), 22873 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_radioa_regs), 22880 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_radiob_regs), 22887 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_nctl_regs),
|
H A D | rtw8852a_table.c | 51001 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_bb_regs), 51007 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_radioa_regs), 51013 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_radiob_regs), 51019 .n_regs = ARRAY_SIZE(rtw89_8852a_phy_nctl_regs),
|
H A D | fw.c | 840 u32 n_regs, i; in rtw89_build_phy_tbl_from_elm() local 873 n_regs = le32_to_cpu(elm->size) / sizeof(tbl->regs[0]); in rtw89_build_phy_tbl_from_elm() 874 regs = kcalloc(n_regs, sizeof(tbl->regs[0]), GFP_KERNEL); in rtw89_build_phy_tbl_from_elm() 878 for (i = 0; i < n_regs; i++) { in rtw89_build_phy_tbl_from_elm() 883 tbl->n_regs = n_regs; in rtw89_build_phy_tbl_from_elm()
|
H A D | rtw8851b_table.c | 14833 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_bb_regs), 14839 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_bb_reg_gain), 14845 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_radioa_regs), 14852 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_nctl_regs),
|