Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_memac.c302 u8 paddr_num) in add_addr_in_paddr() argument
309 if (paddr_num == 0) { in add_addr_in_paddr()
313 iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
314 iowrite32be(tmp1, &regs->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.c410 static int hw_clear_addr_in_paddr(struct ucc_geth_private *ugeth, u8 paddr_num) in hw_clear_addr_in_paddr() argument
414 if (paddr_num >= NUM_OF_PADDRS) { in hw_clear_addr_in_paddr()
415 pr_warn("%s: Invalid paddr_num: %u\n", __func__, paddr_num); in hw_clear_addr_in_paddr()
425 out_be16(&p_82xx_addr_filt->paddr[paddr_num].h, 0xffff); in hw_clear_addr_in_paddr()
426 out_be16(&p_82xx_addr_filt->paddr[paddr_num].m, 0xffff); in hw_clear_addr_in_paddr()
427 out_be16(&p_82xx_addr_filt->paddr[paddr_num].l, 0xffff); in hw_clear_addr_in_paddr()
1801 u8 paddr_num) in ugeth_82xx_filtering_clear_addr_in_paddr() argument
1803 ugeth->indAddrRegUsed[paddr_num] = 0; /* mark this paddr as not used */ in ugeth_82xx_filtering_clear_addr_in_paddr()
1804 return hw_clear_addr_in_paddr(ugeth, paddr_num);/* clear in hardware */ in ugeth_82xx_filtering_clear_addr_in_paddr()