Home
last modified time | relevance | path

Searched refs:chain_type (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c100 enum hinic_api_cmd_chain_type chain_type = chain->chain_type; in set_prod_idx() local
104 addr = HINIC_CSR_API_CMD_CHAIN_PI_ADDR(chain_type); in set_prod_idx()
118 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in get_hw_cons_idx()
136 switch (chain->chain_type) { in chain_busy()
144 chain->chain_type); in chain_busy()
220 switch (chain->chain_type) { in prepare_api_cmd()
258 u16 data_size = get_cell_data_size(chain->chain_type); in prepare_cell()
275 enum hinic_api_cmd_chain_type chain_type; in api_cmd_status_update() local
291 chain_type = HINIC_API_CMD_STATUS_HEADER_GET(status_header, CHAIN_ID); in api_cmd_status_update()
292 if (chain_type >= HINIC_API_CMD_MAX) { in api_cmd_status_update()
[all …]
Dhinic_hw_api_cmd.h132 enum hinic_api_cmd_chain_type chain_type; member
179 enum hinic_api_cmd_chain_type chain_type; member
/Linux-v4.19/net/netfilter/
Dnf_tables_api.c444 static const struct nft_chain_type *chain_type[NFPROTO_NUMPROTO][NFT_CHAIN_T_MAX]; variable
452 if (chain_type[family][i] != NULL && in __nf_tables_chain_type_lookup()
453 !nla_strcmp(nla, chain_type[family][i]->name)) in __nf_tables_chain_type_lookup()
454 return chain_type[family][i]; in __nf_tables_chain_type_lookup()
1021 if (WARN_ON(chain_type[ctype->family][ctype->type] != NULL)) { in nft_register_chain_type()
1025 chain_type[ctype->family][ctype->type] = ctype; in nft_register_chain_type()
1033 chain_type[ctype->family][ctype->type] = NULL; in nft_unregister_chain_type()
1467 type = chain_type[family][NFT_CHAIN_T_DEFAULT]; in nft_chain_parse_hook()