Lines Matching refs:res_info

1689 		struct bna_res_info *res_info)  in bna_ioceth_init()  argument
1705 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init()
1706 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1709 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1717 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init()
1718 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1779 struct bna_res_info *res_info) in bna_ucam_mod_init() argument
1784 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init()
1806 struct bna_res_info *res_info) in bna_mcam_mod_init() argument
1811 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init()
1818 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init()
1862 bna_res_req(struct bna_res_info *res_info) in bna_res_req() argument
1865 res_info[BNA_RES_MEM_T_COM].res_type = BNA_RES_T_MEM; in bna_res_req()
1866 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1867 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.num = 1; in bna_res_req()
1868 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.len = ALIGN( in bna_res_req()
1874 res_info[BNA_RES_MEM_T_ATTR].res_type = BNA_RES_T_MEM; in bna_res_req()
1875 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1876 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.num = 1; in bna_res_req()
1877 res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.len = in bna_res_req()
1881 res_info[BNA_RES_MEM_T_FWTRC].res_type = BNA_RES_T_MEM; in bna_res_req()
1882 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mem_type = BNA_MEM_T_KVA; in bna_res_req()
1883 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.num = 1; in bna_res_req()
1884 res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.len = BNA_DBG_FWTRC_LEN; in bna_res_req()
1887 res_info[BNA_RES_MEM_T_STATS].res_type = BNA_RES_T_MEM; in bna_res_req()
1888 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req()
1889 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.num = 1; in bna_res_req()
1890 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.len = in bna_res_req()
1896 bna_mod_res_req(struct bna *bna, struct bna_res_info *res_info) in bna_mod_res_req() argument
1901 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1902 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1904 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1905 res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1909 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1910 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1912 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1913 res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1917 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1918 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1920 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1921 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1925 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1926 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1928 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1929 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1933 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1934 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1936 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1937 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1941 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1942 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1944 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1945 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1949 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1950 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1952 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1953 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1957 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_type = BNA_RES_T_MEM; in bna_mod_res_req()
1958 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mem_type = in bna_mod_res_req()
1960 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.num = 1; in bna_mod_res_req()
1961 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.len = in bna_mod_res_req()
1967 struct bfa_pcidev *pcidev, struct bna_res_info *res_info) in bna_init() argument
1973 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; in bna_init()
1975 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].dma.msb; in bna_init()
1977 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].dma.lsb; in bna_init()
1982 bna_ioceth_init(&bna->ioceth, bna, res_info); in bna_init()
1989 bna_mod_init(struct bna *bna, struct bna_res_info *res_info) in bna_mod_init() argument
1991 bna_tx_mod_init(&bna->tx_mod, bna, res_info); in bna_mod_init()
1993 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init()
1995 bna_ucam_mod_init(&bna->ucam_mod, bna, res_info); in bna_mod_init()
1997 bna_mcam_mod_init(&bna->mcam_mod, bna, res_info); in bna_mod_init()