Searched refs:tregs (Results 1 - 3 of 3) sorted by relevance
/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 258 static void idle_transceiver(void __iomem *tregs) argument 263 sbus_writel(MGMT_CLKOFF, tregs + TCVR_MPAL); 264 sbus_readl(tregs + TCVR_MPAL); 265 sbus_writel(MGMT_CLKON, tregs + TCVR_MPAL); 266 sbus_readl(tregs + TCVR_MPAL); 270 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) argument 275 tregs + TCVR_MPAL); 276 sbus_readl(tregs + TCVR_MPAL); 278 tregs + TCVR_MPAL); 279 sbus_readl(tregs 293 read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) argument 316 read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) argument 338 put_tcvr_byte(struct bigmac *bp, void __iomem *tregs, unsigned int byte) argument 350 bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, int reg, unsigned short val) argument 389 bigmac_tcvr_read(struct bigmac *bp, void __iomem *tregs, int reg) argument 458 void __iomem *tregs = bp->tregs; local 496 try_next_permutation(struct bigmac *bp, void __iomem *tregs) argument 532 void __iomem *tregs = bp->tregs; local 587 void __iomem *tregs = bp->tregs; local [all...] |
H A D | sunhme.c | 321 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) argument 323 hme_write32(hp, tregs + TCVR_BBDATA, bit); 324 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); 325 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); 329 static u32 BB_GET_BIT(struct happy_meal *hp, void __iomem *tregs, int internal) 333 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); 334 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); 335 ret = hme_read32(hp, tregs + TCVR_CFG); 345 static u32 BB_GET_BIT2(struct happy_meal *hp, void __iomem *tregs, int internal) argument 349 hme_write32(hp, tregs 363 happy_meal_bb_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 409 happy_meal_bb_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 454 happy_meal_tcvr_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 486 happy_meal_tcvr_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 546 try_next_permutation(struct happy_meal *hp, void __iomem *tregs) argument 570 display_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 592 display_forced_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 611 set_happy_link_modes(struct happy_meal *hp, void __iomem *tregs) argument 675 void __iomem *tregs = hp->tcvregs; local 691 void __iomem *tregs = hp->tcvregs; local 957 happy_meal_poll_stop(struct happy_meal *hp, void __iomem *tregs) argument 992 happy_meal_tcvr_reset(struct happy_meal *hp, void __iomem *tregs) argument 1090 happy_meal_transceiver_check(struct happy_meal *hp, void __iomem *tregs) argument 1292 happy_meal_begin_auto_negotiation(struct happy_meal *hp, void __iomem *tregs, struct ethtool_cmd *ep) argument 1422 void __iomem *tregs = hp->tcvregs; local 1708 void __iomem *tregs = hp->tcvregs; local 1882 void __iomem *tregs = hp->tcvregs; local [all...] |
H A D | sunbmac.h | 292 void __iomem *tregs; /* BigMAC Transceiver */ member in struct:bigmac
|
Completed in 61 milliseconds