• Home
  • Raw
  • Download

Lines Matching refs:reg8

483 	u8 reg8 = 0;  in aqc111_vlan_rx_kill_vid()  local
485 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
486 vlan_ctrl = reg8; in aqc111_vlan_rx_kill_vid()
489 reg8 = (vid / 16); in aqc111_vlan_rx_kill_vid()
490 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_ADDRESS, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
492 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_RD; in aqc111_vlan_rx_kill_vid()
493 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
497 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_WE; in aqc111_vlan_rx_kill_vid()
498 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
508 u8 reg8 = 0; in aqc111_vlan_rx_add_vid() local
510 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_add_vid()
511 vlan_ctrl = reg8; in aqc111_vlan_rx_add_vid()
514 reg8 = (vid / 16); in aqc111_vlan_rx_add_vid()
515 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_ADDRESS, 1, 1, &reg8); in aqc111_vlan_rx_add_vid()
517 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_RD; in aqc111_vlan_rx_add_vid()
518 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_add_vid()
522 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_WE; in aqc111_vlan_rx_add_vid()
523 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_add_vid()
572 u8 reg8 = 0; in aqc111_set_features() local
575 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_TXCOE_CTL, 1, 1, &reg8); in aqc111_set_features()
576 reg8 ^= SFR_TXCOE_TCP | SFR_TXCOE_UDP; in aqc111_set_features()
578 1, 1, &reg8); in aqc111_set_features()
582 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_TXCOE_CTL, 1, 1, &reg8); in aqc111_set_features()
583 reg8 ^= SFR_TXCOE_TCPV6 | SFR_TXCOE_UDPV6; in aqc111_set_features()
585 1, 1, &reg8); in aqc111_set_features()
589 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_RXCOE_CTL, 1, 1, &reg8); in aqc111_set_features()
592 reg8 &= ~(SFR_RXCOE_IP | SFR_RXCOE_TCP | SFR_RXCOE_UDP | in aqc111_set_features()
596 reg8 |= SFR_RXCOE_IP | SFR_RXCOE_TCP | SFR_RXCOE_UDP | in aqc111_set_features()
601 1, 1, &reg8); in aqc111_set_features()
609 reg8 = i; in aqc111_set_features()
612 1, 1, &reg8); in aqc111_set_features()
617 reg8 = SFR_VLAN_CONTROL_WE; in aqc111_set_features()
620 1, 1, &reg8); in aqc111_set_features()
623 1, 1, &reg8); in aqc111_set_features()
624 reg8 |= SFR_VLAN_CONTROL_VFE; in aqc111_set_features()
626 SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_set_features()
629 1, 1, &reg8); in aqc111_set_features()
630 reg8 &= ~SFR_VLAN_CONTROL_VFE; in aqc111_set_features()
632 SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_set_features()
808 u8 reg8 = 0; in aqc111_configure_rx() local
816 reg8 = 0x05; in aqc111_configure_rx()
837 1, 1, &reg8); in aqc111_configure_rx()
882 u8 reg8 = 0; in aqc111_configure_csum_offload() local
885 reg8 |= SFR_RXCOE_IP | SFR_RXCOE_TCP | SFR_RXCOE_UDP | in aqc111_configure_csum_offload()
888 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_RXCOE_CTL, 1, 1, &reg8); in aqc111_configure_csum_offload()
890 reg8 = 0; in aqc111_configure_csum_offload()
892 reg8 |= SFR_TXCOE_IP | SFR_TXCOE_TCP | SFR_TXCOE_UDP; in aqc111_configure_csum_offload()
895 reg8 |= SFR_TXCOE_TCPV6 | SFR_TXCOE_UDPV6; in aqc111_configure_csum_offload()
897 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_TXCOE_CTL, 1, 1, &reg8); in aqc111_configure_csum_offload()
904 u8 reg8 = 0; in aqc111_link_reset() local
910 reg8 = SFR_VLAN_CONTROL_VSO; in aqc111_link_reset()
912 reg8 |= SFR_VLAN_CONTROL_VFE; in aqc111_link_reset()
915 1, 1, &reg8); in aqc111_link_reset()
917 reg8 = 0x0; in aqc111_link_reset()
919 1, 1, &reg8); in aqc111_link_reset()
922 1, 1, &reg8); in aqc111_link_reset()
924 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_ARC_CTRL, 1, 1, &reg8); in aqc111_link_reset()
930 reg8 = SFR_RX_PATH_READY; in aqc111_link_reset()
932 1, 1, &reg8); in aqc111_link_reset()
934 reg8 = SFR_BULK_OUT_EFF_EN; in aqc111_link_reset()
936 1, 1, &reg8); in aqc111_link_reset()
977 reg8 = SFR_BULK_OUT_FLUSH_EN | SFR_BULK_OUT_EFF_EN; in aqc111_link_reset()
979 1, 1, &reg8); in aqc111_link_reset()
980 reg8 = SFR_BULK_OUT_EFF_EN; in aqc111_link_reset()
982 1, 1, &reg8); in aqc111_link_reset()
992 u8 reg8 = 0; in aqc111_reset() local
1012 reg8 = 0xFF; in aqc111_reset()
1013 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_BM_INT_MASK, 1, 1, &reg8); in aqc111_reset()
1015 reg8 = 0x0; in aqc111_reset()
1016 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_SWP_CTRL, 1, 1, &reg8); in aqc111_reset()
1018 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_MONITOR_MODE, 1, 1, &reg8); in aqc111_reset()
1019 reg8 &= ~(SFR_MONITOR_MODE_EPHYRW | SFR_MONITOR_MODE_RWLC | in aqc111_reset()
1022 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_MONITOR_MODE, 1, 1, &reg8); in aqc111_reset()
1329 u8 reg8; in aqc111_suspend() local
1345 reg8 = SFR_BULK_OUT_EFF_EN; in aqc111_suspend()
1347 1, 1, &reg8); in aqc111_suspend()
1354 reg8 = 0x00; in aqc111_suspend()
1356 1, 1, &reg8); in aqc111_suspend()
1370 reg8 = 0x00; in aqc111_suspend()
1372 1, 1, &reg8); in aqc111_suspend()
1373 reg8 = SFR_BMRX_DMA_EN; in aqc111_suspend()
1375 1, 1, &reg8); in aqc111_suspend()
1376 reg8 = SFR_RX_PATH_READY; in aqc111_suspend()
1378 1, 1, &reg8); in aqc111_suspend()
1379 reg8 = 0x07; in aqc111_suspend()
1381 1, 1, &reg8); in aqc111_suspend()
1382 reg8 = 0x00; in aqc111_suspend()
1384 SFR_RX_BULKIN_QTIMR_LOW, 1, 1, &reg8); in aqc111_suspend()
1386 SFR_RX_BULKIN_QTIMR_HIGH, 1, 1, &reg8); in aqc111_suspend()
1387 reg8 = 0xFF; in aqc111_suspend()
1389 1, 1, &reg8); in aqc111_suspend()
1391 1, 1, &reg8); in aqc111_suspend()
1424 u8 reg8; in aqc111_resume() local
1433 reg8 = 0xFF; in aqc111_resume()
1435 1, 1, &reg8); in aqc111_resume()
1452 reg8 = SFR_RX_PATH_READY; in aqc111_resume()
1454 1, 1, &reg8); in aqc111_resume()
1455 reg8 = 0x0; in aqc111_resume()
1456 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_BMRX_DMA_CONTROL, 1, 1, &reg8); in aqc111_resume()