Searched refs:cmv (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/usb/atm/
H A Dueagle-atm.c113 /* cmv's from firmware */
127 /* information about currently processed cmv */
423 /* constants describing cmv type */
531 struct cmv_e1 cmv; member in struct:intr_data_e1::__anon10979
542 struct cmv_e4 cmv; member in struct:intr_data_e4::__anon10981
1179 struct cmv_e1 cmv; uea_cmv_e1() local
1197 cmv.wPreamble = cpu_to_le16(E1_PREAMBLE); uea_cmv_e1()
1198 cmv.bDirection = E1_HOSTTOMODEM; uea_cmv_e1()
1199 cmv.bFunction = function; uea_cmv_e1()
1200 cmv.wIndex = cpu_to_le16(sc->cmv_dsc.e1.idx); uea_cmv_e1()
1201 put_unaligned_le32(address, &cmv.dwSymbolicAddress); uea_cmv_e1()
1202 cmv.wOffsetAddress = cpu_to_le16(offset); uea_cmv_e1()
1203 put_unaligned_le32(data >> 16 | data << 16, &cmv.dwData); uea_cmv_e1()
1206 sizeof(cmv), &cmv); uea_cmv_e1()
1217 struct cmv_e4 cmv; uea_cmv_e4() local
1221 memset(&cmv, 0, sizeof(cmv)); uea_cmv_e4()
1234 cmv.wFunction = cpu_to_be16(function); uea_cmv_e4()
1235 cmv.wGroup = cpu_to_be16(group); uea_cmv_e4()
1236 cmv.wAddress = cpu_to_be16(address); uea_cmv_e4()
1237 cmv.wOffset = cpu_to_be16(offset); uea_cmv_e4()
1238 cmv.dwData[0] = cpu_to_be32(data); uea_cmv_e4()
1241 sizeof(cmv), &cmv); uea_cmv_e4()
1256 "reading cmv failed with error %d\n", ret); uea_read_cmv_e1()
1271 "reading cmv failed with error %d\n", ret); uea_read_cmv_e4()
1288 "writing cmv failed with error %d\n", ret); uea_write_cmv_e1()
1301 "writing cmv failed with error %d\n", ret); uea_write_cmv_e4()
1363 " (may be try other cmv/dsp)\n"); uea_stat_e1()
1507 "failed (may be try other cmv/dsp)\n"); uea_stat_e4()
1723 int ver = 1; /* we can handle v1 cmv firmware version; */ uea_send_cmvs_e1()
1725 /* Enter in R-IDLE (cmv) until instructed otherwise */ uea_send_cmvs_e1()
1789 int ver = 2; /* we can only handle v2 cmv firmware version; */ uea_send_cmvs_e4()
1791 /* Enter in R-IDLE (cmv) until instructed otherwise */ uea_send_cmvs_e4()
2010 struct cmv_e1 *cmv = &intr->u.e1.s2.cmv; uea_dispatch_cmv_e1() local
2013 if (le16_to_cpu(cmv->wPreamble) != E1_PREAMBLE) uea_dispatch_cmv_e1()
2016 if (cmv->bDirection != E1_MODEMTOHOST) uea_dispatch_cmv_e1()
2020 * the first MEMACCESS cmv. Ignore it... uea_dispatch_cmv_e1()
2022 if (cmv->bFunction != dsc->function) { uea_dispatch_cmv_e1()
2024 && cmv->bFunction == E1_MAKEFUNCTION(2, 2)) { uea_dispatch_cmv_e1()
2025 cmv->wIndex = cpu_to_le16(dsc->idx); uea_dispatch_cmv_e1()
2027 &cmv->dwSymbolicAddress); uea_dispatch_cmv_e1()
2028 cmv->wOffsetAddress = cpu_to_le16(dsc->offset); uea_dispatch_cmv_e1()
2033 if (cmv->bFunction == E1_MAKEFUNCTION(E1_ADSLDIRECTIVE, uea_dispatch_cmv_e1()
2041 if (le16_to_cpu(cmv->wIndex) != dsc->idx || uea_dispatch_cmv_e1()
2042 get_unaligned_le32(&cmv->dwSymbolicAddress) != dsc->address || uea_dispatch_cmv_e1()
2043 le16_to_cpu(cmv->wOffsetAddress) != dsc->offset) uea_dispatch_cmv_e1()
2046 sc->data = get_unaligned_le32(&cmv->dwData); uea_dispatch_cmv_e1()
2054 uea_err(INS_TO_USBDEV(sc), "unexpected cmv received, " uea_dispatch_cmv_e1()
2056 E1_FUNCTION_TYPE(cmv->bFunction), uea_dispatch_cmv_e1()
2057 E1_FUNCTION_SUBTYPE(cmv->bFunction)); uea_dispatch_cmv_e1()
2062 uea_err(INS_TO_USBDEV(sc), "invalid cmv received, " uea_dispatch_cmv_e1()
2064 le16_to_cpu(cmv->wPreamble), cmv->bDirection); uea_dispatch_cmv_e1()
2072 struct cmv_e4 *cmv = &intr->u.e4.s2.cmv; uea_dispatch_cmv_e4() local
2075 uea_dbg(INS_TO_USBDEV(sc), "cmv %x %x %x %x %x %x\n", uea_dispatch_cmv_e4()
2076 be16_to_cpu(cmv->wGroup), be16_to_cpu(cmv->wFunction), uea_dispatch_cmv_e4()
2077 be16_to_cpu(cmv->wOffset), be16_to_cpu(cmv->wAddress), uea_dispatch_cmv_e4()
2078 be32_to_cpu(cmv->dwData[0]), be32_to_cpu(cmv->dwData[1])); uea_dispatch_cmv_e4()
2080 if (be16_to_cpu(cmv->wFunction) != dsc->function) uea_dispatch_cmv_e4()
2083 if (be16_to_cpu(cmv->wFunction) == E4_MAKEFUNCTION(E4_ADSLDIRECTIVE, uea_dispatch_cmv_e4()
2091 if (be16_to_cpu(cmv->wOffset) != dsc->offset || uea_dispatch_cmv_e4()
2092 be16_to_cpu(cmv->wGroup) != dsc->group || uea_dispatch_cmv_e4()
2093 be16_to_cpu(cmv->wAddress) != dsc->address) uea_dispatch_cmv_e4()
2096 sc->data = be32_to_cpu(cmv->dwData[0]); uea_dispatch_cmv_e4()
2097 sc->data1 = be32_to_cpu(cmv->dwData[1]); uea_dispatch_cmv_e4()
2103 uea_err(INS_TO_USBDEV(sc), "unexpected cmv received, " uea_dispatch_cmv_e4()
2105 E4_FUNCTION_TYPE(cmv->wFunction), uea_dispatch_cmv_e4()
2106 E4_FUNCTION_SUBTYPE(cmv->wFunction)); uea_dispatch_cmv_e4()
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc.h175 uint32_t cmv : 1; /* Configure Max VPIs */ member in struct:lpfc_vpd::__anon9598
191 uint32_t cmv : 1; /* Configure Max VPIs */
H A Dlpfc_mbox.c1296 phba->vpd.sli3Feat.cmv) { lpfc_config_port()
1298 mb->un.varCfgPort.cmv = 1; lpfc_config_port()
H A Dlpfc_hw.h3034 uint32_t cmv : 1; /* Configure Max VPIs */ member in struct:__anon9664
3050 uint32_t cmv : 1; /* Configure Max VPIs */ member in struct:__anon9664
/linux-4.4.14/sound/soc/codecs/
H A Dab8500-codec.c2438 if (!of_property_read_u32(np, "stericsson,earpeice-cmv", &value)) { ab8500_codec_of_probe()

Completed in 327 milliseconds