• Home
  • Raw
  • Download

Lines Matching defs:dev

123 static inline void emac_report_timeout_error(struct emac_instance *dev,  in emac_report_timeout_error()
138 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx()
147 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default()
211 static inline void emac_tx_enable(struct emac_instance *dev) in emac_tx_enable()
223 static void emac_tx_disable(struct emac_instance *dev) in emac_tx_disable()
243 static void emac_rx_enable(struct emac_instance *dev) in emac_rx_enable()
272 static void emac_rx_disable(struct emac_instance *dev) in emac_rx_disable()
292 static inline void emac_netif_stop(struct emac_instance *dev) in emac_netif_stop()
304 static inline void emac_netif_start(struct emac_instance *dev) in emac_netif_start()
324 static inline void emac_rx_disable_async(struct emac_instance *dev) in emac_rx_disable_async()
336 static int emac_reset(struct emac_instance *dev) in emac_reset()
417 static void emac_hash_mc(struct emac_instance *dev) in emac_hash_mc()
447 struct emac_instance *dev = netdev_priv(ndev); in emac_iff2rmr() local
473 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1()
503 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1()
549 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1()
556 static inline u32 emac_calc_trtr(struct emac_instance *dev, unsigned int size) in emac_calc_trtr()
564 static inline u32 emac_calc_rwmr(struct emac_instance *dev, in emac_calc_rwmr()
573 static int emac_configure(struct emac_instance *dev) in emac_configure()
736 static void emac_reinitialize(struct emac_instance *dev) in emac_reinitialize()
748 static void emac_full_tx_reset(struct emac_instance *dev) in emac_full_tx_reset()
766 struct emac_instance *dev = container_of(work, struct emac_instance, reset_work); in emac_reset_work() local
781 struct emac_instance *dev = netdev_priv(ndev); in emac_tx_timeout() local
789 static inline int emac_phy_done(struct emac_instance *dev, u32 stacr) in emac_phy_done()
799 static int __emac_mdio_read(struct emac_instance *dev, u8 id, u8 reg) in __emac_mdio_read()
870 static void __emac_mdio_write(struct emac_instance *dev, u8 id, u8 reg, in __emac_mdio_write()
932 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_read() local
944 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_write() local
953 static void __emac_set_multicast_list(struct emac_instance *dev) in __emac_set_multicast_list()
988 struct emac_instance *dev = netdev_priv(ndev); in emac_set_multicast_list() local
1006 struct emac_instance *dev = netdev_priv(ndev); in emac_set_mac_address() local
1031 static int emac_resize_rx_ring(struct emac_instance *dev, int new_mtu) in emac_resize_rx_ring()
1119 struct emac_instance *dev = netdev_priv(ndev); in emac_change_mtu() local
1139 static void emac_clean_tx_ring(struct emac_instance *dev) in emac_clean_tx_ring()
1155 static void emac_clean_rx_ring(struct emac_instance *dev) in emac_clean_rx_ring()
1174 __emac_prepare_rx_skb(struct sk_buff *skb, struct emac_instance *dev, int slot) in __emac_prepare_rx_skb()
1193 emac_alloc_rx_skb(struct emac_instance *dev, int slot) in emac_alloc_rx_skb()
1204 emac_alloc_rx_skb_napi(struct emac_instance *dev, int slot) in emac_alloc_rx_skb_napi()
1213 static void emac_print_link_status(struct emac_instance *dev) in emac_print_link_status()
1228 struct emac_instance *dev = netdev_priv(ndev); in emac_open() local
1334 struct emac_instance *dev = in emac_link_timer() local
1373 static void emac_force_link_update(struct emac_instance *dev) in emac_force_link_update()
1387 struct emac_instance *dev = netdev_priv(ndev); in emac_close() local
1416 static inline u16 emac_tx_csum(struct emac_instance *dev, in emac_tx_csum()
1427 static inline netdev_tx_t emac_xmit_finish(struct emac_instance *dev, int len) in emac_xmit_finish()
1456 struct emac_instance *dev = netdev_priv(ndev); in emac_start_xmit() local
1482 static inline int emac_xmit_split(struct emac_instance *dev, int slot, in emac_xmit_split()
1515 struct emac_instance *dev = netdev_priv(ndev); in emac_start_xmit_sg() local
1597 static void emac_parse_tx_error(struct emac_instance *dev, u16 ctrl) in emac_parse_tx_error()
1626 struct emac_instance *dev = param; in emac_poll_tx() local
1670 static inline void emac_recycle_rx_skb(struct emac_instance *dev, int slot, in emac_recycle_rx_skb()
1688 static void emac_parse_rx_error(struct emac_instance *dev, u16 ctrl) in emac_parse_rx_error()
1715 static inline void emac_rx_csum(struct emac_instance *dev, in emac_rx_csum()
1726 static inline int emac_rx_sg_append(struct emac_instance *dev, int slot) in emac_rx_sg_append()
1751 struct emac_instance *dev = param; in emac_poll_rx() local
1883 struct emac_instance *dev = param; in emac_peek_rx() local
1891 struct emac_instance *dev = param; in emac_peek_rx_sg() local
1912 struct emac_instance *dev = param; in emac_rxde() local
1921 struct emac_instance *dev = dev_instance; in emac_irq() local
1971 struct emac_instance *dev = netdev_priv(ndev); in emac_stats() local
2040 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_link_ksettings() local
2066 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_set_link_ksettings() local
2149 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_pauseparam() local
2165 static int emac_get_regs_len(struct emac_instance *dev) in emac_get_regs_len()
2173 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_regs_len() local
2188 static void *emac_dump_regs(struct emac_instance *dev, void *buf) in emac_dump_regs()
2207 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_regs() local
2231 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_nway_reset() local
2271 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_ethtool_stats() local
2281 struct emac_instance *dev = netdev_priv(ndev); in emac_ethtool_get_drvinfo() local
2311 struct emac_instance *dev = netdev_priv(ndev); in emac_ioctl() local
2352 static int emac_check_deps(struct emac_instance *dev, in emac_check_deps()
2391 static void emac_put_deps(struct emac_instance *dev) in emac_put_deps()
2413 static int emac_wait_deps(struct emac_instance *dev) in emac_wait_deps()
2468 struct emac_instance *dev = netdev_priv(ndev); in emac_adjust_link() local
2501 struct emac_instance *dev = netdev_priv(bus->priv); in emac_mii_bus_reset() local
2520 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_setup_aneg() local
2530 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_setup_forced() local
2541 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_poll_link() local
2556 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_read_link() local
2574 struct emac_instance *dev = netdev_priv(ndev); in emac_mdio_init_phy() local
2588 static int emac_dt_mdio_probe(struct emac_instance *dev) in emac_dt_mdio_probe()
2628 static int emac_dt_phy_connect(struct emac_instance *dev, in emac_dt_phy_connect()
2654 static int emac_dt_phy_probe(struct emac_instance *dev) in emac_dt_phy_probe()
2675 static int emac_init_phy(struct emac_instance *dev) in emac_init_phy()
2847 static int emac_init_config(struct emac_instance *dev) in emac_init_config()
3036 struct emac_instance *dev; in emac_probe() local
3257 struct emac_instance *dev = platform_get_drvdata(ofdev); in emac_remove() local