• Home
  • Raw
  • Download

Lines Matching refs:writew

249 	writew(arg, ofsAddr + FuncArg);  in moxafunc()
250 writew(cmd, ofsAddr + FuncCode); in moxafunc()
260 writew(arg, ofsAddr + FuncArg); in moxafuncret()
261 writew(cmd, ofsAddr + FuncCode); in moxafuncret()
512 writew(len - 7168 - 2, baseAddr + C320bapi_len); in moxa_load_320b()
568 writew(len2, baseAddr + loadlen); in moxa_real_load_code()
569 writew(0, baseAddr + key); in moxa_real_load_code()
578 writew(0, baseAddr + loadlen); in moxa_real_load_code()
579 writew(usum, baseAddr + checksum); in moxa_real_load_code()
580 writew(0, baseAddr + key); in moxa_real_load_code()
591 writew(0, baseAddr + key); in moxa_real_load_code()
602 writew(0x3800, baseAddr + TMS320_PORT1); in moxa_real_load_code()
603 writew(0x3900, baseAddr + TMS320_PORT2); in moxa_real_load_code()
604 writew(28499, baseAddr + TMS320_CLOCK); in moxa_real_load_code()
606 writew(0x3200, baseAddr + TMS320_PORT1); in moxa_real_load_code()
607 writew(0x3400, baseAddr + TMS320_PORT2); in moxa_real_load_code()
608 writew(19999, baseAddr + TMS320_CLOCK); in moxa_real_load_code()
611 writew(1, baseAddr + Disable_IRQ); in moxa_real_load_code()
612 writew(0, baseAddr + Magic_no); in moxa_real_load_code()
626 writew(j, baseAddr + Module_no); in moxa_real_load_code()
627 writew(0, baseAddr + Magic_no); in moxa_real_load_code()
670 writew(C218rx_mask, ofsAddr + RX_mask); in moxa_load_code()
671 writew(C218tx_mask, ofsAddr + TX_mask); in moxa_load_code()
672 writew(C218rx_spage + i * C218buf_pageno, ofsAddr + Page_rxb); in moxa_load_code()
673 writew(readw(ofsAddr + Page_rxb) + C218rx_pageno, ofsAddr + EndPage_rxb); in moxa_load_code()
675 writew(C218tx_spage + i * C218buf_pageno, ofsAddr + Page_txb); in moxa_load_code()
676 writew(readw(ofsAddr + Page_txb) + C218tx_pageno, ofsAddr + EndPage_txb); in moxa_load_code()
690 writew(C320p8rx_mask, ofsAddr + RX_mask); in moxa_load_code()
691 writew(C320p8tx_mask, ofsAddr + TX_mask); in moxa_load_code()
692 writew(C320p8rx_spage + i * C320p8buf_pgno, ofsAddr + Page_rxb); in moxa_load_code()
693 writew(readw(ofsAddr + Page_rxb) + C320p8rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
694 writew(C320p8tx_spage + i * C320p8buf_pgno, ofsAddr + Page_txb); in moxa_load_code()
695 writew(readw(ofsAddr + Page_txb) + C320p8tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
699 writew(C320p16rx_mask, ofsAddr + RX_mask); in moxa_load_code()
700 writew(C320p16tx_mask, ofsAddr + TX_mask); in moxa_load_code()
701 writew(C320p16rx_spage + i * C320p16buf_pgno, ofsAddr + Page_rxb); in moxa_load_code()
702 writew(readw(ofsAddr + Page_rxb) + C320p16rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
703 writew(C320p16tx_spage + i * C320p16buf_pgno, ofsAddr + Page_txb); in moxa_load_code()
704 writew(readw(ofsAddr + Page_txb) + C320p16tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
708 writew(C320p24rx_mask, ofsAddr + RX_mask); in moxa_load_code()
709 writew(C320p24tx_mask, ofsAddr + TX_mask); in moxa_load_code()
710 writew(C320p24rx_spage + i * C320p24buf_pgno, ofsAddr + Page_rxb); in moxa_load_code()
711 writew(readw(ofsAddr + Page_rxb) + C320p24rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
712 writew(C320p24tx_spage + i * C320p24buf_pgno, ofsAddr + Page_txb); in moxa_load_code()
713 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
716 writew(C320p32rx_mask, ofsAddr + RX_mask); in moxa_load_code()
717 writew(C320p32tx_mask, ofsAddr + TX_mask); in moxa_load_code()
718 writew(C320p32tx_ofs, ofsAddr + Ofs_txb); in moxa_load_code()
719 writew(C320p32rx_spage + i * C320p32buf_pgno, ofsAddr + Page_rxb); in moxa_load_code()
720 writew(readb(ofsAddr + Page_rxb), ofsAddr + EndPage_rxb); in moxa_load_code()
721 writew(C320p32tx_spage + i * C320p32buf_pgno, ofsAddr + Page_txb); in moxa_load_code()
722 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
1400 writew(0, ip); /* ACK port */ in moxa_poll_port()
1403 writew(readw(ofsAddr + HostStat) & ~WakeupTx, in moxa_poll_port()
1703 writew(lowwater, ofsAddr + Low_water); in MoxaPortEnable()
1707 writew(readw(ofsAddr + HostStat) | WakeupBreak, in MoxaPortEnable()
1723 writew(0, ofsAddr + HostStat); in MoxaPortDisable()
1887 writew(spage, baseAddr + Control_reg); in MoxaPortWriteData()
1918 writew(tail, ofsAddr + TXwptr); in MoxaPortWriteData()
1947 writew(spage, baseAddr + Control_reg); in MoxaPortReadData()
1962 writew(pageno, baseAddr + Control_reg); in MoxaPortReadData()
1975 writew(head, ofsAddr + RXrptr); in MoxaPortReadData()