Searched refs:paddr_num (Results 1 – 2 of 2) sorted by relevance
332 u8 paddr_num) in add_addr_in_paddr() argument339 if (paddr_num == 0) { in add_addr_in_paddr()343 iowrite32be(tmp0, ®s->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()344 iowrite32be(tmp1, ®s->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr()
409 static int hw_clear_addr_in_paddr(struct ucc_geth_private *ugeth, u8 paddr_num) in hw_clear_addr_in_paddr() argument413 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() argument1802 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()