Lines Matching defs:dev

122 #define LAN78XX_TSO_SIZE(dev)		((dev)->tx_urb_size - TX_SKB_MIN_LEN)  argument
353 struct lan78xx_net *dev; member
377 struct lan78xx_net *dev; member
385 struct lan78xx_net *dev; member
526 struct lan78xx_net *dev) in lan78xx_alloc_buf_pool()
568 static struct sk_buff *lan78xx_get_rx_buf(struct lan78xx_net *dev) in lan78xx_get_rx_buf()
573 static void lan78xx_release_rx_buf(struct lan78xx_net *dev, in lan78xx_release_rx_buf()
579 static void lan78xx_free_rx_resources(struct lan78xx_net *dev) in lan78xx_free_rx_resources()
584 static int lan78xx_alloc_rx_resources(struct lan78xx_net *dev) in lan78xx_alloc_rx_resources()
590 static struct sk_buff *lan78xx_get_tx_buf(struct lan78xx_net *dev) in lan78xx_get_tx_buf()
595 static void lan78xx_release_tx_buf(struct lan78xx_net *dev, in lan78xx_release_tx_buf()
601 static void lan78xx_free_tx_resources(struct lan78xx_net *dev) in lan78xx_free_tx_resources()
606 static int lan78xx_alloc_tx_resources(struct lan78xx_net *dev) in lan78xx_alloc_tx_resources()
612 static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data) in lan78xx_read_reg()
642 static int lan78xx_write_reg(struct lan78xx_net *dev, u32 index, u32 data) in lan78xx_write_reg()
673 static int lan78xx_update_reg(struct lan78xx_net *dev, u32 reg, u32 mask, in lan78xx_update_reg()
693 static int lan78xx_read_stats(struct lan78xx_net *dev, in lan78xx_read_stats()
738 static void lan78xx_check_stat_rollover(struct lan78xx_net *dev, in lan78xx_check_stat_rollover()
792 static void lan78xx_update_stats(struct lan78xx_net *dev) in lan78xx_update_stats()
821 static int lan78xx_phy_wait_not_busy(struct lan78xx_net *dev) in lan78xx_phy_wait_not_busy()
854 static int lan78xx_wait_eeprom(struct lan78xx_net *dev) in lan78xx_wait_eeprom()
879 static int lan78xx_eeprom_confirm_not_busy(struct lan78xx_net *dev) in lan78xx_eeprom_confirm_not_busy()
900 static int lan78xx_read_raw_eeprom(struct lan78xx_net *dev, u32 offset, in lan78xx_read_raw_eeprom()
953 static int lan78xx_read_eeprom(struct lan78xx_net *dev, u32 offset, in lan78xx_read_eeprom()
968 static int lan78xx_write_raw_eeprom(struct lan78xx_net *dev, u32 offset, in lan78xx_write_raw_eeprom()
1035 static int lan78xx_read_raw_otp(struct lan78xx_net *dev, u32 offset, in lan78xx_read_raw_otp()
1088 static int lan78xx_write_raw_otp(struct lan78xx_net *dev, u32 offset, in lan78xx_write_raw_otp()
1140 static int lan78xx_read_otp(struct lan78xx_net *dev, u32 offset, in lan78xx_read_otp()
1160 static int lan78xx_dataport_wait_not_busy(struct lan78xx_net *dev) in lan78xx_dataport_wait_not_busy()
1182 static int lan78xx_dataport_write(struct lan78xx_net *dev, u32 ram_select, in lan78xx_dataport_write()
1251 struct lan78xx_net *dev = pdata->dev; in lan78xx_deferred_multicast_write() local
1273 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_set_multicast() local
1335 static int lan78xx_update_flowcontrol(struct lan78xx_net *dev, u8 duplex, in lan78xx_update_flowcontrol()
1371 static int lan78xx_mac_reset(struct lan78xx_net *dev) in lan78xx_mac_reset()
1417 static int lan78xx_link_reset(struct lan78xx_net *dev) in lan78xx_link_reset()
1517 static void lan78xx_defer_kevent(struct lan78xx_net *dev, int work) in lan78xx_defer_kevent()
1524 static void lan78xx_status(struct lan78xx_net *dev, struct urb *urb) in lan78xx_status()
1556 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_ethtool_get_eeprom() local
1575 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_ethtool_set_eeprom() local
1616 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_get_stats() local
1628 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_get_wol() local
1656 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_set_wol() local
1680 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_get_eee() local
1718 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_set_eee() local
1761 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_get_drvinfo() local
1769 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_get_msglevel() local
1776 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_set_msglevel() local
1784 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_get_link_ksettings() local
1802 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_set_link_ksettings() local
1830 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_get_pause() local
1848 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_set_pause() local
1904 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_get_regs() local
1943 static void lan78xx_init_mac_address(struct lan78xx_net *dev) in lan78xx_init_mac_address()
1995 struct lan78xx_net *dev = bus->priv; in lan78xx_mdiobus_read() local
2032 struct lan78xx_net *dev = bus->priv; in lan78xx_mdiobus_write() local
2064 static int lan78xx_mdio_init(struct lan78xx_net *dev) in lan78xx_mdio_init()
2111 static void lan78xx_remove_mdio(struct lan78xx_net *dev) in lan78xx_remove_mdio()
2171 struct lan78xx_net *dev = in lan78xx_irq_bus_sync_unlock() local
2193 static int lan78xx_setup_irq_domain(struct lan78xx_net *dev) in lan78xx_setup_irq_domain()
2232 static void lan78xx_remove_irq_domain(struct lan78xx_net *dev) in lan78xx_remove_irq_domain()
2247 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in lan8835_fixup() local
2269 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in ksz9031rnx_fixup() local
2284 static struct phy_device *lan7801_phy_init(struct lan78xx_net *dev) in lan7801_phy_init()
2339 static int lan78xx_phy_init(struct lan78xx_net *dev) in lan78xx_phy_init()
2442 static int lan78xx_set_rx_max_frame_length(struct lan78xx_net *dev, int size) in lan78xx_set_rx_max_frame_length()
2470 static int unlink_urbs(struct lan78xx_net *dev, struct sk_buff_head *q) in unlink_urbs()
2517 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_change_mtu() local
2540 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_set_mac_addr() local
2573 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_set_features() local
2608 struct lan78xx_net *dev = pdata->dev; in lan78xx_deferred_vlan_write() local
2617 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_vlan_rx_add_vid() local
2636 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_vlan_rx_kill_vid() local
2652 static void lan78xx_init_ltm(struct lan78xx_net *dev) in lan78xx_init_ltm()
2691 static int lan78xx_urb_config_init(struct lan78xx_net *dev) in lan78xx_urb_config_init()
2729 static int lan78xx_start_hw(struct lan78xx_net *dev, u32 reg, u32 hw_enable) in lan78xx_start_hw()
2734 static int lan78xx_stop_hw(struct lan78xx_net *dev, u32 reg, u32 hw_enabled, in lan78xx_stop_hw()
2774 static int lan78xx_flush_fifo(struct lan78xx_net *dev, u32 reg, u32 fifo_flush) in lan78xx_flush_fifo()
2779 static int lan78xx_start_tx_path(struct lan78xx_net *dev) in lan78xx_start_tx_path()
2800 static int lan78xx_stop_tx_path(struct lan78xx_net *dev) in lan78xx_stop_tx_path()
2824 static int lan78xx_flush_tx_fifo(struct lan78xx_net *dev) in lan78xx_flush_tx_fifo()
2829 static int lan78xx_start_rx_path(struct lan78xx_net *dev) in lan78xx_start_rx_path()
2850 static int lan78xx_stop_rx_path(struct lan78xx_net *dev) in lan78xx_stop_rx_path()
2874 static int lan78xx_flush_rx_fifo(struct lan78xx_net *dev) in lan78xx_flush_rx_fifo()
2879 static int lan78xx_reset(struct lan78xx_net *dev) in lan78xx_reset()
3059 static void lan78xx_init_stats(struct lan78xx_net *dev) in lan78xx_init_stats()
3087 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_open() local
3146 static void lan78xx_terminate_urbs(struct lan78xx_net *dev) in lan78xx_terminate_urbs()
3184 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_stop() local
3231 static enum skb_state defer_bh(struct lan78xx_net *dev, struct sk_buff *skb, in defer_bh()
3259 struct lan78xx_net *dev = entry->dev; in tx_complete() local
3318 static unsigned int lan78xx_tx_urb_space(struct lan78xx_net *dev) in lan78xx_tx_urb_space()
3323 static unsigned int lan78xx_tx_pend_data_len(struct lan78xx_net *dev) in lan78xx_tx_pend_data_len()
3328 static void lan78xx_tx_pend_skb_add(struct lan78xx_net *dev, in lan78xx_tx_pend_skb_add()
3344 static void lan78xx_tx_pend_skb_head_add(struct lan78xx_net *dev, in lan78xx_tx_pend_skb_head_add()
3360 static void lan78xx_tx_pend_skb_get(struct lan78xx_net *dev, in lan78xx_tx_pend_skb_get()
3379 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_start_xmit() local
3412 static int lan78xx_bind(struct lan78xx_net *dev, struct usb_interface *intf) in lan78xx_bind()
3494 static void lan78xx_unbind(struct lan78xx_net *dev, struct usb_interface *intf) in lan78xx_unbind()
3512 static void lan78xx_rx_csum_offload(struct lan78xx_net *dev, in lan78xx_rx_csum_offload()
3530 static void lan78xx_rx_vlan_offload(struct lan78xx_net *dev, in lan78xx_rx_vlan_offload()
3540 static void lan78xx_skb_return(struct lan78xx_net *dev, struct sk_buff *skb) in lan78xx_skb_return()
3557 static int lan78xx_rx(struct lan78xx_net *dev, struct sk_buff *skb, in lan78xx_rx()
3643 static inline void rx_process(struct lan78xx_net *dev, struct sk_buff *skb, in rx_process()
3656 struct lan78xx_net *dev = entry->dev; in rx_complete() local
3712 static int rx_submit(struct lan78xx_net *dev, struct sk_buff *skb, gfp_t flags) in rx_submit()
3764 static void lan78xx_rx_urb_submit_all(struct lan78xx_net *dev) in lan78xx_rx_urb_submit_all()
3776 static void lan78xx_rx_urb_resubmit(struct lan78xx_net *dev, in lan78xx_rx_urb_resubmit()
3817 static struct skb_data *lan78xx_tx_buf_fill(struct lan78xx_net *dev, in lan78xx_tx_buf_fill()
3883 static void lan78xx_tx_bh(struct lan78xx_net *dev) in lan78xx_tx_bh()
3976 static int lan78xx_bh(struct lan78xx_net *dev, int budget) in lan78xx_bh()
4054 struct lan78xx_net *dev = container_of(napi, struct lan78xx_net, napi); in lan78xx_poll() local
4099 struct lan78xx_net *dev; in lan78xx_delayedwork() local
4169 struct lan78xx_net *dev = urb->context; in intr_complete() local
4221 struct lan78xx_net *dev; in lan78xx_disconnect() local
4268 struct lan78xx_net *dev = netdev_priv(net); in lan78xx_tx_timeout() local
4278 struct lan78xx_net *dev = netdev_priv(netdev); in lan78xx_features_check() local
4307 struct lan78xx_net *dev = from_timer(dev, t, stat_monitor); in lan78xx_stat_monitor() local
4316 struct lan78xx_net *dev; in lan78xx_probe() local
4513 static int lan78xx_set_auto_suspend(struct lan78xx_net *dev) in lan78xx_set_auto_suspend()
4581 static int lan78xx_set_suspend(struct lan78xx_net *dev, u32 wol) in lan78xx_set_suspend()
4780 struct lan78xx_net *dev = usb_get_intfdata(intf); in lan78xx_suspend() local
4888 static bool lan78xx_submit_deferred_urbs(struct lan78xx_net *dev) in lan78xx_submit_deferred_urbs()
4926 struct lan78xx_net *dev = usb_get_intfdata(intf); in lan78xx_resume() local
5023 struct lan78xx_net *dev = usb_get_intfdata(intf); in lan78xx_reset_resume() local