Lines Matching refs:mask_key
1756 struct dsaf_drv_tbl_tcam_key mask_key; in hns_dsaf_add_mac_mc_port() local
1782 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, in hns_dsaf_add_mac_mc_port()
1787 pmask_key = (struct dsaf_tbl_tcam_data *)(&mask_key); in hns_dsaf_add_mac_mc_port()
1923 struct dsaf_drv_tbl_tcam_key mask_key; in hns_dsaf_del_mac_mc_port() local
1952 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, 0x00, 0xff, mc_mask); in hns_dsaf_del_mac_mc_port()
1954 pmask_key = (struct dsaf_tbl_tcam_data *)(&mask_key); in hns_dsaf_del_mac_mc_port()
2769 struct dsaf_drv_tbl_tcam_key temp_key, mask_key; in set_promisc_tcam_enable() local
2821 memset(&mask_key, 0x0, sizeof(mask_key)); in set_promisc_tcam_enable()
2824 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, mask_entry.in_vlan_id, in set_promisc_tcam_enable()
2834 mask_key.high.val, mask_key.low.val); in set_promisc_tcam_enable()
2846 mask_key.high.val, mask_key.low.val); in set_promisc_tcam_enable()
2852 memcpy(&temp_key, &mask_key, sizeof(mask_key)); in set_promisc_tcam_enable()
2854 (struct dsaf_tbl_tcam_data *)(&mask_key), in set_promisc_tcam_enable()