Lines Matching refs:tbl_offset
1597 unsigned int tbl_offset; in mvneta_set_ucast_addr() local
1604 tbl_offset = (last_nibble / 4) * 4; in mvneta_set_ucast_addr()
1609 unicast_reg = mvreg_read(pp, (MVNETA_DA_FILT_UCAST_BASE + tbl_offset)); in mvneta_set_ucast_addr()
1619 mvreg_write(pp, (MVNETA_DA_FILT_UCAST_BASE + tbl_offset), unicast_reg); in mvneta_set_ucast_addr()
2930 unsigned int tbl_offset; in mvneta_set_special_mcast_addr() local
2934 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
2939 + tbl_offset * 4)); in mvneta_set_special_mcast_addr()
2948 mvreg_write(pp, MVNETA_DA_FILT_SPEC_MCAST + tbl_offset * 4, in mvneta_set_special_mcast_addr()
2965 unsigned int tbl_offset; in mvneta_set_other_mcast_addr() local
2968 tbl_offset = (crc8 / 4) * 4; /* Register offset from OMC table base */ in mvneta_set_other_mcast_addr()
2971 omc_table_reg = mvreg_read(pp, MVNETA_DA_FILT_OTH_MCAST + tbl_offset); in mvneta_set_other_mcast_addr()
2981 mvreg_write(pp, MVNETA_DA_FILT_OTH_MCAST + tbl_offset, omc_table_reg); in mvneta_set_other_mcast_addr()