| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bnx2.c | 259 static void bnx2_init_napi(struct bnx2 *bp); in bnx2_tx_avail() 260 static void bnx2_del_napi(struct bnx2 *bp); in bnx2_tx_avail() 262 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) 275 return bp->tx_ring_size - diff; 279 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_wr_ind() 284 spin_lock_irqsave(&bp->indirect_lock, flags); in bnx2_reg_wr_ind() 285 BNX2_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); 286 val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW); 287 spin_unlock_irqrestore(&bp->indirect_lock, flags); in bnx2_shmem_wr() argument 292 bnx2_reg_wr_ind(struct bnx2 *bp, u3 246 bnx2_tx_avail(struct bnx2 * bp,struct bnx2_tx_ring_info * txr) bnx2_tx_avail() argument 263 bnx2_reg_rd_ind(struct bnx2 * bp,u32 offset) bnx2_reg_rd_ind() argument 276 bnx2_reg_wr_ind(struct bnx2 * bp,u32 offset,u32 val) bnx2_reg_wr_ind() argument 293 bnx2_shmem_rd(struct bnx2 * bp,u32 offset) bnx2_shmem_rd() argument 299 bnx2_ctx_wr(struct bnx2 * bp,u32 cid_addr,u32 offset,u32 val) bnx2_ctx_wr() argument 328 struct bnx2 *bp = netdev_priv(dev); bnx2_drv_ctl() local 347 bnx2_setup_cnic_irq_info(struct bnx2 * bp) bnx2_setup_cnic_irq_info() argument 378 struct bnx2 *bp = netdev_priv(dev); bnx2_register_cnic() local 403 struct bnx2 *bp = netdev_priv(dev); bnx2_unregister_cnic() local 418 struct bnx2 *bp = netdev_priv(dev); bnx2_cnic_probe() local 436 bnx2_cnic_stop(struct bnx2 * bp) bnx2_cnic_stop() argument 452 bnx2_cnic_start(struct bnx2 * bp) bnx2_cnic_start() argument 475 bnx2_cnic_stop(struct bnx2 * bp) bnx2_cnic_stop() argument 480 bnx2_cnic_start(struct bnx2 * bp) bnx2_cnic_start() argument 487 bnx2_read_phy(struct bnx2 * bp,u32 reg,u32 * val) bnx2_read_phy() argument 544 bnx2_write_phy(struct bnx2 * bp,u32 reg,u32 val) bnx2_write_phy() argument 593 bnx2_disable_int(struct bnx2 * bp) bnx2_disable_int() argument 607 bnx2_enable_int(struct bnx2 * bp) bnx2_enable_int() argument 628 bnx2_disable_int_sync(struct bnx2 * bp) bnx2_disable_int_sync() argument 642 bnx2_napi_disable(struct bnx2 * bp) bnx2_napi_disable() argument 651 bnx2_napi_enable(struct bnx2 * bp) bnx2_napi_enable() argument 660 bnx2_netif_stop(struct bnx2 * bp,bool stop_cnic) bnx2_netif_stop() argument 673 bnx2_netif_start(struct bnx2 * bp,bool start_cnic) bnx2_netif_start() argument 691 bnx2_free_tx_mem(struct bnx2 * bp) bnx2_free_tx_mem() argument 711 bnx2_free_rx_mem(struct bnx2 * bp) bnx2_free_rx_mem() argument 743 bnx2_alloc_tx_mem(struct bnx2 * bp) bnx2_alloc_tx_mem() argument 765 bnx2_alloc_rx_mem(struct bnx2 * bp) bnx2_alloc_rx_mem() argument 816 struct bnx2 *bp = netdev_priv(dev); bnx2_free_stats_blk() local 832 struct bnx2 *bp = netdev_priv(dev); bnx2_alloc_stats_blk() local 854 bnx2_free_mem(struct bnx2 * bp) bnx2_free_mem() argument 876 bnx2_alloc_mem(struct bnx2 * bp) bnx2_alloc_mem() argument 933 bnx2_report_fw_link(struct bnx2 * bp) bnx2_report_fw_link() argument 992 bnx2_xceiver_str(struct bnx2 * bp) bnx2_xceiver_str() argument 1000 bnx2_report_link(struct bnx2 * bp) bnx2_report_link() argument 1031 bnx2_resolve_flow_ctrl(struct bnx2 * bp) bnx2_resolve_flow_ctrl() argument 1107 bnx2_5709s_linkup(struct bnx2 * bp) bnx2_5709s_linkup() argument 1146 bnx2_5708s_linkup(struct bnx2 * bp) bnx2_5708s_linkup() argument 1175 bnx2_5706s_linkup(struct bnx2 * bp) bnx2_5706s_linkup() argument 1212 bnx2_copper_linkup(struct bnx2 * bp) bnx2_copper_linkup() argument 1288 bnx2_init_rx_context(struct bnx2 * bp,u32 cid) bnx2_init_rx_context() argument 1303 bnx2_init_all_rx_contexts(struct bnx2 * bp) bnx2_init_all_rx_contexts() argument 1316 bnx2_set_mac_link(struct bnx2 * bp) bnx2_set_mac_link() argument 1383 bnx2_enable_bmsr1(struct bnx2 * bp) bnx2_enable_bmsr1() argument 1392 bnx2_disable_bmsr1(struct bnx2 * bp) bnx2_disable_bmsr1() argument 1401 bnx2_test_and_enable_2g5(struct bnx2 * bp) bnx2_test_and_enable_2g5() argument 1430 bnx2_test_and_disable_2g5(struct bnx2 * bp) bnx2_test_and_disable_2g5() argument 1456 bnx2_enable_forced_2g5(struct bnx2 * bp) bnx2_enable_forced_2g5() argument 1500 bnx2_disable_forced_2g5(struct bnx2 * bp) bnx2_disable_forced_2g5() argument 1539 bnx2_5706s_force_link_dn(struct bnx2 * bp,int start) bnx2_5706s_force_link_dn() argument 1552 bnx2_set_link(struct bnx2 * bp) bnx2_set_link() argument 1636 bnx2_reset_phy(struct bnx2 * bp) bnx2_reset_phy() argument 1660 bnx2_phy_get_pause_adv(struct bnx2 * bp) bnx2_phy_get_pause_adv() argument 1696 bnx2_setup_remote_phy(struct bnx2 * bp,u8 port) bnx2_setup_remote_phy() argument 1755 bnx2_setup_serdes_phy(struct bnx2 * bp,u8 port) bnx2_setup_serdes_phy() argument 1887 bnx2_set_default_remote_link(struct bnx2 * bp) bnx2_set_default_remote_link() argument 1934 bnx2_set_default_link(struct bnx2 * bp) bnx2_set_default_link() argument 1960 bnx2_send_heart_beat(struct bnx2 * bp) bnx2_send_heart_beat() argument 1974 bnx2_remote_phy_event(struct bnx2 * bp) bnx2_remote_phy_event() argument 2055 bnx2_set_remote_link(struct bnx2 * bp) bnx2_set_remote_link() argument 2073 bnx2_setup_copper_phy(struct bnx2 * bp) bnx2_setup_copper_phy() argument 2165 bnx2_setup_phy(struct bnx2 * bp,u8 port) bnx2_setup_phy() argument 2181 bnx2_init_5709s_phy(struct bnx2 * bp,int reset_phy) bnx2_init_5709s_phy() argument 2231 bnx2_init_5708s_phy(struct bnx2 * bp,int reset_phy) bnx2_init_5708s_phy() argument 2289 bnx2_init_5706s_phy(struct bnx2 * bp,int reset_phy) bnx2_init_5706s_phy() argument 2327 bnx2_init_copper_phy(struct bnx2 * bp,int reset_phy) bnx2_init_copper_phy() argument 2386 bnx2_init_phy(struct bnx2 * bp,int reset_phy) bnx2_init_phy() argument 2432 bnx2_set_mac_loopback(struct bnx2 * bp) bnx2_set_mac_loopback() argument 2447 bnx2_set_phy_loopback(struct bnx2 * bp) bnx2_set_phy_loopback() argument 2477 bnx2_dump_mcp_state(struct bnx2 * bp) bnx2_dump_mcp_state() argument 2520 bnx2_fw_sync(struct bnx2 * bp,u32 msg_data,int ack,int silent) bnx2_fw_sync() argument 2567 bnx2_init_5709_context(struct bnx2 * bp) bnx2_init_5709_context() argument 2615 bnx2_init_context(struct bnx2 * bp) bnx2_init_context() argument 2658 bnx2_alloc_bad_rbuf(struct bnx2 * bp) bnx2_alloc_bad_rbuf() argument 2707 bnx2_set_mac_addr(struct bnx2 * bp,const u8 * mac_addr,u32 pos) bnx2_set_mac_addr() argument 2722 bnx2_alloc_rx_page(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,u16 index,gfp_t gfp) bnx2_alloc_rx_page() argument 2747 bnx2_free_rx_page(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,u16 index) bnx2_free_rx_page() argument 2763 bnx2_alloc_rx_data(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,u16 index,gfp_t gfp) bnx2_alloc_rx_data() argument 2796 bnx2_phy_event_is_set(struct bnx2 * bp,struct bnx2_napi * bnapi,u32 event) bnx2_phy_event_is_set() argument 2816 bnx2_phy_int(struct bnx2 * bp,struct bnx2_napi * bnapi) bnx2_phy_int() argument 2842 bnx2_tx_int(struct bnx2 * bp,struct bnx2_napi * bnapi,int budget) bnx2_tx_int() argument 2937 bnx2_reuse_rx_skb_pages(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,struct sk_buff * skb,int count) bnx2_reuse_rx_skb_pages() argument 2994 bnx2_reuse_rx_data(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,u8 * data,u16 cons,u16 prod) bnx2_reuse_rx_data() argument 3024 bnx2_rx_skb(struct bnx2 * bp,struct bnx2_rx_ring_info * rxr,u8 * data,unsigned int len,unsigned int hdr_len,dma_addr_t dma_addr,u32 ring_idx) bnx2_rx_skb() argument 3141 bnx2_rx_int(struct bnx2 * bp,struct bnx2_napi * bnapi,int budget) bnx2_rx_int() argument 3312 struct bnx2 *bp = bnapi->bp; bnx2_msi() local 3332 struct bnx2 *bp = bnapi->bp; bnx2_msi_1shot() local 3349 struct bnx2 *bp = bnapi->bp; bnx2_interrupt() local 3420 bnx2_chk_missed_msi(struct bnx2 * bp) bnx2_chk_missed_msi() argument 3442 bnx2_poll_cnic(struct bnx2 * bp,struct bnx2_napi * bnapi) bnx2_poll_cnic() argument 3458 bnx2_poll_link(struct bnx2 * bp,struct bnx2_napi * bnapi) bnx2_poll_link() argument 3478 bnx2_poll_work(struct bnx2 * bp,struct bnx2_napi * bnapi,int work_done,int budget) bnx2_poll_work() argument 3496 struct bnx2 *bp = bnapi->bp; bnx2_poll_msix() local 3523 struct bnx2 *bp = bnapi->bp; bnx2_poll() local 3575 struct bnx2 *bp = netdev_priv(dev); bnx2_set_rx_mode() local 3685 bnx2_release_firmware(struct bnx2 * bp) bnx2_release_firmware() argument 3694 bnx2_request_uncached_firmware(struct bnx2 * bp) bnx2_request_uncached_firmware() argument 3754 bnx2_request_firmware(struct bnx2 * bp) bnx2_request_firmware() argument 3772 load_rv2p_fw(struct bnx2 * bp,u32 rv2p_proc,const struct bnx2_rv2p_fw_file_entry * fw_entry) load_rv2p_fw() argument 3832 load_cpu_fw(struct bnx2 * bp,const struct cpu_reg * cpu_reg,const struct bnx2_mips_fw_file_entry * fw_entry) load_cpu_fw() argument 3902 bnx2_init_cpus(struct bnx2 * bp) bnx2_init_cpus() argument 3930 bnx2_setup_wol(struct bnx2 * bp) bnx2_setup_wol() argument 4025 bnx2_set_power_state(struct bnx2 * bp,pci_power_t state) bnx2_set_power_state() argument 4081 bnx2_acquire_nvram_lock(struct bnx2 * bp) bnx2_acquire_nvram_lock() argument 4103 bnx2_release_nvram_lock(struct bnx2 * bp) bnx2_release_nvram_lock() argument 4127 bnx2_enable_nvram_write(struct bnx2 * bp) bnx2_enable_nvram_write() argument 4156 bnx2_disable_nvram_write(struct bnx2 * bp) bnx2_disable_nvram_write() argument 4166 bnx2_enable_nvram_access(struct bnx2 * bp) bnx2_enable_nvram_access() argument 4177 bnx2_disable_nvram_access(struct bnx2 * bp) bnx2_disable_nvram_access() argument 4189 bnx2_nvram_erase_page(struct bnx2 * bp,u32 offset) bnx2_nvram_erase_page() argument 4229 bnx2_nvram_read_dword(struct bnx2 * bp,u32 offset,u8 * ret_val,u32 cmd_flags) bnx2_nvram_read_dword() argument 4274 bnx2_nvram_write_dword(struct bnx2 * bp,u32 offset,u8 * val,u32 cmd_flags) bnx2_nvram_write_dword() argument 4318 bnx2_init_nvram(struct bnx2 * bp) bnx2_init_nvram() argument 4401 bnx2_nvram_read(struct bnx2 * bp,u32 offset,u8 * ret_buf,int buf_size) bnx2_nvram_read() argument 4511 bnx2_nvram_write(struct bnx2 * bp,u32 offset,u8 * data_buf,int buf_size) bnx2_nvram_write() argument 4691 bnx2_init_fw_cap(struct bnx2 * bp) bnx2_init_fw_cap() argument 4731 bnx2_setup_msix_tbl(struct bnx2 * bp) bnx2_setup_msix_tbl() argument 4740 bnx2_wait_dma_complete(struct bnx2 * bp) bnx2_wait_dma_complete() argument 4777 bnx2_reset_chip(struct bnx2 * bp,u32 reset_code) bnx2_reset_chip() argument 4881 bnx2_init_chip(struct bnx2 * bp) bnx2_init_chip() argument 5109 bnx2_clear_ring_states(struct bnx2 * bp) bnx2_clear_ring_states() argument 5132 bnx2_init_tx_context(struct bnx2 * bp,u32 cid,struct bnx2_tx_ring_info * txr) bnx2_init_tx_context() argument 5162 bnx2_init_tx_ring(struct bnx2 * bp,int ring_num) bnx2_init_tx_ring() argument 5218 bnx2_init_rx_ring(struct bnx2 * bp,int ring_num) bnx2_init_rx_ring() argument 5304 bnx2_init_all_rings(struct bnx2 * bp) bnx2_init_all_rings() argument 5370 bnx2_set_rx_ring_size(struct bnx2 * bp,u32 size) bnx2_set_rx_ring_size() argument 5412 bnx2_free_tx_skbs(struct bnx2 * bp) bnx2_free_tx_skbs() argument 5457 bnx2_free_rx_skbs(struct bnx2 * bp) bnx2_free_rx_skbs() argument 5491 bnx2_free_skbs(struct bnx2 * bp) bnx2_free_skbs() argument 5498 bnx2_reset_nic(struct bnx2 * bp,u32 reset_code) bnx2_reset_nic() argument 5515 bnx2_init_nic(struct bnx2 * bp,int reset_phy) bnx2_init_nic() argument 5532 bnx2_shutdown_chip(struct bnx2 * bp) bnx2_shutdown_chip() argument 5547 bnx2_test_registers(struct bnx2 * bp) bnx2_test_registers() argument 5718 bnx2_do_mem_test(struct bnx2 * bp,u32 start,u32 size) bnx2_do_mem_test() argument 5741 bnx2_test_memory(struct bnx2 * bp) bnx2_test_memory() argument 5786 bnx2_run_loopback(struct bnx2 * bp,int loopback_mode) bnx2_run_loopback() argument 5924 bnx2_test_loopback(struct bnx2 * bp) bnx2_test_loopback() argument 5946 bnx2_test_nvram(struct bnx2 * bp) bnx2_test_nvram() argument 5981 bnx2_test_link(struct bnx2 * bp) bnx2_test_link() argument 6007 bnx2_test_intr(struct bnx2 * bp) bnx2_test_intr() argument 6038 bnx2_5706_serdes_has_link(struct bnx2 * bp) bnx2_5706_serdes_has_link() argument 6069 bnx2_5706_serdes_timer(struct bnx2 * bp) bnx2_5706_serdes_timer() argument 6131 bnx2_5708_serdes_timer(struct bnx2 * bp) bnx2_5708_serdes_timer() argument 6166 struct bnx2 *bp = timer_container_of(bp, t, timer); bnx2_timer() local 6200 bnx2_request_irq(struct bnx2 * bp) bnx2_request_irq() argument 6223 __bnx2_free_irq(struct bnx2 * bp) __bnx2_free_irq() argument 6237 bnx2_free_irq(struct bnx2 * bp) bnx2_free_irq() argument 6250 bnx2_enable_msix(struct bnx2 * bp,int msix_vecs) bnx2_enable_msix() argument 6294 bnx2_setup_int_mode(struct bnx2 * bp,int dis_msi) bnx2_setup_int_mode() argument 6349 struct bnx2 *bp = netdev_priv(dev); bnx2_open() local 6431 struct bnx2 *bp = container_of(work, struct bnx2, reset_task); bnx2_reset_task() local 6465 bnx2_dump_ftq(struct bnx2 * bp) bnx2_dump_ftq() argument 6532 bnx2_dump_state(struct bnx2 * bp) bnx2_dump_state() argument 6558 struct bnx2 *bp = netdev_priv(dev); bnx2_tx_timeout() local 6575 struct bnx2 *bp = netdev_priv(dev); bnx2_start_xmit() local 6749 struct bnx2 *bp = netdev_priv(dev); bnx2_close() local 6766 bnx2_save_stats(struct bnx2 * bp) bnx2_save_stats() argument 6803 struct bnx2 *bp = netdev_priv(dev); bnx2_get_stats64() local 6878 struct bnx2 *bp = netdev_priv(dev); bnx2_get_link_ksettings() local 6946 struct bnx2 *bp = netdev_priv(dev); bnx2_set_link_ksettings() local 7027 struct bnx2 *bp = netdev_priv(dev); bnx2_get_drvinfo() local 7047 struct bnx2 *bp = netdev_priv(dev); bnx2_get_regs() local 7097 struct bnx2 *bp = netdev_priv(dev); bnx2_get_wol() local 7116 struct bnx2 *bp = netdev_priv(dev); bnx2_set_wol() local 7139 struct bnx2 *bp = netdev_priv(dev); bnx2_nway_reset() local 7185 struct bnx2 *bp = netdev_priv(dev); bnx2_get_link() local 7193 struct bnx2 *bp = netdev_priv(dev); bnx2_get_eeprom_len() local 7205 struct bnx2 *bp = netdev_priv(dev); bnx2_get_eeprom() local 7219 struct bnx2 *bp = netdev_priv(dev); bnx2_set_eeprom() local 7234 struct bnx2 *bp = netdev_priv(dev); bnx2_get_coalesce() local 7258 struct bnx2 *bp = netdev_priv(dev); bnx2_set_coalesce() local 7309 struct bnx2 *bp = netdev_priv(dev); bnx2_get_ringparam() local 7322 bnx2_change_ring_size(struct bnx2 * bp,u32 rx,u32 tx,bool reset_irq) bnx2_change_ring_size() argument 7382 struct bnx2 *bp = netdev_priv(dev); bnx2_set_ringparam() local 7399 struct bnx2 *bp = netdev_priv(dev); bnx2_get_pauseparam() local 7409 struct bnx2 *bp = netdev_priv(dev); bnx2_set_pauseparam() local 7587 struct bnx2 *bp = netdev_priv(dev); bnx2_self_test() local 7658 struct bnx2 *bp = netdev_priv(dev); bnx2_get_ethtool_stats() local 7704 struct bnx2 *bp = netdev_priv(dev); bnx2_set_phys_id() local 7737 struct bnx2 *bp = netdev_priv(dev); bnx2_set_features() local 7762 struct bnx2 *bp = netdev_priv(dev); bnx2_get_channels() local 7784 struct bnx2 *bp = netdev_priv(dev); bnx2_set_channels() local 7845 struct bnx2 *bp = netdev_priv(dev); bnx2_ioctl() local 7896 struct bnx2 *bp = netdev_priv(dev); bnx2_change_mac_addr() local 7912 struct bnx2 *bp = netdev_priv(dev); bnx2_change_mtu() local 7923 struct bnx2 *bp = netdev_priv(dev); poll_bnx2() local 7937 bnx2_get_5709_media(struct bnx2 * bp) bnx2_get_5709_media() argument 7975 bnx2_get_pci_speed(struct bnx2 * bp) bnx2_get_pci_speed() argument 8027 bnx2_read_vpd_fw_ver(struct bnx2 * bp) bnx2_read_vpd_fw_ver() argument 8075 struct bnx2 *bp; bnx2_init_board() local 8455 bnx2_bus_string(struct bnx2 * bp,char * str) bnx2_bus_string() argument 8475 bnx2_del_napi(struct bnx2 * bp) bnx2_del_napi() argument 8484 bnx2_init_napi(struct bnx2 * bp) bnx2_init_napi() argument 8523 struct bnx2 *bp; bnx2_init_one() local 8600 struct bnx2 *bp = netdev_priv(dev); bnx2_remove_one() local 8625 struct bnx2 *bp = netdev_priv(dev); bnx2_suspend() local 8644 struct bnx2 *bp = netdev_priv(dev); bnx2_resume() local 8677 struct bnx2 *bp = netdev_priv(dev); bnx2_io_error_detected() local 8709 struct bnx2 *bp = netdev_priv(dev); bnx2_io_slot_reset() local 8747 struct bnx2 *bp = netdev_priv(dev); bnx2_io_resume() local 8760 struct bnx2 *bp; bnx2_shutdown() local [all...] |
| H A D | b44.c | 74 #define TX_RING_GAP(BP) \ argument 75 (B44_TX_RING_SIZE - (BP)->tx_pending) 76 #define TX_BUFFS_AVAIL(BP) \ argument 77 (((BP)->tx_cons <= (BP)->tx_prod) ? \ 78 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \ 79 (BP)->tx_cons - (BP) 165 br32(const struct b44 * bp,unsigned long reg) br32() argument 170 bw32(const struct b44 * bp,unsigned long reg,unsigned long val) bw32() argument 176 b44_wait_bit(struct b44 * bp,unsigned long reg,u32 bit,unsigned long timeout,const int clear) b44_wait_bit() argument 200 __b44_cam_write(struct b44 * bp,const unsigned char * data,int index) __b44_cam_write() argument 219 __b44_disable_ints(struct b44 * bp) __b44_disable_ints() argument 224 b44_disable_ints(struct b44 * bp) b44_disable_ints() argument 232 b44_enable_ints(struct b44 * bp) b44_enable_ints() argument 237 __b44_readphy(struct b44 * bp,int phy_addr,int reg,u32 * val) __b44_readphy() argument 253 __b44_writephy(struct b44 * bp,int phy_addr,int reg,u32 val) __b44_writephy() argument 265 b44_readphy(struct b44 * bp,int reg,u32 * val) b44_readphy() argument 273 b44_writephy(struct b44 * bp,int reg,u32 val) b44_writephy() argument 285 struct b44 *bp = netdev_priv(dev); b44_mdio_read_mii() local 295 struct b44 *bp = netdev_priv(dev); b44_mdio_write_mii() local 302 struct b44 *bp = bus->priv; b44_mdio_read_phylib() local 312 struct b44 *bp = bus->priv; b44_mdio_write_phylib() local 316 b44_phy_reset(struct b44 * bp) b44_phy_reset() argument 338 __b44_set_flow_ctrl(struct b44 * bp,u32 pause_flags) __b44_set_flow_ctrl() argument 361 b44_set_flow_ctrl(struct b44 * bp,u32 local,u32 remote) b44_set_flow_ctrl() argument 382 b44_wap54g10_workaround(struct b44 * bp) b44_wap54g10_workaround() argument 411 b44_wap54g10_workaround(struct b44 * bp) b44_wap54g10_workaround() argument 416 b44_setup_phy(struct b44 * bp) b44_setup_phy() argument 480 b44_stats_update(struct b44 * bp) b44_stats_update() argument 499 b44_link_report(struct b44 * bp) b44_link_report() argument 514 b44_check_phy(struct b44 * bp) b44_check_phy() argument 579 struct b44 *bp = timer_container_of(bp, t, timer); b44_timer() local 592 b44_tx(struct b44 * bp) b44_tx() argument 633 b44_alloc_rx_skb(struct b44 * bp,int src_idx,u32 dest_idx_unmasked) b44_alloc_rx_skb() argument 708 b44_recycle_rx(struct b44 * bp,int src_idx,u32 dest_idx_unmasked) b44_recycle_rx() argument 754 b44_rx(struct b44 * bp,int budget) b44_rx() argument 843 struct b44 *bp = container_of(napi, struct b44, napi); b44_poll() local 890 struct b44 *bp = netdev_priv(dev); b44_interrupt() local 931 struct b44 *bp = netdev_priv(dev); b44_tx_timeout() local 950 struct b44 *bp = netdev_priv(dev); b44_start_xmit() local 1040 struct b44 *bp = netdev_priv(dev); b44_change_mtu() local 1069 b44_free_rings(struct b44 * bp) b44_free_rings() argument 1104 b44_init_rings(struct b44 * bp) b44_init_rings() argument 1131 b44_free_consistent(struct b44 * bp) b44_free_consistent() argument 1165 b44_alloc_consistent(struct b44 * bp,gfp_t gfp) b44_alloc_consistent() argument 1244 b44_clear_stats(struct b44 * bp) b44_clear_stats() argument 1256 b44_chip_reset(struct b44 * bp,int reset_kind) b44_chip_reset() argument 1325 b44_halt(struct b44 * bp) b44_halt() argument 1342 __b44_set_mac_addr(struct b44 * bp) __b44_set_mac_addr() argument 1356 struct b44 *bp = netdev_priv(dev); b44_set_mac_addr() local 1383 b44_init_hw(struct b44 * bp,int reset_kind) b44_init_hw() argument 1429 struct b44 *bp = netdev_priv(dev); b44_open() local 1479 bwfilter_table(struct b44 * bp,u8 * pp,u32 bytes,u32 table_offset) bwfilter_table() argument 1523 b44_setup_pseudo_magicp(struct b44 * bp) b44_setup_pseudo_magicp() argument 1578 b44_setup_wol_pci(struct b44 * bp) b44_setup_wol_pci() argument 1589 b44_setup_wol_pci(struct b44 * bp) b44_setup_wol_pci() argument 1592 b44_setup_wol(struct b44 * bp) b44_setup_wol() argument 1623 struct b44 *bp = netdev_priv(dev); b44_close() local 1657 struct b44 *bp = netdev_priv(dev); b44_get_stats64() local 1700 __b44_load_mcast(struct b44 * bp,struct net_device * dev) __b44_load_mcast() argument 1717 struct b44 *bp = netdev_priv(dev); __b44_set_rx_mode() local 1748 struct b44 *bp = netdev_priv(dev); b44_set_rx_mode() local 1757 struct b44 *bp = netdev_priv(dev); b44_get_msglevel() local 1763 struct b44 *bp = netdev_priv(dev); b44_set_msglevel() local 1769 struct b44 *bp = netdev_priv(dev); b44_get_drvinfo() local 1789 struct b44 *bp = netdev_priv(dev); b44_nway_reset() local 1811 struct b44 *bp = netdev_priv(dev); b44_get_link_ksettings() local 1865 struct b44 *bp = netdev_priv(dev); b44_set_link_ksettings() local 1948 struct b44 *bp = netdev_priv(dev); b44_get_ringparam() local 1961 struct b44 *bp = netdev_priv(dev); b44_set_ringparam() local 1988 struct b44 *bp = netdev_priv(dev); b44_get_pauseparam() local 2001 struct b44 *bp = netdev_priv(dev); b44_set_pauseparam() local 2054 struct b44 *bp = netdev_priv(dev); b44_get_ethtool_stats() local 2077 struct b44 *bp = netdev_priv(dev); b44_get_wol() local 2089 struct b44 *bp = netdev_priv(dev); b44_set_wol() local 2123 struct b44 *bp = netdev_priv(dev); b44_ioctl() local 2141 b44_get_invariants(struct b44 * bp) b44_get_invariants() argument 2199 struct b44 *bp = netdev_priv(dev); b44_adjust_link() local 2234 b44_register_phy_one(struct b44 * bp) b44_register_phy_one() argument 2313 b44_unregister_phy_one(struct b44 * bp) b44_unregister_phy_one() argument 2332 struct b44 *bp; b44_init_one() local 2461 struct b44 *bp = netdev_priv(dev); b44_remove_one() local 2477 struct b44 *bp = netdev_priv(dev); b44_suspend() local 2506 struct b44 *bp = netdev_priv(dev); b44_resume() local [all...] |
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_main.c | 306 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp); 317 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() argument 320 REG_WR(bp, addr, U64_LO(mapping)); in __storm_memset_dma_mapping() 321 REG_WR(bp, addr + 4, U64_HI(mapping)); in __storm_memset_dma_mapping() 324 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() argument 330 __storm_memset_dma_mapping(bp, addr, mapping); in storm_memset_spq_addr() 333 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 336 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 338 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 340 REG_WR8(bp, BAR_TSTRORM_INTME in storm_memset_vf_to_pf() 346 storm_memset_func_en(struct bnx2x * bp,u16 abs_fid,u8 enable) storm_memset_func_en() argument 359 storm_memset_eq_data(struct bnx2x * bp,struct event_ring_data * eq_data,u16 pfid) storm_memset_eq_data() argument 370 storm_memset_eq_prod(struct bnx2x * bp,u16 eq_prod,u16 pfid) storm_memset_eq_prod() argument 380 bnx2x_reg_wr_ind(struct bnx2x * bp,u32 addr,u32 val) bnx2x_reg_wr_ind() argument 388 bnx2x_reg_rd_ind(struct bnx2x * bp,u32 addr) bnx2x_reg_rd_ind() argument 406 bnx2x_dp_dmae(struct bnx2x * bp,struct dmae_command * dmae,int msglvl) bnx2x_dp_dmae() argument 473 bnx2x_post_dmae(struct bnx2x * bp,struct dmae_command * dmae,int idx) bnx2x_post_dmae() argument 496 bnx2x_dmae_opcode(struct bnx2x * bp,u8 src_type,u8 dst_type,bool with_comp,u8 comp_type) bnx2x_dmae_opcode() argument 521 bnx2x_prep_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u8 src_type,u8 dst_type) bnx2x_prep_dmae_with_comp() argument 538 bnx2x_issue_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u32 * comp) bnx2x_issue_dmae_with_comp() argument 585 bnx2x_write_dmae(struct bnx2x * bp,dma_addr_t dma_addr,u32 dst_addr,u32 len32) bnx2x_write_dmae() argument 621 bnx2x_read_dmae(struct bnx2x * bp,u32 src_addr,u32 len32) bnx2x_read_dmae() argument 660 bnx2x_write_dmae_phys_len(struct bnx2x * bp,dma_addr_t phys_addr,u32 addr,u32 len) bnx2x_write_dmae_phys_len() argument 687 bnx2x_get_assert_list_entry(struct bnx2x * bp,enum storms storm,int entry) bnx2x_get_assert_list_entry() argument 707 bnx2x_mc_assert(struct bnx2x * bp) bnx2x_mc_assert() argument 771 SCRATCH_BUFFER_SIZE(bp) global() argument 774 bnx2x_fw_dump_lvl(struct bnx2x * bp,const char * lvl) bnx2x_fw_dump_lvl() argument 852 bnx2x_fw_dump(struct bnx2x * bp) bnx2x_fw_dump() argument 857 bnx2x_hc_int_disable(struct bnx2x * bp) bnx2x_hc_int_disable() argument 892 bnx2x_igu_int_disable(struct bnx2x * bp) bnx2x_igu_int_disable() argument 907 bnx2x_int_disable(struct bnx2x * bp) bnx2x_int_disable() argument 915 bnx2x_panic_dump(struct bnx2x * bp,bool disable_int) bnx2x_panic_dump() argument 1230 bnx2x_pbf_pN_buf_flushed(struct bnx2x * bp,struct pbf_pN_buf_regs * regs,u32 poll_count) bnx2x_pbf_pN_buf_flushed() argument 1265 bnx2x_pbf_pN_cmd_flushed(struct bnx2x * bp,struct pbf_pN_cmd_regs * regs,u32 poll_count) bnx2x_pbf_pN_cmd_flushed() argument 1297 bnx2x_flr_clnup_reg_poll(struct bnx2x * bp,u32 reg,u32 expected,u32 poll_count) bnx2x_flr_clnup_reg_poll() argument 1309 bnx2x_flr_clnup_poll_hw_counter(struct bnx2x * bp,u32 reg,char * msg,u32 poll_cnt) bnx2x_flr_clnup_poll_hw_counter() argument 1321 bnx2x_flr_clnup_poll_count(struct bnx2x * bp) bnx2x_flr_clnup_poll_count() argument 1333 bnx2x_tx_hw_flushed(struct bnx2x * bp,u32 poll_count) bnx2x_tx_hw_flushed() argument 1406 bnx2x_send_final_clnup(struct bnx2x * bp,u8 clnup_func,u32 poll_cnt) bnx2x_send_final_clnup() argument 1448 bnx2x_poll_hw_usage_counters(struct bnx2x * bp,u32 poll_cnt) bnx2x_poll_hw_usage_counters() argument 1493 bnx2x_hw_enable_status(struct bnx2x * bp) bnx2x_hw_enable_status() argument 1523 bnx2x_pf_flr_clnup(struct bnx2x * bp) bnx2x_pf_flr_clnup() argument 1567 bnx2x_hc_int_enable(struct bnx2x * bp) bnx2x_hc_int_enable() argument 1632 bnx2x_igu_int_enable(struct bnx2x * bp) bnx2x_igu_int_enable() argument 1692 bnx2x_int_enable(struct bnx2x * bp) bnx2x_int_enable() argument 1700 bnx2x_int_disable_sync(struct bnx2x * bp,int disable_hw) bnx2x_int_disable_sync() argument 1733 bnx2x_trylock_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_trylock_hw_lock() argument 1776 bnx2x_get_leader_lock_resource(struct bnx2x * bp) bnx2x_get_leader_lock_resource() argument 1791 bnx2x_trylock_leader_lock(struct bnx2x * bp) bnx2x_trylock_leader_lock() argument 1799 bnx2x_schedule_sp_task(struct bnx2x * bp) bnx2x_schedule_sp_task() argument 1819 struct bnx2x *bp = fp->bp; bnx2x_sp_event() local 1927 struct bnx2x *bp = netdev_priv(dev_instance); bnx2x_interrupt() local 2000 bnx2x_acquire_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_acquire_hw_lock() argument 2044 bnx2x_release_leader_lock(struct bnx2x * bp) bnx2x_release_leader_lock() argument 2049 bnx2x_release_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_release_hw_lock() argument 2082 bnx2x_get_gpio(struct bnx2x * bp,int gpio_num,u8 port) bnx2x_get_gpio() argument 2110 bnx2x_set_gpio(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio() argument 2166 bnx2x_set_mult_gpio(struct bnx2x * bp,u8 pins,u32 mode) bnx2x_set_mult_gpio() argument 2213 bnx2x_set_gpio_int(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio_int() argument 2261 bnx2x_set_spio(struct bnx2x * bp,int spio,u32 mode) bnx2x_set_spio() argument 2306 bnx2x_calc_fc_adv(struct bnx2x * bp) bnx2x_calc_fc_adv() argument 2328 bnx2x_set_requested_fc(struct bnx2x * bp) bnx2x_set_requested_fc() argument 2340 bnx2x_init_dropless_fc(struct bnx2x * bp) bnx2x_init_dropless_fc() argument 2357 bnx2x_initial_phy_init(struct bnx2x * bp,int load_mode) bnx2x_initial_phy_init() argument 2410 bnx2x_link_set(struct bnx2x * bp) bnx2x_link_set() argument 2424 bnx2x__link_reset(struct bnx2x * bp) bnx2x__link_reset() argument 2434 bnx2x_force_link_reset(struct bnx2x * bp) bnx2x_force_link_reset() argument 2441 bnx2x_link_test(struct bnx2x * bp,u8 is_serdes) bnx2x_link_test() argument 2465 bnx2x_calc_vn_min(struct bnx2x * bp,struct cmng_init_input * input) bnx2x_calc_vn_min() argument 2503 bnx2x_calc_vn_max(struct bnx2x * bp,int vn,struct cmng_init_input * input) bnx2x_calc_vn_max() argument 2527 bnx2x_get_cmng_fns_mode(struct bnx2x * bp) bnx2x_get_cmng_fns_mode() argument 2537 bnx2x_read_mf_cfg(struct bnx2x * bp) bnx2x_read_mf_cfg() argument 2573 bnx2x_cmng_fns_init(struct bnx2x * bp,u8 read_cfg,u8 cmng_type) bnx2x_cmng_fns_init() argument 2608 storm_memset_cmng(struct bnx2x * bp,struct cmng_init * cmng,u8 port) storm_memset_cmng() argument 2638 bnx2x_set_local_cmng(struct bnx2x * bp) bnx2x_set_local_cmng() argument 2653 bnx2x_link_attn(struct bnx2x * bp) bnx2x_link_attn() argument 2685 bnx2x__link_status_update(struct bnx2x * bp) bnx2x__link_status_update() argument 2744 bnx2x_afex_func_update(struct bnx2x * bp,u16 vifid,u16 vlan_val,u8 allowed_prio) bnx2x_afex_func_update() argument 2769 bnx2x_afex_handle_vif_list_cmd(struct bnx2x * bp,u8 cmd_type,u16 vif_index,u8 func_bit_map) bnx2x_afex_handle_vif_list_cmd() argument 2807 bnx2x_handle_afex_cmd(struct bnx2x * bp,u32 cmd) bnx2x_handle_afex_cmd() argument 2928 bnx2x_handle_update_svid_cmd(struct bnx2x * bp) bnx2x_handle_update_svid_cmd() argument 2983 bnx2x_pmf_update(struct bnx2x * bp) bnx2x_pmf_update() argument 3024 bnx2x_fw_command(struct bnx2x * bp,u32 command,u32 param) bnx2x_fw_command() argument 3066 storm_memset_func_cfg(struct bnx2x * bp,struct tstorm_eth_function_common_config * tcfg,u16 abs_fid) storm_memset_func_cfg() argument 3078 bnx2x_func_init(struct bnx2x * bp,struct bnx2x_func_init_params * p) bnx2x_func_init() argument 3107 bnx2x_get_common_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool zero_stats) bnx2x_get_common_flags() argument 3138 bnx2x_get_q_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_get_q_flags() argument 3176 bnx2x_pf_q_prep_general(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_general_setup_params * gen_init,u8 cos) bnx2x_pf_q_prep_general() argument 3194 bnx2x_pf_rx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct rxq_pause_params * pause,struct bnx2x_rxq_setup_params * rxq_init) bnx2x_pf_rx_q_prep() argument 3282 bnx2x_pf_tx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_txq_setup_params * txq_init,u8 cos) bnx2x_pf_tx_q_prep() argument 3303 bnx2x_pf_init(struct bnx2x * bp) bnx2x_pf_init() argument 3355 bnx2x_e1h_disable(struct bnx2x * bp) bnx2x_e1h_disable() argument 3364 bnx2x_e1h_enable(struct bnx2x * bp) bnx2x_e1h_enable() argument 3382 bnx2x_drv_info_ether_stat(struct bnx2x * bp) bnx2x_drv_info_ether_stat() argument 3425 bnx2x_drv_info_fcoe_stat(struct bnx2x * bp) bnx2x_drv_info_fcoe_stat() argument 3527 bnx2x_drv_info_iscsi_stat(struct bnx2x * bp) bnx2x_drv_info_iscsi_stat() argument 3551 bnx2x_config_mf_bw(struct bnx2x * bp) bnx2x_config_mf_bw() argument 3570 bnx2x_set_mf_bw(struct bnx2x * bp) bnx2x_set_mf_bw() argument 3576 bnx2x_handle_eee_event(struct bnx2x * bp) bnx2x_handle_eee_event() argument 3585 bnx2x_handle_drv_info_req(struct bnx2x * bp) bnx2x_handle_drv_info_req() argument 3686 bnx2x_update_mng_version(struct bnx2x * bp) bnx2x_update_mng_version() argument 3734 bnx2x_update_mfw_dump(struct bnx2x * bp) bnx2x_update_mfw_dump() argument 3760 bnx2x_oem_event(struct bnx2x * bp,u32 event) bnx2x_oem_event() argument 3817 bnx2x_sp_get_next(struct bnx2x * bp) bnx2x_sp_get_next() argument 3833 bnx2x_sp_prod_update(struct bnx2x * bp) bnx2x_sp_prod_update() argument 3882 bnx2x_sp_post(struct bnx2x * bp,int command,int cid,u32 data_hi,u32 data_lo,int cmd_type) bnx2x_sp_post() argument 3961 bnx2x_acquire_alr(struct bnx2x * bp) bnx2x_acquire_alr() argument 3984 bnx2x_release_alr(struct bnx2x * bp) bnx2x_release_alr() argument 3992 bnx2x_update_dsb_idx(struct bnx2x * bp) bnx2x_update_dsb_idx() argument 4017 bnx2x_attn_int_asserted(struct bnx2x * bp,u32 asserted) bnx2x_attn_int_asserted() argument 4139 bnx2x_fan_failure(struct bnx2x * bp) bnx2x_fan_failure() argument 4164 bnx2x_attn_int_deasserted0(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted0() argument 4204 bnx2x_attn_int_deasserted1(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted1() argument 4235 bnx2x_attn_int_deasserted2(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted2() argument 4279 bnx2x_attn_int_deasserted3(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted3() argument 4410 bnx2x_set_reset_global(struct bnx2x * bp) bnx2x_set_reset_global() argument 4424 bnx2x_clear_reset_global(struct bnx2x * bp) bnx2x_clear_reset_global() argument 4438 bnx2x_reset_is_global(struct bnx2x * bp) bnx2x_reset_is_global() argument 4451 bnx2x_set_reset_done(struct bnx2x * bp) bnx2x_set_reset_done() argument 4471 bnx2x_set_reset_in_progress(struct bnx2x * bp) bnx2x_set_reset_in_progress() argument 4489 bnx2x_reset_is_done(struct bnx2x * bp,int engine) bnx2x_reset_is_done() argument 4504 bnx2x_set_pf_load(struct bnx2x * bp) bnx2x_set_pf_load() argument 4542 bnx2x_clear_pf_load(struct bnx2x * bp) bnx2x_clear_pf_load() argument 4576 bnx2x_get_load_status(struct bnx2x * bp,int engine) bnx2x_get_load_status() argument 4594 _print_parity(struct bnx2x * bp,u32 reg) _print_parity() argument 4604 bnx2x_check_blocks_with_parity0(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity0() argument 4668 bnx2x_check_blocks_with_parity1(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity1() argument 4812 bnx2x_check_blocks_with_parity2(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity2() argument 4886 bnx2x_check_blocks_with_parity3(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity3() argument 4935 bnx2x_check_blocks_with_parity4(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity4() argument 4971 bnx2x_parity_attn(struct bnx2x * bp,bool * global,bool print,u32 * sig) bnx2x_parity_attn() argument 5027 bnx2x_chk_parity_attn(struct bnx2x * bp,bool * global,bool print) bnx2x_chk_parity_attn() argument 5061 bnx2x_attn_int_deasserted4(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted4() argument 5114 bnx2x_attn_int_deasserted(struct bnx2x * bp,u32 deasserted) bnx2x_attn_int_deasserted() argument 5215 bnx2x_attn_int(struct bnx2x * bp) bnx2x_attn_int() argument 5243 bnx2x_igu_ack_sb(struct bnx2x * bp,u8 igu_sb_id,u8 segment,u16 index,u8 op,u8 update) bnx2x_igu_ack_sb() argument 5252 bnx2x_update_eq_prod(struct bnx2x * bp,u16 prod) bnx2x_update_eq_prod() argument 5258 bnx2x_cnic_handle_cfc_del(struct bnx2x * bp,u32 cid,union event_ring_elem * elem) bnx2x_cnic_handle_cfc_del() argument 5280 bnx2x_handle_mcast_eqe(struct bnx2x * bp) bnx2x_handle_mcast_eqe() argument 5305 bnx2x_handle_classification_eqe(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_handle_classification_eqe() argument 5352 bnx2x_handle_rx_mode_eqe(struct bnx2x * bp) bnx2x_handle_rx_mode_eqe() argument 5371 bnx2x_after_afex_vif_lists(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_after_afex_vif_lists() argument 5388 bnx2x_after_function_update(struct bnx2x * bp) bnx2x_after_function_update() argument 5453 bnx2x_cid_to_q_obj(struct bnx2x * bp,u32 cid) bnx2x_cid_to_q_obj() argument 5463 bnx2x_eq_int(struct bnx2x * bp) bnx2x_eq_int() argument 5687 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); bnx2x_sp_task() local 5751 struct bnx2x *bp = netdev_priv(dev); bnx2x_msix_sp_int() local 5781 bnx2x_drv_pulse(struct bnx2x * bp) bnx2x_drv_pulse() argument 5789 struct bnx2x *bp = timer_container_of(bp, t, timer); bnx2x_timer() local 5835 bnx2x_fill(struct bnx2x * bp,u32 addr,int fill,u32 len) bnx2x_fill() argument 5847 bnx2x_wr_fp_sb_data(struct bnx2x * bp,int fw_sb_id,u32 * sb_data_p,u32 data_size) bnx2x_wr_fp_sb_data() argument 5860 bnx2x_zero_fp_sb(struct bnx2x * bp,int fw_sb_id) bnx2x_zero_fp_sb() argument 5893 bnx2x_wr_sp_sb_data(struct bnx2x * bp,struct hc_sp_status_block_data * sp_sb_data) bnx2x_wr_sp_sb_data() argument 5905 bnx2x_zero_sp_sb(struct bnx2x * bp) bnx2x_zero_sp_sb() argument 5962 bnx2x_init_sb(struct bnx2x * bp,dma_addr_t mapping,int vfid,u8 vf_valid,int fw_sb_id,int igu_sb_id) bnx2x_init_sb() argument 6022 bnx2x_update_coalesce_sb(struct bnx2x * bp,u8 fw_sb_id,u16 tx_usec,u16 rx_usec) bnx2x_update_coalesce_sb() argument 6038 bnx2x_init_def_sb(struct bnx2x * bp) bnx2x_init_def_sb() argument 6121 bnx2x_update_coalesce(struct bnx2x * bp) bnx2x_update_coalesce() argument 6130 bnx2x_init_sp_ring(struct bnx2x * bp) bnx2x_init_sp_ring() argument 6141 bnx2x_init_eq_ring(struct bnx2x * bp) bnx2x_init_eq_ring() argument 6164 bnx2x_set_q_rx_mode(struct bnx2x * bp,u8 cl_id,unsigned long rx_mode_flags,unsigned long rx_accept_flags,unsigned long tx_accept_flags,unsigned long ramrod_flags) bnx2x_set_q_rx_mode() argument 6204 bnx2x_fill_accept_flags(struct bnx2x * bp,u32 rx_mode,unsigned long * rx_accept_flags,unsigned long * tx_accept_flags) bnx2x_fill_accept_flags() argument 6283 bnx2x_set_storm_rx_mode(struct bnx2x * bp) bnx2x_set_storm_rx_mode() argument 6306 bnx2x_init_internal_common(struct bnx2x * bp) bnx2x_init_internal_common() argument 6322 bnx2x_init_internal(struct bnx2x * bp,u32 load_code) bnx2x_init_internal() argument 6363 bnx2x_init_eth_fp(struct bnx2x * bp,int fp_idx) bnx2x_init_eth_fp() argument 6449 bnx2x_init_tx_rings_cnic(struct bnx2x * bp) bnx2x_init_tx_rings_cnic() argument 6457 bnx2x_init_tx_rings(struct bnx2x * bp) bnx2x_init_tx_rings() argument 6467 bnx2x_init_fcoe_fp(struct bnx2x * bp) bnx2x_init_fcoe_fp() argument 6508 bnx2x_nic_init_cnic(struct bnx2x * bp) bnx2x_nic_init_cnic() argument 6526 bnx2x_pre_irq_nic_init(struct bnx2x * bp) bnx2x_pre_irq_nic_init() argument 6554 bnx2x_post_irq_nic_init(struct bnx2x * bp,u32 load_code) bnx2x_post_irq_nic_init() argument 6573 bnx2x_gunzip_init(struct bnx2x * bp) bnx2x_gunzip_init() argument 6604 bnx2x_gunzip_end(struct bnx2x * bp) bnx2x_gunzip_end() argument 6619 bnx2x_gunzip(struct bnx2x * bp,const u8 * zbuf,int len) bnx2x_gunzip() argument 6672 bnx2x_lb_pckt(struct bnx2x * bp) bnx2x_lb_pckt() argument 6693 bnx2x_int_mem_test(struct bnx2x * bp) bnx2x_int_mem_test() argument 6838 bnx2x_enable_blocks_attention(struct bnx2x * bp) bnx2x_enable_blocks_attention() argument 6898 bnx2x_reset_common(struct bnx2x * bp) bnx2x_reset_common() argument 6914 bnx2x_setup_dmae(struct bnx2x * bp) bnx2x_setup_dmae() argument 6920 bnx2x_init_pxp(struct bnx2x * bp) bnx2x_init_pxp() argument 6938 bnx2x_setup_fan_failure_detection(struct bnx2x * bp) bnx2x_setup_fan_failure_detection() argument 6988 bnx2x_pf_disable(struct bnx2x * bp) bnx2x_pf_disable() argument 6998 bnx2x__common_init_phy(struct bnx2x * bp) bnx2x__common_init_phy() argument 7019 bnx2x_config_endianity(struct bnx2x * bp,u32 val) bnx2x_config_endianity() argument 7036 bnx2x_set_endianity(struct bnx2x * bp) bnx2x_set_endianity() argument 7045 bnx2x_reset_endianity(struct bnx2x * bp) bnx2x_reset_endianity() argument 7055 bnx2x_init_hw_common(struct bnx2x * bp) bnx2x_init_hw_common() argument 7501 bnx2x_init_hw_common_chip(struct bnx2x * bp) bnx2x_init_hw_common_chip() argument 7515 bnx2x_init_hw_port(struct bnx2x * bp) bnx2x_init_hw_port() argument 7743 bnx2x_ilt_wr(struct bnx2x * bp,u32 index,dma_addr_t addr) bnx2x_ilt_wr() argument 7758 bnx2x_igu_clear_sb_gen(struct bnx2x * bp,u8 func,u8 idu_sb_id,bool is_pf) bnx2x_igu_clear_sb_gen() argument 7801 bnx2x_igu_clear_sb(struct bnx2x * bp,u8 idu_sb_id) bnx2x_igu_clear_sb() argument 7806 bnx2x_clear_func_ilt(struct bnx2x * bp,u32 func) bnx2x_clear_func_ilt() argument 7813 bnx2x_init_searcher(struct bnx2x * bp) bnx2x_init_searcher() argument 7821 bnx2x_func_switch_update(struct bnx2x * bp,int suspend) bnx2x_func_switch_update() argument 7847 bnx2x_reset_nic_mode(struct bnx2x * bp) bnx2x_reset_nic_mode() argument 7919 bnx2x_init_hw_func_cnic(struct bnx2x * bp) bnx2x_init_hw_func_cnic() argument 7946 bnx2x_clean_pglue_errors(struct bnx2x * bp) bnx2x_clean_pglue_errors() argument 7953 bnx2x_init_hw_func(struct bnx2x * bp) bnx2x_init_hw_func() argument 8270 bnx2x_free_mem_cnic(struct bnx2x * bp) bnx2x_free_mem_cnic() argument 8284 bnx2x_free_mem(struct bnx2x * bp) bnx2x_free_mem() argument 8317 bnx2x_alloc_mem_cnic(struct bnx2x * bp) bnx2x_alloc_mem_cnic() argument 8354 bnx2x_alloc_mem(struct bnx2x * bp) bnx2x_alloc_mem() argument 8432 bnx2x_set_mac_one(struct bnx2x * bp,const u8 * mac,struct bnx2x_vlan_mac_obj * obj,bool set,int mac_type,unsigned long * ramrod_flags) bnx2x_set_mac_one() argument 8470 bnx2x_set_vlan_one(struct bnx2x * bp,u16 vlan,struct bnx2x_vlan_mac_obj * obj,bool set,unsigned long * ramrod_flags) bnx2x_set_vlan_one() argument 8507 bnx2x_clear_vlan_info(struct bnx2x * bp) bnx2x_clear_vlan_info() argument 8518 bnx2x_del_all_vlans(struct bnx2x * bp) bnx2x_del_all_vlans() argument 8535 bnx2x_del_all_macs(struct bnx2x * bp,struct bnx2x_vlan_mac_obj * mac_obj,int mac_type,bool wait_for_comp) bnx2x_del_all_macs() argument 8556 bnx2x_set_eth_mac(struct bnx2x * bp,bool set) bnx2x_set_eth_mac() argument 8572 bnx2x_setup_leading(struct bnx2x * bp) bnx2x_setup_leading() argument 8587 bnx2x_set_int_mode(struct bnx2x * bp) bnx2x_set_int_mode() argument 8632 bnx2x_cid_ilt_lines(struct bnx2x * bp) bnx2x_cid_ilt_lines() argument 8639 bnx2x_ilt_set_info(struct bnx2x * bp) bnx2x_ilt_set_info() argument 8740 bnx2x_pf_q_prep_init(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_init_params * init_params) bnx2x_pf_q_prep_init() argument 8791 bnx2x_setup_tx_only(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_state_params * q_params,struct bnx2x_queue_setup_tx_only_params * tx_only_params,int tx_index,bool leading) bnx2x_setup_tx_only() argument 8834 bnx2x_setup_queue(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_setup_queue() argument 8918 bnx2x_stop_queue(struct bnx2x * bp,int index) bnx2x_stop_queue() argument 8984 bnx2x_reset_func(struct bnx2x * bp) bnx2x_reset_func() argument 9065 bnx2x_reset_port(struct bnx2x * bp) bnx2x_reset_port() argument 9094 bnx2x_reset_hw(struct bnx2x * bp,u32 load_code) bnx2x_reset_hw() argument 9109 bnx2x_func_stop(struct bnx2x * bp) bnx2x_func_stop() argument 9147 bnx2x_send_unload_req(struct bnx2x * bp,int unload_mode) bnx2x_send_unload_req() argument 9219 bnx2x_send_unload_done(struct bnx2x * bp,bool keep_link) bnx2x_send_unload_done() argument 9228 bnx2x_func_wait_started(struct bnx2x * bp) bnx2x_func_wait_started() argument 9295 bnx2x_disable_ptp(struct bnx2x * bp) bnx2x_disable_ptp() argument 9319 bnx2x_stop_ptp(struct bnx2x * bp) bnx2x_stop_ptp() argument 9337 bnx2x_chip_cleanup(struct bnx2x * bp,int unload_mode,bool keep_link) bnx2x_chip_cleanup() argument 9507 bnx2x_disable_close_the_gate(struct bnx2x * bp) bnx2x_disable_close_the_gate() argument 9530 bnx2x_set_234_gates(struct bnx2x * bp,bool close) bnx2x_set_234_gates() argument 9570 bnx2x_clp_reset_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_clp_reset_prep() argument 9584 bnx2x_clp_reset_done(struct bnx2x * bp,u32 magic_val) bnx2x_clp_reset_done() argument 9600 bnx2x_reset_mcp_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_reset_mcp_prep() argument 9629 bnx2x_mcp_wait_one(struct bnx2x * bp) bnx2x_mcp_wait_one() argument 9642 bnx2x_init_shmem(struct bnx2x * bp) bnx2x_init_shmem() argument 9673 bnx2x_reset_mcp_comp(struct bnx2x * bp,u32 magic_val) bnx2x_reset_mcp_comp() argument 9684 bnx2x_pxp_prep(struct bnx2x * bp) bnx2x_pxp_prep() argument 9702 bnx2x_process_kill_chip_reset(struct bnx2x * bp,bool global) bnx2x_process_kill_chip_reset() argument 9806 bnx2x_er_poll_igu_vq(struct bnx2x * bp) bnx2x_er_poll_igu_vq() argument 9829 bnx2x_process_kill(struct bnx2x * bp,bool global) bnx2x_process_kill() argument 9916 bnx2x_leader_reset(struct bnx2x * bp) bnx2x_leader_reset() argument 9976 bnx2x_recovery_failed(struct bnx2x * bp) bnx2x_recovery_failed() argument 10002 bnx2x_parity_recover(struct bnx2x * bp) bnx2x_parity_recover() argument 10165 bnx2x_udp_port_update(struct bnx2x * bp) bnx2x_udp_port_update() argument 10213 struct bnx2x *bp = netdev_priv(netdev); bnx2x_udp_tunnel_sync() local 10238 struct bnx2x *bp = container_of(work, struct bnx2x, sp_rtnl_task.work); bnx2x_sp_rtnl_task() local 10368 struct bnx2x *bp = container_of(work, struct bnx2x, period_task.work); bnx2x_period_task() local 10401 bnx2x_get_pretend_reg(struct bnx2x * bp) bnx2x_get_pretend_reg() argument 10408 bnx2x_prev_unload_close_umac(struct bnx2x * bp,u8 port,u32 reset_reg,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_umac() argument 10427 bnx2x_prev_unload_close_mac(struct bnx2x * bp,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_mac() argument 10506 bnx2x_prev_is_after_undi(struct bnx2x * bp) bnx2x_prev_is_after_undi() argument 10523 bnx2x_prev_unload_undi_inc(struct bnx2x * bp,u8 inc) bnx2x_prev_unload_undi_inc() argument 10544 bnx2x_prev_mcp_done(struct bnx2x * bp) bnx2x_prev_mcp_done() argument 10557 bnx2x_prev_path_get_entry(struct bnx2x * bp) bnx2x_prev_path_get_entry() argument 10570 bnx2x_prev_path_mark_eeh(struct bnx2x * bp) bnx2x_prev_path_mark_eeh() argument 10595 bnx2x_prev_is_path_marked(struct bnx2x * bp) bnx2x_prev_is_path_marked() argument 10620 bnx2x_port_after_undi(struct bnx2x * bp) bnx2x_port_after_undi() argument 10635 bnx2x_prev_mark_path(struct bnx2x * bp,bool after_undi) bnx2x_prev_mark_path() argument 10688 bnx2x_do_flr(struct bnx2x * bp) bnx2x_do_flr() argument 10713 bnx2x_prev_unload_uncommon(struct bnx2x * bp) bnx2x_prev_unload_uncommon() argument 10758 bnx2x_prev_unload_common(struct bnx2x * bp) bnx2x_prev_unload_common() argument 10855 bnx2x_prev_unload(struct bnx2x * bp) bnx2x_prev_unload() argument 10938 bnx2x_get_common_hwinfo(struct bnx2x * bp) bnx2x_get_common_hwinfo() argument 11127 bnx2x_get_igu_cam_info(struct bnx2x * bp) bnx2x_get_igu_cam_info() argument 11186 bnx2x_link_settings_supported(struct bnx2x * bp,u32 switch_cfg) bnx2x_link_settings_supported() argument 11287 bnx2x_link_settings_requested(struct bnx2x * bp) bnx2x_link_settings_requested() argument 11494 bnx2x_get_port_hwinfo(struct bnx2x * bp) bnx2x_get_port_hwinfo() argument 11578 bnx2x_get_iscsi_info(struct bnx2x * bp) bnx2x_get_iscsi_info() argument 11606 bnx2x_get_ext_wwn_info(struct bnx2x * bp,int func) bnx2x_get_ext_wwn_info() argument 11621 bnx2x_shared_fcoe_funcs(struct bnx2x * bp) bnx2x_shared_fcoe_funcs() argument 11663 bnx2x_get_fcoe_info(struct bnx2x * bp) bnx2x_get_fcoe_info() argument 11732 bnx2x_get_cnic_info(struct bnx2x * bp) bnx2x_get_cnic_info() argument 11743 bnx2x_get_cnic_mac_hwinfo(struct bnx2x * bp) bnx2x_get_cnic_mac_hwinfo() argument 11835 bnx2x_get_mac_hwinfo(struct bnx2x * bp) bnx2x_get_mac_hwinfo() argument 11887 bnx2x_get_dropless_info(struct bnx2x * bp) bnx2x_get_dropless_info() argument 11910 validate_set_si_mode(struct bnx2x * bp) validate_set_si_mode() argument 11926 bnx2x_get_hwinfo(struct bnx2x * bp) bnx2x_get_hwinfo() argument 12208 bnx2x_read_fwinfo(struct bnx2x * bp) bnx2x_read_fwinfo() argument 12241 bnx2x_set_modes_bitmap(struct bnx2x * bp) bnx2x_set_modes_bitmap() argument 12291 bnx2x_init_bp(struct bnx2x * bp) bnx2x_init_bp() argument 12438 struct bnx2x *bp = netdev_priv(dev); bnx2x_open() local 12508 struct bnx2x *bp = netdev_priv(dev); bnx2x_close() local 12539 bnx2x_init_mcast_macs_list(struct bnx2x * bp,struct bnx2x_mcast_ramrod_params * p,struct list_head * mcast_group_list) bnx2x_init_mcast_macs_list() argument 12581 bnx2x_set_uc_list(struct bnx2x * bp) bnx2x_set_uc_list() argument 12619 bnx2x_set_mc_list_e1x(struct bnx2x * bp) bnx2x_set_mc_list_e1x() argument 12654 bnx2x_set_mc_list(struct bnx2x * bp) bnx2x_set_mc_list() argument 12694 struct bnx2x *bp = netdev_priv(dev); bnx2x_set_rx_mode() local 12706 bnx2x_set_rx_mode_inner(struct bnx2x * bp) bnx2x_set_rx_mode_inner() argument 12769 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_read() local 12793 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_write() local 12812 struct bnx2x *bp = netdev_priv(dev); bnx2x_ioctl() local 12825 struct bnx2x *bp = netdev_priv(dev); bnx2x_validate_addr() local 12841 struct bnx2x *bp = netdev_priv(netdev); bnx2x_get_phys_port_id() local 12878 __bnx2x_vlan_configure_vid(struct bnx2x * bp,u16 vid,bool add) __bnx2x_vlan_configure_vid() argument 12895 bnx2x_vlan_configure_vid_list(struct bnx2x * bp) bnx2x_vlan_configure_vid_list() argument 12922 bnx2x_vlan_configure(struct bnx2x * bp,bool set_rx_mode) bnx2x_vlan_configure() argument 12941 bnx2x_vlan_reconfigure_vid(struct bnx2x * bp) bnx2x_vlan_reconfigure_vid() argument 12951 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_add_vid() local 12972 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_kill_vid() local 13040 bnx2x_init_dev(struct bnx2x * bp,struct pci_dev * pdev,struct net_device * dev,unsigned long board_type) bnx2x_init_dev() argument 13261 bnx2x_check_firmware(struct bnx2x * bp) bnx2x_check_firmware() argument 13387 bnx2x_init_firmware(struct bnx2x * bp) bnx2x_init_firmware() argument 13487 bnx2x_release_firmware(struct bnx2x * bp) bnx2x_release_firmware() argument 13513 bnx2x__init_func_obj(struct bnx2x * bp) bnx2x__init_func_obj() argument 13527 bnx2x_set_qm_cid_count(struct bnx2x * bp) bnx2x_set_qm_cid_count() argument 13634 bnx2x_send_update_drift_ramrod(struct bnx2x * bp,int drift_dir,int best_val,int best_period) bnx2x_send_update_drift_ramrod() argument 13661 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjfine() local 13730 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjtime() local 13747 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_gettime() local 13768 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_settime() local 13791 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_enable() local 13797 bnx2x_register_phc(struct bnx2x * bp) bnx2x_register_phc() argument 13824 struct bnx2x *bp; bnx2x_init_one() local 14026 __bnx2x_remove(struct pci_dev * pdev,struct net_device * dev,struct bnx2x * bp,bool remove_netdev) __bnx2x_remove() argument 14117 struct bnx2x *bp; bnx2x_remove_one() local 14128 bnx2x_eeh_nic_unload(struct bnx2x * bp) bnx2x_eeh_nic_unload() argument 14169 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_error_detected() local 14204 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_slot_reset() local 14288 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_resume() local 14322 struct bnx2x *bp; bnx2x_shutdown() local 14398 bnx2x_notify_link_changed(struct bnx2x * bp) bnx2x_notify_link_changed() argument 14413 bnx2x_set_iscsi_eth_mac_addr(struct bnx2x * bp) bnx2x_set_iscsi_eth_mac_addr() argument 14424 bnx2x_cnic_sp_post(struct bnx2x * bp,int count) bnx2x_cnic_sp_post() argument 14508 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_sp_queue() local 14556 bnx2x_cnic_ctl_send(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send() argument 14571 bnx2x_cnic_ctl_send_bh(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send_bh() argument 14588 bnx2x_cnic_notify(struct bnx2x * bp,int cmd) bnx2x_cnic_notify() argument 14597 bnx2x_cnic_cfc_comp(struct bnx2x * bp,int cid,u8 err) bnx2x_cnic_cfc_comp() argument 14615 bnx2x_set_iscsi_eth_rx_mode(struct bnx2x * bp,bool start) bnx2x_set_iscsi_eth_rx_mode() argument 14652 struct bnx2x *bp = netdev_priv(dev); bnx2x_drv_ctl() local 14832 struct bnx2x *bp = netdev_priv(dev); bnx2x_get_fc_npiv() local 14895 bnx2x_setup_cnic_irq_info(struct bnx2x * bp) bnx2x_setup_cnic_irq_info() argument 14923 bnx2x_setup_cnic_info(struct bnx2x * bp) bnx2x_setup_cnic_info() argument 14944 struct bnx2x *bp = netdev_priv(dev); bnx2x_register_cnic() local 14999 struct bnx2x *bp = netdev_priv(dev); bnx2x_unregister_cnic() local 15016 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_probe() local 15067 struct bnx2x *bp = fp->bp; bnx2x_rx_ustorm_prods_offset() local 15085 bnx2x_pretend_func(struct bnx2x * bp,u16 pretend_func_val) bnx2x_pretend_func() argument 15101 struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); bnx2x_ptp_task() local 15152 bnx2x_set_rx_ts(struct bnx2x * bp,struct sk_buff * skb) bnx2x_set_rx_ts() argument 15178 struct bnx2x *bp = container_of(cc, struct bnx2x, cyclecounter); bnx2x_cyclecounter_read() local 15193 bnx2x_init_cyclecounter(struct bnx2x * bp) bnx2x_init_cyclecounter() argument 15202 bnx2x_send_reset_timesync_ramrod(struct bnx2x * bp) bnx2x_send_reset_timesync_ramrod() argument 15222 bnx2x_enable_ptp_packets(struct bnx2x * bp) bnx2x_enable_ptp_packets() argument 15267 bnx2x_configure_ptp_filters(struct bnx2x * bp) bnx2x_configure_ptp_filters() argument 15355 struct bnx2x *bp = netdev_priv(dev); bnx2x_hwtstamp_set() local 15396 struct bnx2x *bp = netdev_priv(dev); bnx2x_hwtstamp_get() local 15405 bnx2x_configure_ptp(struct bnx2x * bp) bnx2x_configure_ptp() argument 15450 bnx2x_init_ptp(struct bnx2x * bp) bnx2x_init_ptp() argument [all...] |
| H A D | bnx2x_stats.c | 44 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() argument 49 if (SHMEM2_HAS(bp, sizeof_port_stats)) { in bnx2x_get_port_stats_dma_len() 50 u32 size = SHMEM2_RD(bp, sizeof_port_stats); in bnx2x_get_port_stats_dma_len() 66 if (bp->flags & BC_SUPPORTS_PFC_STATS) { in bnx2x_get_port_stats_dma_len() 84 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() argument 96 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats() 97 bp->fw_stats_req->hdr.reserved0, in bnx2x_dp_stats() 98 bp->fw_stats_req->hdr.drv_stats_counter, in bnx2x_dp_stats() 99 bp->fw_stats_req->hdr.reserved1, in bnx2x_dp_stats() 100 bp->fw_stats_req->hdr.stats_counters_addrs.hi, in bnx2x_dp_stats() [all …]
|
| H A D | bnx2x.h | 53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument 94 bp->dev ? (bp->dev->name) : "?", \ 99 if (unlikely(bp->msg_enable & (__mask))) \ 105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 111 if (unlikely(bp->msg_enable & (__mask))) \ 118 if (unlikely(netif_msg_probe(bp))) \ 121 bp->dev ? (bp->dev->name) : "?", \ 130 bp->dev ? (bp->dev->name) : "?", \ 140 if (unlikely(netif_msg_probe(bp))) \ 141 dev_info(&bp->pdev->dev, fmt, ##__VA_ARGS__); \ [all …]
|
| H A D | bnx2x_cmn.h | 39 dma_free_coherent(&bp->pdev->dev, size, (void *)x, y); \ 55 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 64 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 82 * @bp: driver handle 87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode); 92 * @bp: driver handle 95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link); 100 * @bp: driver handle 106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, 112 * @bp: driver handle [all …]
|
| H A D | bnx2x_cmn.c | 36 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp); 37 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp); 38 static int bnx2x_alloc_fp_mem(struct bnx2x *bp); 41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() argument 46 for_each_rx_queue_cnic(bp, i) { in bnx2x_add_all_napi_cnic() 47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi_cnic() 51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() argument 56 for_each_eth_queue(bp, i) { in bnx2x_add_all_napi() 57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi() 61 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() argument [all …]
|
| H A D | bnx2x_sriov.c | 29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 38 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 40 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 42 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 44 REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() argument 51 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 53 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 55 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() [all …]
|
| H A D | bnx2x_sriov.h | 219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument 221 #define for_each_vf(bp, var) \ argument 222 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++) 232 #define HW_VF_HANDLE(bp, abs_vfid) \ argument 233 (u16)(BP_ABS_FUNC((bp)) | (1<<3) | ((u16)(abs_vfid) << 4)) 240 #define GET_NUM_VFS_PER_PATH(bp) 64 /* use max possible value */ argument 241 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument 247 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 250 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 318 #define BP_VFDB(bp) ((bp)->vfdb) argument [all …]
|
| H A D | bnx2x_dcb.c | 35 static void bnx2x_pfc_set_pfc(struct bnx2x *bp); 36 static void bnx2x_dcbx_update_ets_params(struct bnx2x *bp); 37 static void bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp, 40 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp, 43 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp, 47 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp, 51 static void bnx2x_dcbx_fw_struct(struct bnx2x *bp, 55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data() argument 60 *buff = REG_RD(bp, addr + i); in bnx2x_read_data() 63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data() argument [all …]
|
| H A D | bnx2x_vfpf.c | 26 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); 29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv() argument 40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep() argument 43 mutex_lock(&bp->vf2pf_mutex); in bnx2x_vfpf_prep() 49 memset(bp->vf2pf_mbox, 0, sizeof(struct bnx2x_vf_mbx_msg)); in bnx2x_vfpf_prep() 52 bnx2x_add_tlv(bp, &first_tlv->tl, 0, type, length); in bnx2x_vfpf_prep() 55 first_tlv->resp_msg_offset = sizeof(bp->vf2pf_mbox->req); in bnx2x_vfpf_prep() 59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize() argument 65 mutex_unlock(&bp->vf2pf_mutex); in bnx2x_vfpf_finalize() 69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list() argument [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 335 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | DB_RING_IDX(db, idx),\ 339 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_MASK | \ 346 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | \ 349 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument 351 if (bp->flags & BNXT_FLAG_CHIP_P7) in bnxt_db_nq() 353 else if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) in bnxt_db_nq() 359 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument 361 if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) in bnxt_db_nq_arm() 367 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument 369 if (bp in bnxt_db_cq() 376 bnxt_queue_fw_reset_work(struct bnxt * bp,unsigned long delay) bnxt_queue_fw_reset_work() argument 387 __bnxt_queue_sp_work(struct bnxt * bp) __bnxt_queue_sp_work() argument 395 bnxt_queue_sp_work(struct bnxt * bp,unsigned int event) bnxt_queue_sp_work() argument 401 bnxt_sched_reset_rxr(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_sched_reset_rxr() argument 414 bnxt_sched_reset_txr(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 curr) bnxt_sched_reset_txr() argument 462 bnxt_txr_db_kick(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 prod) bnxt_txr_db_kick() argument 473 struct bnxt *bp = netdev_priv(dev); bnxt_start_xmit() local 813 __bnxt_tx_int(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int budget) __bnxt_tx_int() argument 919 bnxt_tx_int(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) bnxt_tx_int() argument 938 __bnxt_alloc_rx_page(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_page() argument 959 __bnxt_alloc_rx_netmem(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_netmem() argument 980 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,gfp_t gfp) __bnxt_alloc_rx_frag() argument 996 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument 1033 struct bnxt *bp = rxr->bnapi->bp; bnxt_reuse_rx_data() local 1060 bnxt_alloc_rx_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_netmem() argument 1090 bnxt_get_agg(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 cp_cons,u16 curr) bnxt_get_agg() argument 1102 bnxt_get_tpa_agg_p5(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id,u16 curr) bnxt_get_tpa_agg_p5() argument 1115 struct bnxt *bp = bnapi->bp; bnxt_reuse_rx_agg_bufs() local 1168 bnxt_rx_multi_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_multi_page_skb() argument 1200 bnxt_rx_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_page_skb() argument 1247 bnxt_rx_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_skb() argument 1277 __bnxt_rx_agg_netmems(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs,bool tpa,struct sk_buff * skb,struct xdp_buff * xdp) __bnxt_rx_agg_netmems() argument 1368 bnxt_rx_agg_netmems_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_skb() argument 1386 bnxt_rx_agg_netmems_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_xdp() argument 1407 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument 1424 struct bnxt *bp = bnapi->bp; bnxt_copy_data() local 1478 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument 1568 bnxt_tpa_start(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u8 cmp_type,struct rx_tpa_start_cmp * tpa_start,struct rx_tpa_start_cmp_ext * tpa_start1) bnxt_tpa_start() argument 1830 bnxt_gro_skb(struct bnxt * bp,struct bnxt_tpa_info * tpa_info,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,struct sk_buff * skb,struct bnxt_rx_sw_stats * rx_stats) bnxt_gro_skb() argument 1866 bnxt_get_pkt_dev(struct bnxt * bp,u16 cfa_code) bnxt_get_pkt_dev() argument 1874 bnxt_tpa_end(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,u8 * event) bnxt_tpa_end() argument 2027 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument 2039 bnxt_deliver_skb(struct bnxt * bp,struct bnxt_napi * bnapi,struct sk_buff * skb) bnxt_deliver_skb() argument 2053 bnxt_rx_ts_valid(struct bnxt * bp,u32 flags,struct rx_cmp_ext * rxcmp1,u32 * cmpl_ts) bnxt_rx_ts_valid() argument 2117 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument 2406 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument 2451 bnxt_fw_health_readl(struct bnxt * bp,int reg_idx) bnxt_fw_health_readl() argument 2478 bnxt_agg_ring_id_to_grp_idx(struct bnxt * bp,u16 ring_id) bnxt_agg_ring_id_to_grp_idx() argument 2495 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_force_speed() local 2506 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_force_speed() local 2538 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_auto_speed() local 2550 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_force_speed_updated() local 2568 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_auto_speed_updated() local 2581 bnxt_bs_trace_avail(struct bnxt * bp,u16 type) bnxt_bs_trace_avail() argument 2590 bnxt_bs_trace_init(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm) bnxt_bs_trace_init() argument 2653 bnxt_event_error_report(struct bnxt * bp,u32 data1,u32 data2) bnxt_event_error_report() argument 2742 bnxt_async_event_process(struct bnxt * bp,struct hwrm_async_event_cmpl * cmpl) bnxt_async_event_process() argument 2968 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument 3007 bnxt_vnic_is_active(struct bnxt * bp) bnxt_vnic_is_active() argument 3017 struct bnxt *bp = bnapi->bp; bnxt_msix() local 3027 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument 3038 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument 3144 __bnxt_poll_work_done(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_work_done() argument 3164 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument 3185 struct bnxt *bp = bnapi->bp; bnxt_poll_nitroa0() local 3261 struct bnxt *bp = bnapi->bp; bnxt_poll() local 3296 __bnxt_poll_cqs(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_cqs() argument 3313 __bnxt_poll_cqs_done(struct bnxt * bp,struct bnxt_napi * bnapi,u64 dbr_type,int budget) __bnxt_poll_cqs_done() argument 3347 struct bnxt *bp = bnapi->bp; bnxt_poll_p5() local 3427 bnxt_free_one_tx_ring_skbs(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int idx) bnxt_free_one_tx_ring_skbs() argument 3512 bnxt_free_tx_skbs(struct bnxt * bp) bnxt_free_tx_skbs() argument 3532 bnxt_free_one_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring() argument 3553 bnxt_free_one_rx_agg_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_agg_ring() argument 3573 bnxt_free_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info_data() argument 3590 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring_skbs() argument 3618 bnxt_free_rx_skbs(struct bnxt * bp) bnxt_free_rx_skbs() argument 3629 bnxt_free_skbs(struct bnxt * bp) bnxt_free_skbs() argument 3652 __bnxt_copy_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ring() argument 3681 bnxt_free_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_free_ring() argument 3714 bnxt_alloc_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_alloc_ring() argument 3767 bnxt_free_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info() argument 3784 bnxt_free_tpa_info(struct bnxt * bp) bnxt_free_tpa_info() argument 3795 bnxt_alloc_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info() argument 3820 bnxt_alloc_tpa_info(struct bnxt * bp) bnxt_alloc_tpa_info() argument 3844 bnxt_free_rx_rings(struct bnxt * bp) bnxt_free_rx_rings() argument 3877 bnxt_rx_agg_ring_fill_level(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_rx_agg_ring_fill_level() argument 3892 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int numa_node) bnxt_alloc_rx_page_pool() argument 3949 bnxt_alloc_rx_agg_bmap(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_agg_bmap() argument 3962 bnxt_alloc_rx_rings(struct bnxt * bp) bnxt_alloc_rx_rings() argument 4056 bnxt_free_tx_rings(struct bnxt * bp) bnxt_free_tx_rings() argument 4082 BNXT_TC_TO_RING_BASE(bp,tc) global() argument 4085 BNXT_RING_TO_TC_OFF(bp,tx) global() argument 4088 BNXT_RING_TO_TC(bp,tx) global() argument 4091 bnxt_alloc_tx_rings(struct bnxt * bp) bnxt_alloc_tx_rings() argument 4182 bnxt_free_all_cp_arrays(struct bnxt * bp) bnxt_free_all_cp_arrays() argument 4197 bnxt_alloc_all_cp_arrays(struct bnxt * bp) bnxt_alloc_all_cp_arrays() argument 4214 bnxt_free_cp_rings(struct bnxt * bp) bnxt_free_cp_rings() argument 4251 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument 4278 bnxt_alloc_cp_rings(struct bnxt * bp) bnxt_alloc_cp_rings() argument 4353 bnxt_init_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_rx_ring_struct() argument 4378 bnxt_reset_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_reset_rx_ring_struct() argument 4412 bnxt_init_ring_struct(struct bnxt * bp) bnxt_init_ring_struct() argument 4498 bnxt_alloc_one_rx_ring_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_skb() argument 4517 bnxt_alloc_one_rx_ring_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_netmem() argument 4538 bnxt_alloc_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info_data() argument 4559 bnxt_alloc_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_alloc_one_rx_ring() argument 4579 bnxt_init_one_rx_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_ring_rxbd() argument 4596 bnxt_init_one_rx_agg_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_agg_ring_rxbd() argument 4619 bnxt_init_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_init_one_rx_ring() argument 4639 bnxt_init_cp_rings(struct bnxt * bp) bnxt_init_cp_rings() argument 4663 bnxt_init_rx_rings(struct bnxt * bp) bnxt_init_rx_rings() argument 4684 bnxt_init_tx_rings(struct bnxt * bp) bnxt_init_tx_rings() argument 4709 bnxt_free_ring_grps(struct bnxt * bp) bnxt_free_ring_grps() argument 4715 bnxt_init_ring_grps(struct bnxt * bp,bool irq_re_init) bnxt_init_ring_grps() argument 4736 bnxt_free_vnics(struct bnxt * bp) bnxt_free_vnics() argument 4743 bnxt_alloc_vnics(struct bnxt * bp) bnxt_alloc_vnics() argument 4767 bnxt_init_vnics(struct bnxt * bp) bnxt_init_vnics() argument 4834 bnxt_set_tpa_flags(struct bnxt * bp) bnxt_set_tpa_flags() argument 4845 bnxt_init_ring_params(struct bnxt * bp) bnxt_init_ring_params() argument 4859 bnxt_set_ring_params(struct bnxt * bp) bnxt_set_ring_params() argument 4958 __bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) __bnxt_set_rx_skb_mode() argument 4987 bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) bnxt_set_rx_skb_mode() argument 5005 bnxt_free_vnic_attributes(struct bnxt * bp) bnxt_free_vnic_attributes() argument 5041 bnxt_alloc_vnic_attributes(struct bnxt * bp) bnxt_alloc_vnic_attributes() argument 5118 bnxt_free_hwrm_resources(struct bnxt * bp) bnxt_free_hwrm_resources() argument 5131 bnxt_alloc_hwrm_resources(struct bnxt * bp) bnxt_alloc_hwrm_resources() argument 5144 bnxt_free_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_free_stats_mem() argument 5157 bnxt_alloc_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats,bool alloc_masks) bnxt_alloc_stats_mem() argument 5197 bnxt_hwrm_func_qstat_ext(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_hwrm_func_qstat_ext() argument 5229 bnxt_init_stats(struct bnxt * bp) bnxt_init_stats() argument 5300 bnxt_free_port_stats(struct bnxt * bp) bnxt_free_port_stats() argument 5310 bnxt_free_ring_stats(struct bnxt * bp) bnxt_free_ring_stats() argument 5328 bnxt_alloc_stats(struct bnxt * bp) bnxt_alloc_stats() argument 5395 bnxt_clear_ring_indices(struct bnxt * bp) bnxt_clear_ring_indices() argument 5431 bnxt_insert_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_insert_usr_fltr() argument 5441 bnxt_del_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_one_usr_fltr() argument 5447 bnxt_clear_usr_fltrs(struct bnxt * bp,bool all) bnxt_clear_usr_fltrs() argument 5458 bnxt_del_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_fltr() argument 5469 bnxt_free_ntp_fltrs(struct bnxt * bp,bool all) bnxt_free_ntp_fltrs() argument 5500 bnxt_alloc_ntp_fltrs(struct bnxt * bp) bnxt_alloc_ntp_fltrs() argument 5519 bnxt_free_l2_filters(struct bnxt * bp,bool all) bnxt_free_l2_filters() argument 5538 bnxt_init_l2_fltr_tbl(struct bnxt * bp) bnxt_init_l2_fltr_tbl() argument 5547 bnxt_free_mem(struct bnxt * bp,bool irq_re_init) bnxt_free_mem() argument 5576 bnxt_alloc_mem(struct bnxt * bp,bool irq_re_init) bnxt_alloc_mem() argument 5721 bnxt_disable_int(struct bnxt * bp) bnxt_disable_int() argument 5738 bnxt_cp_num_to_irq_num(struct bnxt * bp,int n) bnxt_cp_num_to_irq_num() argument 5747 bnxt_disable_int_sync(struct bnxt * bp) bnxt_disable_int_sync() argument 5764 bnxt_enable_int(struct bnxt * bp) bnxt_enable_int() argument 5777 bnxt_hwrm_func_drv_rgtr(struct bnxt * bp,unsigned long * bmap,int bmap_size,bool async_only) bnxt_hwrm_func_drv_rgtr() argument 5878 bnxt_hwrm_func_drv_unrgtr(struct bnxt * bp) bnxt_hwrm_func_drv_unrgtr() argument 5894 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument 5941 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument 5989 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_cfa_l2_set_rx_mask() argument 6008 bnxt_del_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_del_l2_filter() argument 6027 __bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) __bnxt_lookup_l2_filter() argument 6044 bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) bnxt_lookup_l2_filter() argument 6058 BNXT_IPV4_4TUPLE(bp,fkeys) global() argument 6064 BNXT_IPV6_4TUPLE(bp,fkeys) global() argument 6070 bnxt_get_rss_flow_tuple_len(struct bnxt * bp,struct flow_keys * fkeys) bnxt_get_rss_flow_tuple_len() argument 6093 bnxt_toeplitz(struct bnxt * bp,struct flow_keys * fkeys,const unsigned char * key) bnxt_toeplitz() argument 6133 bnxt_lookup_l2_filter_from_key(struct bnxt * bp,struct bnxt_l2_key * key) bnxt_lookup_l2_filter_from_key() argument 6145 bnxt_init_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr,struct bnxt_l2_key * key,u32 idx) bnxt_init_l2_filter() argument 6171 bnxt_alloc_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,gfp_t gfp) bnxt_alloc_l2_filter() argument 6198 bnxt_alloc_new_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u16 flags) bnxt_alloc_new_l2_filter() argument 6243 bnxt_hwrm_l2_filter_free(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_free() argument 6269 bnxt_hwrm_l2_filter_alloc(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_alloc() argument 6322 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument 6367 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt * bp,struct hwrm_cfa_ntuple_filter_alloc_input * req,struct bnxt_ntuple_filter * fltr) bnxt_cfg_rfs_ring_tbl_idx() argument 6406 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument 6472 bnxt_hwrm_set_vnic_filter(struct bnxt * bp,u16 vnic_id,u16 idx,const u8 * mac_addr) bnxt_hwrm_set_vnic_filter() argument 6494 bnxt_hwrm_clear_vnic_filter(struct bnxt * bp) bnxt_hwrm_clear_vnic_filter() argument 6517 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt * bp,struct hwrm_vnic_tpa_cfg_input * req) bnxt_hwrm_vnic_update_tunl_tpa() argument 6536 bnxt_hwrm_vnic_set_tpa(struct bnxt * bp,struct bnxt_vnic_info * vnic,u32 tpa_flags) bnxt_hwrm_vnic_set_tpa() argument 6599 bnxt_cp_ring_from_grp(struct bnxt * bp,struct bnxt_ring_struct * ring) bnxt_cp_ring_from_grp() argument 6607 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument 6615 bnxt_cp_ring_for_tx(struct bnxt * bp,struct bnxt_tx_ring_info * txr) bnxt_cp_ring_for_tx() argument 6623 bnxt_alloc_rss_indir_tbl(struct bnxt * bp) bnxt_alloc_rss_indir_tbl() argument 6641 bnxt_set_dflt_rss_indir_tbl(struct bnxt * bp,struct ethtool_rxfh_context * rss_ctx) bnxt_set_dflt_rss_indir_tbl() argument 6669 bnxt_get_max_rss_ring(struct bnxt * bp) bnxt_get_max_rss_ring() argument 6682 bnxt_get_nr_rss_ctxs(struct bnxt * bp,int rx_rings) bnxt_get_nr_rss_ctxs() argument 6698 bnxt_fill_hw_rss_tbl(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl() argument 6711 bnxt_fill_hw_rss_tbl_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl_p5() argument 6739 __bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct hwrm_vnic_rss_cfg_input * req,struct bnxt_vnic_info * vnic) __bnxt_hwrm_vnic_set_rss() argument 6764 bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss() argument 6784 bnxt_hwrm_vnic_set_rss_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss_p5() argument 6819 bnxt_hwrm_update_rss_hash_cfg(struct bnxt * bp) bnxt_hwrm_update_rss_hash_cfg() argument 6839 bnxt_hwrm_vnic_set_hds(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_set_hds() argument 6864 bnxt_hwrm_vnic_ctx_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_free_one() argument 6880 bnxt_hwrm_vnic_ctx_free(struct bnxt * bp) bnxt_hwrm_vnic_ctx_free() argument 6895 bnxt_hwrm_vnic_ctx_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_alloc() argument 6916 bnxt_get_roce_vnic_mode(struct bnxt * bp) bnxt_get_roce_vnic_mode() argument 6923 bnxt_hwrm_vnic_cfg(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_cfg() argument 6998 bnxt_hwrm_vnic_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_free_one() argument 7014 bnxt_hwrm_vnic_free(struct bnxt * bp) bnxt_hwrm_vnic_free() argument 7022 bnxt_hwrm_vnic_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,unsigned int start_rx_ring_idx,unsigned int nr_rings) bnxt_hwrm_vnic_alloc() argument 7063 bnxt_hwrm_vnic_qcaps(struct bnxt * bp) bnxt_hwrm_vnic_qcaps() argument 7128 bnxt_hwrm_ring_grp_alloc(struct bnxt * bp) bnxt_hwrm_ring_grp_alloc() argument 7163 bnxt_hwrm_ring_grp_free(struct bnxt * bp) bnxt_hwrm_ring_grp_free() argument 7187 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument 7212 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument 7314 bnxt_hwrm_set_async_event_cr(struct bnxt * bp,int idx) bnxt_hwrm_set_async_event_cr() argument 7343 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument 7367 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7410 bnxt_hwrm_rx_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_ring_alloc() argument 7429 bnxt_hwrm_rx_agg_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_agg_ring_alloc() argument 7452 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument 7471 bnxt_hwrm_tx_ring_alloc(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u32 tx_idx) bnxt_hwrm_tx_ring_alloc() argument 7485 bnxt_hwrm_ring_alloc(struct bnxt * bp) bnxt_hwrm_ring_alloc() argument 7561 bnxt_cancel_dim(struct bnxt * bp) bnxt_cancel_dim() argument 7581 hwrm_ring_free_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,int cmpl_ring_id) hwrm_ring_free_send_msg() argument 7614 bnxt_hwrm_tx_ring_free(struct bnxt * bp,struct bnxt_tx_ring_info * txr,bool close_path) bnxt_hwrm_tx_ring_free() argument 7631 bnxt_hwrm_rx_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_ring_free() argument 7651 bnxt_hwrm_rx_agg_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_agg_ring_free() argument 7675 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument 7689 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument 7702 bnxt_hwrm_ring_free(struct bnxt * bp,bool close_path) bnxt_hwrm_ring_free() argument 7753 bnxt_hwrm_get_rings(struct bnxt * bp) bnxt_hwrm_get_rings() argument 7813 __bnxt_hwrm_get_tx_rings(struct bnxt * bp,u16 fid,int * tx_rings) __bnxt_hwrm_get_tx_rings() argument 7839 __bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_pf_rings() argument 7883 __bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_vf_rings() argument 7925 bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_pf_rings() argument 7950 bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_vf_rings() argument 7971 bnxt_hwrm_reserve_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_rings() argument 7979 bnxt_nq_rings_in_use(struct bnxt * bp) bnxt_nq_rings_in_use() argument 7984 bnxt_cp_rings_in_use(struct bnxt * bp) bnxt_cp_rings_in_use() argument 7995 bnxt_get_func_stat_ctxs(struct bnxt * bp) bnxt_get_func_stat_ctxs() argument 8000 bnxt_get_total_rss_ctxs(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_rss_ctxs() argument 8021 bnxt_check_rss_tbl_no_rmgr(struct bnxt * bp) bnxt_check_rss_tbl_no_rmgr() argument 8033 bnxt_get_total_vnics(struct bnxt * bp,int rx_rings) bnxt_get_total_vnics() argument 8044 bnxt_get_total_resources(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_resources() argument 8060 bnxt_need_reserve_rings(struct bnxt * bp) bnxt_need_reserve_rings() argument 8100 bnxt_copy_reserved_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_copy_reserved_rings() argument 8117 bnxt_rings_ok(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_rings_ok() argument 8125 __bnxt_reserve_rings(struct bnxt * bp) __bnxt_reserve_rings() argument 8250 bnxt_hwrm_check_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_vf_rings() argument 8272 bnxt_hwrm_check_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_pf_rings() argument 8295 bnxt_hwrm_check_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_rings() argument 8306 bnxt_hwrm_coal_params_qcaps(struct bnxt * bp) bnxt_hwrm_coal_params_qcaps() argument 8353 bnxt_usec_to_coal_tmr(struct bnxt * bp,u16 usec) bnxt_usec_to_coal_tmr() argument 8360 bnxt_hwrm_set_coal_params(struct bnxt * bp,struct bnxt_coal * hw_coal,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_coal_params() argument 8416 __bnxt_hwrm_set_coal_nq(struct bnxt * bp,struct bnxt_napi * bnapi,struct bnxt_coal * hw_coal) __bnxt_hwrm_set_coal_nq() argument 8444 bnxt_hwrm_set_ring_coal(struct bnxt * bp,struct bnxt_napi * bnapi) bnxt_hwrm_set_ring_coal() argument 8474 bnxt_hwrm_set_rx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_rx_coal() argument 8484 bnxt_hwrm_set_tx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_tx_coal() argument 8504 bnxt_hwrm_set_coal(struct bnxt * bp) bnxt_hwrm_set_coal() argument 8554 bnxt_hwrm_stat_ctx_free(struct bnxt * bp) bnxt_hwrm_stat_ctx_free() argument 8596 bnxt_hwrm_stat_ctx_alloc(struct bnxt * bp) bnxt_hwrm_stat_ctx_alloc() argument 8631 bnxt_hwrm_func_qcfg(struct bnxt * bp) bnxt_hwrm_func_qcfg() argument 8735 bnxt_alloc_all_ctx_pg_info(struct bnxt * bp,int ctx_max) bnxt_alloc_all_ctx_pg_info() argument 8763 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps_v2() argument 8836 bnxt_hwrm_func_backing_store_qcaps(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps() argument 8979 bnxt_hwrm_func_backing_store_cfg(struct bnxt * bp,u32 enables) bnxt_hwrm_func_backing_store_cfg() argument 9109 bnxt_alloc_ctx_mem_blk(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_alloc_ctx_mem_blk() argument 9123 bnxt_alloc_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,u32 mem_size,u8 depth,struct bnxt_ctx_mem_type * ctxm) bnxt_alloc_ctx_pg_tbls() argument 9183 bnxt_copy_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,void * buf,size_t offset,size_t head,size_t tail) bnxt_copy_ctx_pg_tbls() argument 9213 bnxt_free_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_free_ctx_pg_tbls() argument 9242 bnxt_setup_ctxm_pg_tbls(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,u32 entries,u8 pg_lvl) bnxt_setup_ctxm_pg_tbls() argument 9268 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool last) bnxt_hwrm_func_backing_store_cfg_v2() argument 9326 bnxt_backing_store_cfg_v2(struct bnxt * bp) bnxt_backing_store_cfg_v2() argument 9388 __bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ctx_mem() argument 9410 bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset) bnxt_copy_ctx_mem() argument 9418 bnxt_free_one_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool force) bnxt_free_one_ctx_mem() argument 9443 bnxt_free_ctx_mem(struct bnxt * bp,bool force) bnxt_free_ctx_mem() argument 9461 bnxt_alloc_ctx_mem(struct bnxt * bp) bnxt_alloc_ctx_mem() argument 9604 bnxt_hwrm_crash_dump_mem_cfg(struct bnxt * bp) bnxt_hwrm_crash_dump_mem_cfg() argument 9631 bnxt_free_crash_dump_mem(struct bnxt * bp) bnxt_free_crash_dump_mem() argument 9640 bnxt_alloc_crash_dump_mem(struct bnxt * bp) bnxt_alloc_crash_dump_mem() argument 9677 bnxt_hwrm_func_resc_qcaps(struct bnxt * bp,bool all) bnxt_hwrm_func_resc_qcaps() argument 9739 __bnxt_hwrm_ptp_qcfg(struct bnxt * bp) __bnxt_hwrm_ptp_qcfg() argument 9807 __bnxt_hwrm_func_qcaps(struct bnxt * bp) __bnxt_hwrm_func_qcaps() argument 9945 bnxt_hwrm_dbg_qcaps(struct bnxt * bp) bnxt_hwrm_dbg_qcaps() argument 9973 bnxt_hwrm_func_qcaps(struct bnxt * bp) bnxt_hwrm_func_qcaps() argument 9999 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt * bp) bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() argument 10036 __bnxt_alloc_fw_health(struct bnxt * bp) __bnxt_alloc_fw_health() argument 10049 bnxt_alloc_fw_health(struct bnxt * bp) bnxt_alloc_fw_health() argument 10067 __bnxt_map_fw_health_reg(struct bnxt * bp,u32 reg) __bnxt_map_fw_health_reg() argument 10074 bnxt_inv_fw_health_reg(struct bnxt * bp) bnxt_inv_fw_health_reg() argument 10091 bnxt_try_map_fw_health_reg(struct bnxt * bp) bnxt_try_map_fw_health_reg() argument 10138 bnxt_map_fw_health_regs(struct bnxt * bp) bnxt_map_fw_health_regs() argument 10167 bnxt_remap_fw_health_regs(struct bnxt * bp) bnxt_remap_fw_health_regs() argument 10180 bnxt_hwrm_error_recovery_qcfg(struct bnxt * bp) bnxt_hwrm_error_recovery_qcfg() argument 10245 bnxt_hwrm_func_reset(struct bnxt * bp) bnxt_hwrm_func_reset() argument 10259 bnxt_nvm_cfg_ver_get(struct bnxt * bp) bnxt_nvm_cfg_ver_get() argument 10269 bnxt_hwrm_queue_qportcfg(struct bnxt * bp) bnxt_hwrm_queue_qportcfg() argument 10320 bnxt_hwrm_poll(struct bnxt * bp) bnxt_hwrm_poll() argument 10338 bnxt_hwrm_ver_get(struct bnxt * bp) bnxt_hwrm_ver_get() argument 10464 bnxt_hwrm_fw_set_time(struct bnxt * bp) bnxt_hwrm_fw_set_time() argument 10527 bnxt_accumulate_all_stats(struct bnxt * bp) bnxt_accumulate_all_stats() argument 10572 bnxt_hwrm_port_qstats(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats() argument 10596 bnxt_hwrm_port_qstats_ext(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats_ext() argument 10686 bnxt_hwrm_free_tunnel_ports(struct bnxt * bp) bnxt_hwrm_free_tunnel_ports() argument 10694 bnxt_set_tpa(struct bnxt * bp,bool set_tpa) bnxt_set_tpa() argument 10714 bnxt_hwrm_clear_vnic_rss(struct bnxt * bp) bnxt_hwrm_clear_vnic_rss() argument 10722 bnxt_clear_vnic(struct bnxt * bp) bnxt_clear_vnic() argument 10741 bnxt_hwrm_resource_free(struct bnxt * bp,bool close_path,bool irq_re_init) bnxt_hwrm_resource_free() argument 10753 bnxt_hwrm_set_br_mode(struct bnxt * bp,u16 br_mode) bnxt_hwrm_set_br_mode() argument 10776 bnxt_hwrm_set_cache_line_size(struct bnxt * bp,int size) bnxt_hwrm_set_cache_line_size() argument 10797 __bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic() argument 10852 bnxt_hwrm_vnic_update(struct bnxt * bp,struct bnxt_vnic_info * vnic,u8 valid) bnxt_hwrm_vnic_update() argument 10872 bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_rss_cfg_p5() argument 10889 __bnxt_setup_vnic_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic_p5() argument 10920 bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_setup_vnic() argument 10928 bnxt_alloc_and_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 start_rx_ring_idx,int rx_rings) bnxt_alloc_and_setup_vnic() argument 10943 bnxt_alloc_rfs_vnics(struct bnxt * bp) bnxt_alloc_rfs_vnics() argument 10973 bnxt_del_one_rss_ctx(struct bnxt * bp,struct bnxt_rss_ctx * rss_ctx,bool all) bnxt_del_one_rss_ctx() argument 11008 bnxt_vnic_has_rx_ring(struct bnxt * bp,struct bnxt_vnic_info * vnic,int rxr_id) bnxt_vnic_has_rx_ring() argument 11033 bnxt_set_vnic_mru_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 mru,int rxr_id) bnxt_set_vnic_mru_p5() argument 11056 bnxt_set_rss_ctx_vnic_mru(struct bnxt * bp,u16 mru,int rxr_id) bnxt_set_rss_ctx_vnic_mru() argument 11074 bnxt_hwrm_realloc_rss_ctx_vnic(struct bnxt * bp) bnxt_hwrm_realloc_rss_ctx_vnic() argument 11095 bnxt_clear_rss_ctxs(struct bnxt * bp) bnxt_clear_rss_ctxs() argument 11108 bnxt_promisc_ok(struct bnxt * bp) bnxt_promisc_ok() argument 11117 bnxt_setup_nitroa0_vnic(struct bnxt * bp) bnxt_setup_nitroa0_vnic() argument 11142 bnxt_init_chip(struct bnxt * bp,bool irq_re_init) bnxt_init_chip() argument 11264 bnxt_shutdown_nic(struct bnxt * bp,bool irq_re_init) bnxt_shutdown_nic() argument 11270 bnxt_init_nic(struct bnxt * bp,bool irq_re_init) bnxt_init_nic() argument 11281 bnxt_set_real_num_queues(struct bnxt * bp) bnxt_set_real_num_queues() argument 11303 __bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool shared) __bnxt_trim_rings() argument 11327 __bnxt_num_tx_to_cp(struct bnxt * bp,int tx,int tx_sets,int tx_xdp) __bnxt_num_tx_to_cp() argument 11332 bnxt_num_tx_to_cp(struct bnxt * bp,int tx) bnxt_num_tx_to_cp() argument 11341 bnxt_num_cp_to_tx(struct bnxt * bp,int tx_cp) bnxt_num_cp_to_tx() argument 11349 bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool sh) bnxt_trim_rings() argument 11367 bnxt_setup_msix(struct bnxt * bp) bnxt_setup_msix() argument 11403 bnxt_change_msix(struct bnxt * bp,int total) bnxt_change_msix() argument 11427 bnxt_setup_int_mode(struct bnxt * bp) bnxt_setup_int_mode() argument 11443 bnxt_get_max_func_rss_ctxs(struct bnxt * bp) bnxt_get_max_func_rss_ctxs() argument 11448 bnxt_get_max_func_vnics(struct bnxt * bp) bnxt_get_max_func_vnics() argument 11453 bnxt_get_max_func_stat_ctxs(struct bnxt * bp) bnxt_get_max_func_stat_ctxs() argument 11458 bnxt_get_max_func_cp_rings(struct bnxt * bp) bnxt_get_max_func_cp_rings() argument 11463 bnxt_get_max_func_cp_rings_for_en(struct bnxt * bp) bnxt_get_max_func_cp_rings_for_en() argument 11473 bnxt_get_max_func_irqs(struct bnxt * bp) bnxt_get_max_func_irqs() argument 11483 bnxt_set_max_func_irqs(struct bnxt * bp,unsigned int max_irqs) bnxt_set_max_func_irqs() argument 11488 bnxt_get_avail_cp_rings_for_en(struct bnxt * bp) bnxt_get_avail_cp_rings_for_en() argument 11499 bnxt_get_avail_stat_ctxs_for_en(struct bnxt * bp) bnxt_get_avail_stat_ctxs_for_en() argument 11504 bnxt_get_avail_msix(struct bnxt * bp,int num) bnxt_get_avail_msix() argument 11517 bnxt_get_num_msix(struct bnxt * bp) bnxt_get_num_msix() argument 11525 bnxt_init_int_mode(struct bnxt * bp) bnxt_init_int_mode() argument 11582 bnxt_clear_int_mode(struct bnxt * bp) bnxt_clear_int_mode() argument 11590 bnxt_reserve_rings(struct bnxt * bp,bool irq_re_init) bnxt_reserve_rings() argument 11647 bnxt_tx_queue_stop(struct bnxt * bp,int idx) bnxt_tx_queue_stop() argument 11678 bnxt_tx_queue_start(struct bnxt * bp,int idx) bnxt_tx_queue_start() argument 11777 bnxt_register_irq_notifier(struct bnxt * bp,struct bnxt_irq * irq) bnxt_register_irq_notifier() argument 11796 bnxt_free_irq(struct bnxt * bp) bnxt_free_irq() argument 11832 bnxt_request_irq(struct bnxt * bp) bnxt_request_irq() argument 11905 bnxt_del_napi(struct bnxt * bp) bnxt_del_napi() argument 11928 bnxt_init_napi(struct bnxt * bp) bnxt_init_napi() argument 11953 bnxt_disable_napi(struct bnxt * bp) bnxt_disable_napi() argument 11974 bnxt_enable_napi(struct bnxt * bp) bnxt_enable_napi() argument 11996 bnxt_tx_disable(struct bnxt * bp) bnxt_tx_disable() argument 12015 bnxt_tx_enable(struct bnxt * bp) bnxt_tx_enable() argument 12075 bnxt_report_link(struct bnxt * bp) bnxt_report_link() argument 12151 bnxt_hwrm_phy_qcaps(struct bnxt * bp) bnxt_hwrm_phy_qcaps() argument 12212 bnxt_hwrm_mac_qcaps(struct bnxt * bp) bnxt_hwrm_mac_qcaps() argument 12241 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_support_speed_dropped() local 12267 bnxt_update_link(struct bnxt * bp,bool chng_link_state) bnxt_update_link() argument 12399 bnxt_get_port_module_status(struct bnxt * bp) bnxt_get_port_module_status() argument 12427 bnxt_hwrm_set_pause_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_pause_common() argument 12454 bnxt_hwrm_set_link_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_link_common() argument 12493 bnxt_hwrm_set_pause(struct bnxt * bp) bnxt_hwrm_set_pause() argument 12524 bnxt_hwrm_set_eee(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_eee() argument 12547 bnxt_hwrm_set_link_setting(struct bnxt * bp,bool set_pause,bool set_eee) bnxt_hwrm_set_link_setting() argument 12566 bnxt_hwrm_shutdown_link(struct bnxt * bp) bnxt_hwrm_shutdown_link() argument 12597 bnxt_fw_reset_via_optee(struct bnxt * bp) bnxt_fw_reset_via_optee() argument 12612 bnxt_try_recover_fw(struct bnxt * bp) bnxt_try_recover_fw() argument 12643 bnxt_clear_reservations(struct bnxt * bp,bool fw_reset) bnxt_clear_reservations() argument 12664 bnxt_cancel_reservations(struct bnxt * bp,bool fw_reset) bnxt_cancel_reservations() argument 12680 bnxt_hwrm_if_change(struct bnxt * bp,bool up) bnxt_hwrm_if_change() argument 12769 bnxt_hwrm_port_led_qcaps(struct bnxt * bp) bnxt_hwrm_port_led_qcaps() argument 12812 bnxt_hwrm_alloc_wol_fltr(struct bnxt * bp) bnxt_hwrm_alloc_wol_fltr() argument 12835 bnxt_hwrm_free_wol_fltr(struct bnxt * bp) bnxt_hwrm_free_wol_fltr() argument 12851 bnxt_hwrm_get_wol_fltrs(struct bnxt * bp,u16 handle) bnxt_hwrm_get_wol_fltrs() argument 12880 bnxt_get_wol_settings(struct bnxt * bp) bnxt_get_wol_settings() argument 12893 bnxt_eee_config_ok(struct bnxt * bp) bnxt_eee_config_ok() argument 12920 bnxt_update_phy_setting(struct bnxt * bp) bnxt_update_phy_setting() argument 12982 bnxt_reinit_after_abort(struct bnxt * bp) bnxt_reinit_after_abort() argument 13004 bnxt_cfg_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_cfg_one_usr_fltr() argument 13032 bnxt_cfg_usr_fltrs(struct bnxt * bp) bnxt_cfg_usr_fltrs() argument 13040 bnxt_set_xps_mapping(struct bnxt * bp) bnxt_set_xps_mapping() argument 13080 bnxt_tx_nr_rings(struct bnxt * bp) bnxt_tx_nr_rings() argument 13086 bnxt_tx_nr_rings_per_tc(struct bnxt * bp) bnxt_tx_nr_rings_per_tc() argument 13091 bnxt_set_xdp_tx_rings(struct bnxt * bp) bnxt_set_xdp_tx_rings() argument 13097 bnxt_adj_tx_rings(struct bnxt * bp) bnxt_adj_tx_rings() argument 13106 __bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_open_nic() argument 13205 bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_open_nic() argument 13224 bnxt_half_open_nic(struct bnxt * bp) bnxt_half_open_nic() argument 13260 bnxt_half_close_nic(struct bnxt * bp) bnxt_half_close_nic() argument 13269 bnxt_reenable_sriov(struct bnxt * bp) bnxt_reenable_sriov() argument 13282 struct bnxt *bp = netdev_priv(dev); bnxt_open() local 13314 bnxt_drv_busy(struct bnxt * bp) bnxt_drv_busy() argument 13323 __bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_close_nic() argument 13362 bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_close_nic() argument 13395 struct bnxt *bp = netdev_priv(dev); bnxt_close() local 13403 bnxt_hwrm_port_phy_read(struct bnxt * bp,u16 phy_addr,u16 reg,u16 * val) bnxt_hwrm_port_phy_read() argument 13435 bnxt_hwrm_port_phy_write(struct bnxt * bp,u16 phy_addr,u16 reg,u16 val) bnxt_hwrm_port_phy_write() argument 13466 struct bnxt *bp = netdev_priv(dev); bnxt_ioctl() local 13500 bnxt_get_ring_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_get_ring_stats() argument 13539 bnxt_add_prev_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_add_prev_stats() argument 13557 struct bnxt *bp = netdev_priv(dev); bnxt_get_stats64() local 13598 bnxt_get_one_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_drv_stats() argument 13620 bnxt_get_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats) bnxt_get_ring_drv_stats() argument 13629 bnxt_mc_list_updated(struct bnxt * bp,u32 * rx_mask,const struct netdev_hw_addr_list * mc) bnxt_mc_list_updated() argument 13663 bnxt_uc_list_updated(struct bnxt * bp,const struct netdev_hw_addr_list * uc) bnxt_uc_list_updated() argument 13686 struct bnxt *bp = netdev_priv(dev); bnxt_set_rx_mode() local 13723 bnxt_cfg_rx_mode(struct bnxt * bp,struct netdev_hw_addr_list * uc,bool uc_update) bnxt_cfg_rx_mode() argument 13794 bnxt_can_reserve_rings(struct bnxt * bp) bnxt_can_reserve_rings() argument 13814 bnxt_rfs_supported(struct bnxt * bp) bnxt_rfs_supported() argument 13832 bnxt_rfs_capable(struct bnxt * bp,bool new_rss_ctx) bnxt_rfs_capable() argument 13886 struct bnxt *bp = netdev_priv(dev); bnxt_fix_features() local 13923 bnxt_reinit_features(struct bnxt * bp,bool irq_re_init,bool link_re_init,u32 flags,bool update_tpa) bnxt_reinit_features() argument 13936 struct bnxt *bp = netdev_priv(dev); bnxt_set_features() local 14005 bnxt_exthdr_check(struct bnxt * bp,struct sk_buff * skb,int nw_off,u8 ** nextp) bnxt_exthdr_check() argument 14054 bnxt_udp_tunl_check(struct bnxt * bp,struct sk_buff * skb) bnxt_udp_tunl_check() argument 14082 bnxt_tunl_check(struct bnxt * bp,struct sk_buff * skb,u8 l4_proto) bnxt_tunl_check() argument 14111 struct bnxt *bp = netdev_priv(dev); bnxt_features_check() local 14134 bnxt_dbg_hwrm_rd_reg(struct bnxt * bp,u32 reg_off,u16 num_words,u32 * reg_buf) bnxt_dbg_hwrm_rd_reg() argument 14173 bnxt_dbg_hwrm_ring_info_get(struct bnxt * bp,u8 ring_type,u32 ring_id,u32 * prod,u32 * cons) bnxt_dbg_hwrm_ring_info_get() argument 14238 bnxt_dbg_dump_states(struct bnxt * bp) bnxt_dbg_dump_states() argument 14253 bnxt_hwrm_rx_ring_reset(struct bnxt * bp,int ring_nr) bnxt_hwrm_rx_ring_reset() argument 14274 bnxt_reset_task(struct bnxt * bp,bool silent) bnxt_reset_task() argument 14286 struct bnxt *bp = netdev_priv(dev); bnxt_tx_timeout() local 14292 bnxt_fw_health_check(struct bnxt * bp) bnxt_fw_health_check() argument 14331 struct bnxt *bp = timer_container_of(bp, t, timer); bnxt_timer() local 14373 bnxt_lock_sp(struct bnxt * bp) bnxt_lock_sp() argument 14385 bnxt_unlock_sp(struct bnxt * bp) bnxt_unlock_sp() argument 14392 bnxt_rtnl_lock_sp(struct bnxt * bp) bnxt_rtnl_lock_sp() argument 14399 bnxt_rtnl_unlock_sp(struct bnxt * bp) bnxt_rtnl_unlock_sp() argument 14407 bnxt_reset(struct bnxt * bp,bool silent) bnxt_reset() argument 14416 bnxt_rx_ring_reset(struct bnxt * bp) bnxt_rx_ring_reset() argument 14464 bnxt_fw_fatal_close(struct bnxt * bp) bnxt_fw_fatal_close() argument 14474 bnxt_fw_reset_close(struct bnxt * bp) bnxt_fw_reset_close() argument 14497 is_bnxt_fw_ok(struct bnxt * bp) is_bnxt_fw_ok() argument 14518 bnxt_force_fw_reset(struct bnxt * bp) bnxt_force_fw_reset() argument 14555 bnxt_fw_exception(struct bnxt * bp) bnxt_fw_exception() argument 14568 bnxt_get_registered_vfs(struct bnxt * bp) bnxt_get_registered_vfs() argument 14589 bnxt_fw_reset(struct bnxt * bp) bnxt_fw_reset() argument 14641 bnxt_chk_missed_irq(struct bnxt * bp) bnxt_chk_missed_irq() argument 14680 bnxt_init_ethtool_link_settings(struct bnxt * bp) bnxt_init_ethtool_link_settings() argument 14705 bnxt_fw_echo_reply(struct bnxt * bp) bnxt_fw_echo_reply() argument 14719 bnxt_ulp_restart(struct bnxt * bp) bnxt_ulp_restart() argument 14727 struct bnxt *bp = container_of(work, struct bnxt, sp_task); bnxt_sp_task() local 14843 bnxt_check_rings(struct bnxt * bp,int tx,int rx,bool sh,int tcs,int tx_xdp) bnxt_check_rings() argument 14901 bnxt_unmap_bars(struct bnxt * bp,struct pci_dev * pdev) bnxt_unmap_bars() argument 14919 bnxt_cleanup_pci(struct bnxt * bp) bnxt_cleanup_pci() argument 14927 bnxt_init_dflt_coal(struct bnxt * bp) bnxt_init_dflt_coal() argument 14962 bnxt_fw_pre_resv_vnics(struct bnxt * bp) bnxt_fw_pre_resv_vnics() argument 14975 bnxt_hwrm_pfcwd_qcaps(struct bnxt * bp) bnxt_hwrm_pfcwd_qcaps() argument 14992 bnxt_fw_init_one_p1(struct bnxt * bp) bnxt_fw_init_one_p1() argument 15023 bnxt_fw_init_one_p2(struct bnxt * bp) bnxt_fw_init_one_p2() argument 15081 bnxt_set_dflt_rss_hash_type(struct bnxt * bp) bnxt_set_dflt_rss_hash_type() argument 15097 bnxt_set_dflt_rfs(struct bnxt * bp) bnxt_set_dflt_rfs() argument 15113 bnxt_fw_init_one_p3(struct bnxt * bp) bnxt_fw_init_one_p3() argument 15132 bnxt_fw_init_one(struct bnxt * bp) bnxt_fw_init_one() argument 15157 bnxt_fw_reset_writel(struct bnxt * bp,int reg_idx) bnxt_fw_reset_writel() argument 15189 bnxt_hwrm_reset_permitted(struct bnxt * bp) bnxt_hwrm_reset_permitted() argument 15210 bnxt_reset_all(struct bnxt * bp) bnxt_reset_all() argument 15241 bnxt_fw_reset_timeout(struct bnxt * bp) bnxt_fw_reset_timeout() argument 15247 bnxt_fw_reset_abort(struct bnxt * bp,int rc) bnxt_fw_reset_abort() argument 15258 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); bnxt_fw_reset_task() local 15436 struct bnxt *bp = netdev_priv(dev); bnxt_init_board() local 15523 struct bnxt *bp = netdev_priv(dev); bnxt_change_mac_addr() local 15550 struct bnxt *bp = netdev_priv(dev); bnxt_change_mtu() local 15574 bnxt_set_cp_rings(struct bnxt * bp,bool sh) bnxt_set_cp_rings() argument 15584 struct bnxt *bp = netdev_priv(dev); bnxt_setup_mq_tc() local 15630 struct bnxt *bp = cb_priv; bnxt_setup_tc_block_cb() local 15649 struct bnxt *bp = netdev_priv(dev); bnxt_setup_tc() local 15669 bnxt_get_ntp_filter_idx(struct bnxt * bp,struct flow_keys * fkeys,const struct sk_buff * skb) bnxt_get_ntp_filter_idx() argument 15681 bnxt_insert_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_insert_ntp_filter() argument 15745 bnxt_lookup_ntp_filter_from_idx(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_lookup_ntp_filter_from_idx() argument 15763 struct bnxt *bp = netdev_priv(dev); bnxt_rx_flow_steer() local 15847 bnxt_del_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_del_ntp_filter() argument 15863 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument 15907 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_set_port() local 15923 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_unset_port() local 15959 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_getlink() local 15968 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_setlink() local 15997 struct bnxt *bp = netdev_priv(dev); bnxt_get_port_parent_id() local 16054 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_rx() local 16082 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_tx() local 16107 struct bnxt *bp = netdev_priv(dev); bnxt_get_base_stats() local 16135 struct bnxt *bp = netdev_priv(dev); bnxt_validate_qcfg() local 16157 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_alloc() local 16243 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_free() local 16266 bnxt_copy_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * dst,struct bnxt_rx_ring_info * src) bnxt_copy_rx_ring() argument 16327 struct bnxt *bp = netdev_priv(dev); bnxt_queue_start() local 16406 struct bnxt *bp = netdev_priv(dev); bnxt_queue_stop() local 16470 struct bnxt *bp = netdev_priv(dev); bnxt_remove_one() local 16515 bnxt_probe_phy(struct bnxt * bp,bool fw_dflt) bnxt_probe_phy() argument 16569 _bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,int * max_cp) _bnxt_get_max_rings() argument 16605 bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_max_rings() argument 16618 bnxt_get_dflt_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_dflt_rings() argument 16666 bnxt_trim_dflt_sh_rings(struct bnxt * bp) bnxt_trim_dflt_sh_rings() argument 16674 bnxt_adj_dflt_rings(struct bnxt * bp,bool sh) bnxt_adj_dflt_rings() argument 16687 bnxt_set_dflt_rings(struct bnxt * bp,bool sh) bnxt_set_dflt_rings() argument 16749 bnxt_init_dflt_ring_mode(struct bnxt * bp) bnxt_init_dflt_ring_mode() argument 16779 bnxt_restore_pf_fw_resources(struct bnxt * bp) bnxt_restore_pf_fw_resources() argument 16804 bnxt_init_mac_addr(struct bnxt * bp) bnxt_init_mac_addr() argument 16831 bnxt_vpd_read_info(struct bnxt * bp) bnxt_vpd_read_info() argument 16865 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument 16882 bnxt_map_db_bar(struct bnxt * bp) bnxt_map_db_bar() argument 16892 bnxt_print_device_info(struct bnxt * bp) bnxt_print_device_info() argument 16905 struct bnxt *bp; bnxt_init_one() local 17191 struct bnxt *bp; bnxt_shutdown() local 17227 struct bnxt *bp = netdev_priv(dev); bnxt_suspend() local 17248 struct bnxt *bp = netdev_priv(dev); bnxt_resume() local 17325 struct bnxt *bp = netdev_priv(netdev); bnxt_io_error_detected() local 17379 struct bnxt *bp = netdev_priv(netdev); bnxt_io_slot_reset() local 17464 struct bnxt *bp = netdev_priv(netdev); bnxt_io_resume() local [all...] |
| H A D | bnxt_ulp.c | 36 static void bnxt_auxdev_set_state(struct bnxt *bp, int idx, int state) in bnxt_auxdev_set_state() argument 38 bp->auxdev_state[idx] = state; in bnxt_auxdev_set_state() 41 static bool bnxt_auxdev_is_init(struct bnxt *bp, int idx) in bnxt_auxdev_is_init() argument 43 return (bp->auxdev_state[idx] == BNXT_ADEV_STATE_INIT); in bnxt_auxdev_is_init() 46 static bool bnxt_auxdev_is_active(struct bnxt *bp, int idx) in bnxt_auxdev_is_active() argument 48 return (bp->auxdev_state[idx] == BNXT_ADEV_STATE_ADD); in bnxt_auxdev_is_active() 57 static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) in bnxt_fill_msix_vecs() argument 59 struct bnxt_en_dev *edev = bp->edev[BNXT_AUXDEV_RDMA]; in bnxt_fill_msix_vecs() 63 netdev_warn(bp->dev, "Requested MSI-X vectors insufficient\n"); in bnxt_fill_msix_vecs() 68 ent[i].vector = bp->irq_tbl[i].vector; in bnxt_fill_msix_vecs() [all …]
|
| H A D | bnxt_dcb.c | 25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument 29 for (i = 0; i < bp->max_tc; i++) { in bnxt_queue_to_tc() 30 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc() 31 for (j = 0; j < bp->max_tc; j++) { in bnxt_queue_to_tc() 32 if (bp->tc_to_qidx[j] == i) in bnxt_queue_to_tc() 40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg() argument 46 rc = hwrm_req_init(bp, req, HWRM_QUEUE_PRI2COS_CFG); in bnxt_hwrm_queue_pri2cos_cfg() 60 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; in bnxt_hwrm_queue_pri2cos_cfg() 61 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg() 63 return hwrm_req_send(bp, req); in bnxt_hwrm_queue_pri2cos_cfg() [all …]
|
| H A D | bnxt_vfr.c | 28 static int hwrm_cfa_vfr_alloc(struct bnxt *bp, u16 vf_idx, in hwrm_cfa_vfr_alloc() argument 35 rc = hwrm_req_init(bp, req, HWRM_CFA_VFR_ALLOC); in hwrm_cfa_vfr_alloc() 40 resp = hwrm_req_hold(bp, req); in hwrm_cfa_vfr_alloc() 41 rc = hwrm_req_send(bp, req); in hwrm_cfa_vfr_alloc() 45 netdev_dbg(bp->dev, "tx_cfa_action=0x%x, rx_cfa_code=0x%x", in hwrm_cfa_vfr_alloc() 48 hwrm_req_drop(bp, req); in hwrm_cfa_vfr_alloc() 51 netdev_info(bp->dev, "%s error rc=%d\n", __func__, rc); in hwrm_cfa_vfr_alloc() 55 static int hwrm_cfa_vfr_free(struct bnxt *bp, u16 vf_idx) in hwrm_cfa_vfr_free() argument 60 rc = hwrm_req_init(bp, req, HWRM_CFA_VFR_FREE); in hwrm_cfa_vfr_free() 63 rc = hwrm_req_send(bp, req); in hwrm_cfa_vfr_free() [all …]
|
| H A D | bnxt_ethtool.c | 50 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() local 52 return bp->msg_enable; in bnxt_get_msglevel() 57 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() local 59 bp->msg_enable = value; in bnxt_set_msglevel() 67 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() local 73 coal->use_adaptive_rx_coalesce = bp->flags & BNXT_FLAG_DIM; in bnxt_get_coalesce() 75 hw_coal = &bp->rx_coal; in bnxt_get_coalesce() 85 hw_coal = &bp->tx_coal; in bnxt_get_coalesce() 95 coal->stats_block_coalesce_usecs = bp->stats_coal_ticks; in bnxt_get_coalesce() 105 struct bnxt *bp in bnxt_set_coalesce() local 512 bnxt_get_num_tpa_ring_stats(struct bnxt * bp) bnxt_get_num_tpa_ring_stats() argument 525 bnxt_get_num_ring_stats(struct bnxt * bp) bnxt_get_num_ring_stats() argument 538 bnxt_get_num_stats(struct bnxt * bp) bnxt_get_num_stats() argument 564 struct bnxt *bp = netdev_priv(dev); bnxt_get_sset_count() local 578 is_rx_ring(struct bnxt * bp,int ring_num) is_rx_ring() argument 583 is_tx_ring(struct bnxt * bp,int ring_num) is_tx_ring() argument 599 struct bnxt *bp = netdev_priv(dev); bnxt_get_ethtool_stats() local 715 struct bnxt *bp = netdev_priv(dev); bnxt_get_strings() local 828 struct bnxt *bp = netdev_priv(dev); bnxt_get_ringparam() local 854 struct bnxt *bp = netdev_priv(dev); bnxt_set_ringparam() local 909 struct bnxt *bp = netdev_priv(dev); bnxt_get_channels() local 958 struct bnxt *bp = netdev_priv(dev); bnxt_set_channels() local 1069 bnxt_get_all_fltr_ids_rcu(struct bnxt * bp,struct hlist_head tbl[],int tbl_size,u32 * ids,u32 start,u32 id_cnt) bnxt_get_all_fltr_ids_rcu() argument 1094 bnxt_get_one_fltr_rcu(struct bnxt * bp,struct hlist_head tbl[],int tbl_size,u32 id) bnxt_get_one_fltr_rcu() argument 1113 bnxt_grxclsrlall(struct bnxt * bp,struct ethtool_rxnfc * cmd,u32 * rule_locs) bnxt_grxclsrlall() argument 1132 bnxt_grxclsrule(struct bnxt * bp,struct ethtool_rxnfc * cmd) bnxt_grxclsrule() argument 1267 bnxt_get_rss_ctx_from_index(struct bnxt * bp,u32 index) bnxt_get_rss_ctx_from_index() argument 1278 bnxt_alloc_vnic_rss_table(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_alloc_vnic_rss_table() argument 1296 bnxt_add_l2_cls_rule(struct bnxt * bp,struct ethtool_rx_flow_spec * fs) bnxt_add_l2_cls_rule() argument 1373 bnxt_add_ntuple_cls_rule(struct bnxt * bp,struct ethtool_rxnfc * cmd) bnxt_add_ntuple_cls_rule() argument 1537 bnxt_srxclsrlins(struct bnxt * bp,struct ethtool_rxnfc * cmd) bnxt_srxclsrlins() argument 1579 bnxt_srxclsrldel(struct bnxt * bp,struct ethtool_rxnfc * cmd) bnxt_srxclsrldel() argument 1616 get_ethtool_ipv4_rss(struct bnxt * bp) get_ethtool_ipv4_rss() argument 1623 get_ethtool_ipv6_rss(struct bnxt * bp) get_ethtool_ipv6_rss() argument 1635 struct bnxt *bp = netdev_priv(dev); bnxt_get_rxfh_fields() local 1699 struct bnxt *bp = netdev_priv(dev); bnxt_set_rxfh_fields() local 1809 struct bnxt *bp = netdev_priv(dev); bnxt_get_rx_ring_count() local 1817 struct bnxt *bp = netdev_priv(dev); bnxt_get_rxnfc() local 1844 struct bnxt *bp = netdev_priv(dev); bnxt_set_rxnfc() local 1865 struct bnxt *bp = netdev_priv(dev); bnxt_get_rxfh_indir_size() local 1882 struct bnxt *bp = netdev_priv(dev); bnxt_get_rxfh() local 1916 bnxt_modify_rss(struct bnxt * bp,struct ethtool_rxfh_context * ctx,struct bnxt_rss_ctx * rss_ctx,const struct ethtool_rxfh_param * rxfh) bnxt_modify_rss() argument 1943 bnxt_rxfh_context_check(struct bnxt * bp,const struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) bnxt_rxfh_context_check() argument 1970 struct bnxt *bp = netdev_priv(dev); bnxt_create_rxfh_context() local 2040 struct bnxt *bp = netdev_priv(dev); bnxt_modify_rxfh_context() local 2060 struct bnxt *bp = netdev_priv(dev); bnxt_remove_rxfh_context() local 2073 struct bnxt *bp = netdev_priv(dev); bnxt_set_rxfh() local 2091 struct bnxt *bp = netdev_priv(dev); bnxt_get_drvinfo() local 2106 struct bnxt *bp = netdev_priv(dev); bnxt_get_regs_len() local 2115 __bnxt_hwrm_pcie_qstats(struct bnxt * bp,struct hwrm_pcie_qstats_input * req) __bnxt_hwrm_pcie_qstats() argument 2151 struct bnxt *bp = netdev_priv(dev); bnxt_get_regs() local 2201 struct bnxt *bp = netdev_priv(dev); bnxt_get_wol() local 2215 struct bnxt *bp = netdev_priv(dev); bnxt_set_wol() local 2537 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_ethtool_modes() local 2694 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_all_ethtool_support_speeds() local 2719 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_all_ethtool_adv_speeds() local 2743 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_all_ethtool_lp_speeds() local 2780 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_ethtool_speeds() local 2923 struct bnxt *bp = netdev_priv(dev); bnxt_get_link_ksettings() local 2990 struct bnxt *bp = netdev_priv(dev); bnxt_force_link_speed() local 3149 struct bnxt *bp = netdev_priv(dev); bnxt_set_link_ksettings() local 3210 struct bnxt *bp = netdev_priv(dev); bnxt_get_fecparam() local 3273 bnxt_hwrm_port_phy_fdrstat(struct bnxt * bp,struct ethtool_fec_hist * hist) bnxt_hwrm_port_phy_fdrstat() argument 3307 struct bnxt *bp = netdev_priv(dev); bnxt_get_fec_stats() local 3345 struct bnxt *bp = netdev_priv(dev); bnxt_set_fecparam() local 3393 struct bnxt *bp = netdev_priv(dev); bnxt_get_pauseparam() local 3406 struct bnxt *bp = netdev_priv(dev); bnxt_get_pause_stats() local 3423 struct bnxt *bp = netdev_priv(dev); bnxt_set_pauseparam() local 3463 struct bnxt *bp = netdev_priv(dev); bnxt_get_link() local 3472 struct bnxt *bp = netdev_priv(dev); bnxt_get_link_ext_state() local 3503 bnxt_hwrm_nvm_get_dev_info(struct bnxt * bp,struct hwrm_nvm_get_dev_info_output * nvm_dev_info) bnxt_hwrm_nvm_get_dev_info() argument 3525 bnxt_print_admin_err(struct bnxt * bp) bnxt_print_admin_err() argument 3539 struct bnxt *bp = netdev_priv(dev); bnxt_flash_nvram() local 3579 struct bnxt *bp = netdev_priv(dev); bnxt_hwrm_firmware_reset() local 3645 struct bnxt *bp = netdev_priv(dev); bnxt_firmware_reset_chip() local 3919 bnxt_hwrm_nvm_defrag(struct bnxt * bp) bnxt_hwrm_nvm_defrag() argument 3936 struct bnxt *bp = netdev_priv(dev); bnxt_resize_update_entry() local 3977 struct bnxt *bp = netdev_priv(dev); bnxt_flash_package_from_fw_obj() local 4171 struct bnxt *bp = netdev_priv(dev); nvm_get_dir_info() local 4190 struct bnxt *bp = netdev_priv(dev); bnxt_get_eeprom_len() local 4203 struct bnxt *bp = netdev_priv(dev); bnxt_get_nvram_directory() local 4251 struct bnxt *bp = netdev_priv(dev); bnxt_get_nvram_item() local 4289 struct bnxt *bp = netdev_priv(dev); bnxt_find_nvram_item() local 4351 struct bnxt *bp = netdev_priv(dev); bnxt_get_pkginfo() local 4390 struct bnxt *bp = netdev_priv(dev); bnxt_get_pkgver() local 4425 struct bnxt *bp = netdev_priv(dev); bnxt_erase_nvram_directory() local 4440 struct bnxt *bp = netdev_priv(dev); bnxt_set_eeprom() local 4481 struct bnxt *bp = netdev_priv(dev); bnxt_set_eee() local 4537 struct bnxt *bp = netdev_priv(dev); bnxt_get_eee() local 4557 bnxt_hwrm_pfcwd_qcfg(struct bnxt * bp,u16 * val) bnxt_hwrm_pfcwd_qcfg() argument 4574 bnxt_hwrm_pfcwd_cfg(struct bnxt * bp,u16 val) bnxt_hwrm_pfcwd_cfg() argument 4591 struct bnxt *bp = netdev_priv(dev); bnxt_set_tunable() local 4622 struct bnxt *bp = netdev_priv(dev); bnxt_get_tunable() local 4639 bnxt_read_sfp_module_eeprom_info(struct bnxt * bp,u16 i2c_addr,u16 page_number,u8 bank,u16 start_addr,u16 data_length,u8 * buf) bnxt_read_sfp_module_eeprom_info() argument 4684 struct bnxt *bp = netdev_priv(dev); bnxt_get_module_info() local 4737 struct bnxt *bp = netdev_priv(dev); bnxt_get_module_eeprom() local 4768 bnxt_get_module_status(struct bnxt * bp,struct netlink_ext_ack * extack) bnxt_get_module_status() argument 4797 bnxt_mod_eeprom_by_page_precheck(struct bnxt * bp,const struct ethtool_module_eeprom * page_data,struct netlink_ext_ack * extack) bnxt_mod_eeprom_by_page_precheck() argument 4829 struct bnxt *bp = netdev_priv(dev); bnxt_get_module_eeprom_by_page() local 4848 bnxt_write_sfp_module_eeprom_info(struct bnxt * bp,const struct ethtool_module_eeprom * page) bnxt_write_sfp_module_eeprom_info() argument 4889 struct bnxt *bp = netdev_priv(dev); bnxt_set_module_eeprom_by_page() local 4908 struct bnxt *bp = netdev_priv(dev); bnxt_nway_reset() local 4927 struct bnxt *bp = netdev_priv(dev); bnxt_set_phys_id() local 4964 bnxt_hwrm_selftest_irq(struct bnxt * bp,u16 cmpl_ring) bnxt_hwrm_selftest_irq() argument 4977 bnxt_test_irq(struct bnxt * bp) bnxt_test_irq() argument 4992 bnxt_hwrm_mac_loopback(struct bnxt * bp,bool enable) bnxt_hwrm_mac_loopback() argument 5009 bnxt_query_force_speeds(struct bnxt * bp,u16 * force_speeds) bnxt_query_force_speeds() argument 5028 bnxt_disable_an_for_lpbk(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_disable_an_for_lpbk() argument 5065 bnxt_hwrm_phy_loopback(struct bnxt * bp,bool enable,bool ext) bnxt_hwrm_phy_loopback() argument 5092 bnxt_rx_loopback(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 raw_cons,int pkt_size) bnxt_rx_loopback() argument 5125 bnxt_poll_loopback(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int pkt_size) bnxt_poll_loopback() argument 5161 bnxt_run_loopback(struct bnxt * bp) bnxt_run_loopback() argument 5207 bnxt_run_fw_tests(struct bnxt * bp,u8 test_mask,u8 * test_results) bnxt_run_fw_tests() argument 5236 struct bnxt *bp = netdev_priv(dev); bnxt_self_test() local 5345 struct bnxt *bp = netdev_priv(dev); bnxt_reset() local 5399 struct bnxt *bp = netdev_priv(dev); bnxt_set_dump() local 5425 struct bnxt *bp = netdev_priv(dev); bnxt_get_dump_flag() local 5443 struct bnxt *bp = netdev_priv(dev); bnxt_get_dump_data() local 5457 struct bnxt *bp = netdev_priv(dev); bnxt_get_ts_info() local 5483 bnxt_hwrm_pcie_qstats(struct bnxt * bp) bnxt_hwrm_pcie_qstats() argument 5503 bnxt_ethtool_init(struct bnxt * bp) bnxt_ethtool_init() argument 5569 struct bnxt *bp = netdev_priv(dev); bnxt_get_eth_phy_stats() local 5583 struct bnxt *bp = netdev_priv(dev); bnxt_get_eth_mac_stats() local 5607 struct bnxt *bp = netdev_priv(dev); bnxt_get_eth_ctrl_stats() local 5636 struct bnxt *bp = netdev_priv(dev); bnxt_get_rmon_stats() local 5696 struct bnxt *bp = netdev_priv(dev); bnxt_get_ptp_stats() local 5709 struct bnxt *bp = netdev_priv(dev); bnxt_get_link_ext_stats() local 5720 bnxt_ethtool_free(struct bnxt * bp) bnxt_ethtool_free() argument [all...] |
| H A D | bnxt_ptp.c | 23 static int bnxt_ptp_cfg_settime(struct bnxt *bp, u64 time) in bnxt_ptp_cfg_settime() argument 28 rc = hwrm_req_init(bp, req, HWRM_FUNC_PTP_CFG); in bnxt_ptp_cfg_settime() 34 return hwrm_req_send(bp, req); in bnxt_ptp_cfg_settime() 67 if (BNXT_PTP_USE_RTC(ptp->bp)) in bnxt_ptp_settime() 68 return bnxt_ptp_cfg_settime(ptp->bp, ns); in bnxt_ptp_settime() 77 static int __bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in __bnxt_refclk_read() argument 80 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in __bnxt_refclk_read() 83 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) in __bnxt_refclk_read() 86 high_before = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in __bnxt_refclk_read() 88 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in __bnxt_refclk_read() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_buf.c | 50 static void xfs_buf_submit(struct xfs_buf *bp); 51 static int xfs_buf_iowait(struct xfs_buf *bp); 53 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) in xfs_buf_is_uncached() argument 55 return bp->b_rhash_key == XFS_BUF_DADDR_NULL; in xfs_buf_is_uncached() 68 struct xfs_buf *bp) in xfs_buf_stale() argument 70 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_stale() 72 bp->b_flags |= XBF_STALE; in xfs_buf_stale() 79 bp->b_flags &= ~_XBF_DELWRI_Q; in xfs_buf_stale() 81 spin_lock(&bp->b_lockref.lock); in xfs_buf_stale() 82 atomic_set(&bp in xfs_buf_stale() 92 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); xfs_buf_free_callback() local 101 xfs_buf_free(struct xfs_buf * bp) xfs_buf_free() argument 125 xfs_buf_alloc_kmem(struct xfs_buf * bp,size_t size,gfp_t gfp_mask) xfs_buf_alloc_kmem() argument 173 xfs_buf_alloc_backing_mem(struct xfs_buf * bp,xfs_buf_flags_t flags) xfs_buf_alloc_backing_mem() argument 257 struct xfs_buf *bp; xfs_buf_alloc() local 326 const struct xfs_buf *bp = obj; _xfs_buf_obj_cmp() local 391 xfs_buf_find_lock(struct xfs_buf * bp,xfs_buf_flags_t flags) xfs_buf_find_lock() argument 428 struct xfs_buf *bp; xfs_buf_lookup() local 465 struct xfs_buf *bp; xfs_buf_find_insert() local 541 struct xfs_buf *bp = NULL; xfs_buf_get_map() local 599 _xfs_buf_read(struct xfs_buf * bp) _xfs_buf_read() argument 628 xfs_buf_reverify(struct xfs_buf * bp,const struct xfs_buf_ops * ops) xfs_buf_reverify() argument 654 struct xfs_buf *bp; xfs_buf_read_map() local 729 struct xfs_buf *bp; xfs_buf_readahead_map() local 769 struct xfs_buf *bp; xfs_buf_read_uncached() local 818 xfs_buf_hold(struct xfs_buf * bp) xfs_buf_hold() argument 827 xfs_buf_destroy(struct xfs_buf * bp) xfs_buf_destroy() argument 839 xfs_buf_kill(struct xfs_buf * bp) xfs_buf_kill() argument 853 xfs_buf_rele(struct xfs_buf * bp) xfs_buf_rele() argument 888 xfs_buf_trylock(struct xfs_buf * bp) xfs_buf_trylock() argument 911 xfs_buf_lock(struct xfs_buf * bp) xfs_buf_lock() argument 924 xfs_buf_unlock(struct xfs_buf * bp) xfs_buf_unlock() argument 934 xfs_buf_wait_unpin(struct xfs_buf * bp) xfs_buf_wait_unpin() argument 954 xfs_buf_ioerror_alert_ratelimited(struct xfs_buf * bp) xfs_buf_ioerror_alert_ratelimited() argument 973 xfs_buf_ioerror_permanent(struct xfs_buf * bp,struct xfs_error_cfg * cfg) xfs_buf_ioerror_permanent() argument 1011 xfs_buf_ioend_handle_error(struct xfs_buf * bp) xfs_buf_ioend_handle_error() argument 1089 __xfs_buf_ioend(struct xfs_buf * bp) __xfs_buf_ioend() argument 1136 xfs_buf_ioend(struct xfs_buf * bp) xfs_buf_ioend() argument 1150 struct xfs_buf *bp = xfs_buf_ioend_work() local 1159 __xfs_buf_ioerror(struct xfs_buf * bp,int error,xfs_failaddr_t failaddr) __xfs_buf_ioerror() argument 1170 xfs_buf_ioerror_alert(struct xfs_buf * bp,xfs_failaddr_t func) xfs_buf_ioerror_alert() argument 1189 xfs_buf_ioend_fail(struct xfs_buf * bp) xfs_buf_ioend_fail() argument 1199 xfs_bwrite(struct xfs_buf * bp) xfs_bwrite() argument 1220 struct xfs_buf *bp = bio->bi_private; xfs_buf_bio_end_io() local 1240 xfs_buf_bio_op(struct xfs_buf * bp) xfs_buf_bio_op() argument 1257 xfs_buf_submit_bio(struct xfs_buf * bp) xfs_buf_submit_bio() argument 1299 xfs_buf_iowait(struct xfs_buf * bp) xfs_buf_iowait() argument 1318 xfs_buf_verify_write(struct xfs_buf * bp) xfs_buf_verify_write() argument 1350 xfs_buf_submit(struct xfs_buf * bp) xfs_buf_submit() argument 1413 __xfs_buf_mark_corrupt(struct xfs_buf * bp,xfs_failaddr_t fa) __xfs_buf_mark_corrupt() argument 1438 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); xfs_buftarg_drain_rele() local 1495 struct xfs_buf *bp; xfs_buftarg_drain() local 1530 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); xfs_buftarg_isolate() local 1581 struct xfs_buf *bp; xfs_buftarg_shrink_scan() local 1780 xfs_buf_list_del(struct xfs_buf * bp) xfs_buf_list_del() argument 1796 struct xfs_buf *bp; xfs_buf_delwri_cancel() local 1821 xfs_buf_delwri_queue(struct xfs_buf * bp,struct list_head * list) xfs_buf_delwri_queue() argument 1864 xfs_buf_delwri_queue_here(struct xfs_buf * bp,struct list_head * buffer_list) xfs_buf_delwri_queue_here() argument 1896 struct xfs_buf *bp = container_of(b, struct xfs_buf, b_list); xfs_buf_cmp() local 1909 xfs_buf_delwri_submit_prep(struct xfs_buf * bp) xfs_buf_delwri_submit_prep() argument 1949 struct xfs_buf *bp, *n; xfs_buf_delwri_submit_nowait() local 1989 struct xfs_buf *bp, *n; xfs_buf_delwri_submit() local 2024 xfs_buf_set_ref(struct xfs_buf * bp,int lru_ref) xfs_buf_set_ref() argument 2044 xfs_verify_magic(struct xfs_buf * bp,__be32 dmagic) xfs_verify_magic() argument 2062 xfs_verify_magic16(struct xfs_buf * bp,__be16 dmagic) xfs_verify_magic16() argument [all...] |
| /linux/drivers/sbus/char/ |
| H A D | bbc_i2c.c | 55 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() argument 60 if (bp->devs[i].device == op) { in set_device_claimage() 61 bp->devs[i].client_claimed = val; in set_device_claimage() 67 #define claim_device(BP,ECHILD) set_device_claimage(BP,ECHILD,1) argument 68 #define release_device(BP,ECHILD) set_device_claimage(BP,ECHILD,0) argument 70 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() argument 76 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev() 90 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() argument 98 client->bp = bp; in bbc_i2c_attach() 110 claim_device(bp, op); in bbc_i2c_attach() [all …]
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 64 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument 129 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() argument 133 if (macb_dma64(bp)) in macb_dma_desc_get_size() 135 if (macb_dma_ptp(bp)) in macb_dma_desc_get_size() 141 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() argument 143 return desc_idx * (1 + macb_dma64(bp) + macb_dma_ptp(bp)); in macb_adj_dma_desc_idx() 146 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() argument 153 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap() argument 155 return index & (bp->tx_ring_size - 1); in macb_tx_ring_wrap() 161 index = macb_tx_ring_wrap(queue->bp, index); in macb_tx_desc() [all …]
|
| H A D | macb_ptp.c | 28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc() argument 31 if (!macb_dma_ptp(bp)) in macb_ptp_desc() 34 if (macb_dma64(bp)) in macb_ptp_desc() 46 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time() local 51 spin_lock_irqsave(&bp->tsu_clk_lock, flags); in gem_tsu_get_time() 53 first = gem_readl(bp, TN); in gem_tsu_get_time() 55 secl = gem_readl(bp, TSL); in gem_tsu_get_time() 56 sech = gem_readl(bp, TSH); in gem_tsu_get_time() 57 second = gem_readl(bp, TN); in gem_tsu_get_time() 65 ts->tv_nsec = gem_readl(bp, TN); in gem_tsu_get_time() [all …]
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | sunbmac.c | 98 static void qec_init(struct bigmac *bp) in qec_init() argument 100 struct platform_device *qec_op = bp->qec_op; in qec_init() 101 void __iomem *gregs = bp->gregs; in qec_init() 102 u8 bsizes = bp->bigmac_bursts; in qec_init() 165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() argument 167 bigmac_tx_reset(bp->bregs); in bigmac_stop() 168 bigmac_rx_reset(bp->bregs); in bigmac_stop() 171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() argument 173 struct net_device_stats *stats = &bp->dev->stats; in bigmac_get_counters() 193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() argument [all …]
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-io.c | 22 #define BUFFER_CHECK(bp) do { \ argument 23 if ((bp)->signature != BUFFER_SIG) { \ 26 (bp), __FILE__, __LINE__); \ 27 pvr2_buffer_describe(bp, "BadSig"); \ 32 #define BUFFER_CHECK(bp) do {} while (0) argument 99 static void pvr2_buffer_describe(struct pvr2_buffer *bp, const char *msg) in pvr2_buffer_describe() argument 105 bp, in pvr2_buffer_describe() 106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe() 107 (bp ? bp->id : 0), in pvr2_buffer_describe() 108 (bp ? bp->status : 0), in pvr2_buffer_describe() [all …]
|
| /linux/fs/afs/ |
| H A D | yfsclient.c | 31 static __be32 *xdr_encode_u32(__be32 *bp, u32 n) in xdr_encode_u32() argument 33 *bp++ = htonl(n); in xdr_encode_u32() 34 return bp; in xdr_encode_u32() 37 static __be32 *xdr_encode_u64(__be32 *bp, u64 n) in xdr_encode_u64() argument 39 struct yfs_xdr_u64 *x = (void *)bp; in xdr_encode_u64() 42 return bp + xdr_size(x); in xdr_encode_u64() 45 static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid) in xdr_encode_YFSFid() argument 47 struct yfs_xdr_YFSFid *x = (void *)bp; in xdr_encode_YFSFid() 53 return bp + xdr_size(x); in xdr_encode_YFSFid() 61 static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len) in xdr_encode_string() argument [all …]
|
| H A D | fsclient.c | 23 const __be32 *bp = *_bp; in xdr_decode_AFSFid() local 25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 26 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid() 27 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid() 28 *_bp = bp; in xdr_decode_AFSFid() 34 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() argument 41 memcpy(x, bp, 16); in xdr_dump_bad() 42 bp += 4; in xdr_dump_bad() 47 memcpy(x, bp, 4); in xdr_dump_bad() 142 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local [all …]
|