• Home
  • Raw
  • Download

Lines Matching defs:qdev

103 static int ql_sem_spinlock(struct ql3_adapter *qdev,  in ql_sem_spinlock()
122 static void ql_sem_unlock(struct ql3_adapter *qdev, u32 sem_mask) in ql_sem_unlock()
130 static int ql_sem_lock(struct ql3_adapter *qdev, u32 sem_mask, u32 sem_bits) in ql_sem_lock()
144 static int ql_wait_for_drvr_lock(struct ql3_adapter *qdev) in ql_wait_for_drvr_lock()
164 static void ql_set_register_page(struct ql3_adapter *qdev, u32 page) in ql_set_register_page()
175 static u32 ql_read_common_reg_l(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_common_reg_l()
187 static u32 ql_read_common_reg(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_common_reg()
192 static u32 ql_read_page0_reg_l(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_page0_reg_l()
207 static u32 ql_read_page0_reg(struct ql3_adapter *qdev, u32 __iomem *reg) in ql_read_page0_reg()
214 static void ql_write_common_reg_l(struct ql3_adapter *qdev, in ql_write_common_reg_l()
225 static void ql_write_common_reg(struct ql3_adapter *qdev, in ql_write_common_reg()
232 static void ql_write_nvram_reg(struct ql3_adapter *qdev, in ql_write_nvram_reg()
240 static void ql_write_page0_reg(struct ql3_adapter *qdev, in ql_write_page0_reg()
252 static void ql_write_page1_reg(struct ql3_adapter *qdev, in ql_write_page1_reg()
264 static void ql_write_page2_reg(struct ql3_adapter *qdev, in ql_write_page2_reg()
273 static void ql_disable_interrupts(struct ql3_adapter *qdev) in ql_disable_interrupts()
283 static void ql_enable_interrupts(struct ql3_adapter *qdev) in ql_enable_interrupts()
293 static void ql_release_to_lrg_buf_free_list(struct ql3_adapter *qdev, in ql_release_to_lrg_buf_free_list()
349 static struct ql_rcv_buf_cb *ql_get_from_lrg_buf_free_list(struct ql3_adapter in ql_get_from_lrg_buf_free_list()
374 static void fm93c56a_select(struct ql3_adapter *qdev) in fm93c56a_select()
387 static void fm93c56a_cmd(struct ql3_adapter *qdev, u32 cmd, u32 eepromAddr) in fm93c56a_cmd()
460 static void fm93c56a_deselect(struct ql3_adapter *qdev) in fm93c56a_deselect()
473 static void fm93c56a_datain(struct ql3_adapter *qdev, unsigned short *value) in fm93c56a_datain()
501 static void eeprom_readword(struct ql3_adapter *qdev, in eeprom_readword()
518 static int ql_get_nvram_params(struct ql3_adapter *qdev) in ql_get_nvram_params()
559 static int ql_wait_for_mii_ready(struct ql3_adapter *qdev) in ql_wait_for_mii_ready()
576 static void ql_mii_enable_scan_mode(struct ql3_adapter *qdev) in ql_mii_enable_scan_mode()
603 static u8 ql_mii_disable_scan_mode(struct ql3_adapter *qdev) in ql_mii_disable_scan_mode()
633 static int ql_mii_write_reg_ex(struct ql3_adapter *qdev, in ql_mii_write_reg_ex()
664 static int ql_mii_read_reg_ex(struct ql3_adapter *qdev, u16 regAddr, in ql_mii_read_reg_ex()
703 static int ql_mii_write_reg(struct ql3_adapter *qdev, u16 regAddr, u16 value) in ql_mii_write_reg()
731 static int ql_mii_read_reg(struct ql3_adapter *qdev, u16 regAddr, u16 *value) in ql_mii_read_reg()
767 static void ql_petbi_reset(struct ql3_adapter *qdev) in ql_petbi_reset()
772 static void ql_petbi_start_neg(struct ql3_adapter *qdev) in ql_petbi_start_neg()
790 static void ql_petbi_reset_ex(struct ql3_adapter *qdev) in ql_petbi_reset_ex()
796 static void ql_petbi_start_neg_ex(struct ql3_adapter *qdev) in ql_petbi_start_neg_ex()
817 static void ql_petbi_init(struct ql3_adapter *qdev) in ql_petbi_init()
823 static void ql_petbi_init_ex(struct ql3_adapter *qdev) in ql_petbi_init_ex()
829 static int ql_is_petbi_neg_pause(struct ql3_adapter *qdev) in ql_is_petbi_neg_pause()
839 static void phyAgereSpecificInit(struct ql3_adapter *qdev, u32 miiAddr) in phyAgereSpecificInit()
873 static enum PHY_DEVICE_TYPE getPhyType(struct ql3_adapter *qdev, in getPhyType()
906 static int ql_phy_get_speed(struct ql3_adapter *qdev) in ql_phy_get_speed()
937 static int ql_is_full_dup(struct ql3_adapter *qdev) in ql_is_full_dup()
957 static int ql_is_phy_neg_pause(struct ql3_adapter *qdev) in ql_is_phy_neg_pause()
967 static int PHY_Setup(struct ql3_adapter *qdev) in PHY_Setup()
1033 static void ql_mac_enable(struct ql3_adapter *qdev, u32 enable) in ql_mac_enable()
1053 static void ql_mac_cfg_soft_reset(struct ql3_adapter *qdev, u32 enable) in ql_mac_cfg_soft_reset()
1073 static void ql_mac_cfg_gig(struct ql3_adapter *qdev, u32 enable) in ql_mac_cfg_gig()
1093 static void ql_mac_cfg_full_dup(struct ql3_adapter *qdev, u32 enable) in ql_mac_cfg_full_dup()
1113 static void ql_mac_cfg_pause(struct ql3_adapter *qdev, u32 enable) in ql_mac_cfg_pause()
1135 static int ql_is_fiber(struct ql3_adapter *qdev) in ql_is_fiber()
1155 static int ql_is_auto_cfg(struct ql3_adapter *qdev) in ql_is_auto_cfg()
1165 static int ql_is_auto_neg_complete(struct ql3_adapter *qdev) in ql_is_auto_neg_complete()
1193 static int ql_is_neg_pause(struct ql3_adapter *qdev) in ql_is_neg_pause()
1201 static int ql_auto_neg_error(struct ql3_adapter *qdev) in ql_auto_neg_error()
1220 static u32 ql_get_link_speed(struct ql3_adapter *qdev) in ql_get_link_speed()
1228 static int ql_is_link_full_dup(struct ql3_adapter *qdev) in ql_is_link_full_dup()
1239 static int ql_link_down_detect(struct ql3_adapter *qdev) in ql_link_down_detect()
1263 static int ql_link_down_detect_clear(struct ql3_adapter *qdev) in ql_link_down_detect_clear()
1293 static int ql_this_adapter_controls_port(struct ql3_adapter *qdev) in ql_this_adapter_controls_port()
1322 static void ql_phy_reset_ex(struct ql3_adapter *qdev) in ql_phy_reset_ex()
1328 static void ql_phy_start_neg_ex(struct ql3_adapter *qdev) in ql_phy_start_neg_ex()
1401 static void ql_phy_init_ex(struct ql3_adapter *qdev) in ql_phy_init_ex()
1411 static u32 ql_get_link_state(struct ql3_adapter *qdev) in ql_get_link_state()
1436 static int ql_port_start(struct ql3_adapter *qdev) in ql_port_start()
1456 static int ql_finish_auto_neg(struct ql3_adapter *qdev) in ql_finish_auto_neg()
1517 struct ql3_adapter *qdev = in ql_link_state_machine_work() local
1581 static void ql_get_phy_owner(struct ql3_adapter *qdev) in ql_get_phy_owner()
1592 static void ql_init_scan_mode(struct ql3_adapter *qdev) in ql_init_scan_mode()
1611 static int ql_mii_setup(struct ql3_adapter *qdev) in ql_mii_setup()
1648 static u32 ql_supported_modes(struct ql3_adapter *qdev) in ql_supported_modes()
1656 static int ql_get_auto_cfg_status(struct ql3_adapter *qdev) in ql_get_auto_cfg_status()
1673 static u32 ql_get_speed(struct ql3_adapter *qdev) in ql_get_speed()
1690 static int ql_get_full_dup(struct ql3_adapter *qdev) in ql_get_full_dup()
1710 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_get_link_ksettings() local
1737 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_get_drvinfo() local
1747 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_get_msglevel() local
1753 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_set_msglevel() local
1760 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_get_pauseparam() local
1784 static int ql_populate_free_queue(struct ql3_adapter *qdev) in ql_populate_free_queue()
1843 static void ql_update_small_bufq_prod_index(struct ql3_adapter *qdev) in ql_update_small_bufq_prod_index()
1866 static void ql_update_lrg_bufq_prod_index(struct ql3_adapter *qdev) in ql_update_lrg_bufq_prod_index()
1916 static void ql_process_mac_tx_intr(struct ql3_adapter *qdev, in ql_process_mac_tx_intr()
1971 static void ql_get_sbuf(struct ql3_adapter *qdev) in ql_get_sbuf()
1978 static struct ql_rcv_buf_cb *ql_get_lbuf(struct ql3_adapter *qdev) in ql_get_lbuf()
2000 static void ql_process_mac_rx_intr(struct ql3_adapter *qdev, in ql_process_mac_rx_intr()
2040 static void ql_process_macip_rx_intr(struct ql3_adapter *qdev, in ql_process_macip_rx_intr()
2112 static int ql_tx_rx_clean(struct ql3_adapter *qdev, int budget) in ql_tx_rx_clean()
2181 struct ql3_adapter *qdev = container_of(napi, struct ql3_adapter, napi); in ql_poll() local
2207 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_isr() local
2264 static int ql_get_seg_count(struct ql3_adapter *qdev, unsigned short frags) in ql_get_seg_count()
2304 static int ql_send_map(struct ql3_adapter *qdev, in ql_send_map()
2463 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_send() local
2515 static int ql_alloc_net_req_rsp_queues(struct ql3_adapter *qdev) in ql_alloc_net_req_rsp_queues()
2557 static void ql_free_net_req_rsp_queues(struct ql3_adapter *qdev) in ql_free_net_req_rsp_queues()
2579 static int ql_alloc_buffer_queues(struct ql3_adapter *qdev) in ql_alloc_buffer_queues()
2634 static void ql_free_buffer_queues(struct ql3_adapter *qdev) in ql_free_buffer_queues()
2658 static int ql_alloc_small_buffers(struct ql3_adapter *qdev) in ql_alloc_small_buffers()
2697 static void ql_free_small_buffers(struct ql3_adapter *qdev) in ql_free_small_buffers()
2713 static void ql_free_large_buffers(struct ql3_adapter *qdev) in ql_free_large_buffers()
2733 static void ql_init_large_buffers(struct ql3_adapter *qdev) in ql_init_large_buffers()
2749 static int ql_alloc_large_buffers(struct ql3_adapter *qdev) in ql_alloc_large_buffers()
2807 static void ql_free_send_free_list(struct ql3_adapter *qdev) in ql_free_send_free_list()
2820 static int ql_create_send_free_list(struct ql3_adapter *qdev) in ql_create_send_free_list()
2840 static int ql_alloc_mem_resources(struct ql3_adapter *qdev) in ql_alloc_mem_resources()
2932 static void ql_free_mem_resources(struct ql3_adapter *qdev) in ql_free_mem_resources()
2948 static int ql_init_misc_registers(struct ql3_adapter *qdev) in ql_init_misc_registers()
3006 static int ql_adapter_initialize(struct ql3_adapter *qdev) in ql_adapter_initialize()
3261 static int ql_adapter_reset(struct ql3_adapter *qdev) in ql_adapter_reset()
3340 static void ql_set_mac_info(struct ql3_adapter *qdev) in ql_set_mac_info()
3388 struct ql3_adapter *qdev = netdev_priv(ndev); in ql_display_dev_info() local
3413 static int ql_adapter_down(struct ql3_adapter *qdev, int do_reset) in ql_adapter_down()
3462 static int ql_adapter_up(struct ql3_adapter *qdev) in ql_adapter_up()
3534 static int ql_cycle_adapter(struct ql3_adapter *qdev, int reset) in ql_cycle_adapter()
3549 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_close() local
3564 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_open() local
3570 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_set_mac_address() local
3605 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_tx_timeout() local
3621 struct ql3_adapter *qdev = in ql_reset_work() local
3723 struct ql3_adapter *qdev = in ql_tx_timeout_work() local
3729 static void ql_get_board_info(struct ql3_adapter *qdev) in ql_get_board_info()
3751 struct ql3_adapter *qdev = from_timer(qdev, t, adapter_timer); in ql3xxx_timer() local
3768 struct ql3_adapter *qdev = NULL; in ql3xxx_probe() local
3925 struct ql3_adapter *qdev = netdev_priv(ndev); in ql3xxx_remove() local