Lines Matching refs:mr
195 } mr; member
340 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= in dch_l2l1()
420 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= in bch_l2l1()
439 l1->hw->mr.timer_usg_cnt++; in bch_l2l1()
440 l1->hw->mr. in bch_l2l1()
469 l1->hw->mr.r_ctrl0 |= in bch_l2l1()
472 l1->hw->mr.r_ctrl0); in bch_l2l1()
486 l1->hw->mr. in bch_l2l1()
492 l1->hw->mr.timer_usg_cnt++; in bch_l2l1()
516 l1->hw->mr.r_ctrl0 |= in bch_l2l1()
519 l1->hw->mr.r_ctrl0); in bch_l2l1()
535 l1->hw->mr. in bch_l2l1()
541 l1->hw->mr. in bch_l2l1()
547 l1->hw->mr.timer_usg_cnt--; in bch_l2l1()
563 l1->hw->mr.r_ctrl0 &= in bch_l2l1()
566 l1->hw->mr.r_ctrl0); in bch_l2l1()
591 if (l1->hw->mr.timer_usg_cnt) { in bch_l2l1()
943 l1->hw->mr.fifo_slow_timer_service[l1-> in tx_b_frame()
953 l1->hw->mr.fifo_slow_timer_service[l1->st_num] |= in tx_b_frame()
956 l1->hw->mr.fifo_slow_timer_service[l1->st_num] &= in tx_b_frame()
1022 if ((b & hw->mr.r_irq_statech)) { in hfc4s8s_bh()
1024 hw->mr.r_irq_statech &= ~b; in hfc4s8s_bh()
1127 fifo_stat = hw->mr.r_irq_fifo_blx; in hfc4s8s_bh()
1131 if (hw->mr.timer_irq) { in hfc4s8s_bh()
1132 *fifo_stat |= hw->mr.fifo_rx_trans_enables[idx]; in hfc4s8s_bh()
1135 hw->mr.fifo_slow_timer_service[l1p-> in hfc4s8s_bh()
1189 hw->mr.timer_irq = 0; /* clear requested timer irq */ in hfc4s8s_bh()
1204 if (!hw || !(hw->mr.r_irq_ctrl & M_GLOB_IRQ_EN)) in hfc4s8s_interrupt()
1211 hw->mr.r_irq_statech |= in hfc4s8s_interrupt()
1212 (Read_hfc8(hw, R_SCI) & hw->mr.r_irqmsk_statchg); in hfc4s8s_interrupt()
1215 && !hw->mr.r_irq_statech) { in hfc4s8s_interrupt()
1222 hw->mr.timer_irq = 1; in hfc4s8s_interrupt()
1228 hw->mr.r_irq_oview |= ovr; in hfc4s8s_interrupt()
1230 ovp = hw->mr.r_irq_fifo_blx; in hfc4s8s_interrupt()
1261 hw->mr.r_irq_ctrl = 0; /* interrupt is inactive */ in chipreset()
1274 memset(&hw->mr, 0, sizeof(hw->mr)); in chipreset()
1292 hw->mr.r_irq_ctrl = M_FIFO_IRQ; in hfc_hardware_enable()
1293 Write_hfc8(hw, R_IRQ_CTRL, hw->mr.r_irq_ctrl); in hfc_hardware_enable()
1294 hw->mr.r_irqmsk_statchg = 0; in hfc_hardware_enable()
1295 Write_hfc8(hw, R_SCI_MSK, hw->mr.r_irqmsk_statchg); in hfc_hardware_enable()
1303 hw->mr.r_irqmsk_statchg |= (1 << i); in hfc_hardware_enable()
1304 Write_hfc8(hw, R_SCI_MSK, hw->mr.r_irqmsk_statchg); in hfc_hardware_enable()
1308 hw->mr.r_ctrl0 = ((nt_mode) ? CTRL0_NT : CTRL0_TE); in hfc_hardware_enable()
1309 Write_hfc8(hw, A_ST_CTRL0, hw->mr.r_ctrl0); in hfc_hardware_enable()
1352 hw->mr.r_irqmsk_statchg &= ~(1 << i); in hfc_hardware_enable()
1354 hw->mr.r_irqmsk_statchg); in hfc_hardware_enable()
1362 hw->mr.r_irq_ctrl |= M_GLOB_IRQ_EN; in hfc_hardware_enable()
1363 Write_hfc8(hw, R_IRQ_CTRL, hw->mr.r_irq_ctrl); in hfc_hardware_enable()
1368 hw->mr.r_irq_ctrl &= ~M_GLOB_IRQ_EN; in hfc_hardware_enable()
1369 Write_hfc8(hw, R_IRQ_CTRL, hw->mr.r_irq_ctrl); in hfc_hardware_enable()