/Linux-v5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_core.c | 89 unsigned int reg_n) in sxgbe_core_set_umac_addr() argument 96 writel(high_word, ioaddr + SXGBE_CORE_ADD_HIGHOFFSET(reg_n)); in sxgbe_core_set_umac_addr() 97 writel(low_word, ioaddr + SXGBE_CORE_ADD_LOWOFFSET(reg_n)); in sxgbe_core_set_umac_addr() 101 unsigned int reg_n) in sxgbe_core_get_umac_addr() argument 105 high_word = readl(ioaddr + SXGBE_CORE_ADD_HIGHOFFSET(reg_n)); in sxgbe_core_get_umac_addr() 106 low_word = readl(ioaddr + SXGBE_CORE_ADD_LOWOFFSET(reg_n)); in sxgbe_core_get_umac_addr()
|
D | sxgbe_common.h | 333 unsigned int reg_n); 335 unsigned int reg_n);
|
D | sxgbe_main.c | 1819 unsigned int reg_n) in sxgbe_set_umac_addr() argument 1828 writel(data | SXGBE_HI_REG_AE, ioaddr + SXGBE_ADDR_HIGH(reg_n)); in sxgbe_set_umac_addr() 1830 writel(data, ioaddr + SXGBE_ADDR_LOW(reg_n)); in sxgbe_set_umac_addr()
|
/Linux-v5.10/drivers/input/keyboard/ |
D | bcm-keypad.c | 59 #define KPSSRN_OFFSET(reg_n) (KPSSR0_OFFSET + 4 * (reg_n)) argument 64 #define KPICRN_OFFSET(reg_n) (KPICR0_OFFSET + 4 * (reg_n)) argument 72 #define BIT_TO_ROW_SSRN(bit_nr, reg_n) (((bit_nr) >> 3) + 4 * (reg_n)) argument
|
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_core.c | 108 unsigned int reg_n) in dwmac1000_set_umac_addr() argument 111 stmmac_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac1000_set_umac_addr() 112 GMAC_ADDR_LOW(reg_n)); in dwmac1000_set_umac_addr() 117 unsigned int reg_n) in dwmac1000_get_umac_addr() argument 120 stmmac_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac1000_get_umac_addr() 121 GMAC_ADDR_LOW(reg_n)); in dwmac1000_get_umac_addr()
|
D | dwmac-sun8i.c | 599 unsigned int reg_n) in sun8i_dwmac_set_umac_addr() argument 605 writel(0, ioaddr + EMAC_MACADDR_HI(reg_n)); in sun8i_dwmac_set_umac_addr() 609 stmmac_set_mac_addr(ioaddr, addr, EMAC_MACADDR_HI(reg_n), in sun8i_dwmac_set_umac_addr() 610 EMAC_MACADDR_LO(reg_n)); in sun8i_dwmac_set_umac_addr() 611 if (reg_n > 0) { in sun8i_dwmac_set_umac_addr() 612 v = readl(ioaddr + EMAC_MACADDR_HI(reg_n)); in sun8i_dwmac_set_umac_addr() 614 writel(v, ioaddr + EMAC_MACADDR_HI(reg_n)); in sun8i_dwmac_set_umac_addr() 620 unsigned int reg_n) in sun8i_dwmac_get_umac_addr() argument 624 stmmac_get_mac_addr(ioaddr, addr, EMAC_MACADDR_HI(reg_n), in sun8i_dwmac_get_umac_addr() 625 EMAC_MACADDR_LO(reg_n)); in sun8i_dwmac_get_umac_addr()
|
D | dwmac100_core.c | 72 unsigned int reg_n) in dwmac100_set_umac_addr() argument 80 unsigned int reg_n) in dwmac100_get_umac_addr() argument
|
D | dwmac4_core.c | 321 unsigned char *addr, unsigned int reg_n) in dwmac4_set_umac_addr() argument 325 stmmac_dwmac4_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac4_set_umac_addr() 326 GMAC_ADDR_LOW(reg_n)); in dwmac4_set_umac_addr() 330 unsigned char *addr, unsigned int reg_n) in dwmac4_get_umac_addr() argument 334 stmmac_dwmac4_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), in dwmac4_get_umac_addr() 335 GMAC_ADDR_LOW(reg_n)); in dwmac4_get_umac_addr()
|
D | dwxgmac2_core.c | 338 unsigned char *addr, unsigned int reg_n) in dwxgmac2_set_umac_addr() argument 344 writel(value | XGMAC_AE, ioaddr + XGMAC_ADDRx_HIGH(reg_n)); in dwxgmac2_set_umac_addr() 347 writel(value, ioaddr + XGMAC_ADDRx_LOW(reg_n)); in dwxgmac2_set_umac_addr() 351 unsigned char *addr, unsigned int reg_n) in dwxgmac2_get_umac_addr() argument 357 hi_addr = readl(ioaddr + XGMAC_ADDRx_HIGH(reg_n)); in dwxgmac2_get_umac_addr() 358 lo_addr = readl(ioaddr + XGMAC_ADDRx_LOW(reg_n)); in dwxgmac2_get_umac_addr()
|
D | hwif.h | 334 unsigned int reg_n); 336 unsigned int reg_n);
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/ |
D | hisi_femac.c | 567 unsigned int reg_n, bool enable) in hisi_femac_enable_hw_addr_filter() argument 571 val = readl(priv->glb_base + GLB_MAC_H16(reg_n)); in hisi_femac_enable_hw_addr_filter() 576 writel(val, priv->glb_base + GLB_MAC_H16(reg_n)); in hisi_femac_enable_hw_addr_filter() 581 unsigned int reg_n) in hisi_femac_set_hw_addr_filter() argument 586 high = GLB_MAC_H16(reg_n); in hisi_femac_set_hw_addr_filter() 587 low = GLB_MAC_L32(reg_n); in hisi_femac_set_hw_addr_filter()
|