Lines Matching refs:ks8851_wrreg16

60 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg,  in ks8851_wrreg16()  function
94 ks8851_wrreg16(ks, KS_GRR, op); in ks8851_soft_reset()
96 ks8851_wrreg16(ks, KS_GRR, 0); in ks8851_soft_reset()
117 ks8851_wrreg16(ks, KS_PMECR, pmecr); in ks8851_set_powermode()
146 ks8851_wrreg16(ks, KS_MAR(i), val); in ks8851_write_mac_addr()
276 ks8851_wrreg16(ks, KS_RXFDPR, RXFDPR_RXFPAI | 0x00); in ks8851_rx_pkts()
279 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr | RXQCR_SDA); in ks8851_rx_pkts()
311 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr | RXQCR_RRXEF); in ks8851_rx_pkts()
338 ks8851_wrreg16(ks, KS_ISR, status); in ks8851_irq()
346 ks8851_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK); in ks8851_irq()
383 ks8851_wrreg16(ks, KS_MAHTR0, rxc->mchash[0]); in ks8851_irq()
384 ks8851_wrreg16(ks, KS_MAHTR1, rxc->mchash[1]); in ks8851_irq()
385 ks8851_wrreg16(ks, KS_MAHTR2, rxc->mchash[2]); in ks8851_irq()
386 ks8851_wrreg16(ks, KS_MAHTR3, rxc->mchash[3]); in ks8851_irq()
388 ks8851_wrreg16(ks, KS_RXCR2, rxc->rxcr2); in ks8851_irq()
389 ks8851_wrreg16(ks, KS_RXCR1, rxc->rxcr1); in ks8851_irq()
450 ks8851_wrreg16(ks, KS_TXCR, (TXCR_TXE | /* enable transmit process */ in ks8851_net_open()
456 ks8851_wrreg16(ks, KS_TXFDPR, TXFDPR_TXFPAI); in ks8851_net_open()
460 ks8851_wrreg16(ks, KS_RXCR1, (RXCR1_RXPAFMA | /* from mac filter */ in ks8851_net_open()
467 ks8851_wrreg16(ks, KS_RXCR2, RXCR2_SRDBL_FRAME); in ks8851_net_open()
470 ks8851_wrreg16(ks, KS_RXDTTR, 1000); /* 1ms after first frame to IRQ */ in ks8851_net_open()
471 ks8851_wrreg16(ks, KS_RXDBCTR, 4096); /* >4Kbytes in buffer to IRQ */ in ks8851_net_open()
472 ks8851_wrreg16(ks, KS_RXFCTR, 10); /* 10 frames to IRQ */ in ks8851_net_open()
478 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr); in ks8851_net_open()
481 ks8851_wrreg16(ks, KS_ISR, ks->rc_ier); in ks8851_net_open()
482 ks8851_wrreg16(ks, KS_IER, ks->rc_ier); in ks8851_net_open()
514 ks8851_wrreg16(ks, KS_IER, 0x0000); in ks8851_net_stop()
515 ks8851_wrreg16(ks, KS_ISR, 0xffff); in ks8851_net_stop()
524 ks8851_wrreg16(ks, KS_RXCR1, 0x0000); in ks8851_net_stop()
527 ks8851_wrreg16(ks, KS_TXCR, 0x0000); in ks8851_net_stop()
590 ks8851_wrreg16(ks, KS_RXCR1, 0x00); in ks8851_rxctrl_work()
762 ks8851_wrreg16(ks, KS_EEPCR, val); in ks8851_eeprom_regwrite()
775 ks8851_wrreg16(ks, KS_EEPCR, EEPCR_EESA | EEPCR_EECS); in ks8851_eeprom_claim()
789 ks8851_wrreg16(ks, KS_EEPCR, val & ~EEPCR_EESA); in ks8851_eeprom_release()
974 ks8851_wrreg16(ks, ksreg, value); in ks8851_phy_write()