Lines Matching refs:hns3_set_field

37 #define hns3_set_field(origin, shift, val)	((origin) |= (val) << (shift))  macro
1225 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_TSO_B, 1); in hns3_set_tso()
1229 hns3_set_field(*paylen_fdop_ol4cs, HNS3_TXD_OL4CS_B, 1); in hns3_set_tso()
1333 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L2LEN_S, l2_len >> 1); in hns3_set_outer_l2l3l4()
1337 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L3LEN_S, l3_len >> 2); in hns3_set_outer_l2l3l4()
1342 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L4LEN_S, l4_len >> 2); in hns3_set_outer_l2l3l4()
1347 hns3_set_field(*ol_type_vlan_len_msec, in hns3_set_outer_l2l3l4()
1351 hns3_set_field(*ol_type_vlan_len_msec, in hns3_set_outer_l2l3l4()
1355 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_OL3T_S, in hns3_set_outer_l2l3l4()
1360 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_TUNTYPE_S, in hns3_set_outer_l2l3l4()
1363 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_TUNTYPE_S, in hns3_set_outer_l2l3l4()
1371 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3T_S, in hns3_set_l3_type()
1378 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3CS_B, 1); in hns3_set_l3_type()
1380 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3T_S, in hns3_set_l3_type()
1391 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4CS_B, 1); in hns3_set_l4_csum_length()
1392 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4T_S, in hns3_set_l4_csum_length()
1394 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4LEN_S, in hns3_set_l4_csum_length()
1404 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4CS_B, 1); in hns3_set_l4_csum_length()
1405 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4T_S, in hns3_set_l4_csum_length()
1407 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4LEN_S, in hns3_set_l4_csum_length()
1411 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4CS_B, 1); in hns3_set_l4_csum_length()
1412 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4T_S, in hns3_set_l4_csum_length()
1414 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L4LEN_S, in hns3_set_l4_csum_length()
1475 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L2LEN_S, l2_len >> 1); in hns3_set_l2l3l4()
1479 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3LEN_S, l3_len >> 2); in hns3_set_l2l3l4()
1593 hns3_set_field(param->type_cs_vlan_tso, HNS3_TXD_VLAN_B, 1); in hns3_handle_vlan_info()
1598 hns3_set_field(param->ol_type_vlan_len_msec, HNS3_TXD_OVLAN_B, in hns3_handle_vlan_info()
1614 hns3_set_field(param->type_cs_vlan_tso, HNS3_TXD_CSUM_START_S, in hns3_handle_csum_partial()
1616 hns3_set_field(param->ol_type_vlan_len_msec, in hns3_handle_csum_partial()