Lines Matching refs:wbuf
9829 ushort *wbuf; in AscGetEEPConfig() local
9835 wbuf = (ushort *)cfg_buf; in AscGetEEPConfig()
9838 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) { in AscGetEEPConfig()
9839 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
9840 sum += *wbuf; in AscGetEEPConfig()
9849 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) { in AscGetEEPConfig()
9856 *wbuf = le16_to_cpu(wval); in AscGetEEPConfig()
9859 *wbuf = wval; in AscGetEEPConfig()
9867 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
9942 ushort *wbuf; in AscSetEEPConfigOnce() local
9950 wbuf = (ushort *)cfg_buf; in AscSetEEPConfigOnce()
9954 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) { in AscSetEEPConfigOnce()
9955 sum += *wbuf; in AscSetEEPConfigOnce()
9956 if (*wbuf != AscWriteEEPWord(iop_base, (uchar)s_addr, *wbuf)) { in AscSetEEPConfigOnce()
9967 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) { in AscSetEEPConfigOnce()
9973 word = cpu_to_le16(*wbuf); in AscSetEEPConfigOnce()
9980 if (*wbuf != in AscSetEEPConfigOnce()
9981 AscWriteEEPWord(iop_base, (uchar)s_addr, *wbuf)) { in AscSetEEPConfigOnce()
9985 sum += *wbuf; /* Checksum calculated from word values. */ in AscSetEEPConfigOnce()
9988 *wbuf = sum; in AscSetEEPConfigOnce()
9994 wbuf = (ushort *)cfg_buf; in AscSetEEPConfigOnce()
9998 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) { in AscSetEEPConfigOnce()
9999 if (*wbuf != AscReadEEPWord(iop_base, (uchar)s_addr)) { in AscSetEEPConfigOnce()
10010 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) { in AscSetEEPConfigOnce()
10023 if (*wbuf != word) { in AscSetEEPConfigOnce()
10759 ushort *wbuf; in AdvSet3550EEPConfig() local
10763 wbuf = (ushort *)cfg_buf; in AdvSet3550EEPConfig()
10774 addr < ADV_EEP_DVC_CFG_END; addr++, wbuf++) { in AdvSet3550EEPConfig()
10778 word = cpu_to_le16(*wbuf); in AdvSet3550EEPConfig()
10780 word = *wbuf; in AdvSet3550EEPConfig()
10782 chksum += *wbuf; /* Checksum is calculated from word values. */ in AdvSet3550EEPConfig()
10796 wbuf++; in AdvSet3550EEPConfig()
10803 addr < ADV_EEP_MAX_WORD_ADDR; addr++, wbuf++) { in AdvSet3550EEPConfig()
10807 word = cpu_to_le16(*wbuf); in AdvSet3550EEPConfig()
10809 word = *wbuf; in AdvSet3550EEPConfig()
10826 ushort *wbuf; in AdvSet38C0800EEPConfig() local
10830 wbuf = (ushort *)cfg_buf; in AdvSet38C0800EEPConfig()
10841 addr < ADV_EEP_DVC_CFG_END; addr++, wbuf++) { in AdvSet38C0800EEPConfig()
10845 word = cpu_to_le16(*wbuf); in AdvSet38C0800EEPConfig()
10847 word = *wbuf; in AdvSet38C0800EEPConfig()
10849 chksum += *wbuf; /* Checksum is calculated from word values. */ in AdvSet38C0800EEPConfig()
10863 wbuf++; in AdvSet38C0800EEPConfig()
10870 addr < ADV_EEP_MAX_WORD_ADDR; addr++, wbuf++) { in AdvSet38C0800EEPConfig()
10874 word = cpu_to_le16(*wbuf); in AdvSet38C0800EEPConfig()
10876 word = *wbuf; in AdvSet38C0800EEPConfig()
10893 ushort *wbuf; in AdvSet38C1600EEPConfig() local
10897 wbuf = (ushort *)cfg_buf; in AdvSet38C1600EEPConfig()
10908 addr < ADV_EEP_DVC_CFG_END; addr++, wbuf++) { in AdvSet38C1600EEPConfig()
10912 word = cpu_to_le16(*wbuf); in AdvSet38C1600EEPConfig()
10914 word = *wbuf; in AdvSet38C1600EEPConfig()
10916 chksum += *wbuf; /* Checksum is calculated from word values. */ in AdvSet38C1600EEPConfig()
10930 wbuf++; in AdvSet38C1600EEPConfig()
10937 addr < ADV_EEP_MAX_WORD_ADDR; addr++, wbuf++) { in AdvSet38C1600EEPConfig()
10941 word = cpu_to_le16(*wbuf); in AdvSet38C1600EEPConfig()
10943 word = *wbuf; in AdvSet38C1600EEPConfig()
10963 ushort *wbuf; in AdvGet3550EEPConfig() local
10968 wbuf = (ushort *)cfg_buf; in AdvGet3550EEPConfig()
10972 eep_addr < ADV_EEP_DVC_CFG_END; eep_addr++, wbuf++) { in AdvGet3550EEPConfig()
10976 *wbuf = le16_to_cpu(wval); in AdvGet3550EEPConfig()
10978 *wbuf = wval; in AdvGet3550EEPConfig()
10982 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet3550EEPConfig()
10983 wbuf++; in AdvGet3550EEPConfig()
10988 eep_addr < ADV_EEP_MAX_WORD_ADDR; eep_addr++, wbuf++) { in AdvGet3550EEPConfig()
10989 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet3550EEPConfig()
10991 *wbuf = le16_to_cpu(*wbuf); in AdvGet3550EEPConfig()
11006 ushort *wbuf; in AdvGet38C0800EEPConfig() local
11011 wbuf = (ushort *)cfg_buf; in AdvGet38C0800EEPConfig()
11015 eep_addr < ADV_EEP_DVC_CFG_END; eep_addr++, wbuf++) { in AdvGet38C0800EEPConfig()
11019 *wbuf = le16_to_cpu(wval); in AdvGet38C0800EEPConfig()
11021 *wbuf = wval; in AdvGet38C0800EEPConfig()
11025 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet38C0800EEPConfig()
11026 wbuf++; in AdvGet38C0800EEPConfig()
11031 eep_addr < ADV_EEP_MAX_WORD_ADDR; eep_addr++, wbuf++) { in AdvGet38C0800EEPConfig()
11032 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet38C0800EEPConfig()
11034 *wbuf = le16_to_cpu(*wbuf); in AdvGet38C0800EEPConfig()
11049 ushort *wbuf; in AdvGet38C1600EEPConfig() local
11054 wbuf = (ushort *)cfg_buf; in AdvGet38C1600EEPConfig()
11058 eep_addr < ADV_EEP_DVC_CFG_END; eep_addr++, wbuf++) { in AdvGet38C1600EEPConfig()
11062 *wbuf = le16_to_cpu(wval); in AdvGet38C1600EEPConfig()
11064 *wbuf = wval; in AdvGet38C1600EEPConfig()
11068 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet38C1600EEPConfig()
11069 wbuf++; in AdvGet38C1600EEPConfig()
11074 eep_addr < ADV_EEP_MAX_WORD_ADDR; eep_addr++, wbuf++) { in AdvGet38C1600EEPConfig()
11075 *wbuf = AdvReadEEPWord(iop_base, eep_addr); in AdvGet38C1600EEPConfig()
11077 *wbuf = le16_to_cpu(*wbuf); in AdvGet38C1600EEPConfig()