Lines Matching refs:read_iir

997 			u16 read_iir, u16 mask1, u16 mask2)  in handle_data_dl()  argument
999 if (*toggle == 0 && read_iir & mask1) { in handle_data_dl()
1005 if (read_iir & mask2) { in handle_data_dl()
1011 } else if (*toggle == 1 && read_iir & mask2) { in handle_data_dl()
1017 if (read_iir & mask1) { in handle_data_dl()
1036 static int handle_data_ul(struct nozomi *dc, enum port_type port, u16 read_iir) in handle_data_ul() argument
1040 if (*toggle == 0 && read_iir & MDM_UL1) { in handle_data_ul()
1050 if (read_iir & MDM_UL2) { in handle_data_ul()
1061 } else if (*toggle == 1 && read_iir & MDM_UL2) { in handle_data_ul()
1071 if (read_iir & MDM_UL1) { in handle_data_ul()
1082 writew(read_iir & MDM_UL, dc->reg_fcr); in handle_data_ul()
1093 u16 read_iir; in interrupt_handler() local
1099 read_iir = readw(dc->reg_iir); in interrupt_handler()
1102 if (read_iir == (u16)-1) in interrupt_handler()
1108 read_iir &= dc->last_ier; in interrupt_handler()
1110 if (read_iir == 0) in interrupt_handler()
1114 DBG4("%s irq:0x%04X, prev:0x%04X", interrupt2str(read_iir), read_iir, in interrupt_handler()
1117 if (read_iir & RESET) { in interrupt_handler()
1129 if (read_iir & CTRL_UL) { in interrupt_handler()
1139 if (read_iir & CTRL_DL) { in interrupt_handler()
1143 if (read_iir & MDM_DL) { in interrupt_handler()
1145 &(dc->port[PORT_MDM].toggle_dl), read_iir, in interrupt_handler()
1151 if (read_iir & MDM_UL) { in interrupt_handler()
1152 if (!handle_data_ul(dc, PORT_MDM, read_iir)) { in interrupt_handler()
1157 if (read_iir & DIAG_DL) { in interrupt_handler()
1159 &(dc->port[PORT_DIAG].toggle_dl), read_iir, in interrupt_handler()
1165 if (read_iir & DIAG_UL) { in interrupt_handler()
1174 if (read_iir & APP1_DL) { in interrupt_handler()
1178 if (read_iir & APP1_UL) { in interrupt_handler()
1187 if (read_iir & APP2_DL) { in interrupt_handler()
1191 if (read_iir & APP2_UL) { in interrupt_handler()