Searched refs:coma_addr (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 59 static bool rswitch_agent_clock_is_enabled(void __iomem *coma_addr, in rswitch_agent_clock_is_enabled() argument 62 u32 val = ioread32(coma_addr + RCEC); in rswitch_agent_clock_is_enabled() 70 static void rswitch_agent_clock_ctrl(void __iomem *coma_addr, unsigned int port, in rswitch_agent_clock_ctrl() argument 76 val = ioread32(coma_addr + RCEC); in rswitch_agent_clock_ctrl() 77 iowrite32(val | RCEC_RCE | BIT(port), coma_addr + RCEC); in rswitch_agent_clock_ctrl() 79 val = ioread32(coma_addr + RCDC); in rswitch_agent_clock_ctrl() 80 iowrite32(val | BIT(port), coma_addr + RCDC); in rswitch_agent_clock_ctrl() 1074 if (!rswitch_agent_clock_is_enabled(etha->coma_addr, etha->index)) in rswitch_etha_change_mode() 1075 rswitch_agent_clock_ctrl(etha->coma_addr, etha->index, 1); in rswitch_etha_change_mode() 1082 rswitch_agent_clock_ctrl(etha->coma_addr, etha->index, 0); in rswitch_etha_change_mode() [all …]
|
H A D | rswitch.h | 924 void __iomem *coma_addr; member
|