Lines Matching refs:cc
46 int cc; in ptf() local
52 : "=d" (cc), "+d" (fc) in ptf()
57 return cc; in ptf()
111 int cc; in check_polarization_change() local
122 cc = ptf(PTF_REQ_VERTICAL, &rc); in check_polarization_change()
123 report(cc == 0, "Set vertical polarization."); in check_polarization_change()
127 cc = ptf(PTF_CHECK, &rc); in check_polarization_change()
128 report(cc == 0, "Reset should clear topology report"); in check_polarization_change()
130 cc = ptf(PTF_REQ_HORIZONTAL, &rc); in check_polarization_change()
131 report(cc == 2 && rc == PTF_ERR_ALRDY_POLARIZED, in check_polarization_change()
135 cc = ptf(PTF_REQ_VERTICAL, &rc); in check_polarization_change()
136 report(cc == 0, "Change to vertical"); in check_polarization_change()
138 cc = ptf(PTF_CHECK, &rc); in check_polarization_change()
139 report(cc == 1, "Should report change after horizontal -> vertical"); in check_polarization_change()
141 cc = ptf(PTF_REQ_VERTICAL, &rc); in check_polarization_change()
142 report(cc == 2 && rc == PTF_ERR_ALRDY_POLARIZED, "Double change to vertical"); in check_polarization_change()
144 cc = ptf(PTF_CHECK, &rc); in check_polarization_change()
145 report(cc == 0, "Should not report change after vertical -> vertical"); in check_polarization_change()
147 cc = ptf(PTF_REQ_HORIZONTAL, &rc); in check_polarization_change()
148 report(cc == 0, "Change to horizontal"); in check_polarization_change()
150 cc = ptf(PTF_CHECK, &rc); in check_polarization_change()
151 report(cc == 1, "Should report change after vertical -> horizontal"); in check_polarization_change()
153 cc = ptf(PTF_REQ_HORIZONTAL, &rc); in check_polarization_change()
154 report(cc == 2 && rc == PTF_ERR_ALRDY_POLARIZED, "Double change to horizontal"); in check_polarization_change()
156 cc = ptf(PTF_CHECK, &rc); in check_polarization_change()
157 report(cc == 0, "Should not report change after horizontal -> horizontal"); in check_polarization_change()
410 int cc; in check_sysinfo_15_1_x() local
422 cc = ptf(PTF_REQ_HORIZONTAL, &rc); in check_sysinfo_15_1_x()
423 if (cc != 0 && rc != PTF_ERR_ALRDY_POLARIZED) { in check_sysinfo_15_1_x()
435 cc = ptf(PTF_REQ_VERTICAL, &rc); in check_sysinfo_15_1_x()
436 if (cc != 0 && rc != PTF_ERR_ALRDY_POLARIZED) { in check_sysinfo_15_1_x()