Searched refs:hnae_set_field (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 693 #define hnae_set_field(origin, mask, shift, val) \ macro 700 hnae_set_field((origin), (0x1 << (shift)), (shift), (val))
|
D | hns_enet.c | 63 hnae_set_field(bn_pid, HNSV2_TXD_BUFNUM_M, 0, buf_num - 1); in fill_v2_desc_hw() 66 hnae_set_field(bn_pid, HNSV2_TXD_PORTID_M, in fill_v2_desc_hw()
|