Home
last modified time | relevance | path

Searched refs:paddr_num (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/fman/
Dfman_memac.c357 u8 paddr_num) in add_addr_in_paddr() argument
364 if (paddr_num == 0) { in add_addr_in_paddr()
368 iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
369 iowrite32be(tmp1, &regs->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
/Linux-v5.10/drivers/net/ethernet/freescale/
Ducc_geth.c390 static int hw_clear_addr_in_paddr(struct ucc_geth_private *ugeth, u8 paddr_num) in hw_clear_addr_in_paddr() argument
394 if (paddr_num >= NUM_OF_PADDRS) { in hw_clear_addr_in_paddr()
395 pr_warn("%s: Invalid paddr_num: %u\n", __func__, paddr_num); in hw_clear_addr_in_paddr()
405 out_be16(&p_82xx_addr_filt->paddr[paddr_num].h, 0xffff); in hw_clear_addr_in_paddr()
406 out_be16(&p_82xx_addr_filt->paddr[paddr_num].m, 0xffff); in hw_clear_addr_in_paddr()
407 out_be16(&p_82xx_addr_filt->paddr[paddr_num].l, 0xffff); in hw_clear_addr_in_paddr()
1821 u8 paddr_num) in ugeth_82xx_filtering_clear_addr_in_paddr() argument
1823 ugeth->indAddrRegUsed[paddr_num] = 0; /* mark this paddr as not used */ in ugeth_82xx_filtering_clear_addr_in_paddr()
1824 return hw_clear_addr_in_paddr(ugeth, paddr_num);/* clear in hardware */ in ugeth_82xx_filtering_clear_addr_in_paddr()