• Home
  • Raw
  • Download

Lines Matching refs:fn

340 	unsigned int mb = pi->adapter->fn;  in set_addr_filters()
385 ret = t4_set_rxmode(pi->adapter, pi->adapter->fn, pi->viid, mtu, in set_rxmode()
402 unsigned int mb = pi->adapter->fn; in link_start()
642 err = t4_config_rss_range(pi->adapter, pi->adapter->fn, pi->viid, 0, in write_rss()
1337 t4_restart_aneg(p->adapter, p->adapter->fn, p->tx_chan); in restart_autoneg()
1354 return t4_identify_port(adap, adap->fn, netdev2pinfo(dev)->viid, val); in identify_port()
1500 return t4_link_start(p->adapter, p->adapter->fn, p->tx_chan, in set_settings()
1533 return t4_link_start(p->adapter, p->adapter->fn, p->tx_chan, in set_pauseparam()
1648 err = t4_set_params(adap, adap->fn, adap->fn, 0, 1, &v, in set_rxq_intr_params()
1699 static int eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz) in eeprom_ptov() argument
1701 fn *= sz; in eeprom_ptov()
1704 if (phys_addr < 1024 + fn) in eeprom_ptov()
1705 return 31744 - fn + phys_addr - 1024; in eeprom_ptov()
1707 return phys_addr - 1024 - fn; in eeprom_ptov()
1716 int vaddr = eeprom_ptov(phys_addr, adap->fn, EEPROMPFSIZE); in eeprom_rd_phys()
1725 int vaddr = eeprom_ptov(phys_addr, adap->fn, EEPROMPFSIZE); in eeprom_wr_phys()
1768 if (adapter->fn > 0) { in set_eeprom()
1769 u32 start = 1024 + adapter->fn * EEPROMPFSIZE; in set_eeprom()
1868 err = t4_set_rxmode(pi->adapter, pi->adapter->fn, pi->viid, -1, in cxgb_set_features()
2475 (adap->fn * 4)); in uld_attach()
2478 (adap->fn * 4)); in uld_attach()
2696 return t4_enable_vi(adapter, adapter->fn, pi->viid, false, false); in cxgb_close()
2766 mbox = pi->adapter->fn; in cxgb_ioctl()
2793 ret = t4_set_rxmode(pi->adapter, pi->adapter->fn, pi->viid, new_mtu, -1, in cxgb_change_mtu()
2809 ret = t4_change_mac(pi->adapter, pi->adapter->fn, pi->viid, in cxgb_set_mac_addr()
2900 ret = t4_wr_mbox(adap, adap->fn, c, sizeof(*c), c); in adap_init1()
2916 ret = t4_wr_mbox(adap, adap->fn, c, sizeof(*c), NULL); in adap_init1()
2920 ret = t4_config_glbl_rss(adap, adap->fn, in adap_init1()
2927 ret = t4_cfg_pfvf(adap, adap->fn, adap->fn, 0, MAX_EGRQ, 64, MAX_INGQ, in adap_init1()
2942 return t4_early_init(adap, adap->fn); in adap_init1()
2970 ret = t4_fw_hello(adap, adap->fn, adap->fn, MASTER_MUST, &state); in adap_init0()
2978 ret = t4_fw_reset(adap, adap->fn, PIORSTMODE | PIORST); in adap_init0()
2994 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 1, params, val); in adap_init0()
3006 FW_PARAMS_PARAM_Y(adap->fn)) in adap_init0()
3015 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 7, params, val); in adap_init0()
3032 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 6, params, in adap_init0()
3052 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 6, params, in adap_init0()
3069 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 6, params, in adap_init0()
3083 ret = t4_query_params(adap, adap->fn, adap->fn, 0, 2, params, in adap_init0()
3122 ret = t4_cfg_pfvf(adap, adap->fn, pf, vf, in adap_init0()
3148 t4_fw_bye(adap, adap->fn); in adap_init0()
3204 if (t4_fw_hello(adap, adap->fn, adap->fn, MASTER_MUST, NULL)) in eeh_slot_reset()
3213 ret = t4_alloc_vi(adap, adap->fn, p->tx_chan, adap->fn, 0, 1, in eeh_slot_reset()
3523 t4_fw_bye(adapter, adapter->fn); in free_some_resources()
3596 adapter->fn = func; in init_one()