Lines Matching refs:cmv
488 struct cmv_e1 cmv; member
499 struct cmv_e4 cmv; member
1136 struct cmv_e1 cmv; in uea_cmv_e1() local
1154 cmv.wPreamble = cpu_to_le16(E1_PREAMBLE); in uea_cmv_e1()
1155 cmv.bDirection = E1_HOSTTOMODEM; in uea_cmv_e1()
1156 cmv.bFunction = function; in uea_cmv_e1()
1157 cmv.wIndex = cpu_to_le16(sc->cmv_dsc.e1.idx); in uea_cmv_e1()
1158 put_unaligned_le32(address, &cmv.dwSymbolicAddress); in uea_cmv_e1()
1159 cmv.wOffsetAddress = cpu_to_le16(offset); in uea_cmv_e1()
1160 put_unaligned_le32(data >> 16 | data << 16, &cmv.dwData); in uea_cmv_e1()
1163 sizeof(cmv), &cmv); in uea_cmv_e1()
1174 struct cmv_e4 cmv; in uea_cmv_e4() local
1178 memset(&cmv, 0, sizeof(cmv)); in uea_cmv_e4()
1191 cmv.wFunction = cpu_to_be16(function); in uea_cmv_e4()
1192 cmv.wGroup = cpu_to_be16(group); in uea_cmv_e4()
1193 cmv.wAddress = cpu_to_be16(address); in uea_cmv_e4()
1194 cmv.wOffset = cpu_to_be16(offset); in uea_cmv_e4()
1195 cmv.dwData[0] = cpu_to_be32(data); in uea_cmv_e4()
1198 sizeof(cmv), &cmv); in uea_cmv_e4()
1967 struct cmv_e1 *cmv = &intr->u.e1.s2.cmv; in uea_dispatch_cmv_e1() local
1970 if (le16_to_cpu(cmv->wPreamble) != E1_PREAMBLE) in uea_dispatch_cmv_e1()
1973 if (cmv->bDirection != E1_MODEMTOHOST) in uea_dispatch_cmv_e1()
1979 if (cmv->bFunction != dsc->function) { in uea_dispatch_cmv_e1()
1981 && cmv->bFunction == E1_MAKEFUNCTION(2, 2)) { in uea_dispatch_cmv_e1()
1982 cmv->wIndex = cpu_to_le16(dsc->idx); in uea_dispatch_cmv_e1()
1984 &cmv->dwSymbolicAddress); in uea_dispatch_cmv_e1()
1985 cmv->wOffsetAddress = cpu_to_le16(dsc->offset); in uea_dispatch_cmv_e1()
1990 if (cmv->bFunction == E1_MAKEFUNCTION(E1_ADSLDIRECTIVE, in uea_dispatch_cmv_e1()
1998 if (le16_to_cpu(cmv->wIndex) != dsc->idx || in uea_dispatch_cmv_e1()
1999 get_unaligned_le32(&cmv->dwSymbolicAddress) != dsc->address || in uea_dispatch_cmv_e1()
2000 le16_to_cpu(cmv->wOffsetAddress) != dsc->offset) in uea_dispatch_cmv_e1()
2003 sc->data = get_unaligned_le32(&cmv->dwData); in uea_dispatch_cmv_e1()
2013 E1_FUNCTION_TYPE(cmv->bFunction), in uea_dispatch_cmv_e1()
2014 E1_FUNCTION_SUBTYPE(cmv->bFunction)); in uea_dispatch_cmv_e1()
2021 le16_to_cpu(cmv->wPreamble), cmv->bDirection); in uea_dispatch_cmv_e1()
2029 struct cmv_e4 *cmv = &intr->u.e4.s2.cmv; in uea_dispatch_cmv_e4() local
2033 be16_to_cpu(cmv->wGroup), be16_to_cpu(cmv->wFunction), in uea_dispatch_cmv_e4()
2034 be16_to_cpu(cmv->wOffset), be16_to_cpu(cmv->wAddress), in uea_dispatch_cmv_e4()
2035 be32_to_cpu(cmv->dwData[0]), be32_to_cpu(cmv->dwData[1])); in uea_dispatch_cmv_e4()
2037 if (be16_to_cpu(cmv->wFunction) != dsc->function) in uea_dispatch_cmv_e4()
2040 if (be16_to_cpu(cmv->wFunction) == E4_MAKEFUNCTION(E4_ADSLDIRECTIVE, in uea_dispatch_cmv_e4()
2048 if (be16_to_cpu(cmv->wOffset) != dsc->offset || in uea_dispatch_cmv_e4()
2049 be16_to_cpu(cmv->wGroup) != dsc->group || in uea_dispatch_cmv_e4()
2050 be16_to_cpu(cmv->wAddress) != dsc->address) in uea_dispatch_cmv_e4()
2053 sc->data = be32_to_cpu(cmv->dwData[0]); in uea_dispatch_cmv_e4()
2054 sc->data1 = be32_to_cpu(cmv->dwData[1]); in uea_dispatch_cmv_e4()
2062 E4_FUNCTION_TYPE(cmv->wFunction), in uea_dispatch_cmv_e4()
2063 E4_FUNCTION_SUBTYPE(cmv->wFunction)); in uea_dispatch_cmv_e4()