Lines Matching refs:CAS_BASE
385 cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); in cas_phy_read()
386 cmd |= CAS_BASE(MIF_FRAME_REG_ADDR, reg); in cas_phy_read()
406 cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); in cas_phy_write()
407 cmd |= CAS_BASE(MIF_FRAME_REG_ADDR, reg); in cas_phy_write()
660 cfg |= CAS_BASE(MIF_CFG_POLL_REG, MII_BMSR); in cas_mif_poll()
661 cfg |= CAS_BASE(MIF_CFG_POLL_PHY, cp->phy_addr); in cas_mif_poll()
1155 val = CAS_BASE(HP_INSTR_RAM_HI_VAL, inst->val); in cas_load_firmware()
1156 val |= CAS_BASE(HP_INSTR_RAM_HI_MASK, inst->mask); in cas_load_firmware()
1159 val = CAS_BASE(HP_INSTR_RAM_MID_OUTARG, inst->outarg >> 10); in cas_load_firmware()
1160 val |= CAS_BASE(HP_INSTR_RAM_MID_OUTOP, inst->outop); in cas_load_firmware()
1161 val |= CAS_BASE(HP_INSTR_RAM_MID_FNEXT, inst->fnext); in cas_load_firmware()
1162 val |= CAS_BASE(HP_INSTR_RAM_MID_FOFF, inst->foff); in cas_load_firmware()
1163 val |= CAS_BASE(HP_INSTR_RAM_MID_SNEXT, inst->snext); in cas_load_firmware()
1164 val |= CAS_BASE(HP_INSTR_RAM_MID_SOFF, inst->soff); in cas_load_firmware()
1165 val |= CAS_BASE(HP_INSTR_RAM_MID_OP, inst->op); in cas_load_firmware()
1168 val = CAS_BASE(HP_INSTR_RAM_LOW_OUTMASK, inst->outmask); in cas_load_firmware()
1169 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTSHIFT, inst->outshift); in cas_load_firmware()
1170 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTEN, inst->outenab); in cas_load_firmware()
1171 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTARG, inst->outarg); in cas_load_firmware()
1185 val = CAS_BASE(RX_CFG_SWIVEL, RX_SWIVEL_OFF_VAL); in cas_init_rx_dma()
1186 val |= CAS_BASE(RX_CFG_DESC_RING, RX_DESC_RINGN_INDEX(0)); in cas_init_rx_dma()
1187 val |= CAS_BASE(RX_CFG_COMP_RING, RX_COMP_RINGN_INDEX(0)); in cas_init_rx_dma()
1190 val |= CAS_BASE(RX_CFG_DESC_RING1, RX_DESC_RINGN_INDEX(1)); in cas_init_rx_dma()
1238 val = CAS_BASE(RX_PAUSE_THRESH_OFF, in cas_init_rx_dma()
1240 val |= CAS_BASE(RX_PAUSE_THRESH_ON, in cas_init_rx_dma()
1258 val = CAS_BASE(RX_BLANK_INTR_TIME, RX_BLANK_INTR_TIME_VAL); in cas_init_rx_dma()
1259 val |= CAS_BASE(RX_BLANK_INTR_PKT, RX_BLANK_INTR_PKT_VAL); in cas_init_rx_dma()
1271 val = CAS_BASE(RX_AE_THRESH_COMP, RX_AE_COMP_VAL); in cas_init_rx_dma()
1274 val = CAS_BASE(RX_AE1_THRESH_FREE, RX_AE_FREEN_VAL(1)); in cas_init_rx_dma()
1307 val = CAS_BASE(RX_PAGE_SIZE, val); in cas_init_rx_dma()
1308 val |= CAS_BASE(RX_PAGE_SIZE_MTU_STRIDE, i); in cas_init_rx_dma()
1309 val |= CAS_BASE(RX_PAGE_SIZE_MTU_COUNT, cp->page_size >> (i + 10)); in cas_init_rx_dma()
1310 val |= CAS_BASE(RX_PAGE_SIZE_MTU_OFF, 0x1); in cas_init_rx_dma()
1317 val = CAS_BASE(HP_CFG_NUM_CPU, CAS_NCPUS > 63 ? 0 : CAS_NCPUS); in cas_init_rx_dma()
1319 val |= CAS_BASE(HP_CFG_TCP_THRESH, HP_TCP_THRESH_VAL); in cas_init_rx_dma()
1388 rxd[i].index = cpu_to_le64(CAS_BASE(RX_INDEX_NUM, i) | in cas_clean_rxds()
1389 CAS_BASE(RX_INDEX_RING, 0)); in cas_clean_rxds()
2146 cpu_to_le64(CAS_BASE(RX_INDEX_NUM, index) | in cas_post_page()
2147 CAS_BASE(RX_INDEX_RING, ring)); in cas_post_page()
2688 ctrl |= CAS_BASE(TX_DESC_BUFLEN, len); in cas_write_txd()
2738 CAS_BASE(TX_DESC_CSUM_START, csum_start_off) | in cas_xmit_tx_ringN()
2739 CAS_BASE(TX_DESC_CSUM_STUFF, csum_stuff_off); in cas_xmit_tx_ringN()
3027 writel(CAS_BASE(MAC_FRAMESIZE_MAX_BURST, 0x2000) | in cas_init_mac()
3028 CAS_BASE(MAC_FRAMESIZE_MAX_FRAME, in cas_init_mac()