Lines Matching refs:toggle
190 struct toggles toggle; member
255 struct toggles toggle; member
552 DBG3("toggle enabled: %d", dc->config_table.toggle.enabled); in dump_table()
553 DBG3("toggle up_mdm: %d", dc->config_table.toggle.mdm_ul); in dump_table()
554 DBG3("toggle dl_mdm: %d", dc->config_table.toggle.mdm_dl); in dump_table()
555 DBG3("toggle dl_dbg: %d", dc->config_table.toggle.diag_dl); in dump_table()
607 || (dc->config_table.toggle.enabled == TOGGLE_VALID)) { in nozomi_read_config_table()
613 dc->port[PORT_MDM].toggle_ul = dc->config_table.toggle.mdm_ul; in nozomi_read_config_table()
614 dc->port[PORT_MDM].toggle_dl = dc->config_table.toggle.mdm_dl; in nozomi_read_config_table()
615 dc->port[PORT_DIAG].toggle_dl = dc->config_table.toggle.diag_dl; in nozomi_read_config_table()
637 && (dc->config_table.toggle.enabled != TOGGLE_VALID)) { in nozomi_read_config_table()
728 const u8 toggle = port->toggle_ul; in send_data() local
729 void __iomem *addr = port->ul_addr[toggle]; in send_data()
730 const u32 ul_size = port->ul_size[toggle]; in send_data()
996 static int handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, in handle_data_dl() argument
999 if (*toggle == 0 && read_iir & mask1) { in handle_data_dl()
1002 *toggle = !(*toggle); in handle_data_dl()
1008 *toggle = !(*toggle); in handle_data_dl()
1011 } else if (*toggle == 1 && read_iir & mask2) { in handle_data_dl()
1014 *toggle = !(*toggle); in handle_data_dl()
1020 *toggle = !(*toggle); in handle_data_dl()
1025 *toggle); in handle_data_dl()
1038 u8 *toggle = &(dc->port[port].toggle_ul); in handle_data_ul() local
1040 if (*toggle == 0 && read_iir & MDM_UL1) { in handle_data_ul()
1047 *toggle = !*toggle; in handle_data_ul()
1057 *toggle = !*toggle; in handle_data_ul()
1061 } else if (*toggle == 1 && read_iir & MDM_UL2) { in handle_data_ul()
1068 *toggle = !*toggle; in handle_data_ul()
1078 *toggle = !*toggle; in handle_data_ul()