Searched refs:enum_index (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 347 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index) in sh_eth_write() argument 350 u16 offset = mdp->reg_offset[enum_index]; in sh_eth_write() 358 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read() argument 361 u16 offset = mdp->reg_offset[enum_index]; in sh_eth_read() 369 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify() argument 372 sh_eth_write(ndev, (sh_eth_read(ndev, enum_index) & ~clear) | set, in sh_eth_modify() 373 enum_index); in sh_eth_modify() 376 static u16 sh_eth_tsu_get_offset(struct sh_eth_private *mdp, int enum_index) in sh_eth_tsu_get_offset() argument 378 return mdp->reg_offset[enum_index]; in sh_eth_tsu_get_offset() 382 int enum_index) in sh_eth_tsu_write() argument [all …]
|