Lines Matching refs:read_iir
1076 u16 read_iir, u16 mask1, u16 mask2)
1078 if (*toggle == 0 && read_iir & mask1) {
1084 if (read_iir & mask2) {
1090 } else if (*toggle == 1 && read_iir & mask2) {
1096 if (read_iir & mask1) {
1115 static int handle_data_ul(struct nozomi *dc, enum port_type port, u16 read_iir)
1119 if (*toggle == 0 && read_iir & MDM_UL1) {
1129 if (read_iir & MDM_UL2) {
1140 } else if (*toggle == 1 && read_iir & MDM_UL2) {
1150 if (read_iir & MDM_UL1) {
1161 writew(read_iir & MDM_UL, dc->reg_fcr);
1172 u16 read_iir;
1178 read_iir = readw(dc->reg_iir);
1181 if (read_iir == (u16)-1)
1187 read_iir &= dc->last_ier;
1189 if (read_iir == 0)
1193 DBG4("%s irq:0x%04X, prev:0x%04X", interrupt2str(read_iir), read_iir,
1196 if (read_iir & RESET) {
1208 if (read_iir & CTRL_UL) {
1218 if (read_iir & CTRL_DL) {
1222 if (read_iir & MDM_DL) {
1224 &(dc->port[PORT_MDM].toggle_dl), read_iir,
1230 if (read_iir & MDM_UL) {
1231 if (!handle_data_ul(dc, PORT_MDM, read_iir)) {
1236 if (read_iir & DIAG_DL) {
1238 &(dc->port[PORT_DIAG].toggle_dl), read_iir,
1244 if (read_iir & DIAG_UL) {
1253 if (read_iir & APP1_DL) {
1257 if (read_iir & APP1_UL) {
1266 if (read_iir & APP2_DL) {
1270 if (read_iir & APP2_UL) {