Lines Matching +full:0 +full:x03c00000
81 return 0; in ath9k_debugfs_release_buf()
94 len = sprintf(buf, "0x%08x\n", common->debug_mask); in read_file_debug()
106 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in write_file_debug()
133 unsigned int len = 0; in read_file_ani()
135 ssize_t retval = 0; in read_file_ani()
168 for (i = 0; i < ARRAY_SIZE(ani_info); i++) in read_file_ani()
191 ret = kstrtoul_from_user(user_buf, count, 0, &ani); in write_file_ani()
243 ret = kstrtoul_from_user(user_buf, count, 0, &bt_ant_diversity); in write_file_bt_ant_diversity()
294 unsigned int len = 0; in read_file_antenna_diversity()
296 ssize_t retval = 0; in read_file_antenna_diversity()
395 int i, qcuOffset = 0, dcuOffset = 0; in read_file_dma()
396 u32 *qcuBase = &val[0], *dcuBase = &val[4]; in read_file_dma()
407 for (i = 0; i < ATH9K_NUM_DMA_DEBUG_REGS; i++) { in read_file_dma()
408 if (i % 4 == 0) in read_file_dma()
418 for (i = 0; i < ATH9K_NUM_QUEUES; i++, qcuOffset += 4, dcuOffset += 5) { in read_file_dma()
420 qcuOffset = 0; in read_file_dma()
425 dcuOffset = 0; in read_file_dma()
430 i, (*qcuBase & (0x7 << qcuOffset)) >> qcuOffset, in read_file_dma()
431 (*qcuBase & (0x8 << qcuOffset)) >> (qcuOffset + 3), in read_file_dma()
432 (val[2] & (0x7 << (i * 3))) >> (i * 3), in read_file_dma()
433 (*dcuBase & (0x1f << dcuOffset)) >> dcuOffset); in read_file_dma()
439 (val[3] & 0x003c0000) >> 18, (val[3] & 0x03c00000) >> 22); in read_file_dma()
441 (val[3] & 0x1c000000) >> 26, (val[6] & 0x3)); in read_file_dma()
443 (val[5] & 0x06000000) >> 25, (val[5] & 0x38000000) >> 27); in read_file_dma()
445 (val[6] & 0x000003fc) >> 2, (val[6] & 0x00000400) >> 10); in read_file_dma()
447 (val[6] & 0x00000800) >> 11, (val[6] & 0x00001000) >> 12); in read_file_dma()
449 (val[6] & 0x0001e000) >> 13, (val[6] & 0x001e0000) >> 17); in read_file_dma()
451 seq_printf(file, "pcu observe: 0x%x\n", REG_READ_D(ah, AR_OBS_BUS_1)); in read_file_dma()
452 seq_printf(file, "AR_CR: 0x%x\n", REG_READ_D(ah, AR_CR)); in read_file_dma()
456 return 0; in read_file_dma()
521 } while (0) in read_file_interrupt()
573 return 0; in read_file_interrupt()
605 return 0; in read_file_xmit()
631 for (i = 0; i < IEEE80211_NUM_ACS; i++) { in read_file_queues()
640 return 0; in read_file_queues()
662 seq_printf(file, "RXFILTER: 0x%x", rxfilter); in read_file_misc()
697 seq_printf(file, "INTERRUPT-MASK: 0x%x", reg); in read_file_misc()
716 i = 0; in read_file_misc()
732 return 0; in read_file_misc()
756 for (i = 0; i < ARRAY_SIZE(reset_cause); i++) { in read_file_reset()
764 return 0; in read_file_reset()
782 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_reset()
860 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); in read_file_regidx()
871 ret = kstrtoul_from_user(user_buf, count, 0, ®idx); in write_file_regidx()
899 len = sprintf(buf, "0x%08x\n", regval); in read_file_regval()
911 ret = kstrtoul_from_user(user_buf, count, 0, ®val); in write_file_regval()
934 unsigned int len = 0; in open_file_regdump()
936 int i, j = 0; in open_file_regdump()
942 {0x0200, 0x07fc}, in open_file_regdump()
943 {0x0c00, 0x0ffc}, in open_file_regdump()
944 {0x2000, 0x3ffc}, in open_file_regdump()
945 {0x4100, 0x6ffc}, in open_file_regdump()
946 {0x705c, 0x7ffc}, in open_file_regdump()
947 {0x0000, 0x0000} in open_file_regdump()
950 max_reg_offset = AR_SREV_9300_20_OR_LATER(sc->sc_ah) ? 0x8800 : 0xb500; in open_file_regdump()
958 for (i = 0; i < num_regs; i++) { in open_file_regdump()
966 "0x%06x 0x%08x\n", i << 2, REG_READ(sc->sc_ah, i << 2)); in open_file_regdump()
972 return 0; in open_file_regdump()
997 for (i = 0; i < NUM_NF_READINGS; i++) { in read_file_dump_nfcal()
1004 for (j = 0; j < nread; j++) in read_file_dump_nfcal()
1009 return 0; in read_file_dump_nfcal()
1017 u32 len = 0, size = 1500; in read_file_btcoex()
1076 unsigned int len = 0, size = 32; in read_file_wow()
1103 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_wow()
1133 unsigned int len = 0, size = 32; in read_file_tpc()
1162 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_tpc()
1199 if (ah->nf_override == 0) in read_file_nf_override()
1221 buf[len] = '\0'; in write_file_nf_override()
1222 if (strncmp("off", buf, 3) == 0) in write_file_nf_override()
1223 val = 0; in write_file_nf_override()
1224 else if (kstrtol(buf, 0, &val)) in write_file_nf_override()
1227 if (val > 0) in write_file_nf_override()
1305 return 0; in ath9k_get_et_sset_count()
1314 } while (0)
1319 } while (0)
1326 int i = 0; in ath9k_get_et_stats()
1459 return 0; in ath9k_init_debug()