• Home
  • Raw
  • Download

Lines Matching defs:bp

247 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr)  in bnx2_tx_avail()
264 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind()
277 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind()
288 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr()
294 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd()
300 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr()
329 struct bnx2 *bp = netdev_priv(dev); in bnx2_drv_ctl() local
348 static void bnx2_setup_cnic_irq_info(struct bnx2 *bp) in bnx2_setup_cnic_irq_info()
378 struct bnx2 *bp = netdev_priv(dev); in bnx2_register_cnic() local
403 struct bnx2 *bp = netdev_priv(dev); in bnx2_unregister_cnic() local
418 struct bnx2 *bp = netdev_priv(dev); in bnx2_cnic_probe() local
436 bnx2_cnic_stop(struct bnx2 *bp) in bnx2_cnic_stop()
452 bnx2_cnic_start(struct bnx2 *bp) in bnx2_cnic_start()
475 bnx2_cnic_stop(struct bnx2 *bp) in bnx2_cnic_stop()
480 bnx2_cnic_start(struct bnx2 *bp) in bnx2_cnic_start()
487 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val) in bnx2_read_phy()
544 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) in bnx2_write_phy()
593 bnx2_disable_int(struct bnx2 *bp) in bnx2_disable_int()
607 bnx2_enable_int(struct bnx2 *bp) in bnx2_enable_int()
628 bnx2_disable_int_sync(struct bnx2 *bp) in bnx2_disable_int_sync()
642 bnx2_napi_disable(struct bnx2 *bp) in bnx2_napi_disable()
651 bnx2_napi_enable(struct bnx2 *bp) in bnx2_napi_enable()
660 bnx2_netif_stop(struct bnx2 *bp, bool stop_cnic) in bnx2_netif_stop()
673 bnx2_netif_start(struct bnx2 *bp, bool start_cnic) in bnx2_netif_start()
691 bnx2_free_tx_mem(struct bnx2 *bp) in bnx2_free_tx_mem()
711 bnx2_free_rx_mem(struct bnx2 *bp) in bnx2_free_rx_mem()
743 bnx2_alloc_tx_mem(struct bnx2 *bp) in bnx2_alloc_tx_mem()
765 bnx2_alloc_rx_mem(struct bnx2 *bp) in bnx2_alloc_rx_mem()
816 struct bnx2 *bp = netdev_priv(dev); in bnx2_free_stats_blk() local
832 struct bnx2 *bp = netdev_priv(dev); in bnx2_alloc_stats_blk() local
854 bnx2_free_mem(struct bnx2 *bp) in bnx2_free_mem()
876 bnx2_alloc_mem(struct bnx2 *bp) in bnx2_alloc_mem()
933 bnx2_report_fw_link(struct bnx2 *bp) in bnx2_report_fw_link()
992 bnx2_xceiver_str(struct bnx2 *bp) in bnx2_xceiver_str()
1000 bnx2_report_link(struct bnx2 *bp) in bnx2_report_link()
1031 bnx2_resolve_flow_ctrl(struct bnx2 *bp) in bnx2_resolve_flow_ctrl()
1107 bnx2_5709s_linkup(struct bnx2 *bp) in bnx2_5709s_linkup()
1146 bnx2_5708s_linkup(struct bnx2 *bp) in bnx2_5708s_linkup()
1175 bnx2_5706s_linkup(struct bnx2 *bp) in bnx2_5706s_linkup()
1212 bnx2_copper_linkup(struct bnx2 *bp) in bnx2_copper_linkup()
1288 bnx2_init_rx_context(struct bnx2 *bp, u32 cid) in bnx2_init_rx_context()
1303 bnx2_init_all_rx_contexts(struct bnx2 *bp) in bnx2_init_all_rx_contexts()
1316 bnx2_set_mac_link(struct bnx2 *bp) in bnx2_set_mac_link()
1383 bnx2_enable_bmsr1(struct bnx2 *bp) in bnx2_enable_bmsr1()
1392 bnx2_disable_bmsr1(struct bnx2 *bp) in bnx2_disable_bmsr1()
1401 bnx2_test_and_enable_2g5(struct bnx2 *bp) in bnx2_test_and_enable_2g5()
1430 bnx2_test_and_disable_2g5(struct bnx2 *bp) in bnx2_test_and_disable_2g5()
1456 bnx2_enable_forced_2g5(struct bnx2 *bp) in bnx2_enable_forced_2g5()
1500 bnx2_disable_forced_2g5(struct bnx2 *bp) in bnx2_disable_forced_2g5()
1539 bnx2_5706s_force_link_dn(struct bnx2 *bp, int start) in bnx2_5706s_force_link_dn()
1552 bnx2_set_link(struct bnx2 *bp) in bnx2_set_link()
1636 bnx2_reset_phy(struct bnx2 *bp) in bnx2_reset_phy()
1660 bnx2_phy_get_pause_adv(struct bnx2 *bp) in bnx2_phy_get_pause_adv()
1696 bnx2_setup_remote_phy(struct bnx2 *bp, u8 port) in bnx2_setup_remote_phy()
1755 bnx2_setup_serdes_phy(struct bnx2 *bp, u8 port) in bnx2_setup_serdes_phy()
1887 bnx2_set_default_remote_link(struct bnx2 *bp) in bnx2_set_default_remote_link()
1934 bnx2_set_default_link(struct bnx2 *bp) in bnx2_set_default_link()
1960 bnx2_send_heart_beat(struct bnx2 *bp) in bnx2_send_heart_beat()
1974 bnx2_remote_phy_event(struct bnx2 *bp) in bnx2_remote_phy_event()
2055 bnx2_set_remote_link(struct bnx2 *bp) in bnx2_set_remote_link()
2073 bnx2_setup_copper_phy(struct bnx2 *bp) in bnx2_setup_copper_phy()
2165 bnx2_setup_phy(struct bnx2 *bp, u8 port) in bnx2_setup_phy()
2181 bnx2_init_5709s_phy(struct bnx2 *bp, int reset_phy) in bnx2_init_5709s_phy()
2231 bnx2_init_5708s_phy(struct bnx2 *bp, int reset_phy) in bnx2_init_5708s_phy()
2289 bnx2_init_5706s_phy(struct bnx2 *bp, int reset_phy) in bnx2_init_5706s_phy()
2327 bnx2_init_copper_phy(struct bnx2 *bp, int reset_phy) in bnx2_init_copper_phy()
2386 bnx2_init_phy(struct bnx2 *bp, int reset_phy) in bnx2_init_phy()
2432 bnx2_set_mac_loopback(struct bnx2 *bp) in bnx2_set_mac_loopback()
2447 bnx2_set_phy_loopback(struct bnx2 *bp) in bnx2_set_phy_loopback()
2477 bnx2_dump_mcp_state(struct bnx2 *bp) in bnx2_dump_mcp_state()
2520 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int ack, int silent) in bnx2_fw_sync()
2567 bnx2_init_5709_context(struct bnx2 *bp) in bnx2_init_5709_context()
2615 bnx2_init_context(struct bnx2 *bp) in bnx2_init_context()
2658 bnx2_alloc_bad_rbuf(struct bnx2 *bp) in bnx2_alloc_bad_rbuf()
2707 bnx2_set_mac_addr(struct bnx2 *bp, const u8 *mac_addr, u32 pos) in bnx2_set_mac_addr()
2722 bnx2_alloc_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) in bnx2_alloc_rx_page()
2747 bnx2_free_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index) in bnx2_free_rx_page()
2763 bnx2_alloc_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) in bnx2_alloc_rx_data()
2796 bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event) in bnx2_phy_event_is_set()
2816 bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_phy_int()
2842 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_tx_int()
2937 bnx2_reuse_rx_skb_pages(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, in bnx2_reuse_rx_skb_pages()
2995 bnx2_reuse_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, in bnx2_reuse_rx_data()
3025 bnx2_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u8 *data, in bnx2_rx_skb()
3142 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_rx_int()
3313 struct bnx2 *bp = bnapi->bp; in bnx2_msi() local
3333 struct bnx2 *bp = bnapi->bp; in bnx2_msi_1shot() local
3350 struct bnx2 *bp = bnapi->bp; in bnx2_interrupt() local
3421 bnx2_chk_missed_msi(struct bnx2 *bp) in bnx2_chk_missed_msi()
3443 static void bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_cnic()
3459 static void bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_link()
3479 static int bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, in bnx2_poll_work()
3497 struct bnx2 *bp = bnapi->bp; in bnx2_poll_msix() local
3524 struct bnx2 *bp = bnapi->bp; in bnx2_poll() local
3576 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_rx_mode() local
3686 static void bnx2_release_firmware(struct bnx2 *bp) in bnx2_release_firmware()
3695 static int bnx2_request_uncached_firmware(struct bnx2 *bp) in bnx2_request_uncached_firmware()
3755 static int bnx2_request_firmware(struct bnx2 *bp) in bnx2_request_firmware()
3773 load_rv2p_fw(struct bnx2 *bp, u32 rv2p_proc, in load_rv2p_fw()
3833 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, in load_cpu_fw()
3905 bnx2_init_cpus(struct bnx2 *bp) in bnx2_init_cpus()
3945 bnx2_setup_wol(struct bnx2 *bp) in bnx2_setup_wol()
4040 bnx2_set_power_state(struct bnx2 *bp, pci_power_t state) in bnx2_set_power_state()
4096 bnx2_acquire_nvram_lock(struct bnx2 *bp) in bnx2_acquire_nvram_lock()
4118 bnx2_release_nvram_lock(struct bnx2 *bp) in bnx2_release_nvram_lock()
4142 bnx2_enable_nvram_write(struct bnx2 *bp) in bnx2_enable_nvram_write()
4171 bnx2_disable_nvram_write(struct bnx2 *bp) in bnx2_disable_nvram_write()
4181 bnx2_enable_nvram_access(struct bnx2 *bp) in bnx2_enable_nvram_access()
4192 bnx2_disable_nvram_access(struct bnx2 *bp) in bnx2_disable_nvram_access()
4204 bnx2_nvram_erase_page(struct bnx2 *bp, u32 offset) in bnx2_nvram_erase_page()
4244 bnx2_nvram_read_dword(struct bnx2 *bp, u32 offset, u8 *ret_val, u32 cmd_flags) in bnx2_nvram_read_dword()
4289 bnx2_nvram_write_dword(struct bnx2 *bp, u32 offset, u8 *val, u32 cmd_flags) in bnx2_nvram_write_dword()
4333 bnx2_init_nvram(struct bnx2 *bp) in bnx2_init_nvram()
4416 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf, in bnx2_nvram_read()
4526 bnx2_nvram_write(struct bnx2 *bp, u32 offset, u8 *data_buf, in bnx2_nvram_write()
4706 bnx2_init_fw_cap(struct bnx2 *bp) in bnx2_init_fw_cap()
4746 bnx2_setup_msix_tbl(struct bnx2 *bp) in bnx2_setup_msix_tbl()
4755 bnx2_wait_dma_complete(struct bnx2 *bp) in bnx2_wait_dma_complete()
4792 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) in bnx2_reset_chip()
4896 bnx2_init_chip(struct bnx2 *bp) in bnx2_init_chip()
5125 bnx2_clear_ring_states(struct bnx2 *bp) in bnx2_clear_ring_states()
5148 bnx2_init_tx_context(struct bnx2 *bp, u32 cid, struct bnx2_tx_ring_info *txr) in bnx2_init_tx_context()
5178 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_tx_ring()
5234 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_rx_ring()
5320 bnx2_init_all_rings(struct bnx2 *bp) in bnx2_init_all_rings()
5386 bnx2_set_rx_ring_size(struct bnx2 *bp, u32 size) in bnx2_set_rx_ring_size()
5427 bnx2_free_tx_skbs(struct bnx2 *bp) in bnx2_free_tx_skbs()
5472 bnx2_free_rx_skbs(struct bnx2 *bp) in bnx2_free_rx_skbs()
5506 bnx2_free_skbs(struct bnx2 *bp) in bnx2_free_skbs()
5513 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) in bnx2_reset_nic()
5530 bnx2_init_nic(struct bnx2 *bp, int reset_phy) in bnx2_init_nic()
5547 bnx2_shutdown_chip(struct bnx2 *bp) in bnx2_shutdown_chip()
5562 bnx2_test_registers(struct bnx2 *bp) in bnx2_test_registers()
5733 bnx2_do_mem_test(struct bnx2 *bp, u32 start, u32 size) in bnx2_do_mem_test()
5756 bnx2_test_memory(struct bnx2 *bp) in bnx2_test_memory()
5801 bnx2_run_loopback(struct bnx2 *bp, int loopback_mode) in bnx2_run_loopback()
5939 bnx2_test_loopback(struct bnx2 *bp) in bnx2_test_loopback()
5961 bnx2_test_nvram(struct bnx2 *bp) in bnx2_test_nvram()
5996 bnx2_test_link(struct bnx2 *bp) in bnx2_test_link()
6022 bnx2_test_intr(struct bnx2 *bp) in bnx2_test_intr()
6053 bnx2_5706_serdes_has_link(struct bnx2 *bp) in bnx2_5706_serdes_has_link()
6084 bnx2_5706_serdes_timer(struct bnx2 *bp) in bnx2_5706_serdes_timer()
6146 bnx2_5708_serdes_timer(struct bnx2 *bp) in bnx2_5708_serdes_timer()
6181 struct bnx2 *bp = from_timer(bp, t, timer); in bnx2_timer() local
6215 bnx2_request_irq(struct bnx2 *bp) in bnx2_request_irq()
6238 __bnx2_free_irq(struct bnx2 *bp) in __bnx2_free_irq()
6252 bnx2_free_irq(struct bnx2 *bp) in bnx2_free_irq()
6265 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) in bnx2_enable_msix()
6309 bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi) in bnx2_setup_int_mode()
6364 struct bnx2 *bp = netdev_priv(dev); in bnx2_open() local
6446 struct bnx2 *bp = container_of(work, struct bnx2, reset_task); in bnx2_reset_task() local
6481 bnx2_dump_ftq(struct bnx2 *bp) in bnx2_dump_ftq()
6548 bnx2_dump_state(struct bnx2 *bp) in bnx2_dump_state()
6574 struct bnx2 *bp = netdev_priv(dev); in bnx2_tx_timeout() local
6591 struct bnx2 *bp = netdev_priv(dev); in bnx2_start_xmit() local
6765 struct bnx2 *bp = netdev_priv(dev); in bnx2_close() local
6782 bnx2_save_stats(struct bnx2 *bp) in bnx2_save_stats()
6819 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_stats64() local
6894 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_link_ksettings() local
6962 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_link_ksettings() local
7043 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_drvinfo() local
7063 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_regs() local
7113 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_wol() local
7132 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_wol() local
7155 struct bnx2 *bp = netdev_priv(dev); in bnx2_nway_reset() local
7201 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_link() local
7209 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_eeprom_len() local
7221 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_eeprom() local
7235 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_eeprom() local
7250 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_coalesce() local
7274 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_coalesce() local
7323 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_ringparam() local
7336 bnx2_change_ring_size(struct bnx2 *bp, u32 rx, u32 tx, bool reset_irq) in bnx2_change_ring_size()
7394 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_ringparam() local
7411 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_pauseparam() local
7421 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_pauseparam() local
7599 struct bnx2 *bp = netdev_priv(dev); in bnx2_self_test() local
7670 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_ethtool_stats() local
7716 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_phys_id() local
7749 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_features() local
7774 struct bnx2 *bp = netdev_priv(dev); in bnx2_get_channels() local
7796 struct bnx2 *bp = netdev_priv(dev); in bnx2_set_channels() local
7857 struct bnx2 *bp = netdev_priv(dev); in bnx2_ioctl() local
7908 struct bnx2 *bp = netdev_priv(dev); in bnx2_change_mac_addr() local
7924 struct bnx2 *bp = netdev_priv(dev); in bnx2_change_mtu() local
7935 struct bnx2 *bp = netdev_priv(dev); in poll_bnx2() local
7949 bnx2_get_5709_media(struct bnx2 *bp) in bnx2_get_5709_media()
7987 bnx2_get_pci_speed(struct bnx2 *bp) in bnx2_get_pci_speed()
8039 bnx2_read_vpd_fw_ver(struct bnx2 *bp) in bnx2_read_vpd_fw_ver()
8087 struct bnx2 *bp; in bnx2_init_board() local
8479 bnx2_bus_string(struct bnx2 *bp, char *str) in bnx2_bus_string()
8499 bnx2_del_napi(struct bnx2 *bp) in bnx2_del_napi()
8508 bnx2_init_napi(struct bnx2 *bp) in bnx2_init_napi()
8547 struct bnx2 *bp; in bnx2_init_one() local
8624 struct bnx2 *bp = netdev_priv(dev); in bnx2_remove_one() local
8654 struct bnx2 *bp = netdev_priv(dev); in bnx2_suspend() local
8673 struct bnx2 *bp = netdev_priv(dev); in bnx2_resume() local
8706 struct bnx2 *bp = netdev_priv(dev); in bnx2_io_error_detected() local
8738 struct bnx2 *bp = netdev_priv(dev); in bnx2_io_slot_reset() local
8780 struct bnx2 *bp = netdev_priv(dev); in bnx2_io_resume() local
8793 struct bnx2 *bp; in bnx2_shutdown() local