Home
last modified time | relevance | path

Searched refs:res_info (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/net/bna/
Dbna_ctrl.c1678 struct bna_res_info *res_info) in bna_adv_device_init() argument
1685 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_adv_device_init()
1692 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_adv_device_init()
1693 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_adv_device_init()
1704 struct bna_res_info *res_info) in bna_device_init() argument
1719 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_device_init()
1721 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva, in bna_device_init()
1724 bna_adv_device_init(device, bna, res_info); in bna_device_init()
1730 res_info[BNA_RES_INTR_T_MBOX].res_u.intr_info.intr_type; in bna_device_init()
1732 res_info[BNA_RES_INTR_T_MBOX].res_u.intr_info.idl[0].vector; in bna_device_init()
[all …]
Dbnad.c1334 bnad_tx_res_free(struct bnad *bnad, struct bna_res_info *res_info) in bnad_tx_res_free() argument
1339 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_free()
1340 bnad_mem_free(bnad, &res_info[i].res_u.mem_info); in bnad_tx_res_free()
1341 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_free()
1342 bnad_txrx_irq_free(bnad, &res_info[i].res_u.intr_info); in bnad_tx_res_free()
1348 bnad_tx_res_alloc(struct bnad *bnad, struct bna_res_info *res_info, in bnad_tx_res_alloc() argument
1354 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_alloc()
1356 &res_info[i].res_u.mem_info); in bnad_tx_res_alloc()
1357 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_alloc()
1359 &res_info[i].res_u.intr_info); in bnad_tx_res_alloc()
[all …]
Dbna_txrx.c110 struct bna_res_info *res_info) in bna_ib_mod_init() argument
122 res_info[BNA_RES_MEM_T_IB_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ib_mod_init()
124 res_info[BNA_RES_MEM_T_INTR_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ib_mod_init()
126 res_info[BNA_RES_MEM_T_IDXSEG_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ib_mod_init()
139 res_info[BNA_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; in bna_ib_mod_init()
141 res_info[BNA_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.lsb; in bna_ib_mod_init()
143 res_info[BNA_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.msb; in bna_ib_mod_init()
2612 struct bna_res_info *res_info) in bna_rx_mod_init() argument
2623 res_info[BNA_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2625 res_info[BNA_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
[all …]
Dbna.h345 void bna_res_req(struct bna_res_info *res_info);
348 struct bna_res_info *res_info);
417 struct bna_res_info *res_info);
426 struct bna_res_info *res_info);
439 struct bna_res_info *res_info);
443 struct bna_res_info *res_info, void *priv);
478 struct bna_res_info *res_info);
490 struct bna_res_info *res_info);
494 struct bna_res_info *res_info, void *priv);
Dbnad.h163 struct bna_res_info res_info[BNA_TX_RES_T_MAX]; member
167 struct bna_res_info res_info[BNA_RX_RES_T_MAX]; member
265 struct bna_res_info res_info[BNA_RES_T_MAX]; member
/linux-2.6.39/drivers/video/riva/
Driva_hw.c242 static int nv3_iterate(nv3_fifo_info *res_info, nv3_sim_state * state, nv3_arb_info *ainfo) in nv3_iterate() argument
427 static char nv3_arb(nv3_fifo_info * res_info, nv3_sim_state * state, nv3_arb_info *ainfo) in nv3_arb() argument
460 nv3_iterate(res_info, state,ainfo); in nv3_arb()
472 nv3_iterate(res_info, state,ainfo); in nv3_arb()
484 nv3_iterate(res_info, state,ainfo); in nv3_arb()
496 nv3_iterate(res_info, state, ainfo); in nv3_arb()
500 res_info->graphics_lwm = (int)abs(ainfo->wcglwm) + 16; in nv3_arb()
501 res_info->video_lwm = (int)abs(ainfo->wcvlwm) + 32; in nv3_arb()
502 res_info->graphics_burst_size = ainfo->gburst_size; in nv3_arb()
503 res_info->video_burst_size = ainfo->vburst_size; in nv3_arb()
[all …]