Searched refs:HCLGE_VF_NUM_PER_BYTE (Results 1 – 3 of 3) sorted by relevance
529 #define HCLGE_VF_NUM_PER_BYTE 8 macro537 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];551 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];
2086 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_rx_offload_cfg()2087 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_rx_offload_cfg()2120 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_tx_offload_cfg()2121 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_tx_offload_cfg()
9766 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_tx_offload_cfg()9768 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_tx_offload_cfg()9806 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_rx_offload_cfg()9808 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_rx_offload_cfg()