• Home
  • Raw
  • Download

Lines Matching refs:cas

230 static void cas_set_link_modes(struct cas *cp);
232 static inline void cas_lock_tx(struct cas *cp) in cas_lock_tx()
250 struct cas *xxxcp = (cp); \
255 static inline void cas_unlock_tx(struct cas *cp) in cas_unlock_tx()
265 struct cas *xxxcp = (cp); \
270 static void cas_disable_irq(struct cas *cp, const int ring) in cas_disable_irq()
303 static inline void cas_mask_intr(struct cas *cp) in cas_mask_intr()
311 static void cas_enable_irq(struct cas *cp, const int ring) in cas_enable_irq()
340 static inline void cas_unmask_intr(struct cas *cp) in cas_unmask_intr()
348 static inline void cas_entropy_gather(struct cas *cp) in cas_entropy_gather()
360 static inline void cas_entropy_reset(struct cas *cp) in cas_entropy_reset()
380 static u16 cas_phy_read(struct cas *cp, int reg) in cas_phy_read()
401 static int cas_phy_write(struct cas *cp, int reg, u16 val) in cas_phy_write()
423 static void cas_phy_powerup(struct cas *cp) in cas_phy_powerup()
433 static void cas_phy_powerdown(struct cas *cp) in cas_phy_powerdown()
444 static int cas_page_free(struct cas *cp, cas_page_t *page) in cas_page_free()
464 static cas_page_t *cas_page_alloc(struct cas *cp, const gfp_t flags) in cas_page_alloc()
487 static void cas_spare_init(struct cas *cp) in cas_spare_init()
500 static void cas_spare_free(struct cas *cp) in cas_spare_free()
533 static void cas_spare_recover(struct cas *cp, const gfp_t flags) in cas_spare_recover()
609 static cas_page_t *cas_page_dequeue(struct cas *cp) in cas_page_dequeue()
648 static void cas_mif_poll(struct cas *cp, const int enable) in cas_mif_poll()
670 static void cas_begin_auto_negotiation(struct cas *cp, in cas_begin_auto_negotiation()
770 static int cas_reset_mii_phy(struct cas *cp) in cas_reset_mii_phy()
786 static void cas_saturn_firmware_init(struct cas *cp) in cas_saturn_firmware_init()
816 static void cas_saturn_firmware_load(struct cas *cp) in cas_saturn_firmware_load()
851 static void cas_phy_init(struct cas *cp) in cas_phy_init()
980 static int cas_pcs_link_check(struct cas *cp) in cas_pcs_link_check()
1085 struct cas *cp, u32 status) in cas_pcs_interrupt()
1095 struct cas *cp, u32 status) in cas_txmac_interrupt()
1146 static void cas_load_firmware(struct cas *cp, cas_hp_inst_t *firmware) in cas_load_firmware()
1179 static void cas_init_rx_dma(struct cas *cp) in cas_init_rx_dma()
1347 static inline cas_page_t *cas_page_spare(struct cas *cp, const int index) in cas_page_spare()
1365 static cas_page_t *cas_page_swap(struct cas *cp, const int ring, in cas_page_swap()
1383 static void cas_clean_rxds(struct cas *cp) in cas_clean_rxds()
1411 static void cas_clean_rxcs(struct cas *cp) in cas_clean_rxcs()
1433 static int cas_rxmac_reset(struct cas *cp)
1494 static int cas_rxmac_interrupt(struct net_device *dev, struct cas *cp, in cas_rxmac_interrupt()
1527 static int cas_mac_interrupt(struct net_device *dev, struct cas *cp, in cas_mac_interrupt()
1553 static inline int cas_mdio_link_not_up(struct cas *cp) in cas_mdio_link_not_up()
1610 static int cas_mii_link_check(struct cas *cp, const u16 bmsr) in cas_mii_link_check()
1666 static int cas_mif_interrupt(struct net_device *dev, struct cas *cp, in cas_mif_interrupt()
1680 static int cas_pci_interrupt(struct net_device *dev, struct cas *cp, in cas_pci_interrupt()
1738 static int cas_abnormal_irq(struct net_device *dev, struct cas *cp, in cas_abnormal_irq()
1811 static inline int cas_calc_tabort(struct cas *cp, const unsigned long addr, in cas_calc_tabort()
1823 static inline void cas_tx_ringN(struct cas *cp, int ring, int limit) in cas_tx_ringN()
1895 static void cas_tx(struct net_device *dev, struct cas *cp, in cas_tx()
1921 static int cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc, in cas_rx_process_pkt()
2144 static inline void cas_rx_flow_pkt(struct cas *cp, const u64 *words, in cas_rx_flow_pkt()
2165 static void cas_post_page(struct cas *cp, const int ring, const int index) in cas_post_page()
2193 static int cas_post_rxds_ringN(struct cas *cp, int ring, int num) in cas_post_rxds_ringN()
2266 static int cas_rx_ringN(struct cas *cp, int ring, int budget) in cas_rx_ringN()
2383 struct cas *cp, int ring) in cas_post_rxcs_ringN()
2414 struct cas *cp, const u32 status, in cas_handle_irqN()
2424 struct cas *cp = netdev_priv(dev); in cas_interruptN()
2453 static inline void cas_handle_irq1(struct cas *cp, const u32 status) in cas_handle_irq1()
2476 struct cas *cp = netdev_priv(dev); in cas_interrupt1()
2502 struct cas *cp, const u32 status) in cas_handle_irq()
2528 struct cas *cp = netdev_priv(dev); in cas_interrupt()
2561 struct cas *cp = container_of(napi, struct cas, napi); in cas_poll()
2632 struct cas *cp = netdev_priv(dev); in cas_netpoll()
2658 struct cas *cp = netdev_priv(dev); in cas_tx_timeout()
2712 static void cas_write_txd(struct cas *cp, int ring, int entry, in cas_write_txd()
2726 static inline void *tx_tiny_buf(struct cas *cp, const int ring, in tx_tiny_buf()
2732 static inline dma_addr_t tx_tiny_map(struct cas *cp, const int ring, in tx_tiny_map()
2740 static inline int cas_xmit_tx_ringN(struct cas *cp, int ring, in cas_xmit_tx_ringN()
2842 struct cas *cp = netdev_priv(dev); in cas_start_xmit()
2860 static void cas_init_tx_dma(struct cas *cp) in cas_init_tx_dma()
2914 static inline void cas_init_dma(struct cas *cp) in cas_init_dma()
2920 static void cas_process_mc_list(struct cas *cp) in cas_process_mc_list()
2955 static u32 cas_setup_multicast(struct cas *cp) in cas_setup_multicast()
2977 static void cas_clear_mac_err(struct cas *cp) in cas_clear_mac_err()
2993 static void cas_mac_reset(struct cas *cp) in cas_mac_reset()
3027 static void cas_init_mac(struct cas *cp) in cas_init_mac()
3117 static void cas_init_pause_thresholds(struct cas *cp) in cas_init_pause_thresholds()
3162 static int cas_get_vpd_info(struct cas *cp, unsigned char *dev_addr, in cas_get_vpd_info()
3347 static void cas_check_pci_invariants(struct cas *cp) in cas_check_pci_invariants()
3378 static int cas_check_invariants(struct cas *cp) in cas_check_invariants()
3455 static inline void cas_start_dma(struct cas *cp) in cas_start_dma()
3516 static void cas_read_pcs_link_mode(struct cas *cp, int *fd, int *spd, in cas_read_pcs_link_mode()
3528 static void cas_read_mii_link_mode(struct cas *cp, int *fd, int *spd, in cas_read_mii_link_mode()
3564 static void cas_set_link_modes(struct cas *cp) in cas_set_link_modes()
3695 static void cas_init_hw(struct cas *cp, int restart_link) in cas_init_hw()
3718 static void cas_hard_reset(struct cas *cp) in cas_hard_reset()
3726 static void cas_global_reset(struct cas *cp, int blkflag) in cas_global_reset()
3776 static void cas_reset(struct cas *cp, int blkflag) in cas_reset()
3809 static void cas_shutdown(struct cas *cp) in cas_shutdown()
3839 struct cas *cp = netdev_priv(dev); in cas_change_mtu()
3865 static void cas_clean_txd(struct cas *cp, int ring) in cas_clean_txd()
3913 static inline void cas_free_rx_desc(struct cas *cp, int ring) in cas_free_rx_desc()
3927 static void cas_free_rxds(struct cas *cp) in cas_free_rxds()
3936 static void cas_clean_rings(struct cas *cp) in cas_clean_rings()
3953 static inline int cas_alloc_rx_desc(struct cas *cp, int ring) in cas_alloc_rx_desc()
3966 static int cas_alloc_rxds(struct cas *cp) in cas_alloc_rxds()
3981 struct cas *cp = container_of(work, struct cas, reset_task); in cas_reset_task()
4058 struct cas *cp = from_timer(cp, t, link_timer); in cas_link_timer()
4181 static void cas_tx_tiny_free(struct cas *cp) in cas_tx_tiny_free()
4196 static int cas_tx_tiny_alloc(struct cas *cp) in cas_tx_tiny_alloc()
4216 struct cas *cp = netdev_priv(dev); in cas_open()
4291 struct cas *cp = netdev_priv(dev); in cas_close()
4365 static void cas_read_regs(struct cas *cp, u8 *ptr, int len) in cas_read_regs()
4389 struct cas *cp = netdev_priv(dev); in cas_get_stats()
4461 struct cas *cp = netdev_priv(dev); in cas_set_multicast()
4499 struct cas *cp = netdev_priv(dev); in cas_get_drvinfo()
4508 struct cas *cp = netdev_priv(dev); in cas_get_link_ksettings()
4619 struct cas *cp = netdev_priv(dev); in cas_set_link_ksettings()
4645 struct cas *cp = netdev_priv(dev); in cas_nway_reset()
4661 struct cas *cp = netdev_priv(dev); in cas_get_link()
4667 struct cas *cp = netdev_priv(dev); in cas_get_msglevel()
4673 struct cas *cp = netdev_priv(dev); in cas_set_msglevel()
4679 struct cas *cp = netdev_priv(dev); in cas_get_regs_len()
4686 struct cas *cp = netdev_priv(dev); in cas_get_regs()
4711 struct cas *cp = netdev_priv(dev); in cas_get_ethtool_stats()
4750 struct cas *cp = netdev_priv(dev); in cas_ioctl()
4893 struct cas *cp; in cas_init_one()
5147 struct cas *cp; in cas_remove_one()
5182 struct cas *cp = netdev_priv(dev); in cas_suspend()
5213 struct cas *cp = netdev_priv(dev); in cas_resume()