Lines Matching refs:CAS_BASE
386 cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); in cas_phy_read()
387 cmd |= CAS_BASE(MIF_FRAME_REG_ADDR, reg); in cas_phy_read()
407 cmd |= CAS_BASE(MIF_FRAME_PHY_ADDR, cp->phy_addr); in cas_phy_write()
408 cmd |= CAS_BASE(MIF_FRAME_REG_ADDR, reg); in cas_phy_write()
661 cfg |= CAS_BASE(MIF_CFG_POLL_REG, MII_BMSR); in cas_mif_poll()
662 cfg |= CAS_BASE(MIF_CFG_POLL_PHY, cp->phy_addr); in cas_mif_poll()
1156 val = CAS_BASE(HP_INSTR_RAM_HI_VAL, inst->val); in cas_load_firmware()
1157 val |= CAS_BASE(HP_INSTR_RAM_HI_MASK, inst->mask); in cas_load_firmware()
1160 val = CAS_BASE(HP_INSTR_RAM_MID_OUTARG, inst->outarg >> 10); in cas_load_firmware()
1161 val |= CAS_BASE(HP_INSTR_RAM_MID_OUTOP, inst->outop); in cas_load_firmware()
1162 val |= CAS_BASE(HP_INSTR_RAM_MID_FNEXT, inst->fnext); in cas_load_firmware()
1163 val |= CAS_BASE(HP_INSTR_RAM_MID_FOFF, inst->foff); in cas_load_firmware()
1164 val |= CAS_BASE(HP_INSTR_RAM_MID_SNEXT, inst->snext); in cas_load_firmware()
1165 val |= CAS_BASE(HP_INSTR_RAM_MID_SOFF, inst->soff); in cas_load_firmware()
1166 val |= CAS_BASE(HP_INSTR_RAM_MID_OP, inst->op); in cas_load_firmware()
1169 val = CAS_BASE(HP_INSTR_RAM_LOW_OUTMASK, inst->outmask); in cas_load_firmware()
1170 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTSHIFT, inst->outshift); in cas_load_firmware()
1171 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTEN, inst->outenab); in cas_load_firmware()
1172 val |= CAS_BASE(HP_INSTR_RAM_LOW_OUTARG, inst->outarg); in cas_load_firmware()
1186 val = CAS_BASE(RX_CFG_SWIVEL, RX_SWIVEL_OFF_VAL); in cas_init_rx_dma()
1187 val |= CAS_BASE(RX_CFG_DESC_RING, RX_DESC_RINGN_INDEX(0)); in cas_init_rx_dma()
1188 val |= CAS_BASE(RX_CFG_COMP_RING, RX_COMP_RINGN_INDEX(0)); in cas_init_rx_dma()
1191 val |= CAS_BASE(RX_CFG_DESC_RING1, RX_DESC_RINGN_INDEX(1)); in cas_init_rx_dma()
1239 val = CAS_BASE(RX_PAUSE_THRESH_OFF, in cas_init_rx_dma()
1241 val |= CAS_BASE(RX_PAUSE_THRESH_ON, in cas_init_rx_dma()
1259 val = CAS_BASE(RX_BLANK_INTR_TIME, RX_BLANK_INTR_TIME_VAL); in cas_init_rx_dma()
1260 val |= CAS_BASE(RX_BLANK_INTR_PKT, RX_BLANK_INTR_PKT_VAL); in cas_init_rx_dma()
1272 val = CAS_BASE(RX_AE_THRESH_COMP, RX_AE_COMP_VAL); in cas_init_rx_dma()
1275 val = CAS_BASE(RX_AE1_THRESH_FREE, RX_AE_FREEN_VAL(1)); in cas_init_rx_dma()
1308 val = CAS_BASE(RX_PAGE_SIZE, val); in cas_init_rx_dma()
1309 val |= CAS_BASE(RX_PAGE_SIZE_MTU_STRIDE, i); in cas_init_rx_dma()
1310 val |= CAS_BASE(RX_PAGE_SIZE_MTU_COUNT, cp->page_size >> (i + 10)); in cas_init_rx_dma()
1311 val |= CAS_BASE(RX_PAGE_SIZE_MTU_OFF, 0x1); in cas_init_rx_dma()
1318 val = CAS_BASE(HP_CFG_NUM_CPU, CAS_NCPUS > 63 ? 0 : CAS_NCPUS); in cas_init_rx_dma()
1320 val |= CAS_BASE(HP_CFG_TCP_THRESH, HP_TCP_THRESH_VAL); in cas_init_rx_dma()
1389 rxd[i].index = cpu_to_le64(CAS_BASE(RX_INDEX_NUM, i) | in cas_clean_rxds()
1390 CAS_BASE(RX_INDEX_RING, 0)); in cas_clean_rxds()
2147 cpu_to_le64(CAS_BASE(RX_INDEX_NUM, index) | in cas_post_page()
2148 CAS_BASE(RX_INDEX_RING, ring)); in cas_post_page()
2689 ctrl |= CAS_BASE(TX_DESC_BUFLEN, len); in cas_write_txd()
2739 CAS_BASE(TX_DESC_CSUM_START, csum_start_off) | in cas_xmit_tx_ringN()
2740 CAS_BASE(TX_DESC_CSUM_STUFF, csum_stuff_off); in cas_xmit_tx_ringN()
3028 writel(CAS_BASE(MAC_FRAMESIZE_MAX_BURST, 0x2000) | in cas_init_mac()
3029 CAS_BASE(MAC_FRAMESIZE_MAX_FRAME, in cas_init_mac()