Lines Matching refs:writew
955 writew(data, dev->base_addr+BasicControl+(reg<<2)); in mdio_write()
1030 writew(pmatch[i], dev->base_addr + RxFilterData); in natsemi_reset()
1034 writew(sopass[i], dev->base_addr + RxFilterData); in natsemi_reset()
1109 writew(mac, ioaddr + RxFilterData); in netdev_open()
1146 writew(1, dev->base_addr + PGSEL); in do_cable_magic()
1160 writew(TSTDAT_FIXED, dev->base_addr + TSTDAT); in do_cable_magic()
1164 writew(np->dspcfg, dev->base_addr + DSPCFG); in do_cable_magic()
1166 writew(0, dev->base_addr + PGSEL); in do_cable_magic()
1178 writew(1, dev->base_addr + PGSEL); in undo_cable_magic()
1182 writew(np->dspcfg, dev->base_addr + DSPCFG); in undo_cable_magic()
1183 writew(0, dev->base_addr + PGSEL); in undo_cable_magic()
1255 writew(1, ioaddr + PGSEL); in init_registers()
1256 writew(PMDCSR_VAL, ioaddr + PMDCSR); in init_registers()
1257 writew(TSTDAT_VAL, ioaddr + TSTDAT); in init_registers()
1258 writew(DSPCFG_VAL, ioaddr + DSPCFG); in init_registers()
1259 writew(SDCFG_VAL, ioaddr + SDCFG); in init_registers()
1260 writew(0, ioaddr + PGSEL); in init_registers()
1268 writew(MICRIntEn, ioaddr + MIntrCtrl); in init_registers()
1355 writew(1, ioaddr+PGSEL); in netdev_timer()
1357 writew(0, ioaddr+PGSEL); in netdev_timer()
1941 writew(HASH_TABLE + i, ioaddr + RxFilterAddr); in __set_rx_mode()
1942 writew((mc_filter[i+1]<<8) + mc_filter[i], in __set_rx_mode()
2211 writew(sval[0], dev->base_addr + RxFilterData); in netdev_set_sopass()
2214 writew(sval[1], dev->base_addr + RxFilterData); in netdev_set_sopass()
2217 writew(sval[2], dev->base_addr + RxFilterData); in netdev_set_sopass()
2363 writew(1, dev->base_addr + PGSEL); in netdev_get_regs()
2368 writew(0, dev->base_addr + PGSEL); in netdev_get_regs()