Searched refs:CAS_BASE (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/sun/ |
H A D | cassini.c | 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() [all …]
|
H A D | cassini.h | 2558 #define CAS_BASE(x, y) (((y) << (x ## _SHIFT)) & (x ## _MASK)) macro
|