Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/freescale/fman/ !
Dfman_memac.c332 u8 paddr_num) in add_addr_in_paddr() argument
339 if (paddr_num == 0) { in add_addr_in_paddr()
343 iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
344 iowrite32be(tmp1, &regs->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
/linux-6.1.9/drivers/net/ethernet/freescale/ !
Ducc_geth.c409 static int hw_clear_addr_in_paddr(struct ucc_geth_private *ugeth, u8 paddr_num) in hw_clear_addr_in_paddr() argument
413 if (paddr_num >= NUM_OF_PADDRS) { in hw_clear_addr_in_paddr()
414 pr_warn("%s: Invalid paddr_num: %u\n", __func__, paddr_num); in hw_clear_addr_in_paddr()
424 out_be16(&p_82xx_addr_filt->paddr[paddr_num].h, 0xffff); in hw_clear_addr_in_paddr()
425 out_be16(&p_82xx_addr_filt->paddr[paddr_num].m, 0xffff); in hw_clear_addr_in_paddr()
426 out_be16(&p_82xx_addr_filt->paddr[paddr_num].l, 0xffff); in hw_clear_addr_in_paddr()
1800 u8 paddr_num) in ugeth_82xx_filtering_clear_addr_in_paddr() argument
1802 ugeth->indAddrRegUsed[paddr_num] = 0; /* mark this paddr as not used */ in ugeth_82xx_filtering_clear_addr_in_paddr()
1803 return hw_clear_addr_in_paddr(ugeth, paddr_num);/* clear in hardware */ in ugeth_82xx_filtering_clear_addr_in_paddr()