========== build_32bit - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:13: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/init.o] Error 1 make[9]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/main.c:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/main.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c:9: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/debugfs.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:13: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mmio.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:9: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mcu.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:12: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mac.o] Error 1 make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7996] Error 2 make[8]: *** Waiting for unfinished jobs.... ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:16: error: variable ‘rate’ has initializer but incomplete type 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: error: storage size of ‘rate’ isn’t known 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:314:12: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ 314 | dev->fixed_rate = val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:329:9: error: implicit declaration of function ‘mt7925_mcu_set_fixed_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] 329 | mt7925_mcu_set_fixed_rate(dev, &rate); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_get_rx_rate ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: warning: unused variable ‘rate’ [-Wunused-variable] 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:340:19: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ 340 | *val = dev->fixed_rate; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:364:12: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ 364 | dev->auto_rate = val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:367:9: error: implicit declaration of function ‘mt7925_mcu_set_auto_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] 367 | mt7925_mcu_set_auto_rate(dev, wlan_idx, enable, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_get_rx_rate ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:378:19: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ 378 | *val = dev->auto_rate; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:400:12: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 400 | dev->wtbl_dump_idx = (u32)val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:410:19: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 410 | *val = dev->wtbl_dump_idx; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:422:22: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 422 | u32 idx = dev->wtbl_dump_idx; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:443:16: error: implicit declaration of function ‘mt7925_mac_wtbl_lmac_addr’; did you mean ‘mt7925_mac_wtbl_update’? [-Wimplicit-function-declaration] 443 | base = mt7925_mac_wtbl_lmac_addr(dev, idx, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mac_wtbl_update ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_vefuse_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:474:23: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ 474 | u16 size = dev->vefuse_cap.size; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:479:17: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ 479 | if (!dev->vefuse_cap.present || !size) { | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:492:23: error: implicit declaration of function ‘mt7925_mcu_read_vefuse’; did you mean ‘mt7925_mcu_del_dev’? [-Wimplicit-function-declaration] 492 | ret = mt7925_mcu_read_vefuse(dev, off, chunk, buf + off); | ^~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_del_dev ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:520:16: error: implicit declaration of function ‘mt792x_perf_ind_trigger’; did you mean ‘mt7925_perf_ind_set’? [-Wimplicit-function-declaration] 520 | return mt792x_perf_ind_trigger(dev, val); | ^~~~~~~~~~~~~~~~~~~~~~~ | mt7925_perf_ind_set ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:529:19: error: ‘struct mt792x_dev’ has no member named ‘perf’ 529 | *val = dev->perf.enabled; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:538:12: error: ‘struct mt792x_dev’ has no member named ‘perf’ 538 | dev->perf.enabled = !!val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_coex_info’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:555:15: error: implicit declaration of function ‘mt7925_mcu_chip_config_query’; did you mean ‘mt7925_mcu_chip_config’? [-Wimplicit-function-declaration] 555 | ret = mt7925_mcu_chip_config_query(dev, "coexBwcGetModeInfo 0", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_chip_config ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: error: ‘CHIP_CONFIG_TYPE_ASCII’ undeclared (first use in this function) 564 | else if (resp_type == CHIP_CONFIG_TYPE_ASCII) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_dmashdl_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", | ~~~^ | | | unsigned int | %03lx In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10, from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:4: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:607:28: error: ‘MT_DMASHDL_ERROR_FLAG_CTRL’ undeclared (first use in this function) 607 | val = mt76_rr(dev, MT_DMASHDL_ERROR_FLAG_CTRL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:613:43: error: implicit declaration of function ‘MT_DMASHDL_STATUS_RD_GP’ [-Wimplicit-function-declaration] 613 | u32 status = mt76_rr(dev, MT_DMASHDL_STATUS_RD_GP(i)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ In file included from : ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:37: error: ‘MT_DMASHDL_STATUS_RD_GP_RSV’ undeclared (first use in this function) 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:27: note: in expansion of macro ‘FIELD_GET’ 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:37: error: ‘MT_DMASHDL_STATUS_RD_GP_SRC’ undeclared (first use in this function) 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:27: note: in expansion of macro ‘FIELD_GET’ 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:626:28: error: ‘MT_DMASHDL_STATUS_RD’ undeclared (first use in this function) 626 | val = mt76_rr(dev, MT_DMASHDL_STATUS_RD); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:33: error: ‘MT_DMASHDL_STATUS_RD_FREE_PG’ undeclared (first use in this function) 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:23: note: in expansion of macro ‘FIELD_GET’ 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:29: error: ‘MT_DMASHDL_STATUS_RD_FFA’ undeclared (first use in this function) 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:19: note: in expansion of macro ‘FIELD_GET’ 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:636:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 636 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:19: note: in expansion of macro ‘FIELD_GET’ 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:19: note: in expansion of macro ‘FIELD_GET’ 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7928_dmashdl_lite_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:47: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:69: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:725:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_0_31’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_DISABLE1’? 725 | valid0 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_0_31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:728:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_32_63’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? 728 | valid1 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_32_63); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:734:36: error: implicit declaration of function ‘MT_DMASHDL_LITE_Q_MAP’; did you mean ‘MT_DMASHDL_LITE_BASE’? [-Wimplicit-function-declaration] 734 | val = mt76_rr(dev, MT_DMASHDL_LITE_Q_MAP(i)); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:745:38: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_QUOTA’; did you mean ‘MT_DMASHDL_LITE_GROUP0_QUOTA’? [-Wimplicit-function-declaration] 745 | quota = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_QUOTA(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:37: error: ‘MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_MIN_QUOTA_MASK’? 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:50: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_SRC_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_SN_CHK1’? [-Wimplicit-function-declaration] 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:80:26: note: in expansion of macro ‘__bf_cast_unsigned’ 80 | __bf_cast_unsigned(reg, ~0ull), \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:37: note: in expansion of macro ‘mt76_rr’ 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); | ^~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:751:40: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_ACK_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? [-Wimplicit-function-declaration] 751 | ack_reg = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_ACK_CNT(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:37: error: ‘MT_DMASHDL_LITE_ACK_PKTIN_CNT’ undeclared (first use in this function) 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:27: note: in expansion of macro ‘FIELD_GET’ 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:37: error: ‘MT_DMASHDL_LITE_ACK_ADD_RET_CNT’ undeclared (first use in this function) 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:27: note: in expansion of macro ‘FIELD_GET’ 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:37: error: ‘MT_DMASHDL_LITE_ACK_RET_CNT’ undeclared (first use in this function) 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:27: note: in expansion of macro ‘FIELD_GET’ 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:772:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 772 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:19: note: in expansion of macro ‘FIELD_GET’ 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:19: note: in expansion of macro ‘FIELD_GET’ 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:786:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) 786 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:30: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:20: note: in expansion of macro ‘FIELD_GET’ 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:30: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:20: note: in expansion of macro ‘FIELD_GET’ 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:792:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) 792 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:798:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) 798 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:804:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) 804 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_ple_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:829:34: error: ‘MT_PLE_PBUF_CTRL’ undeclared (first use in this function); did you mean ‘MT_PLE_FL_Q3_CTRL’? 829 | pbuf_ctrl = mt76_rr(dev, MT_PLE_PBUF_CTRL); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:25: note: in expansion of macro ‘FIELD_GET’ 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:25: note: in expansion of macro ‘FIELD_GET’ 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:25: note: in expansion of macro ‘FIELD_GET’ 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:839:28: error: ‘MT_PLE_INT_N9_ERR_STS’ undeclared (first use in this function) 839 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:842:28: error: ‘MT_PLE_INT_N9_ERR_STS_1’ undeclared (first use in this function) 842 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS_1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:848:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) 848 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:19: note: in expansion of macro ‘FIELD_GET’ 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:19: note: in expansion of macro ‘FIELD_GET’ 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:855:28: error: ‘MT_PLE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) 855 | val = mt76_rr(dev, MT_PLE_FREEPG_HEAD_TAIL); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:20: note: in expansion of macro ‘FIELD_GET’ 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:20: note: in expansion of macro ‘FIELD_GET’ 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:863:28: error: ‘MT_PLE_PG_HIF_GROUP’ undeclared (first use in this function) 863 | val = mt76_rr(dev, MT_PLE_PG_HIF_GROUP); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:17: note: in expansion of macro ‘FIELD_GET’ 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:17: note: in expansion of macro ‘FIELD_GET’ 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:868:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 868 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:19: note: in expansion of macro ‘FIELD_GET’ 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:19: note: in expansion of macro ‘FIELD_GET’ 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:875:28: error: ‘MT_PLE_PG_HIF_WMTXD_GROUP’ undeclared (first use in this function) 875 | val = mt76_rr(dev, MT_PLE_PG_HIF_WMTXD_GROUP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:880:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) 880 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:887:28: error: ‘MT_PLE_PG_HIF_TXCMD_GROUP’ undeclared (first use in this function) 887 | val = mt76_rr(dev, MT_PLE_PG_HIF_TXCMD_GROUP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:892:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) 892 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:899:28: error: ‘MT_PLE_PG_CPU_GROUP’ undeclared (first use in this function) 899 | val = mt76_rr(dev, MT_PLE_PG_CPU_GROUP); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:904:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) 904 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:910:28: error: ‘MT_PLE_QUEUE_EMPTY’ undeclared (first use in this function); did you mean ‘MT_PLE_AC_QEMPTY’? 910 | val = mt76_rr(dev, MT_PLE_QUEUE_EMPTY); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:913:27: error: ‘MT_PLE_QUEUE_EMPTY_ALL_AC’ undeclared (first use in this function) 913 | (val & MT_PLE_QUEUE_EMPTY_ALL_AC) ? " [ALL AC EMPTY]" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_pse_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:934:34: error: ‘MT_PSE_PBUF_CTRL’ undeclared (first use in this function) 934 | pbuf_ctrl = mt76_rr(dev, MT_PSE_PBUF_CTRL); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:25: note: in expansion of macro ‘FIELD_GET’ 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:25: note: in expansion of macro ‘FIELD_GET’ 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:25: note: in expansion of macro ‘FIELD_GET’ 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:944:28: error: ‘MT_PSE_INT_N9_ERR_STS’ undeclared (first use in this function) 944 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR_STS); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:947:28: error: ‘MT_PSE_INT_N9_ERR1_STS’ undeclared (first use in this function) 947 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR1_STS); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:951:28: error: ‘MT_PSE_QUEUE_EMPTY’ undeclared (first use in this function) 951 | val = mt76_rr(dev, MT_PSE_QUEUE_EMPTY); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:957:28: error: ‘MT_PSE_FREEPG_CNT’ undeclared (first use in this function) 957 | val = mt76_rr(dev, MT_PSE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:19: note: in expansion of macro ‘FIELD_GET’ 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:19: note: in expansion of macro ‘FIELD_GET’ 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:964:28: error: ‘MT_PSE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) 964 | val = mt76_rr(dev, MT_PSE_FREEPG_HEAD_TAIL); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:20: note: in expansion of macro ‘FIELD_GET’ 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:20: note: in expansion of macro ‘FIELD_GET’ 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:35: error: ‘MT_PSE_PG_HIF0_GROUP’ undeclared (first use in this function) 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:17: note: in expansion of macro ‘FIELD_GET’ 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:17: note: in expansion of macro ‘FIELD_GET’ 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:58: error: ‘MT_PSE_HIF0_PG_INFO’ undeclared (first use in this function) 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:19: note: in expansion of macro ‘FIELD_GET’ 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:19: note: in expansion of macro ‘FIELD_GET’ 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:35: error: ‘MT_PSE_PG_HIF1_GROUP’ undeclared (first use in this function) 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:58: error: ‘MT_PSE_HIF1_PG_INFO’ undeclared (first use in this function) 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:35: error: ‘MT_PSE_PG_HIF2_GROUP’ undeclared (first use in this function) 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:58: error: ‘MT_PSE_HIF2_PG_INFO’ undeclared (first use in this function) 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:35: error: ‘MT_PSE_PG_CPU_GROUP’ undeclared (first use in this function) 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:58: error: ‘MT_PSE_CPU_PG_INFO’ undeclared (first use in this function) 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:35: error: ‘MT_PSE_PG_PLE_GROUP’ undeclared (first use in this function) 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:58: error: ‘MT_PSE_PLE_PG_INFO’ undeclared (first use in this function) 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:35: error: ‘MT_PSE_PG_LMAC0_GROUP’ undeclared (first use in this function) 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:58: error: ‘MT_PSE_LMAC0_PG_INFO’ undeclared (first use in this function) 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:35: error: ‘MT_PSE_PG_LMAC1_GROUP’ undeclared (first use in this function) 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:58: error: ‘MT_PSE_LMAC1_PG_INFO’ undeclared (first use in this function) 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:35: error: ‘MT_PSE_PG_LMAC2_GROUP’ undeclared (first use in this function) 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:58: error: ‘MT_PSE_LMAC2_PG_INFO’ undeclared (first use in this function) 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:35: error: ‘MT_PSE_PG_LMAC3_GROUP’ undeclared (first use in this function) 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:58: error: ‘MT_PSE_LMAC3_PG_INFO’ undeclared (first use in this function) 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:35: error: ‘MT_PSE_PG_MDP_GROUP’ undeclared (first use in this function) 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:58: error: ‘MT_PSE_MDP_PG_INFO’ undeclared (first use in this function) 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: At top level: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:920:1: warning: ‘mt7925_pse_read’ defined but not used [-Wunused-function] 920 | mt7925_pse_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:815:1: warning: ‘mt7925_ple_read’ defined but not used [-Wunused-function] 815 | mt7925_ple_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:669:1: warning: ‘mt7928_dmashdl_lite_read’ defined but not used [-Wunused-function] 669 | mt7928_dmashdl_lite_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:578:1: warning: ‘mt7925_dmashdl_read’ defined but not used [-Wunused-function] 578 | mt7925_dmashdl_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:547:1: warning: ‘mt7925_coex_info’ defined but not used [-Wunused-function] 547 | mt7925_coex_info(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~ In file included from ../include/net/cfg80211.h:16, from ../include/net/mac80211.h:22, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:18: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:26: warning: ‘fops_perf_ind_enable’ defined but not used [-Wunused-const-variable=] 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:26: warning: ‘fops_perf_ind’ defined but not used [-Wunused-const-variable=] 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:471:1: warning: ‘mt7925_vefuse_read’ defined but not used [-Wunused-function] 471 | mt7925_vefuse_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:419:1: warning: ‘mt7925_wtbl_read’ defined but not used [-Wunused-function] 419 | mt7925_wtbl_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:26: warning: ‘fops_wtbl_idx’ defined but not used [-Wunused-const-variable=] 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:26: warning: ‘fops_autorate’ defined but not used [-Wunused-const-variable=] 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:26: warning: ‘fops_fixedrate’ defined but not used [-Wunused-const-variable=] 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, | ^~~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7925/debugfs.o] Error 1 make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7925] Error 2 make[7]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76] Error 2 make[6]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek] Error 2 make[5]: *** [../scripts/Makefile.build:549: drivers/net/wireless] Error 2 make[4]: *** [../scripts/Makefile.build:549: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:549: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:2184: .] Error 2 make[1]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/main.c:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/main.o] Error 1 make[9]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:13: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/init.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c:9: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/debugfs.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:13: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mmio.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:9: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mcu.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:12: ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ 1000 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ 1511 | UNI_CMD_MIB_DATA, | ^~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mac.o] Error 1 make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7996] Error 2 make[8]: *** Waiting for unfinished jobs.... ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:16: error: variable ‘rate’ has initializer but incomplete type 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: error: storage size of ‘rate’ isn’t known 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:314:12: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ 314 | dev->fixed_rate = val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:329:9: error: implicit declaration of function ‘mt7925_mcu_set_fixed_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] 329 | mt7925_mcu_set_fixed_rate(dev, &rate); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_get_rx_rate ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: warning: unused variable ‘rate’ [-Wunused-variable] 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; | ^~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:340:19: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ 340 | *val = dev->fixed_rate; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:364:12: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ 364 | dev->auto_rate = val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:367:9: error: implicit declaration of function ‘mt7925_mcu_set_auto_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] 367 | mt7925_mcu_set_auto_rate(dev, wlan_idx, enable, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_get_rx_rate ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:378:19: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ 378 | *val = dev->auto_rate; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:400:12: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 400 | dev->wtbl_dump_idx = (u32)val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:410:19: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 410 | *val = dev->wtbl_dump_idx; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:422:22: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ 422 | u32 idx = dev->wtbl_dump_idx; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:443:16: error: implicit declaration of function ‘mt7925_mac_wtbl_lmac_addr’; did you mean ‘mt7925_mac_wtbl_update’? [-Wimplicit-function-declaration] 443 | base = mt7925_mac_wtbl_lmac_addr(dev, idx, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mac_wtbl_update ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_vefuse_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:474:23: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ 474 | u16 size = dev->vefuse_cap.size; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:479:17: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ 479 | if (!dev->vefuse_cap.present || !size) { | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:492:23: error: implicit declaration of function ‘mt7925_mcu_read_vefuse’; did you mean ‘mt7925_mcu_del_dev’? [-Wimplicit-function-declaration] 492 | ret = mt7925_mcu_read_vefuse(dev, off, chunk, buf + off); | ^~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_del_dev ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:520:16: error: implicit declaration of function ‘mt792x_perf_ind_trigger’; did you mean ‘mt7925_perf_ind_set’? [-Wimplicit-function-declaration] 520 | return mt792x_perf_ind_trigger(dev, val); | ^~~~~~~~~~~~~~~~~~~~~~~ | mt7925_perf_ind_set ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_get’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:529:19: error: ‘struct mt792x_dev’ has no member named ‘perf’ 529 | *val = dev->perf.enabled; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_set’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:538:12: error: ‘struct mt792x_dev’ has no member named ‘perf’ 538 | dev->perf.enabled = !!val; | ^~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_coex_info’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:555:15: error: implicit declaration of function ‘mt7925_mcu_chip_config_query’; did you mean ‘mt7925_mcu_chip_config’? [-Wimplicit-function-declaration] 555 | ret = mt7925_mcu_chip_config_query(dev, "coexBwcGetModeInfo 0", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mt7925_mcu_chip_config ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: error: ‘CHIP_CONFIG_TYPE_ASCII’ undeclared (first use in this function) 564 | else if (resp_type == CHIP_CONFIG_TYPE_ASCII) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_dmashdl_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", | ~~~^ | | | unsigned int | %03lx In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10, from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7, from ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:4: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:607:28: error: ‘MT_DMASHDL_ERROR_FLAG_CTRL’ undeclared (first use in this function) 607 | val = mt76_rr(dev, MT_DMASHDL_ERROR_FLAG_CTRL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:613:43: error: implicit declaration of function ‘MT_DMASHDL_STATUS_RD_GP’ [-Wimplicit-function-declaration] 613 | u32 status = mt76_rr(dev, MT_DMASHDL_STATUS_RD_GP(i)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ In file included from : ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:37: error: ‘MT_DMASHDL_STATUS_RD_GP_RSV’ undeclared (first use in this function) 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:27: note: in expansion of macro ‘FIELD_GET’ 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:37: error: ‘MT_DMASHDL_STATUS_RD_GP_SRC’ undeclared (first use in this function) 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:27: note: in expansion of macro ‘FIELD_GET’ 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:626:28: error: ‘MT_DMASHDL_STATUS_RD’ undeclared (first use in this function) 626 | val = mt76_rr(dev, MT_DMASHDL_STATUS_RD); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:33: error: ‘MT_DMASHDL_STATUS_RD_FREE_PG’ undeclared (first use in this function) 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:23: note: in expansion of macro ‘FIELD_GET’ 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:29: error: ‘MT_DMASHDL_STATUS_RD_FFA’ undeclared (first use in this function) 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:19: note: in expansion of macro ‘FIELD_GET’ 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:636:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 636 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:19: note: in expansion of macro ‘FIELD_GET’ 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:19: note: in expansion of macro ‘FIELD_GET’ 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7928_dmashdl_lite_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:47: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:69: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", | ~~~^ | | | unsigned int | %04lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:725:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_0_31’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_DISABLE1’? 725 | valid0 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_0_31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:728:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_32_63’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? 728 | valid1 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_32_63); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:734:36: error: implicit declaration of function ‘MT_DMASHDL_LITE_Q_MAP’; did you mean ‘MT_DMASHDL_LITE_BASE’? [-Wimplicit-function-declaration] 734 | val = mt76_rr(dev, MT_DMASHDL_LITE_Q_MAP(i)); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:745:38: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_QUOTA’; did you mean ‘MT_DMASHDL_LITE_GROUP0_QUOTA’? [-Wimplicit-function-declaration] 745 | quota = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_QUOTA(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:37: error: ‘MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_MIN_QUOTA_MASK’? 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:50: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_SRC_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_SN_CHK1’? [-Wimplicit-function-declaration] 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:80:26: note: in expansion of macro ‘__bf_cast_unsigned’ 80 | __bf_cast_unsigned(reg, ~0ull), \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:37: note: in expansion of macro ‘mt76_rr’ 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); | ^~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:751:40: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_ACK_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? [-Wimplicit-function-declaration] 751 | ack_reg = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_ACK_CNT(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:37: error: ‘MT_DMASHDL_LITE_ACK_PKTIN_CNT’ undeclared (first use in this function) 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:27: note: in expansion of macro ‘FIELD_GET’ 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:37: error: ‘MT_DMASHDL_LITE_ACK_ADD_RET_CNT’ undeclared (first use in this function) 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:27: note: in expansion of macro ‘FIELD_GET’ 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:37: error: ‘MT_DMASHDL_LITE_ACK_RET_CNT’ undeclared (first use in this function) 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:27: note: in expansion of macro ‘FIELD_GET’ 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", | ~~~^ | | | unsigned int | %03lx ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:772:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 772 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:19: note: in expansion of macro ‘FIELD_GET’ 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:19: note: in expansion of macro ‘FIELD_GET’ 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:786:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) 786 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:30: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:20: note: in expansion of macro ‘FIELD_GET’ 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:30: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:20: note: in expansion of macro ‘FIELD_GET’ 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:792:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) 792 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:798:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) 798 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:804:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) 804 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_ple_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:829:34: error: ‘MT_PLE_PBUF_CTRL’ undeclared (first use in this function); did you mean ‘MT_PLE_FL_Q3_CTRL’? 829 | pbuf_ctrl = mt76_rr(dev, MT_PLE_PBUF_CTRL); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:25: note: in expansion of macro ‘FIELD_GET’ 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:25: note: in expansion of macro ‘FIELD_GET’ 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:25: note: in expansion of macro ‘FIELD_GET’ 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:839:28: error: ‘MT_PLE_INT_N9_ERR_STS’ undeclared (first use in this function) 839 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:842:28: error: ‘MT_PLE_INT_N9_ERR_STS_1’ undeclared (first use in this function) 842 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS_1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:848:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) 848 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:19: note: in expansion of macro ‘FIELD_GET’ 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:19: note: in expansion of macro ‘FIELD_GET’ 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:855:28: error: ‘MT_PLE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) 855 | val = mt76_rr(dev, MT_PLE_FREEPG_HEAD_TAIL); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:20: note: in expansion of macro ‘FIELD_GET’ 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:20: note: in expansion of macro ‘FIELD_GET’ 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:863:28: error: ‘MT_PLE_PG_HIF_GROUP’ undeclared (first use in this function) 863 | val = mt76_rr(dev, MT_PLE_PG_HIF_GROUP); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:17: note: in expansion of macro ‘FIELD_GET’ 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:17: note: in expansion of macro ‘FIELD_GET’ 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:868:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) 868 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:19: note: in expansion of macro ‘FIELD_GET’ 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:19: note: in expansion of macro ‘FIELD_GET’ 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:875:28: error: ‘MT_PLE_PG_HIF_WMTXD_GROUP’ undeclared (first use in this function) 875 | val = mt76_rr(dev, MT_PLE_PG_HIF_WMTXD_GROUP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:880:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) 880 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:887:28: error: ‘MT_PLE_PG_HIF_TXCMD_GROUP’ undeclared (first use in this function) 887 | val = mt76_rr(dev, MT_PLE_PG_HIF_TXCMD_GROUP); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:892:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) 892 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:899:28: error: ‘MT_PLE_PG_CPU_GROUP’ undeclared (first use in this function) 899 | val = mt76_rr(dev, MT_PLE_PG_CPU_GROUP); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:904:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) 904 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:910:28: error: ‘MT_PLE_QUEUE_EMPTY’ undeclared (first use in this function); did you mean ‘MT_PLE_AC_QEMPTY’? 910 | val = mt76_rr(dev, MT_PLE_QUEUE_EMPTY); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:913:27: error: ‘MT_PLE_QUEUE_EMPTY_ALL_AC’ undeclared (first use in this function) 913 | (val & MT_PLE_QUEUE_EMPTY_ALL_AC) ? " [ALL AC EMPTY]" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_pse_read’: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:934:34: error: ‘MT_PSE_PBUF_CTRL’ undeclared (first use in this function) 934 | pbuf_ctrl = mt76_rr(dev, MT_PSE_PBUF_CTRL); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:25: note: in expansion of macro ‘FIELD_GET’ 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:25: note: in expansion of macro ‘FIELD_GET’ 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:25: note: in expansion of macro ‘FIELD_GET’ 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:944:28: error: ‘MT_PSE_INT_N9_ERR_STS’ undeclared (first use in this function) 944 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR_STS); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:947:28: error: ‘MT_PSE_INT_N9_ERR1_STS’ undeclared (first use in this function) 947 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR1_STS); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:951:28: error: ‘MT_PSE_QUEUE_EMPTY’ undeclared (first use in this function) 951 | val = mt76_rr(dev, MT_PSE_QUEUE_EMPTY); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:957:28: error: ‘MT_PSE_FREEPG_CNT’ undeclared (first use in this function) 957 | val = mt76_rr(dev, MT_PSE_FREEPG_CNT); | ^~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:19: note: in expansion of macro ‘FIELD_GET’ 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:19: note: in expansion of macro ‘FIELD_GET’ 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:964:28: error: ‘MT_PSE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) 964 | val = mt76_rr(dev, MT_PSE_FREEPG_HEAD_TAIL); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:20: note: in expansion of macro ‘FIELD_GET’ 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:20: note: in expansion of macro ‘FIELD_GET’ 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:35: error: ‘MT_PSE_PG_HIF0_GROUP’ undeclared (first use in this function) 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:17: note: in expansion of macro ‘FIELD_GET’ 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:17: note: in expansion of macro ‘FIELD_GET’ 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:58: error: ‘MT_PSE_HIF0_PG_INFO’ undeclared (first use in this function) 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:19: note: in expansion of macro ‘FIELD_GET’ 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ | ^~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ 682 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:19: note: in expansion of macro ‘FIELD_GET’ 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ | ^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:35: error: ‘MT_PSE_PG_HIF1_GROUP’ undeclared (first use in this function) 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:58: error: ‘MT_PSE_HIF1_PG_INFO’ undeclared (first use in this function) 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:35: error: ‘MT_PSE_PG_HIF2_GROUP’ undeclared (first use in this function) 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:58: error: ‘MT_PSE_HIF2_PG_INFO’ undeclared (first use in this function) 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:35: error: ‘MT_PSE_PG_CPU_GROUP’ undeclared (first use in this function) 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:58: error: ‘MT_PSE_CPU_PG_INFO’ undeclared (first use in this function) 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:35: error: ‘MT_PSE_PG_PLE_GROUP’ undeclared (first use in this function) 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:58: error: ‘MT_PSE_PLE_PG_INFO’ undeclared (first use in this function) 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:35: error: ‘MT_PSE_PG_LMAC0_GROUP’ undeclared (first use in this function) 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:58: error: ‘MT_PSE_LMAC0_PG_INFO’ undeclared (first use in this function) 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:35: error: ‘MT_PSE_PG_LMAC1_GROUP’ undeclared (first use in this function) 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:58: error: ‘MT_PSE_LMAC1_PG_INFO’ undeclared (first use in this function) 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:35: error: ‘MT_PSE_PG_LMAC2_GROUP’ undeclared (first use in this function) 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:58: error: ‘MT_PSE_LMAC2_PG_INFO’ undeclared (first use in this function) 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:35: error: ‘MT_PSE_PG_LMAC3_GROUP’ undeclared (first use in this function) 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:58: error: ‘MT_PSE_LMAC3_PG_INFO’ undeclared (first use in this function) 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:35: error: ‘MT_PSE_PG_MDP_GROUP’ undeclared (first use in this function) 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:58: error: ‘MT_PSE_MDP_PG_INFO’ undeclared (first use in this function) 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: At top level: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:920:1: warning: ‘mt7925_pse_read’ defined but not used [-Wunused-function] 920 | mt7925_pse_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:815:1: warning: ‘mt7925_ple_read’ defined but not used [-Wunused-function] 815 | mt7925_ple_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:669:1: warning: ‘mt7928_dmashdl_lite_read’ defined but not used [-Wunused-function] 669 | mt7928_dmashdl_lite_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:578:1: warning: ‘mt7925_dmashdl_read’ defined but not used [-Wunused-function] 578 | mt7925_dmashdl_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:547:1: warning: ‘mt7925_coex_info’ defined but not used [-Wunused-function] 547 | mt7925_coex_info(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~ In file included from ../include/net/cfg80211.h:16, from ../include/net/mac80211.h:22, from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:18: ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:26: warning: ‘fops_perf_ind_enable’ defined but not used [-Wunused-const-variable=] 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:26: warning: ‘fops_perf_ind’ defined but not used [-Wunused-const-variable=] 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:471:1: warning: ‘mt7925_vefuse_read’ defined but not used [-Wunused-function] 471 | mt7925_vefuse_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:419:1: warning: ‘mt7925_wtbl_read’ defined but not used [-Wunused-function] 419 | mt7925_wtbl_read(struct seq_file *s, void *data) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:26: warning: ‘fops_wtbl_idx’ defined but not used [-Wunused-const-variable=] 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:26: warning: ‘fops_autorate’ defined but not used [-Wunused-const-variable=] 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, | ^~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:26: warning: ‘fops_fixedrate’ defined but not used [-Wunused-const-variable=] 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, | ^~~~~~~~~~~~~~ ../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ 54 | static const struct file_operations __fops = { \ | ^~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, | ^~~~~~~~~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7925/debugfs.o] Error 1 make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7925] Error 2 make[7]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76] Error 2 make[6]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek] Error 2 make[5]: *** [../scripts/Makefile.build:549: drivers/net/wireless] Error 2 make[4]: *** [../scripts/Makefile.build:549: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:549: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:2184: .] Error 2 make[1]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.r0SF8wDo8J 2026-08-23 23:15:06.627738359 -0400 +++ /tmp/tmp.z5Qr8Er7Rm 2026-08-23 23:15:20.328188142 -0400 @@ -1,0 +2,1691 @@ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/main.c:7: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/main.o] Error 1 +make[9]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:13: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/init.o] Error 1 +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c:9: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/debugfs.o] Error 1 +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:13: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mmio.o] Error 1 +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:9: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mcu.o] Error 1 +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:12: +../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:1000:9: error: redeclaration of enumerator ‘UNI_CMD_MIB_DATA’ + 1000 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h:9: +../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac_mcu.h:1511:9: note: previous definition of ‘UNI_CMD_MIB_DATA’ with type ‘enum ’ + 1511 | UNI_CMD_MIB_DATA, + | ^~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7996/mac.o] Error 1 +make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7996] Error 2 +make[8]: *** Waiting for unfinished jobs.... +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_set’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:16: error: variable ‘rate’ has initializer but incomplete type + 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: error: storage size of ‘rate’ isn’t known + 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; + | ^~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:314:12: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ + 314 | dev->fixed_rate = val; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:329:9: error: implicit declaration of function ‘mt7925_mcu_set_fixed_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] + 329 | mt7925_mcu_set_fixed_rate(dev, &rate); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mt7925_mcu_get_rx_rate +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:312:40: warning: unused variable ‘rate’ [-Wunused-variable] + 312 | struct mt7925_ra_fixed_rate_v1 rate = {}; + | ^~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_fixedrate_get’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:340:19: error: ‘struct mt792x_dev’ has no member named ‘fixed_rate’ + 340 | *val = dev->fixed_rate; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_set’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:364:12: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ + 364 | dev->auto_rate = val; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:367:9: error: implicit declaration of function ‘mt7925_mcu_set_auto_rate’; did you mean ‘mt7925_mcu_get_rx_rate’? [-Wimplicit-function-declaration] + 367 | mt7925_mcu_set_auto_rate(dev, wlan_idx, enable, mode); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | mt7925_mcu_get_rx_rate +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_autorate_get’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:378:19: error: ‘struct mt792x_dev’ has no member named ‘auto_rate’ + 378 | *val = dev->auto_rate; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_set’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:400:12: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ + 400 | dev->wtbl_dump_idx = (u32)val; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_idx_get’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:410:19: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ + 410 | *val = dev->wtbl_dump_idx; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_wtbl_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:422:22: error: ‘struct mt792x_dev’ has no member named ‘wtbl_dump_idx’ + 422 | u32 idx = dev->wtbl_dump_idx; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:443:16: error: implicit declaration of function ‘mt7925_mac_wtbl_lmac_addr’; did you mean ‘mt7925_mac_wtbl_update’? [-Wimplicit-function-declaration] + 443 | base = mt7925_mac_wtbl_lmac_addr(dev, idx, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mt7925_mac_wtbl_update +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_vefuse_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:474:23: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ + 474 | u16 size = dev->vefuse_cap.size; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:479:17: error: ‘struct mt792x_dev’ has no member named ‘vefuse_cap’ + 479 | if (!dev->vefuse_cap.present || !size) { + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:492:23: error: implicit declaration of function ‘mt7925_mcu_read_vefuse’; did you mean ‘mt7925_mcu_del_dev’? [-Wimplicit-function-declaration] + 492 | ret = mt7925_mcu_read_vefuse(dev, off, chunk, buf + off); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mt7925_mcu_del_dev +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_set’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:520:16: error: implicit declaration of function ‘mt792x_perf_ind_trigger’; did you mean ‘mt7925_perf_ind_set’? [-Wimplicit-function-declaration] + 520 | return mt792x_perf_ind_trigger(dev, val); + | ^~~~~~~~~~~~~~~~~~~~~~~ + | mt7925_perf_ind_set +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_get’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:529:19: error: ‘struct mt792x_dev’ has no member named ‘perf’ + 529 | *val = dev->perf.enabled; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_perf_ind_enable_set’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:538:12: error: ‘struct mt792x_dev’ has no member named ‘perf’ + 538 | dev->perf.enabled = !!val; + | ^~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_coex_info’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:555:15: error: implicit declaration of function ‘mt7925_mcu_chip_config_query’; did you mean ‘mt7925_mcu_chip_config’? [-Wimplicit-function-declaration] + 555 | ret = mt7925_mcu_chip_config_query(dev, "coexBwcGetModeInfo 0", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | mt7925_mcu_chip_config +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: error: ‘CHIP_CONFIG_TYPE_ASCII’ undeclared (first use in this function) + 564 | else if (resp_type == CHIP_CONFIG_TYPE_ASCII) + | ^~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:564:31: note: each undeclared identifier is reported only once for each function it appears in +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_dmashdl_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] + 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", + | ~~~^ + | | + | unsigned int + | %03lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:603:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] + 603 | seq_printf(s, "\t\tPLE pkt max=0x%03x, PSE pkt max=0x%03x\n", + | ~~~^ + | | + | unsigned int + | %03lx +In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7, + from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7, + from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10, + from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7, + from ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:4: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:607:28: error: ‘MT_DMASHDL_ERROR_FLAG_CTRL’ undeclared (first use in this function) + 607 | val = mt76_rr(dev, MT_DMASHDL_ERROR_FLAG_CTRL); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:613:43: error: implicit declaration of function ‘MT_DMASHDL_STATUS_RD_GP’ [-Wimplicit-function-declaration] + 613 | u32 status = mt76_rr(dev, MT_DMASHDL_STATUS_RD_GP(i)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +In file included from : +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:37: error: ‘MT_DMASHDL_STATUS_RD_GP_RSV’ undeclared (first use in this function) + 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:614:27: note: in expansion of macro ‘FIELD_GET’ + 614 | u32 rsv = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_RSV, status); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:37: error: ‘MT_DMASHDL_STATUS_RD_GP_SRC’ undeclared (first use in this function) + 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:615:27: note: in expansion of macro ‘FIELD_GET’ + 615 | u32 src = FIELD_GET(MT_DMASHDL_STATUS_RD_GP_SRC, status); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] + 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", + | ~~~^ + | | + | unsigned int + | %03lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:617:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] + 617 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, used/rsv=0x%03x/0x%03x\n", + | ~~~^ + | | + | unsigned int + | %03lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:626:28: error: ‘MT_DMASHDL_STATUS_RD’ undeclared (first use in this function) + 626 | val = mt76_rr(dev, MT_DMASHDL_STATUS_RD); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:33: error: ‘MT_DMASHDL_STATUS_RD_FREE_PG’ undeclared (first use in this function) + 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:627:23: note: in expansion of macro ‘FIELD_GET’ + 627 | free_pg_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FREE_PG, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:29: error: ‘MT_DMASHDL_STATUS_RD_FFA’ undeclared (first use in this function) + 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:628:19: note: in expansion of macro ‘FIELD_GET’ + 628 | ffa_cnt = FIELD_GET(MT_DMASHDL_STATUS_RD_FFA, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:636:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) + 636 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) + 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:637:19: note: in expansion of macro ‘FIELD_GET’ + 637 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) + 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:638:19: note: in expansion of macro ‘FIELD_GET’ + 638 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7928_dmashdl_lite_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:47: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] + 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", + | ~~~^ + | | + | unsigned int + | %04lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:694:69: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] + 694 | seq_printf(s, "\t\tPSE page size=0x%04x, PLE page size=0x%04x\n", + | ~~~^ + | | + | unsigned int + | %04lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:45: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] + 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", + | ~~~^ + | | + | unsigned int + | %04lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:701:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] + 701 | seq_printf(s, "\t\tPSE pkt max=0x%04x, PLE pkt max=0x%04x\n", + | ~~~^ + | | + | unsigned int + | %04lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:725:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_0_31’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_DISABLE1’? + 725 | valid0 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_0_31); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:728:31: error: ‘MT_DMASHDL_LITE_GROUP_VALID_32_63’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? + 728 | valid1 = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_VALID_32_63); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:734:36: error: implicit declaration of function ‘MT_DMASHDL_LITE_Q_MAP’; did you mean ‘MT_DMASHDL_LITE_BASE’? [-Wimplicit-function-declaration] + 734 | val = mt76_rr(dev, MT_DMASHDL_LITE_Q_MAP(i)); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:745:38: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_QUOTA’; did you mean ‘MT_DMASHDL_LITE_GROUP0_QUOTA’? [-Wimplicit-function-declaration] + 745 | quota = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_QUOTA(i)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:37: error: ‘MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_LITE_GROUP_MIN_QUOTA_MASK’? + 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ + 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:50: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_SRC_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_SN_CHK1’? [-Wimplicit-function-declaration] + 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:80:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 80 | __bf_cast_unsigned(reg, ~0ull), \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:749:27: note: in expansion of macro ‘FIELD_GET’ + 749 | src = FIELD_GET(MT_DMASHDL_LITE_GROUP_SRC_CNT_MASK, + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:750:37: note: in expansion of macro ‘mt76_rr’ + 750 | mt76_rr(dev, MT_DMASHDL_LITE_GROUP_SRC_CNT(i))); + | ^~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:751:40: error: implicit declaration of function ‘MT_DMASHDL_LITE_GROUP_ACK_CNT’; did you mean ‘MT_DMASHDL_LITE_GROUP_UDF_CHK0’? [-Wimplicit-function-declaration] + 751 | ack_reg = mt76_rr(dev, MT_DMASHDL_LITE_GROUP_ACK_CNT(i)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:37: error: ‘MT_DMASHDL_LITE_ACK_PKTIN_CNT’ undeclared (first use in this function) + 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:752:27: note: in expansion of macro ‘FIELD_GET’ + 752 | pktin = FIELD_GET(MT_DMASHDL_LITE_ACK_PKTIN_CNT, ack_reg); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:37: error: ‘MT_DMASHDL_LITE_ACK_ADD_RET_CNT’ undeclared (first use in this function) + 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:753:27: note: in expansion of macro ‘FIELD_GET’ + 753 | add_ret = FIELD_GET(MT_DMASHDL_LITE_ACK_ADD_RET_CNT, ack_reg); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:37: error: ‘MT_DMASHDL_LITE_ACK_RET_CNT’ undeclared (first use in this function) + 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:754:27: note: in expansion of macro ‘FIELD_GET’ + 754 | ret = FIELD_GET(MT_DMASHDL_LITE_ACK_RET_CNT, ack_reg); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:65: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] + 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", + | ~~~^ + | | + | unsigned int + | %03lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:756:72: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] + 756 | seq_printf(s, "\tGroup %2d: quota(min/max)=0x%03x/0x%03x, src=0x%02x, ack(add_ret/pktin/ret)=0x%02x/0x%02x/0x%02x%s\n", + | ~~~^ + | | + | unsigned int + | %03lx +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:772:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) + 772 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) + 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:773:19: note: in expansion of macro ‘FIELD_GET’ + 773 | ple_rsv = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) + 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:774:19: note: in expansion of macro ‘FIELD_GET’ + 774 | ple_src = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:786:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) + 786 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:30: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) + 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:789:20: note: in expansion of macro ‘FIELD_GET’ + 789 | FIELD_GET(MT_WF_FREEPG_FREE_CNT, val), + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:30: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) + 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); + | ^~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:790:20: note: in expansion of macro ‘FIELD_GET’ + 790 | FIELD_GET(MT_WF_FREEPG_FFA_CNT, val)); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:792:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) + 792 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:798:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) + 798 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:804:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) + 804 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_ple_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:829:34: error: ‘MT_PLE_PBUF_CTRL’ undeclared (first use in this function); did you mean ‘MT_PLE_FL_Q3_CTRL’? + 829 | pbuf_ctrl = mt76_rr(dev, MT_PLE_PBUF_CTRL); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) + 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), + | ^~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:834:25: note: in expansion of macro ‘FIELD_GET’ + 834 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) + 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), + | ^~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:836:25: note: in expansion of macro ‘FIELD_GET’ + 836 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) + 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); + | ^~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:837:25: note: in expansion of macro ‘FIELD_GET’ + 837 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:839:28: error: ‘MT_PLE_INT_N9_ERR_STS’ undeclared (first use in this function) + 839 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:842:28: error: ‘MT_PLE_INT_N9_ERR_STS_1’ undeclared (first use in this function) + 842 | val = mt76_rr(dev, MT_PLE_INT_N9_ERR_STS_1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:848:28: error: ‘MT_PLE_FREEPG_CNT’ undeclared (first use in this function) + 848 | val = mt76_rr(dev, MT_PLE_FREEPG_CNT); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) + 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:849:19: note: in expansion of macro ‘FIELD_GET’ + 849 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) + 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:850:19: note: in expansion of macro ‘FIELD_GET’ + 850 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:855:28: error: ‘MT_PLE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) + 855 | val = mt76_rr(dev, MT_PLE_FREEPG_HEAD_TAIL); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) + 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); + | ^~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:856:20: note: in expansion of macro ‘FIELD_GET’ + 856 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) + 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); + | ^~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:857:20: note: in expansion of macro ‘FIELD_GET’ + 857 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:863:28: error: ‘MT_PLE_PG_HIF_GROUP’ undeclared (first use in this function) + 863 | val = mt76_rr(dev, MT_PLE_PG_HIF_GROUP); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? + 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:864:17: note: in expansion of macro ‘FIELD_GET’ + 864 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? + 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:865:17: note: in expansion of macro ‘FIELD_GET’ + 865 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:868:28: error: ‘MT_PLE_HIF_PG_INFO’ undeclared (first use in this function) + 868 | val = mt76_rr(dev, MT_PLE_HIF_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) + 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:869:19: note: in expansion of macro ‘FIELD_GET’ + 869 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) + 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:870:19: note: in expansion of macro ‘FIELD_GET’ + 870 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:875:28: error: ‘MT_PLE_PG_HIF_WMTXD_GROUP’ undeclared (first use in this function) + 875 | val = mt76_rr(dev, MT_PLE_PG_HIF_WMTXD_GROUP); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:880:28: error: ‘MT_PLE_HIF_WMTXD_PG_INFO’ undeclared (first use in this function) + 880 | val = mt76_rr(dev, MT_PLE_HIF_WMTXD_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:887:28: error: ‘MT_PLE_PG_HIF_TXCMD_GROUP’ undeclared (first use in this function) + 887 | val = mt76_rr(dev, MT_PLE_PG_HIF_TXCMD_GROUP); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:892:28: error: ‘MT_PLE_HIF_TXCMD_PG_INFO’ undeclared (first use in this function) + 892 | val = mt76_rr(dev, MT_PLE_HIF_TXCMD_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:899:28: error: ‘MT_PLE_PG_CPU_GROUP’ undeclared (first use in this function) + 899 | val = mt76_rr(dev, MT_PLE_PG_CPU_GROUP); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:904:28: error: ‘MT_PLE_CPU_PG_INFO’ undeclared (first use in this function) + 904 | val = mt76_rr(dev, MT_PLE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:910:28: error: ‘MT_PLE_QUEUE_EMPTY’ undeclared (first use in this function); did you mean ‘MT_PLE_AC_QEMPTY’? + 910 | val = mt76_rr(dev, MT_PLE_QUEUE_EMPTY); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:913:27: error: ‘MT_PLE_QUEUE_EMPTY_ALL_AC’ undeclared (first use in this function) + 913 | (val & MT_PLE_QUEUE_EMPTY_ALL_AC) ? " [ALL AC EMPTY]" : ""); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: In function ‘mt7925_pse_read’: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:934:34: error: ‘MT_PSE_PBUF_CTRL’ undeclared (first use in this function) + 934 | pbuf_ctrl = mt76_rr(dev, MT_PSE_PBUF_CTRL); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:35: error: ‘MT_WF_PBUF_PAGE_SIZE’ undeclared (first use in this function) + 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), + | ^~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:939:25: note: in expansion of macro ‘FIELD_GET’ + 939 | (int)FIELD_GET(MT_WF_PBUF_PAGE_SIZE, pbuf_ctrl), + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:35: error: ‘MT_WF_PBUF_PBUF_OFFSET’ undeclared (first use in this function) + 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), + | ^~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:941:25: note: in expansion of macro ‘FIELD_GET’ + 941 | (int)FIELD_GET(MT_WF_PBUF_PBUF_OFFSET, pbuf_ctrl), + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:35: error: ‘MT_WF_PBUF_TOTAL_PAGES’ undeclared (first use in this function) + 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); + | ^~~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:942:25: note: in expansion of macro ‘FIELD_GET’ + 942 | (int)FIELD_GET(MT_WF_PBUF_TOTAL_PAGES, pbuf_ctrl)); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:944:28: error: ‘MT_PSE_INT_N9_ERR_STS’ undeclared (first use in this function) + 944 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR_STS); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:947:28: error: ‘MT_PSE_INT_N9_ERR1_STS’ undeclared (first use in this function) + 947 | val = mt76_rr(dev, MT_PSE_INT_N9_ERR1_STS); + | ^~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:951:28: error: ‘MT_PSE_QUEUE_EMPTY’ undeclared (first use in this function) + 951 | val = mt76_rr(dev, MT_PSE_QUEUE_EMPTY); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:957:28: error: ‘MT_PSE_FREEPG_CNT’ undeclared (first use in this function) + 957 | val = mt76_rr(dev, MT_PSE_FREEPG_CNT); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:29: error: ‘MT_WF_FREEPG_FREE_CNT’ undeclared (first use in this function) + 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:958:19: note: in expansion of macro ‘FIELD_GET’ + 958 | fpg_cnt = FIELD_GET(MT_WF_FREEPG_FREE_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:29: error: ‘MT_WF_FREEPG_FFA_CNT’ undeclared (first use in this function) + 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); + | ^~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:959:19: note: in expansion of macro ‘FIELD_GET’ + 959 | ffa_cnt = FIELD_GET(MT_WF_FREEPG_FFA_CNT, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:964:28: error: ‘MT_PSE_FREEPG_HEAD_TAIL’ undeclared (first use in this function) + 964 | val = mt76_rr(dev, MT_PSE_FREEPG_HEAD_TAIL); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:30: error: ‘MT_WF_FREEPG_HEAD’ undeclared (first use in this function) + 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); + | ^~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:965:20: note: in expansion of macro ‘FIELD_GET’ + 965 | fpg_head = FIELD_GET(MT_WF_FREEPG_HEAD, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:30: error: ‘MT_WF_FREEPG_TAIL’ undeclared (first use in this function) + 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); + | ^~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:966:20: note: in expansion of macro ‘FIELD_GET’ + 966 | fpg_tail = FIELD_GET(MT_WF_FREEPG_TAIL, val); + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:35: error: ‘MT_PSE_PG_HIF0_GROUP’ undeclared (first use in this function) + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:27: error: ‘MT_WF_GROUP_QUOTA_MAX’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MAX’? + 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:974:17: note: in expansion of macro ‘FIELD_GET’ + 974 | max_q = FIELD_GET(MT_WF_GROUP_QUOTA_MAX, val); \ + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:27: error: ‘MT_WF_GROUP_QUOTA_MIN’ undeclared (first use in this function); did you mean ‘MT_DMASHDL_GROUP_QUOTA_MIN’? + 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:975:17: note: in expansion of macro ‘FIELD_GET’ + 975 | min_q = FIELD_GET(MT_WF_GROUP_QUOTA_MIN, val); \ + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:58: error: ‘MT_PSE_HIF0_PG_INFO’ undeclared (first use in this function) + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:29: error: ‘MT_WF_PG_INFO_SRC_CNT’ undeclared (first use in this function) + 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:979:19: note: in expansion of macro ‘FIELD_GET’ + 979 | used_pg = FIELD_GET(MT_WF_PG_INFO_SRC_CNT, val); \ + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:29: error: ‘MT_WF_PG_INFO_RSV_CNT’ undeclared (first use in this function) + 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ + | ^~~~~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:682:23: note: in definition of macro ‘__compiletime_assert’ + 682 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:702:9: note: in expansion of macro ‘_compiletime_assert’ + 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:40:37: note: in expansion of macro ‘compiletime_assert’ + 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:63:43: note: in expansion of macro ‘__unsigned_scalar_typeof’ + 63 | #define __bf_cast_unsigned(type, x) ((__unsigned_scalar_typeof(type))(x)) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:79:26: note: in expansion of macro ‘__bf_cast_unsigned’ + 79 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:177:17: note: in expansion of macro ‘__BF_FIELD_CHECK_REG’ + 177 | __BF_FIELD_CHECK_REG(_mask, _reg, "FIELD_GET: "); \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:980:19: note: in expansion of macro ‘FIELD_GET’ + 980 | rsv_pg = FIELD_GET(MT_WF_PG_INFO_RSV_CNT, val); \ + | ^~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:985:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 985 | MT7925_PSE_GROUP("HIF0", MT_PSE_PG_HIF0_GROUP, MT_PSE_HIF0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:35: error: ‘MT_PSE_PG_HIF1_GROUP’ undeclared (first use in this function) + 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:58: error: ‘MT_PSE_HIF1_PG_INFO’ undeclared (first use in this function) + 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:986:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 986 | MT7925_PSE_GROUP("HIF1", MT_PSE_PG_HIF1_GROUP, MT_PSE_HIF1_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:35: error: ‘MT_PSE_PG_HIF2_GROUP’ undeclared (first use in this function) + 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:58: error: ‘MT_PSE_HIF2_PG_INFO’ undeclared (first use in this function) + 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:987:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 987 | MT7925_PSE_GROUP("HIF2", MT_PSE_PG_HIF2_GROUP, MT_PSE_HIF2_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:35: error: ‘MT_PSE_PG_CPU_GROUP’ undeclared (first use in this function) + 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:58: error: ‘MT_PSE_CPU_PG_INFO’ undeclared (first use in this function) + 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:988:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 988 | MT7925_PSE_GROUP("CPU", MT_PSE_PG_CPU_GROUP, MT_PSE_CPU_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:35: error: ‘MT_PSE_PG_PLE_GROUP’ undeclared (first use in this function) + 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:58: error: ‘MT_PSE_PLE_PG_INFO’ undeclared (first use in this function) + 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:989:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 989 | MT7925_PSE_GROUP("PLE", MT_PSE_PG_PLE_GROUP, MT_PSE_PLE_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:35: error: ‘MT_PSE_PG_LMAC0_GROUP’ undeclared (first use in this function) + 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:58: error: ‘MT_PSE_LMAC0_PG_INFO’ undeclared (first use in this function) + 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:990:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 990 | MT7925_PSE_GROUP("LMAC0", MT_PSE_PG_LMAC0_GROUP, MT_PSE_LMAC0_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:35: error: ‘MT_PSE_PG_LMAC1_GROUP’ undeclared (first use in this function) + 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:58: error: ‘MT_PSE_LMAC1_PG_INFO’ undeclared (first use in this function) + 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:991:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 991 | MT7925_PSE_GROUP("LMAC1", MT_PSE_PG_LMAC1_GROUP, MT_PSE_LMAC1_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:35: error: ‘MT_PSE_PG_LMAC2_GROUP’ undeclared (first use in this function) + 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:58: error: ‘MT_PSE_LMAC2_PG_INFO’ undeclared (first use in this function) + 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:992:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 992 | MT7925_PSE_GROUP("LMAC2", MT_PSE_PG_LMAC2_GROUP, MT_PSE_LMAC2_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:35: error: ‘MT_PSE_PG_LMAC3_GROUP’ undeclared (first use in this function) + 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:58: error: ‘MT_PSE_LMAC3_PG_INFO’ undeclared (first use in this function) + 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:993:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 993 | MT7925_PSE_GROUP("LMAC3", MT_PSE_PG_LMAC3_GROUP, MT_PSE_LMAC3_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:35: error: ‘MT_PSE_PG_MDP_GROUP’ undeclared (first use in this function) + 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:58: error: ‘MT_PSE_MDP_PG_INFO’ undeclared (first use in this function) + 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:1196:69: note: in definition of macro ‘mt76_rr’ + 1196 | #define mt76_rr(dev, ...) (dev)->mt76.bus->rr(&((dev)->mt76), __VA_ARGS__) + | ^~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:994:9: note: in expansion of macro ‘MT7925_PSE_GROUP’ + 994 | MT7925_PSE_GROUP("MDP", MT_PSE_PG_MDP_GROUP, MT_PSE_MDP_PG_INFO); + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c: At top level: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:920:1: warning: ‘mt7925_pse_read’ defined but not used [-Wunused-function] + 920 | mt7925_pse_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:815:1: warning: ‘mt7925_ple_read’ defined but not used [-Wunused-function] + 815 | mt7925_ple_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:669:1: warning: ‘mt7928_dmashdl_lite_read’ defined but not used [-Wunused-function] + 669 | mt7928_dmashdl_lite_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:578:1: warning: ‘mt7925_dmashdl_read’ defined but not used [-Wunused-function] + 578 | mt7925_dmashdl_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:547:1: warning: ‘mt7925_coex_info’ defined but not used [-Wunused-function] + 547 | mt7925_coex_info(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~~ +In file included from ../include/net/cfg80211.h:16, + from ../include/net/mac80211.h:22, + from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:18: +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:26: warning: ‘fops_perf_ind_enable’ defined but not used [-Wunused-const-variable=] + 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ + 54 | static const struct file_operations __fops = { \ + | ^~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:543:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ + 543 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind_enable, mt7925_perf_ind_enable_get, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:26: warning: ‘fops_perf_ind’ defined but not used [-Wunused-const-variable=] + 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); + | ^~~~~~~~~~~~~ +../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ + 54 | static const struct file_operations __fops = { \ + | ^~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:523:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ + 523 | DEFINE_DEBUGFS_ATTRIBUTE(fops_perf_ind, NULL, mt7925_perf_ind_set, "%lld\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:471:1: warning: ‘mt7925_vefuse_read’ defined but not used [-Wunused-function] + 471 | mt7925_vefuse_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:419:1: warning: ‘mt7925_wtbl_read’ defined but not used [-Wunused-function] + 419 | mt7925_wtbl_read(struct seq_file *s, void *data) + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:26: warning: ‘fops_wtbl_idx’ defined but not used [-Wunused-const-variable=] + 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, + | ^~~~~~~~~~~~~ +../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ + 54 | static const struct file_operations __fops = { \ + | ^~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:415:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ + 415 | DEFINE_DEBUGFS_ATTRIBUTE(fops_wtbl_idx, mt7925_wtbl_idx_get, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:26: warning: ‘fops_autorate’ defined but not used [-Wunused-const-variable=] + 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, + | ^~~~~~~~~~~~~ +../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ + 54 | static const struct file_operations __fops = { \ + | ^~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:382:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ + 382 | DEFINE_DEBUGFS_ATTRIBUTE(fops_autorate, mt7925_autorate_get, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:26: warning: ‘fops_fixedrate’ defined but not used [-Wunused-const-variable=] + 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, + | ^~~~~~~~~~~~~~ +../include/linux/debugfs.h:54:37: note: in definition of macro ‘DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED’ + 54 | static const struct file_operations __fops = { \ + | ^~~~~~ +../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c:344:1: note: in expansion of macro ‘DEFINE_DEBUGFS_ATTRIBUTE’ + 344 | DEFINE_DEBUGFS_ATTRIBUTE(fops_fixedrate, mt7925_fixedrate_get, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:289: drivers/net/wireless/mediatek/mt76/mt7925/debugfs.o] Error 1 +make[8]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76/mt7925] Error 2 +make[7]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek/mt76] Error 2 +make[6]: *** [../scripts/Makefile.build:549: drivers/net/wireless/mediatek] Error 2 +make[5]: *** [../scripts/Makefile.build:549: drivers/net/wireless] Error 2 +make[4]: *** [../scripts/Makefile.build:549: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:549: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:2184: .] Error 2 +make[1]: *** [/srv/nipa-poller-wireless/wireless-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.KUTbaAP79t 2026-08-23 23:15:20.331443358 -0400 +++ /tmp/tmp.JjHHyAvJW0 2026-08-23 23:15:20.334443337 -0400 @@ -0,0 +1,2 @@ + 135 ../drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c + 6 ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.h