Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
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()
271 u16 data_size = get_cell_data_size(chain->chain_type); in prepare_cell()
[all …]
Dhinic_hw_api_cmd.h127 enum hinic_api_cmd_chain_type chain_type; member
174 enum hinic_api_cmd_chain_type chain_type; member