Lines Matching refs:Write_hfc
156 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq()
163 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in disable_hwirq()
194 Write_hfc(hc, HFCPCI_CLKDEL, hc->hw.clkdel); in hfcpci_setmode()
195 Write_hfc(hc, HFCPCI_STATES, HFCPCI_LOAD_STATE | hc->hw.states); in hfcpci_setmode()
197 Write_hfc(hc, HFCPCI_STATES, hc->hw.states | 0x40); /* Deactivate */ in hfcpci_setmode()
198 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode()
223 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci()
227 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci()
252 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in reset_hfcpci()
253 Write_hfc(hc, HFCPCI_TRM, hc->hw.trm); in reset_hfcpci()
254 Write_hfc(hc, HFCPCI_SCTRL_E, hc->hw.sctrl_e); in reset_hfcpci()
255 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt); in reset_hfcpci()
259 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in reset_hfcpci()
267 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in reset_hfcpci()
268 Write_hfc(hc, HFCPCI_SCTRL_R, hc->hw.sctrl_r); in reset_hfcpci()
285 Write_hfc(hc, HFCPCI_B1_SSL, 0xC0); in reset_hfcpci()
286 Write_hfc(hc, HFCPCI_B2_SSL, 0xC1); in reset_hfcpci()
287 Write_hfc(hc, HFCPCI_B1_RSL, 0xC0); in reset_hfcpci()
288 Write_hfc(hc, HFCPCI_B2_RSL, 0xC1); in reset_hfcpci()
290 Write_hfc(hc, HFCPCI_B1_SSL, 0x80); in reset_hfcpci()
291 Write_hfc(hc, HFCPCI_B2_SSL, 0x81); in reset_hfcpci()
292 Write_hfc(hc, HFCPCI_B1_RSL, 0x80); in reset_hfcpci()
293 Write_hfc(hc, HFCPCI_B2_RSL, 0x81); in reset_hfcpci()
296 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in reset_hfcpci()
350 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_rx()
359 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_rx()
379 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_tx()
393 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_tx()
958 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in handle_nt_timer3()
963 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in handle_nt_timer3()
983 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in ph_state_nt()
986 Write_hfc(hc, HFCPCI_STATES, 4 | HFCPCI_LOAD_STATE); in ph_state_nt()
988 Write_hfc(hc, HFCPCI_STATES, 4); in ph_state_nt()
992 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in ph_state_nt()
996 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt | in ph_state_nt()
1001 Write_hfc(hc, HFCPCI_STATES, 2 | HFCPCI_NT_G2_G3); in ph_state_nt()
1003 Write_hfc(hc, HFCPCI_STATES, 2 | HFCPCI_NT_G2_G3); in ph_state_nt()
1011 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in ph_state_nt()
1014 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in ph_state_nt()
1024 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in ph_state_nt()
1035 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in ph_state_nt()
1039 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt | in ph_state_nt()
1074 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in hfc_l1callback()
1077 Write_hfc(hc, HFCPCI_STATES, HFCPCI_LOAD_STATE | 3); in hfc_l1callback()
1080 Write_hfc(hc, HFCPCI_STATES, 3); /* HFC ST 2 */ in hfc_l1callback()
1083 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in hfc_l1callback()
1084 Write_hfc(hc, HFCPCI_STATES, HFCPCI_ACTIVATE | in hfc_l1callback()
1090 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in hfc_l1callback()
1106 Write_hfc(hc, HFCPCI_STATES, HFCPCI_DO_ACTION); in hfc_l1callback()
1200 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt | HFCPCI_CLTIMER); in hfcpci_int()
1419 Write_hfc(hc, HFCPCI_B2_SSL, tx_slot); in mode_hfcpci()
1420 Write_hfc(hc, HFCPCI_B2_RSL, rx_slot); in mode_hfcpci()
1428 Write_hfc(hc, HFCPCI_B1_SSL, tx_slot); in mode_hfcpci()
1429 Write_hfc(hc, HFCPCI_B1_RSL, rx_slot); in mode_hfcpci()
1432 Write_hfc(hc, HFCPCI_SCTRL_E, hc->hw.sctrl_e); in mode_hfcpci()
1433 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in mode_hfcpci()
1434 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in mode_hfcpci()
1435 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in mode_hfcpci()
1436 Write_hfc(hc, HFCPCI_SCTRL_R, hc->hw.sctrl_r); in mode_hfcpci()
1437 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt); in mode_hfcpci()
1438 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in mode_hfcpci()
1440 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in mode_hfcpci()
1509 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in set_hfcpci_rxtest()
1510 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in set_hfcpci_rxtest()
1511 Write_hfc(hc, HFCPCI_SCTRL_R, hc->hw.sctrl_r); in set_hfcpci_rxtest()
1512 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt); in set_hfcpci_rxtest()
1513 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in set_hfcpci_rxtest()
1515 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in set_hfcpci_rxtest()
1618 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in hfcpci_l2l1D()
1626 Write_hfc(hc, HFCPCI_STATES, HFCPCI_ACTIVATE | in hfcpci_l2l1D()
1640 Write_hfc(hc, HFCPCI_STATES, 0x40); in hfcpci_l2l1D()
1659 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in hfcpci_l2l1D()
1770 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in init_card()
1772 Write_hfc(hc, HFCPCI_MST_MODE, hc->hw.mst_m); in init_card()
1819 Write_hfc(hc, HFCPCI_B1_SSL, slot); in channel_ctrl()
1820 Write_hfc(hc, HFCPCI_B1_RSL, slot); in channel_ctrl()
1822 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in channel_ctrl()
1831 Write_hfc(hc, HFCPCI_B2_SSL, slot); in channel_ctrl()
1832 Write_hfc(hc, HFCPCI_B2_RSL, slot); in channel_ctrl()
1834 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in channel_ctrl()
1840 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in channel_ctrl()
1843 Write_hfc(hc, HFCPCI_TRM, hc->hw.trm); in channel_ctrl()
1861 Write_hfc(hc, HFCPCI_B1_SSL, slot); in channel_ctrl()
1862 Write_hfc(hc, HFCPCI_B2_RSL, slot); in channel_ctrl()
1869 Write_hfc(hc, HFCPCI_B2_SSL, slot); in channel_ctrl()
1870 Write_hfc(hc, HFCPCI_B1_RSL, slot); in channel_ctrl()
1872 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in channel_ctrl()
1874 Write_hfc(hc, HFCPCI_TRM, hc->hw.trm); in channel_ctrl()
1878 Write_hfc(hc, HFCPCI_CONNECT, hc->hw.conn); in channel_ctrl()
2049 Write_hfc(hc, HFCPCI_INT_M1, hc->hw.int_m1); in setup_hw()