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