Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_api_cmd.c91 enum hinic_api_cmd_chain_type chain_type = chain->chain_type; in set_prod_idx() local
95 addr = HINIC_CSR_API_CMD_CHAIN_PI_ADDR(chain_type); in set_prod_idx()
109 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in get_hw_cons_idx()
119 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in dump_api_chain_reg()
123 chain->chain_type, HINIC_API_CMD_STATUS_GET(val, CPLD_ERR), in dump_api_chain_reg()
130 addr = HINIC_CSR_API_CMD_CHAIN_PI_ADDR(chain->chain_type); in dump_api_chain_reg()
147 switch (chain->chain_type) { in chain_busy()
155 chain->chain_type, chain->cons_idx, in chain_busy()
233 switch (chain->chain_type) { in prepare_api_cmd()
288 enum hinic_api_cmd_chain_type chain_type; api_cmd_status_update() local
930 enum hinic_api_cmd_chain_type type, chain_type; hinic_api_cmd_init() local
978 enum hinic_api_cmd_chain_type chain_type; hinic_api_cmd_free() local
[all...]
H A Dhinic_hw_api_cmd.h127 enum hinic_api_cmd_chain_type chain_type; member
174 enum hinic_api_cmd_chain_type chain_type; member
/linux/net/netfilter/
H A Dnf_tables_api.c1037 static const struct nft_chain_type __rcu *chain_type[NFPROTO_NUMPROTO][NFT_CHAIN_T_MAX]; in nf_tables_alloc_handle()
1046 return rcu_dereference_check(chain_type[family][type], in __nft_chain_type_get()
1877 rcu_assign_pointer(chain_type[ctype->family][ctype->type], ctype); in lockdep_commit_lock_is_held()
1885 RCU_INIT_POINTER(chain_type[ctype->family][ctype->type], NULL);
1039 static const struct nft_chain_type *chain_type[NFPROTO_NUMPROTO][NFT_CHAIN_T_MAX]; global() variable