• Home
  • Raw
  • Download

Lines Matching defs:qdev

107 static int ql_sem_trylock(struct ql_adapter *qdev, u32 sem_mask)  in ql_sem_trylock()
145 int ql_sem_spinlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_spinlock()
156 void ql_sem_unlock(struct ql_adapter *qdev, u32 sem_mask) in ql_sem_unlock()
167 int ql_wait_reg_rdy(struct ql_adapter *qdev, u32 reg, u32 bit, u32 err_bit) in ql_wait_reg_rdy()
194 static int ql_wait_cfg(struct ql_adapter *qdev, u32 bit) in ql_wait_cfg()
215 int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, in ql_write_cfg()
263 int ql_get_mac_addr_reg(struct ql_adapter *qdev, u32 type, u16 index, in ql_get_mac_addr_reg()
333 static int ql_set_mac_addr_reg(struct ql_adapter *qdev, u8 *addr, u32 type, in ql_set_mac_addr_reg()
452 static int ql_set_mac_addr(struct ql_adapter *qdev, int set) in ql_set_mac_addr()
480 void ql_link_on(struct ql_adapter *qdev) in ql_link_on()
487 void ql_link_off(struct ql_adapter *qdev) in ql_link_off()
497 int ql_get_routing_reg(struct ql_adapter *qdev, u32 index, u32 *value) in ql_get_routing_reg()
520 static int ql_set_routing_reg(struct ql_adapter *qdev, u32 index, u32 mask, in ql_set_routing_reg()
618 static void ql_enable_interrupts(struct ql_adapter *qdev) in ql_enable_interrupts()
623 static void ql_disable_interrupts(struct ql_adapter *qdev) in ql_disable_interrupts()
634 u32 ql_enable_completion_interrupt(struct ql_adapter *qdev, u32 intr) in ql_enable_completion_interrupt()
660 static u32 ql_disable_completion_interrupt(struct ql_adapter *qdev, u32 intr) in ql_disable_completion_interrupt()
683 static void ql_enable_all_completion_interrupts(struct ql_adapter *qdev) in ql_enable_all_completion_interrupts()
699 static int ql_validate_flash(struct ql_adapter *qdev, u32 size, const char *str) in ql_validate_flash()
721 static int ql_read_flash_word(struct ql_adapter *qdev, int offset, __le32 *data) in ql_read_flash_word()
745 static int ql_get_8000_flash_params(struct ql_adapter *qdev) in ql_get_8000_flash_params()
810 static int ql_get_8012_flash_params(struct ql_adapter *qdev) in ql_get_8012_flash_params()
864 static int ql_write_xgmac_reg(struct ql_adapter *qdev, u32 reg, u32 data) in ql_write_xgmac_reg()
883 int ql_read_xgmac_reg(struct ql_adapter *qdev, u32 reg, u32 *data) in ql_read_xgmac_reg()
905 int ql_read_xgmac_reg64(struct ql_adapter *qdev, u32 reg, u64 *data) in ql_read_xgmac_reg64()
925 static int ql_8000_port_initialize(struct ql_adapter *qdev) in ql_8000_port_initialize()
950 static int ql_8012_port_initialize(struct ql_adapter *qdev) in ql_8012_port_initialize()
1025 static inline unsigned int ql_lbq_block_size(struct ql_adapter *qdev) in ql_lbq_block_size()
1041 static struct bq_desc *ql_get_curr_lchunk(struct ql_adapter *qdev, in ql_get_curr_lchunk()
1090 static int ql_get_next_chunk(struct ql_adapter *qdev, struct rx_ring *rx_ring, in ql_get_next_chunk()
1139 static void ql_update_lbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_lbq()
1193 static void ql_update_sbq(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_update_sbq()
1258 static void ql_update_buffer_queues(struct ql_adapter *qdev, in ql_update_buffer_queues()
1268 static void ql_unmap_send(struct ql_adapter *qdev, in ql_unmap_send()
1310 static int ql_map_send(struct ql_adapter *qdev, in ql_map_send()
1437 static void ql_categorize_rx_err(struct ql_adapter *qdev, u8 rx_err, in ql_categorize_rx_err()
1472 static void ql_update_mac_hdr_len(struct ql_adapter *qdev, in ql_update_mac_hdr_len()
1492 static void ql_process_mac_rx_gro_page(struct ql_adapter *qdev, in ql_process_mac_rx_gro_page()
1539 static void ql_process_mac_rx_page(struct ql_adapter *qdev, in ql_process_mac_rx_page()
1632 static void ql_process_mac_rx_skb(struct ql_adapter *qdev, in ql_process_mac_rx_skb()
1760 static struct sk_buff *ql_build_rx_skb(struct ql_adapter *qdev, in ql_build_rx_skb()
1962 static void ql_process_mac_split_rx_intr(struct ql_adapter *qdev, in ql_process_mac_split_rx_intr()
2057 static unsigned long ql_process_mac_rx_intr(struct ql_adapter *qdev, in ql_process_mac_rx_intr()
2108 static void ql_process_mac_tx_intr(struct ql_adapter *qdev, in ql_process_mac_tx_intr()
2148 void ql_queue_fw_error(struct ql_adapter *qdev) in ql_queue_fw_error()
2154 void ql_queue_asic_error(struct ql_adapter *qdev) in ql_queue_asic_error()
2170 static void ql_process_chip_ae_intr(struct ql_adapter *qdev, in ql_process_chip_ae_intr()
2208 struct ql_adapter *qdev = rx_ring->qdev; in ql_clean_outbound_rx_ring() local
2256 struct ql_adapter *qdev = rx_ring->qdev; in ql_clean_inbound_rx_ring() local
2301 struct ql_adapter *qdev = rx_ring->qdev; in ql_napi_poll_msix() local
2346 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_vlan_mode() local
2363 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_update_hw_vlan_features() local
2409 static int __qlge_vlan_rx_add_vid(struct ql_adapter *qdev, u16 vid) in __qlge_vlan_rx_add_vid()
2424 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_vlan_rx_add_vid() local
2440 static int __qlge_vlan_rx_kill_vid(struct ql_adapter *qdev, u16 vid) in __qlge_vlan_rx_kill_vid()
2455 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_vlan_rx_kill_vid() local
2471 static void qlge_restore_vlan(struct ql_adapter *qdev) in qlge_restore_vlan()
2502 struct ql_adapter *qdev = rx_ring->qdev; in qlge_isr() local
2642 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_send() local
2721 static void ql_free_shadow_space(struct ql_adapter *qdev) in ql_free_shadow_space()
2739 static int ql_alloc_shadow_space(struct ql_adapter *qdev) in ql_alloc_shadow_space()
2768 static void ql_init_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_init_tx_ring()
2786 static void ql_free_tx_resources(struct ql_adapter *qdev, in ql_free_tx_resources()
2798 static int ql_alloc_tx_resources(struct ql_adapter *qdev, in ql_alloc_tx_resources()
2824 static void ql_free_lbq_buffers(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_free_lbq_buffers()
2858 static void ql_free_sbq_buffers(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_free_sbq_buffers()
2884 static void ql_free_rx_buffers(struct ql_adapter *qdev) in ql_free_rx_buffers()
2898 static void ql_alloc_rx_buffers(struct ql_adapter *qdev) in ql_alloc_rx_buffers()
2910 static void ql_init_lbq_ring(struct ql_adapter *qdev, in ql_init_lbq_ring()
2927 static void ql_init_sbq_ring(struct ql_adapter *qdev, in ql_init_sbq_ring()
2944 static void ql_free_rx_resources(struct ql_adapter *qdev, in ql_free_rx_resources()
2982 static int ql_alloc_rx_resources(struct ql_adapter *qdev, in ql_alloc_rx_resources()
3056 static void ql_tx_ring_clean(struct ql_adapter *qdev) in ql_tx_ring_clean()
3084 static void ql_free_mem_resources(struct ql_adapter *qdev) in ql_free_mem_resources()
3095 static int ql_alloc_mem_resources(struct ql_adapter *qdev) in ql_alloc_mem_resources()
3129 static int ql_start_rx_ring(struct ql_adapter *qdev, struct rx_ring *rx_ring) in ql_start_rx_ring()
3261 static int ql_start_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_start_tx_ring()
3307 static void ql_disable_msix(struct ql_adapter *qdev) in ql_disable_msix()
3324 static void ql_enable_msix(struct ql_adapter *qdev) in ql_enable_msix()
3385 static void ql_set_tx_vect(struct ql_adapter *qdev) in ql_set_tx_vect()
3415 static void ql_set_irq_mask(struct ql_adapter *qdev, struct intr_context *ctx) in ql_set_irq_mask()
3447 static void ql_resolve_queues_to_irqs(struct ql_adapter *qdev) in ql_resolve_queues_to_irqs()
3535 static void ql_free_irq(struct ql_adapter *qdev) in ql_free_irq()
3553 static int ql_request_irq(struct ql_adapter *qdev) in ql_request_irq()
3614 static int ql_start_rss(struct ql_adapter *qdev) in ql_start_rss()
3652 static int ql_clear_routing_entries(struct ql_adapter *qdev) in ql_clear_routing_entries()
3673 static int ql_route_initialize(struct ql_adapter *qdev) in ql_route_initialize()
3731 int ql_cam_route_initialize(struct ql_adapter *qdev) in ql_cam_route_initialize()
3754 static int ql_adapter_initialize(struct ql_adapter *qdev) in ql_adapter_initialize()
3866 static int ql_adapter_reset(struct ql_adapter *qdev) in ql_adapter_reset()
3916 struct ql_adapter *qdev = netdev_priv(ndev); in ql_display_dev_info() local
3931 static int ql_wol(struct ql_adapter *qdev) in ql_wol()
3978 static void ql_cancel_all_work_sync(struct ql_adapter *qdev) in ql_cancel_all_work_sync()
3993 static int ql_adapter_down(struct ql_adapter *qdev) in ql_adapter_down()
4024 static int ql_adapter_up(struct ql_adapter *qdev) in ql_adapter_up()
4059 static void ql_release_adapter_resources(struct ql_adapter *qdev) in ql_release_adapter_resources()
4065 static int ql_get_adapter_resources(struct ql_adapter *qdev) in ql_get_adapter_resources()
4079 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_close() local
4102 static int ql_configure_rings(struct ql_adapter *qdev) in ql_configure_rings()
4188 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_open() local
4213 static int ql_change_rx_buffers(struct ql_adapter *qdev) in ql_change_rx_buffers()
4265 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_change_mtu() local
4296 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_get_stats() local
4332 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_set_multicast_list() local
4422 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_set_mac_address() local
4445 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_tx_timeout() local
4451 struct ql_adapter *qdev = in ql_asic_reset_work() local
4496 static int ql_get_alt_pcie_func(struct ql_adapter *qdev) in ql_get_alt_pcie_func()
4522 static int ql_get_board_info(struct ql_adapter *qdev) in ql_get_board_info()
4560 struct ql_adapter *qdev = netdev_priv(ndev); in ql_release_all() local
4578 struct ql_adapter *qdev = netdev_priv(ndev); in ql_init_device() local
4726 struct ql_adapter *qdev = (struct ql_adapter *)data; in ql_timer() local
4742 struct ql_adapter *qdev = NULL; in qlge_probe() local
4823 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_remove() local
4836 struct ql_adapter *qdev = netdev_priv(ndev); in ql_eeh_close() local
4864 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_io_error_detected() local
4896 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_io_slot_reset() local
4920 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_io_resume() local
4947 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_suspend() local
4975 struct ql_adapter *qdev = netdev_priv(ndev); in qlge_resume() local