Lines Matching refs:ks8851_wrreg16
148 * ks8851_wrreg16 - write 16bit register value to chip
155 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned reg, unsigned val)
338 ks8851_wrreg16(ks, KS_GRR, op);
340 ks8851_wrreg16(ks, KS_GRR, 0);
500 ks8851_wrreg16(ks, KS_RXFDPR, RXFDPR_RXFPAI | 0x00);
503 ks8851_wrreg16(ks, KS_RXQCR,
535 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr);
571 ks8851_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK);
600 ks8851_wrreg16(ks, KS_ISR, handled);
618 ks8851_wrreg16(ks, KS_MAHTR0, rxc->mchash[0]);
619 ks8851_wrreg16(ks, KS_MAHTR1, rxc->mchash[1]);
620 ks8851_wrreg16(ks, KS_MAHTR2, rxc->mchash[2]);
621 ks8851_wrreg16(ks, KS_MAHTR3, rxc->mchash[3]);
623 ks8851_wrreg16(ks, KS_RXCR2, rxc->rxcr2);
624 ks8851_wrreg16(ks, KS_RXCR1, rxc->rxcr1);
728 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr | RXQCR_SDA);
730 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr);
731 ks8851_wrreg16(ks, KS_TXQCR, TXQCR_METFE);
757 ks8851_wrreg16(ks, KS_PMECR, pmecr);
786 ks8851_wrreg16(ks, KS_TXCR, (TXCR_TXE | /* enable transmit process */
792 ks8851_wrreg16(ks, KS_TXFDPR, TXFDPR_TXFPAI);
796 ks8851_wrreg16(ks, KS_RXCR1, (RXCR1_RXPAFMA | /* from mac filter */
803 ks8851_wrreg16(ks, KS_RXCR2, RXCR2_SRDBL_FRAME);
806 ks8851_wrreg16(ks, KS_RXDTTR, 1000); /* 1ms after first frame to IRQ */
807 ks8851_wrreg16(ks, KS_RXDBCTR, 4096); /* >4Kbytes in buffer to IRQ */
808 ks8851_wrreg16(ks, KS_RXFCTR, 10); /* 10 frames to IRQ */
814 ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr);
826 ks8851_wrreg16(ks, KS_ISR, STD_IRQ);
827 ks8851_wrreg16(ks, KS_IER, STD_IRQ);
861 ks8851_wrreg16(ks, KS_IER, 0x0000);
862 ks8851_wrreg16(ks, KS_ISR, 0xffff);
865 ks8851_wrreg16(ks, KS_RXCR1, 0x0000);
868 ks8851_wrreg16(ks, KS_TXCR, 0x0000);
946 ks8851_wrreg16(ks, KS_RXCR1, 0x00);
1081 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1083 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1112 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1123 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1151 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1153 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1201 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1203 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1240 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1251 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1261 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1263 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1509 ks8851_wrreg16(ks, ksreg, value);