Lines Matching refs:res_info

611 		struct bna_res_info *res_info)  in bna_rxf_init()  argument
628 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init()
2024 struct bna_res_info *res_info) in bna_rx_mod_init() argument
2035 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2037 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2039 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2136 bna_rx_res_req(struct bna_rx_config *q_cfg, struct bna_res_info *res_info) in bna_rx_res_req() argument
2166 res_info[BNA_RX_RES_MEM_T_CCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2167 mem_info = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info; in bna_rx_res_req()
2172 res_info[BNA_RX_RES_MEM_T_RCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2173 mem_info = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info; in bna_rx_res_req()
2178 res_info[BNA_RX_RES_MEM_T_CQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2179 mem_info = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info; in bna_rx_res_req()
2184 res_info[BNA_RX_RES_MEM_T_CSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2185 mem_info = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info; in bna_rx_res_req()
2190 res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2191 mem_info = &res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_u.mem_info; in bna_rx_res_req()
2196 res_info[BNA_RX_RES_MEM_T_DQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2197 mem_info = &res_info[BNA_RX_RES_MEM_T_DQPT].res_u.mem_info; in bna_rx_res_req()
2202 res_info[BNA_RX_RES_MEM_T_DSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2203 mem_info = &res_info[BNA_RX_RES_MEM_T_DSWQPT].res_u.mem_info; in bna_rx_res_req()
2208 res_info[BNA_RX_RES_MEM_T_DPAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2209 mem_info = &res_info[BNA_RX_RES_MEM_T_DPAGE].res_u.mem_info; in bna_rx_res_req()
2214 res_info[BNA_RX_RES_MEM_T_HQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2215 mem_info = &res_info[BNA_RX_RES_MEM_T_HQPT].res_u.mem_info; in bna_rx_res_req()
2220 res_info[BNA_RX_RES_MEM_T_HSWQPT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2221 mem_info = &res_info[BNA_RX_RES_MEM_T_HSWQPT].res_u.mem_info; in bna_rx_res_req()
2226 res_info[BNA_RX_RES_MEM_T_HPAGE].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2227 mem_info = &res_info[BNA_RX_RES_MEM_T_HPAGE].res_u.mem_info; in bna_rx_res_req()
2232 res_info[BNA_RX_RES_MEM_T_IBIDX].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2233 mem_info = &res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info; in bna_rx_res_req()
2238 res_info[BNA_RX_RES_MEM_T_RIT].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2239 mem_info = &res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info; in bna_rx_res_req()
2244 res_info[BNA_RX_RES_T_INTR].res_type = BNA_RES_T_INTR; in bna_rx_res_req()
2245 res_info[BNA_RX_RES_T_INTR].res_u.intr_info.intr_type = BNA_INTR_T_MSIX; in bna_rx_res_req()
2246 res_info[BNA_RX_RES_T_INTR].res_u.intr_info.num = q_cfg->num_paths; in bna_rx_res_req()
2253 struct bna_res_info *res_info, in bna_rx_create() argument
2283 intr_info = &res_info[BNA_RX_RES_T_INTR].res_u.intr_info; in bna_rx_create()
2284 ccb_mem = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info.mdl[0]; in bna_rx_create()
2285 rcb_mem = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info.mdl[0]; in bna_rx_create()
2286 dqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPDQ].res_u.mem_info.mdl[0]; in bna_rx_create()
2287 hqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPHQ].res_u.mem_info.mdl[0]; in bna_rx_create()
2288 cqpt_mem = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2289 cswqpt_mem = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2290 cpage_mem = &res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_u.mem_info.mdl[0]; in bna_rx_create()
2291 hqpt_mem = &res_info[BNA_RX_RES_MEM_T_HQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2292 dqpt_mem = &res_info[BNA_RX_RES_MEM_T_DQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2293 hsqpt_mem = &res_info[BNA_RX_RES_MEM_T_HSWQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2294 dsqpt_mem = &res_info[BNA_RX_RES_MEM_T_DSWQPT].res_u.mem_info.mdl[0]; in bna_rx_create()
2295 hpage_mem = &res_info[BNA_RX_RES_MEM_T_HPAGE].res_u.mem_info.mdl[0]; in bna_rx_create()
2296 dpage_mem = &res_info[BNA_RX_RES_MEM_T_DPAGE].res_u.mem_info.mdl[0]; in bna_rx_create()
2298 page_count = res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_u.mem_info.len / in bna_rx_create()
2301 dpage_count = res_info[BNA_RX_RES_MEM_T_DPAGE].res_u.mem_info.len / in bna_rx_create()
2304 hpage_count = res_info[BNA_RX_RES_MEM_T_HPAGE].res_u.mem_info.len / in bna_rx_create()
2361 res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.lsb; in bna_rx_create()
2363 res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.msb; in bna_rx_create()
2365 res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; in bna_rx_create()
2473 bna_rxf_init(&rx->rxf, rx, rx_cfg, res_info); in bna_rx_create()
3316 bna_tx_res_req(int num_txq, int txq_depth, struct bna_res_info *res_info) in bna_tx_res_req() argument
3322 res_info[BNA_TX_RES_MEM_T_TCB].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3323 mem_info = &res_info[BNA_TX_RES_MEM_T_TCB].res_u.mem_info; in bna_tx_res_req()
3332 res_info[BNA_TX_RES_MEM_T_QPT].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3333 mem_info = &res_info[BNA_TX_RES_MEM_T_QPT].res_u.mem_info; in bna_tx_res_req()
3338 res_info[BNA_TX_RES_MEM_T_SWQPT].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3339 mem_info = &res_info[BNA_TX_RES_MEM_T_SWQPT].res_u.mem_info; in bna_tx_res_req()
3344 res_info[BNA_TX_RES_MEM_T_PAGE].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3345 mem_info = &res_info[BNA_TX_RES_MEM_T_PAGE].res_u.mem_info; in bna_tx_res_req()
3350 res_info[BNA_TX_RES_MEM_T_IBIDX].res_type = BNA_RES_T_MEM; in bna_tx_res_req()
3351 mem_info = &res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info; in bna_tx_res_req()
3356 res_info[BNA_TX_RES_INTR_T_TXCMPL].res_type = BNA_RES_T_INTR; in bna_tx_res_req()
3357 res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info.intr_type = in bna_tx_res_req()
3359 res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info.num = num_txq; in bna_tx_res_req()
3366 struct bna_res_info *res_info, void *priv) in bna_tx_create() argument
3375 intr_info = &res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info; in bna_tx_create()
3376 page_count = (res_info[BNA_TX_RES_MEM_T_PAGE].res_u.mem_info.len) / in bna_tx_create()
3443 res_info[BNA_TX_RES_MEM_T_TCB].res_u.mem_info.mdl[i].kva; in bna_tx_create()
3449 res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.lsb; in bna_tx_create()
3451 res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.msb; in bna_tx_create()
3453 res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; in bna_tx_create()
3468 res_info[BNA_TX_RES_MEM_T_UNMAPQ].res_u.mem_info.mdl[i].kva; in bna_tx_create()
3480 &res_info[BNA_TX_RES_MEM_T_QPT].res_u.mem_info.mdl[i], in bna_tx_create()
3481 &res_info[BNA_TX_RES_MEM_T_SWQPT].res_u.mem_info.mdl[i], in bna_tx_create()
3482 &res_info[BNA_TX_RES_MEM_T_PAGE]. in bna_tx_create()
3578 struct bna_res_info *res_info) in bna_tx_mod_init() argument
3586 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_tx_mod_init()
3588 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_tx_mod_init()